diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generate.sh b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generate.sh new file mode 100755 index 00000000000..6482a3d5406 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generate.sh @@ -0,0 +1,47 @@ +#!/usr/bin/bash + +set -e + +VERSIONS=("10.8.13" "10.10.3") +REQUIRED=("wget" "yq" "openapi-generator-cli") + +function checkEnvironment() { + for i in "${REQUIRED[@]}"; do + if ! type $i &>/dev/null; then + echo "⚠️ [${i}] could not be found" + exit 127 + fi + done +} + +checkEnvironment + +for i in "${VERSIONS[@]}"; do + echo "ℹ️ - API Version to generate: $i" + + FILENAME_JSON="./specifications/json/jellyfin-openapi-${i}.json" + FILENAME_YAML="./specifications/yaml/jellyfin-openapi-${i}.yaml" + + if [ ! -e "${FILENAME_JSON}" ]; then + echo "⏬ - Downloading OPENAPI definition for Version ${i}" + + SERVER=https://repo.jellyfin.org/files/openapi/stable/jellyfin-openapi-${i}.json + + wget \ + --no-verbose \ + --output-document=${FILENAME_JSON} \ + ${SERVER} + + if [ ! -e "${FILENAME_YAML}" ]; then + echo "⚙️ - json ➡️ yaml" + yq -oy ${FILENAME_JSON} >${FILENAME_YAML} + fi + fi + + echo "⚙️ - generate code for API ${i}" + + # TODO: config.yaml - https://openapi-generator.tech/docs/customization + openapi-generator-cli generate -g java \ + --global-property models,modelTests=false,apis,apiTests=false,library=native,serializationLibrary=jackson,apiPackage=org.openhab.binding.jellyfin.internal.api.${i} \ + --input-spec ${FILENAME_YAML} -o ./generated/${i} 1>/dev/null +done diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AccessSchedule.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AccessSchedule.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AccessSchedule.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AccessSchedule.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ActivityLogApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ActivityLogApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ActivityLogApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ActivityLogApi.md index fc594990308..73da846d8d6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ActivityLogApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ActivityLogApi.md @@ -1,6 +1,6 @@ # ActivityLogApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -26,7 +26,7 @@ import org.openapitools.client.api.ActivityLogApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ActivityLogEntry.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ActivityLogEntry.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ActivityLogEntry.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ActivityLogEntry.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ActivityLogEntryMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ActivityLogEntryMessage.md new file mode 100644 index 00000000000..4ad25dc456d --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ActivityLogEntryMessage.md @@ -0,0 +1,16 @@ + + +# ActivityLogEntryMessage + +Activity log created message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**List<ActivityLogEntry>**](ActivityLogEntry.md) | Gets or sets the data. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ActivityLogEntryQueryResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ActivityLogEntryQueryResult.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ActivityLogEntryQueryResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ActivityLogEntryQueryResult.md index c262fcb9f54..0de112353ac 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ActivityLogEntryQueryResult.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ActivityLogEntryQueryResult.md @@ -2,6 +2,7 @@ # ActivityLogEntryQueryResult +Query result container. ## Properties diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ActivityLogEntryStartMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ActivityLogEntryStartMessage.md new file mode 100644 index 00000000000..1985fa66ee6 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ActivityLogEntryStartMessage.md @@ -0,0 +1,15 @@ + + +# ActivityLogEntryStartMessage + +Activity log entry start message. Data is the timing data encoded as \"$initialDelay,$interval\" in ms. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | **String** | Gets or sets the data. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ActivityLogEntryStopMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ActivityLogEntryStopMessage.md new file mode 100644 index 00000000000..bdbdf25083d --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ActivityLogEntryStopMessage.md @@ -0,0 +1,14 @@ + + +# ActivityLogEntryStopMessage + +Activity log entry stop message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AddVirtualFolderDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AddVirtualFolderDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AddVirtualFolderDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AddVirtualFolderDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AlbumInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AlbumInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AlbumInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AlbumInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AlbumInfoRemoteSearchQuery.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AlbumInfoRemoteSearchQuery.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AlbumInfoRemoteSearchQuery.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AlbumInfoRemoteSearchQuery.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AllThemeMediaResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AllThemeMediaResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AllThemeMediaResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AllThemeMediaResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ApiKeyApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ApiKeyApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ApiKeyApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ApiKeyApi.md index 91580790f6c..bfe184fdb28 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ApiKeyApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ApiKeyApi.md @@ -1,6 +1,6 @@ # ApiKeyApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -28,7 +28,7 @@ import org.openapitools.client.api.ApiKeyApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -96,7 +96,7 @@ import org.openapitools.client.api.ApiKeyApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -161,7 +161,7 @@ import org.openapitools.client.api.ApiKeyApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ArtistInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ArtistInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ArtistInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ArtistInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ArtistInfoRemoteSearchQuery.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ArtistInfoRemoteSearchQuery.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ArtistInfoRemoteSearchQuery.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ArtistInfoRemoteSearchQuery.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ArtistsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ArtistsApi.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ArtistsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ArtistsApi.md index cb75d82d333..a9a9ef8883a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ArtistsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ArtistsApi.md @@ -1,6 +1,6 @@ # ArtistsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -28,7 +28,7 @@ import org.openapitools.client.api.ArtistsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -47,7 +47,7 @@ public class Example { List includeItemTypes = Arrays.asList(); // List | Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. List filters = Arrays.asList(); // List | Optional. Specify additional filters to apply. Boolean isFavorite = true; // Boolean | Optional filter by items that are marked as favorite, or not. - List mediaTypes = Arrays.asList(); // List | Optional filter by MediaType. Allows multiple, comma delimited. + List mediaTypes = Arrays.asList(); // List | Optional filter by MediaType. Allows multiple, comma delimited. List genres = Arrays.asList(); // List | Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. List genreIds = Arrays.asList(); // List | Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. List officialRatings = Arrays.asList(); // List | Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. @@ -65,7 +65,7 @@ public class Example { String nameStartsWithOrGreater = "nameStartsWithOrGreater_example"; // String | Optional filter by items whose name is sorted equally or greater than a given input string. String nameStartsWith = "nameStartsWith_example"; // String | Optional filter by items whose name is sorted equally than a given input string. String nameLessThan = "nameLessThan_example"; // String | Optional filter by items whose name is equally or lesser than a given input string. - List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. + List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. List sortOrder = Arrays.asList(); // List | Sort Order - Ascending,Descending. Boolean enableImages = true; // Boolean | Optional, include image information in output. Boolean enableTotalRecordCount = true; // Boolean | Total record count. @@ -97,7 +97,7 @@ public class Example { | **includeItemTypes** | [**List<BaseItemKind>**](BaseItemKind.md)| Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. | [optional] | | **filters** | [**List<ItemFilter>**](ItemFilter.md)| Optional. Specify additional filters to apply. | [optional] | | **isFavorite** | **Boolean**| Optional filter by items that are marked as favorite, or not. | [optional] | -| **mediaTypes** | [**List<String>**](String.md)| Optional filter by MediaType. Allows multiple, comma delimited. | [optional] | +| **mediaTypes** | [**List<MediaType>**](MediaType.md)| Optional filter by MediaType. Allows multiple, comma delimited. | [optional] | | **genres** | [**List<String>**](String.md)| Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. | [optional] | | **genreIds** | [**List<UUID>**](UUID.md)| Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. | [optional] | | **officialRatings** | [**List<String>**](String.md)| Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. | [optional] | @@ -115,7 +115,7 @@ public class Example { | **nameStartsWithOrGreater** | **String**| Optional filter by items whose name is sorted equally or greater than a given input string. | [optional] | | **nameStartsWith** | **String**| Optional filter by items whose name is sorted equally than a given input string. | [optional] | | **nameLessThan** | **String**| Optional filter by items whose name is equally or lesser than a given input string. | [optional] | -| **sortBy** | [**List<String>**](String.md)| Optional. Specify one or more sort orders, comma delimited. | [optional] | +| **sortBy** | [**List<ItemSortBy>**](ItemSortBy.md)| Optional. Specify one or more sort orders, comma delimited. | [optional] | | **sortOrder** | [**List<SortOrder>**](SortOrder.md)| Sort Order - Ascending,Descending. | [optional] | | **enableImages** | **Boolean**| Optional, include image information in output. | [optional] [default to true] | | **enableTotalRecordCount** | **Boolean**| Total record count. | [optional] [default to true] | @@ -159,7 +159,7 @@ import org.openapitools.client.api.ArtistsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -230,7 +230,7 @@ import org.openapitools.client.api.ArtistsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -249,7 +249,7 @@ public class Example { List includeItemTypes = Arrays.asList(); // List | Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. List filters = Arrays.asList(); // List | Optional. Specify additional filters to apply. Boolean isFavorite = true; // Boolean | Optional filter by items that are marked as favorite, or not. - List mediaTypes = Arrays.asList(); // List | Optional filter by MediaType. Allows multiple, comma delimited. + List mediaTypes = Arrays.asList(); // List | Optional filter by MediaType. Allows multiple, comma delimited. List genres = Arrays.asList(); // List | Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. List genreIds = Arrays.asList(); // List | Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. List officialRatings = Arrays.asList(); // List | Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. @@ -267,7 +267,7 @@ public class Example { String nameStartsWithOrGreater = "nameStartsWithOrGreater_example"; // String | Optional filter by items whose name is sorted equally or greater than a given input string. String nameStartsWith = "nameStartsWith_example"; // String | Optional filter by items whose name is sorted equally than a given input string. String nameLessThan = "nameLessThan_example"; // String | Optional filter by items whose name is equally or lesser than a given input string. - List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. + List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. List sortOrder = Arrays.asList(); // List | Sort Order - Ascending,Descending. Boolean enableImages = true; // Boolean | Optional, include image information in output. Boolean enableTotalRecordCount = true; // Boolean | Total record count. @@ -299,7 +299,7 @@ public class Example { | **includeItemTypes** | [**List<BaseItemKind>**](BaseItemKind.md)| Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. | [optional] | | **filters** | [**List<ItemFilter>**](ItemFilter.md)| Optional. Specify additional filters to apply. | [optional] | | **isFavorite** | **Boolean**| Optional filter by items that are marked as favorite, or not. | [optional] | -| **mediaTypes** | [**List<String>**](String.md)| Optional filter by MediaType. Allows multiple, comma delimited. | [optional] | +| **mediaTypes** | [**List<MediaType>**](MediaType.md)| Optional filter by MediaType. Allows multiple, comma delimited. | [optional] | | **genres** | [**List<String>**](String.md)| Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. | [optional] | | **genreIds** | [**List<UUID>**](UUID.md)| Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. | [optional] | | **officialRatings** | [**List<String>**](String.md)| Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. | [optional] | @@ -317,7 +317,7 @@ public class Example { | **nameStartsWithOrGreater** | **String**| Optional filter by items whose name is sorted equally or greater than a given input string. | [optional] | | **nameStartsWith** | **String**| Optional filter by items whose name is sorted equally than a given input string. | [optional] | | **nameLessThan** | **String**| Optional filter by items whose name is equally or lesser than a given input string. | [optional] | -| **sortBy** | [**List<String>**](String.md)| Optional. Specify one or more sort orders, comma delimited. | [optional] | +| **sortBy** | [**List<ItemSortBy>**](ItemSortBy.md)| Optional. Specify one or more sort orders, comma delimited. | [optional] | | **sortOrder** | [**List<SortOrder>**](SortOrder.md)| Sort Order - Ascending,Descending. | [optional] | | **enableImages** | **Boolean**| Optional, include image information in output. | [optional] [default to true] | | **enableTotalRecordCount** | **Boolean**| Total record count. | [optional] [default to true] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AudioApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AudioApi.md similarity index 92% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AudioApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AudioApi.md index 403b26b3cba..ac65b12e2ed 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AudioApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AudioApi.md @@ -1,6 +1,6 @@ # AudioApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -12,7 +12,7 @@ All URIs are relative to *http://nuc.ehrendingen:8096* # **getAudioStream** -> File getAudioStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions) +> File getAudioStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding) Gets an audio stream. @@ -28,7 +28,7 @@ import org.openapitools.client.api.AudioApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); AudioApi apiInstance = new AudioApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | The item id. @@ -43,7 +43,7 @@ public class Example { Integer minSegments = 56; // Integer | The minimum number of segments. String mediaSourceId = "mediaSourceId_example"; // String | The media version id, if playing an alternate version. String deviceId = "deviceId_example"; // String | The device id of the client requesting. Used to stop encoding processes when needed. - String audioCodec = "audioCodec_example"; // String | Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + String audioCodec = "audioCodec_example"; // String | Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Boolean enableAutoStreamCopy = true; // Boolean | Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. Boolean allowVideoStreamCopy = true; // Boolean | Whether or not to allow copying of the video stream url. Boolean allowAudioStreamCopy = true; // Boolean | Whether or not to allow copying of the audio stream url. @@ -73,15 +73,16 @@ public class Example { Integer cpuCoreLimit = 56; // Integer | Optional. The limit of how many cpu cores to use. String liveStreamId = "liveStreamId_example"; // String | The live stream id. Boolean enableMpegtsM2TsMode = true; // Boolean | Optional. Whether to enable the MpegtsM2Ts mode. - String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. + String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. String subtitleCodec = "subtitleCodec_example"; // String | Optional. Specify a subtitle codec to encode to. String transcodeReasons = "transcodeReasons_example"; // String | Optional. The transcoding reason. Integer audioStreamIndex = 56; // Integer | Optional. The index of the audio stream to use. If omitted the first audio stream will be used. Integer videoStreamIndex = 56; // Integer | Optional. The index of the video stream to use. If omitted the first video stream will be used. EncodingContext context = EncodingContext.fromValue("Streaming"); // EncodingContext | Optional. The MediaBrowser.Model.Dlna.EncodingContext. Map streamOptions = new HashMap(); // Map | Optional. The streaming options. + Boolean enableAudioVbrEncoding = true; // Boolean | Optional. Whether to enable Audio Encoding. try { - File result = apiInstance.getAudioStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + File result = apiInstance.getAudioStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AudioApi#getAudioStream"); @@ -110,7 +111,7 @@ public class Example { | **minSegments** | **Integer**| The minimum number of segments. | [optional] | | **mediaSourceId** | **String**| The media version id, if playing an alternate version. | [optional] | | **deviceId** | **String**| The device id of the client requesting. Used to stop encoding processes when needed. | [optional] | -| **audioCodec** | **String**| Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. | [optional] | +| **audioCodec** | **String**| Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. | [optional] | | **enableAutoStreamCopy** | **Boolean**| Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. | [optional] | | **allowVideoStreamCopy** | **Boolean**| Whether or not to allow copying of the video stream url. | [optional] | | **allowAudioStreamCopy** | **Boolean**| Whether or not to allow copying of the audio stream url. | [optional] | @@ -130,7 +131,7 @@ public class Example { | **height** | **Integer**| Optional. The fixed vertical resolution of the encoded video. | [optional] | | **videoBitRate** | **Integer**| Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. | [optional] | | **subtitleStreamIndex** | **Integer**| Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. | [optional] | -| **subtitleMethod** | [**SubtitleDeliveryMethod**](.md)| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | +| **subtitleMethod** | **SubtitleDeliveryMethod**| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | | **maxRefFrames** | **Integer**| Optional. | [optional] | | **maxVideoBitDepth** | **Integer**| Optional. The maximum video bit depth. | [optional] | | **requireAvc** | **Boolean**| Optional. Whether to require avc. | [optional] | @@ -140,13 +141,14 @@ public class Example { | **cpuCoreLimit** | **Integer**| Optional. The limit of how many cpu cores to use. | [optional] | | **liveStreamId** | **String**| The live stream id. | [optional] | | **enableMpegtsM2TsMode** | **Boolean**| Optional. Whether to enable the MpegtsM2Ts mode. | [optional] | -| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. | [optional] | +| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. | [optional] | | **subtitleCodec** | **String**| Optional. Specify a subtitle codec to encode to. | [optional] | | **transcodeReasons** | **String**| Optional. The transcoding reason. | [optional] | | **audioStreamIndex** | **Integer**| Optional. The index of the audio stream to use. If omitted the first audio stream will be used. | [optional] | | **videoStreamIndex** | **Integer**| Optional. The index of the video stream to use. If omitted the first video stream will be used. | [optional] | -| **context** | [**EncodingContext**](.md)| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | +| **context** | **EncodingContext**| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | | **streamOptions** | [**Map<String, String>**](String.md)| Optional. The streaming options. | [optional] | +| **enableAudioVbrEncoding** | **Boolean**| Optional. Whether to enable Audio Encoding. | [optional] [default to true] | ### Return type @@ -168,7 +170,7 @@ No authorization required # **getAudioStreamByContainer** -> File getAudioStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions) +> File getAudioStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding) Gets an audio stream. @@ -184,7 +186,7 @@ import org.openapitools.client.api.AudioApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); AudioApi apiInstance = new AudioApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | The item id. @@ -195,11 +197,11 @@ public class Example { String deviceProfileId = "deviceProfileId_example"; // String | Optional. The dlna device profile id to utilize. String playSessionId = "playSessionId_example"; // String | The play session id. String segmentContainer = "segmentContainer_example"; // String | The segment container. - Integer segmentLength = 56; // Integer | The segment lenght. + Integer segmentLength = 56; // Integer | The segment length. Integer minSegments = 56; // Integer | The minimum number of segments. String mediaSourceId = "mediaSourceId_example"; // String | The media version id, if playing an alternate version. String deviceId = "deviceId_example"; // String | The device id of the client requesting. Used to stop encoding processes when needed. - String audioCodec = "audioCodec_example"; // String | Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + String audioCodec = "audioCodec_example"; // String | Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Boolean enableAutoStreamCopy = true; // Boolean | Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. Boolean allowVideoStreamCopy = true; // Boolean | Whether or not to allow copying of the video stream url. Boolean allowAudioStreamCopy = true; // Boolean | Whether or not to allow copying of the audio stream url. @@ -229,15 +231,16 @@ public class Example { Integer cpuCoreLimit = 56; // Integer | Optional. The limit of how many cpu cores to use. String liveStreamId = "liveStreamId_example"; // String | The live stream id. Boolean enableMpegtsM2TsMode = true; // Boolean | Optional. Whether to enable the MpegtsM2Ts mode. - String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. + String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. String subtitleCodec = "subtitleCodec_example"; // String | Optional. Specify a subtitle codec to encode to. String transcodeReasons = "transcodeReasons_example"; // String | Optional. The transcoding reason. Integer audioStreamIndex = 56; // Integer | Optional. The index of the audio stream to use. If omitted the first audio stream will be used. Integer videoStreamIndex = 56; // Integer | Optional. The index of the video stream to use. If omitted the first video stream will be used. EncodingContext context = EncodingContext.fromValue("Streaming"); // EncodingContext | Optional. The MediaBrowser.Model.Dlna.EncodingContext. Map streamOptions = new HashMap(); // Map | Optional. The streaming options. + Boolean enableAudioVbrEncoding = true; // Boolean | Optional. Whether to enable Audio Encoding. try { - File result = apiInstance.getAudioStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + File result = apiInstance.getAudioStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AudioApi#getAudioStreamByContainer"); @@ -262,11 +265,11 @@ public class Example { | **deviceProfileId** | **String**| Optional. The dlna device profile id to utilize. | [optional] | | **playSessionId** | **String**| The play session id. | [optional] | | **segmentContainer** | **String**| The segment container. | [optional] | -| **segmentLength** | **Integer**| The segment lenght. | [optional] | +| **segmentLength** | **Integer**| The segment length. | [optional] | | **minSegments** | **Integer**| The minimum number of segments. | [optional] | | **mediaSourceId** | **String**| The media version id, if playing an alternate version. | [optional] | | **deviceId** | **String**| The device id of the client requesting. Used to stop encoding processes when needed. | [optional] | -| **audioCodec** | **String**| Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. | [optional] | +| **audioCodec** | **String**| Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. | [optional] | | **enableAutoStreamCopy** | **Boolean**| Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. | [optional] | | **allowVideoStreamCopy** | **Boolean**| Whether or not to allow copying of the video stream url. | [optional] | | **allowAudioStreamCopy** | **Boolean**| Whether or not to allow copying of the audio stream url. | [optional] | @@ -286,7 +289,7 @@ public class Example { | **height** | **Integer**| Optional. The fixed vertical resolution of the encoded video. | [optional] | | **videoBitRate** | **Integer**| Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. | [optional] | | **subtitleStreamIndex** | **Integer**| Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. | [optional] | -| **subtitleMethod** | [**SubtitleDeliveryMethod**](.md)| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | +| **subtitleMethod** | **SubtitleDeliveryMethod**| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | | **maxRefFrames** | **Integer**| Optional. | [optional] | | **maxVideoBitDepth** | **Integer**| Optional. The maximum video bit depth. | [optional] | | **requireAvc** | **Boolean**| Optional. Whether to require avc. | [optional] | @@ -296,13 +299,14 @@ public class Example { | **cpuCoreLimit** | **Integer**| Optional. The limit of how many cpu cores to use. | [optional] | | **liveStreamId** | **String**| The live stream id. | [optional] | | **enableMpegtsM2TsMode** | **Boolean**| Optional. Whether to enable the MpegtsM2Ts mode. | [optional] | -| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. | [optional] | +| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. | [optional] | | **subtitleCodec** | **String**| Optional. Specify a subtitle codec to encode to. | [optional] | | **transcodeReasons** | **String**| Optional. The transcoding reason. | [optional] | | **audioStreamIndex** | **Integer**| Optional. The index of the audio stream to use. If omitted the first audio stream will be used. | [optional] | | **videoStreamIndex** | **Integer**| Optional. The index of the video stream to use. If omitted the first video stream will be used. | [optional] | -| **context** | [**EncodingContext**](.md)| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | +| **context** | **EncodingContext**| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | | **streamOptions** | [**Map<String, String>**](String.md)| Optional. The streaming options. | [optional] | +| **enableAudioVbrEncoding** | **Boolean**| Optional. Whether to enable Audio Encoding. | [optional] [default to true] | ### Return type @@ -324,7 +328,7 @@ No authorization required # **headAudioStream** -> File headAudioStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions) +> File headAudioStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding) Gets an audio stream. @@ -340,7 +344,7 @@ import org.openapitools.client.api.AudioApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); AudioApi apiInstance = new AudioApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | The item id. @@ -355,7 +359,7 @@ public class Example { Integer minSegments = 56; // Integer | The minimum number of segments. String mediaSourceId = "mediaSourceId_example"; // String | The media version id, if playing an alternate version. String deviceId = "deviceId_example"; // String | The device id of the client requesting. Used to stop encoding processes when needed. - String audioCodec = "audioCodec_example"; // String | Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + String audioCodec = "audioCodec_example"; // String | Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Boolean enableAutoStreamCopy = true; // Boolean | Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. Boolean allowVideoStreamCopy = true; // Boolean | Whether or not to allow copying of the video stream url. Boolean allowAudioStreamCopy = true; // Boolean | Whether or not to allow copying of the audio stream url. @@ -385,15 +389,16 @@ public class Example { Integer cpuCoreLimit = 56; // Integer | Optional. The limit of how many cpu cores to use. String liveStreamId = "liveStreamId_example"; // String | The live stream id. Boolean enableMpegtsM2TsMode = true; // Boolean | Optional. Whether to enable the MpegtsM2Ts mode. - String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. + String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. String subtitleCodec = "subtitleCodec_example"; // String | Optional. Specify a subtitle codec to encode to. String transcodeReasons = "transcodeReasons_example"; // String | Optional. The transcoding reason. Integer audioStreamIndex = 56; // Integer | Optional. The index of the audio stream to use. If omitted the first audio stream will be used. Integer videoStreamIndex = 56; // Integer | Optional. The index of the video stream to use. If omitted the first video stream will be used. EncodingContext context = EncodingContext.fromValue("Streaming"); // EncodingContext | Optional. The MediaBrowser.Model.Dlna.EncodingContext. Map streamOptions = new HashMap(); // Map | Optional. The streaming options. + Boolean enableAudioVbrEncoding = true; // Boolean | Optional. Whether to enable Audio Encoding. try { - File result = apiInstance.headAudioStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + File result = apiInstance.headAudioStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AudioApi#headAudioStream"); @@ -422,7 +427,7 @@ public class Example { | **minSegments** | **Integer**| The minimum number of segments. | [optional] | | **mediaSourceId** | **String**| The media version id, if playing an alternate version. | [optional] | | **deviceId** | **String**| The device id of the client requesting. Used to stop encoding processes when needed. | [optional] | -| **audioCodec** | **String**| Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. | [optional] | +| **audioCodec** | **String**| Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. | [optional] | | **enableAutoStreamCopy** | **Boolean**| Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. | [optional] | | **allowVideoStreamCopy** | **Boolean**| Whether or not to allow copying of the video stream url. | [optional] | | **allowAudioStreamCopy** | **Boolean**| Whether or not to allow copying of the audio stream url. | [optional] | @@ -442,7 +447,7 @@ public class Example { | **height** | **Integer**| Optional. The fixed vertical resolution of the encoded video. | [optional] | | **videoBitRate** | **Integer**| Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. | [optional] | | **subtitleStreamIndex** | **Integer**| Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. | [optional] | -| **subtitleMethod** | [**SubtitleDeliveryMethod**](.md)| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | +| **subtitleMethod** | **SubtitleDeliveryMethod**| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | | **maxRefFrames** | **Integer**| Optional. | [optional] | | **maxVideoBitDepth** | **Integer**| Optional. The maximum video bit depth. | [optional] | | **requireAvc** | **Boolean**| Optional. Whether to require avc. | [optional] | @@ -452,13 +457,14 @@ public class Example { | **cpuCoreLimit** | **Integer**| Optional. The limit of how many cpu cores to use. | [optional] | | **liveStreamId** | **String**| The live stream id. | [optional] | | **enableMpegtsM2TsMode** | **Boolean**| Optional. Whether to enable the MpegtsM2Ts mode. | [optional] | -| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. | [optional] | +| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. | [optional] | | **subtitleCodec** | **String**| Optional. Specify a subtitle codec to encode to. | [optional] | | **transcodeReasons** | **String**| Optional. The transcoding reason. | [optional] | | **audioStreamIndex** | **Integer**| Optional. The index of the audio stream to use. If omitted the first audio stream will be used. | [optional] | | **videoStreamIndex** | **Integer**| Optional. The index of the video stream to use. If omitted the first video stream will be used. | [optional] | -| **context** | [**EncodingContext**](.md)| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | +| **context** | **EncodingContext**| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | | **streamOptions** | [**Map<String, String>**](String.md)| Optional. The streaming options. | [optional] | +| **enableAudioVbrEncoding** | **Boolean**| Optional. Whether to enable Audio Encoding. | [optional] [default to true] | ### Return type @@ -480,7 +486,7 @@ No authorization required # **headAudioStreamByContainer** -> File headAudioStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions) +> File headAudioStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding) Gets an audio stream. @@ -496,7 +502,7 @@ import org.openapitools.client.api.AudioApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); AudioApi apiInstance = new AudioApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | The item id. @@ -507,11 +513,11 @@ public class Example { String deviceProfileId = "deviceProfileId_example"; // String | Optional. The dlna device profile id to utilize. String playSessionId = "playSessionId_example"; // String | The play session id. String segmentContainer = "segmentContainer_example"; // String | The segment container. - Integer segmentLength = 56; // Integer | The segment lenght. + Integer segmentLength = 56; // Integer | The segment length. Integer minSegments = 56; // Integer | The minimum number of segments. String mediaSourceId = "mediaSourceId_example"; // String | The media version id, if playing an alternate version. String deviceId = "deviceId_example"; // String | The device id of the client requesting. Used to stop encoding processes when needed. - String audioCodec = "audioCodec_example"; // String | Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + String audioCodec = "audioCodec_example"; // String | Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Boolean enableAutoStreamCopy = true; // Boolean | Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. Boolean allowVideoStreamCopy = true; // Boolean | Whether or not to allow copying of the video stream url. Boolean allowAudioStreamCopy = true; // Boolean | Whether or not to allow copying of the audio stream url. @@ -541,15 +547,16 @@ public class Example { Integer cpuCoreLimit = 56; // Integer | Optional. The limit of how many cpu cores to use. String liveStreamId = "liveStreamId_example"; // String | The live stream id. Boolean enableMpegtsM2TsMode = true; // Boolean | Optional. Whether to enable the MpegtsM2Ts mode. - String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. + String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. String subtitleCodec = "subtitleCodec_example"; // String | Optional. Specify a subtitle codec to encode to. String transcodeReasons = "transcodeReasons_example"; // String | Optional. The transcoding reason. Integer audioStreamIndex = 56; // Integer | Optional. The index of the audio stream to use. If omitted the first audio stream will be used. Integer videoStreamIndex = 56; // Integer | Optional. The index of the video stream to use. If omitted the first video stream will be used. EncodingContext context = EncodingContext.fromValue("Streaming"); // EncodingContext | Optional. The MediaBrowser.Model.Dlna.EncodingContext. Map streamOptions = new HashMap(); // Map | Optional. The streaming options. + Boolean enableAudioVbrEncoding = true; // Boolean | Optional. Whether to enable Audio Encoding. try { - File result = apiInstance.headAudioStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + File result = apiInstance.headAudioStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AudioApi#headAudioStreamByContainer"); @@ -574,11 +581,11 @@ public class Example { | **deviceProfileId** | **String**| Optional. The dlna device profile id to utilize. | [optional] | | **playSessionId** | **String**| The play session id. | [optional] | | **segmentContainer** | **String**| The segment container. | [optional] | -| **segmentLength** | **Integer**| The segment lenght. | [optional] | +| **segmentLength** | **Integer**| The segment length. | [optional] | | **minSegments** | **Integer**| The minimum number of segments. | [optional] | | **mediaSourceId** | **String**| The media version id, if playing an alternate version. | [optional] | | **deviceId** | **String**| The device id of the client requesting. Used to stop encoding processes when needed. | [optional] | -| **audioCodec** | **String**| Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. | [optional] | +| **audioCodec** | **String**| Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. | [optional] | | **enableAutoStreamCopy** | **Boolean**| Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. | [optional] | | **allowVideoStreamCopy** | **Boolean**| Whether or not to allow copying of the video stream url. | [optional] | | **allowAudioStreamCopy** | **Boolean**| Whether or not to allow copying of the audio stream url. | [optional] | @@ -598,7 +605,7 @@ public class Example { | **height** | **Integer**| Optional. The fixed vertical resolution of the encoded video. | [optional] | | **videoBitRate** | **Integer**| Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. | [optional] | | **subtitleStreamIndex** | **Integer**| Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. | [optional] | -| **subtitleMethod** | [**SubtitleDeliveryMethod**](.md)| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | +| **subtitleMethod** | **SubtitleDeliveryMethod**| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | | **maxRefFrames** | **Integer**| Optional. | [optional] | | **maxVideoBitDepth** | **Integer**| Optional. The maximum video bit depth. | [optional] | | **requireAvc** | **Boolean**| Optional. Whether to require avc. | [optional] | @@ -608,13 +615,14 @@ public class Example { | **cpuCoreLimit** | **Integer**| Optional. The limit of how many cpu cores to use. | [optional] | | **liveStreamId** | **String**| The live stream id. | [optional] | | **enableMpegtsM2TsMode** | **Boolean**| Optional. Whether to enable the MpegtsM2Ts mode. | [optional] | -| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. | [optional] | +| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. | [optional] | | **subtitleCodec** | **String**| Optional. Specify a subtitle codec to encode to. | [optional] | | **transcodeReasons** | **String**| Optional. The transcoding reason. | [optional] | | **audioStreamIndex** | **Integer**| Optional. The index of the audio stream to use. If omitted the first audio stream will be used. | [optional] | | **videoStreamIndex** | **Integer**| Optional. The index of the video stream to use. If omitted the first video stream will be used. | [optional] | -| **context** | [**EncodingContext**](.md)| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | +| **context** | **EncodingContext**| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | | **streamOptions** | [**Map<String, String>**](String.md)| Optional. The streaming options. | [optional] | +| **enableAudioVbrEncoding** | **Boolean**| Optional. Whether to enable Audio Encoding. | [optional] [default to true] | ### Return type diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AudioSpatialFormat.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AudioSpatialFormat.md new file mode 100644 index 00000000000..49fa2aaed42 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AudioSpatialFormat.md @@ -0,0 +1,15 @@ + + +# AudioSpatialFormat + +## Enum + + +* `NONE` (value: `"None"`) + +* `DOLBY_ATMOS` (value: `"DolbyAtmos"`) + +* `DTSX` (value: `"DTSX"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AuthenticateUserByName.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AuthenticateUserByName.md similarity index 80% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AuthenticateUserByName.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AuthenticateUserByName.md index f76ef387c72..701c5cedbd7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AuthenticateUserByName.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AuthenticateUserByName.md @@ -10,7 +10,6 @@ The authenticate user by name request body. |------------ | ------------- | ------------- | -------------| |**username** | **String** | Gets or sets the username. | [optional] | |**pw** | **String** | Gets or sets the plain text password. | [optional] | -|**password** | **String** | Gets or sets the sha1-hashed password. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AuthenticationInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AuthenticationInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AuthenticationInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AuthenticationInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AuthenticationInfoQueryResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AuthenticationInfoQueryResult.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AuthenticationInfoQueryResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AuthenticationInfoQueryResult.md index cc5058d2c62..e72217f1446 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AuthenticationInfoQueryResult.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AuthenticationInfoQueryResult.md @@ -2,6 +2,7 @@ # AuthenticationInfoQueryResult +Query result container. ## Properties diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AuthenticationResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AuthenticationResult.md new file mode 100644 index 00000000000..b5504f01099 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/AuthenticationResult.md @@ -0,0 +1,17 @@ + + +# AuthenticationResult + +A class representing an authentication result. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**user** | [**UserDto**](UserDto.md) | Class UserDto. | [optional] | +|**sessionInfo** | [**SessionInfoDto**](SessionInfoDto.md) | Session info DTO. | [optional] | +|**accessToken** | **String** | Gets or sets the access token. | [optional] | +|**serverId** | **String** | Gets or sets the server id. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BaseItemDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BaseItemDto.md similarity index 92% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BaseItemDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BaseItemDto.md index c4a3294e041..d71761ea5e6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BaseItemDto.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BaseItemDto.md @@ -17,16 +17,16 @@ This is strictly used as a data transfer object from the api layer. This holds |**playlistItemId** | **String** | Gets or sets the playlist item identifier. | [optional] | |**dateCreated** | **OffsetDateTime** | Gets or sets the date created. | [optional] | |**dateLastMediaAdded** | **OffsetDateTime** | | [optional] | -|**extraType** | **String** | | [optional] | +|**extraType** | **ExtraType** | | [optional] | |**airsBeforeSeasonNumber** | **Integer** | | [optional] | |**airsAfterSeasonNumber** | **Integer** | | [optional] | |**airsBeforeEpisodeNumber** | **Integer** | | [optional] | |**canDelete** | **Boolean** | | [optional] | |**canDownload** | **Boolean** | | [optional] | +|**hasLyrics** | **Boolean** | | [optional] | |**hasSubtitles** | **Boolean** | | [optional] | |**preferredMetadataLanguage** | **String** | | [optional] | |**preferredMetadataCountryCode** | **String** | | [optional] | -|**supportsSync** | **Boolean** | Gets or sets a value indicating whether [supports synchronize]. | [optional] | |**container** | **String** | | [optional] | |**sortName** | **String** | Gets or sets the name of the sort. | [optional] | |**forcedSortName** | **String** | | [optional] | @@ -62,12 +62,12 @@ This is strictly used as a data transfer object from the api layer. This holds |**isHD** | **Boolean** | Gets or sets a value indicating whether this instance is HD. | [optional] | |**isFolder** | **Boolean** | Gets or sets a value indicating whether this instance is folder. | [optional] | |**parentId** | **UUID** | Gets or sets the parent id. | [optional] | -|**type** | **BaseItemKind** | Gets or sets the type. | [optional] | +|**type** | **BaseItemKind** | The base item kind. | [optional] | |**people** | [**List<BaseItemPerson>**](BaseItemPerson.md) | Gets or sets the people. | [optional] | |**studios** | [**List<NameGuidPair>**](NameGuidPair.md) | Gets or sets the studios. | [optional] | |**genreItems** | [**List<NameGuidPair>**](NameGuidPair.md) | | [optional] | -|**parentLogoItemId** | **UUID** | Gets or sets wether the item has a logo, this will hold the Id of the Parent that has one. | [optional] | -|**parentBackdropItemId** | **UUID** | Gets or sets wether the item has any backdrops, this will hold the Id of the Parent that has one. | [optional] | +|**parentLogoItemId** | **UUID** | Gets or sets whether the item has a logo, this will hold the Id of the Parent that has one. | [optional] | +|**parentBackdropItemId** | **UUID** | Gets or sets whether the item has any backdrops, this will hold the Id of the Parent that has one. | [optional] | |**parentBackdropImageTags** | **List<String>** | Gets or sets the parent backdrop image tags. | [optional] | |**localTrailerCount** | **Integer** | Gets or sets the local trailer count. | [optional] | |**userData** | [**UserItemDataDto**](UserItemDataDto.md) | Gets or sets the user data for this item based on the user it's being requested for. | [optional] | @@ -86,7 +86,7 @@ This is strictly used as a data transfer object from the api layer. This holds |**artists** | **List<String>** | Gets or sets the artists. | [optional] | |**artistItems** | [**List<NameGuidPair>**](NameGuidPair.md) | Gets or sets the artist items. | [optional] | |**album** | **String** | Gets or sets the album. | [optional] | -|**collectionType** | **String** | Gets or sets the type of the collection. | [optional] | +|**collectionType** | **CollectionType** | Gets or sets the type of the collection. | [optional] | |**displayOrder** | **String** | Gets or sets the display order. | [optional] | |**albumId** | **UUID** | Gets or sets the album id. | [optional] | |**albumPrimaryImageTag** | **String** | Gets or sets the album image tag. | [optional] | @@ -102,7 +102,7 @@ This is strictly used as a data transfer object from the api layer. This holds |**backdropImageTags** | **List<String>** | Gets or sets the backdrop image tags. | [optional] | |**screenshotImageTags** | **List<String>** | Gets or sets the screenshot image tags. | [optional] | |**parentLogoImageTag** | **String** | Gets or sets the parent logo image tag. | [optional] | -|**parentArtItemId** | **UUID** | Gets or sets wether the item has fan art, this will hold the Id of the Parent that has one. | [optional] | +|**parentArtItemId** | **UUID** | Gets or sets whether the item has fan art, this will hold the Id of the Parent that has one. | [optional] | |**parentArtImageTag** | **String** | Gets or sets the parent art image tag. | [optional] | |**seriesThumbImageTag** | **String** | Gets or sets the series thumb image tag. | [optional] | |**imageBlurHashes** | [**BaseItemDtoImageBlurHashes**](BaseItemDtoImageBlurHashes.md) | | [optional] | @@ -112,9 +112,10 @@ This is strictly used as a data transfer object from the api layer. This holds |**parentPrimaryImageItemId** | **String** | Gets or sets the parent primary image item identifier. | [optional] | |**parentPrimaryImageTag** | **String** | Gets or sets the parent primary image tag. | [optional] | |**chapters** | [**List<ChapterInfo>**](ChapterInfo.md) | Gets or sets the chapters. | [optional] | +|**trickplay** | **Map<String, Map<String, TrickplayInfo>>** | Gets or sets the trickplay manifest. | [optional] | |**locationType** | **LocationType** | Gets or sets the type of the location. | [optional] | |**isoType** | **IsoType** | Gets or sets the type of the iso. | [optional] | -|**mediaType** | **String** | Gets or sets the type of the media. | [optional] | +|**mediaType** | **MediaType** | Media types. | [optional] | |**endDate** | **OffsetDateTime** | Gets or sets the end date. | [optional] | |**lockedFields** | **List<MetadataField>** | Gets or sets the locked fields. | [optional] | |**trailerCount** | **Integer** | Gets or sets the trailer count. | [optional] | @@ -158,6 +159,7 @@ This is strictly used as a data transfer object from the api layer. This holds |**isKids** | **Boolean** | Gets or sets a value indicating whether this instance is kids. | [optional] | |**isPremiere** | **Boolean** | Gets or sets a value indicating whether this instance is premiere. | [optional] | |**timerId** | **String** | Gets or sets the timer identifier. | [optional] | +|**normalizationGain** | **Float** | Gets or sets the gain required for audio normalization. | [optional] | |**currentProgram** | [**BaseItemDto**](BaseItemDto.md) | Gets or sets the current program. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BaseItemDtoImageBlurHashes.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BaseItemDtoImageBlurHashes.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BaseItemDtoImageBlurHashes.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BaseItemDtoImageBlurHashes.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BaseItemDtoQueryResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BaseItemDtoQueryResult.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BaseItemDtoQueryResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BaseItemDtoQueryResult.md index cddef183376..05a805012f7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BaseItemDtoQueryResult.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BaseItemDtoQueryResult.md @@ -2,6 +2,7 @@ # BaseItemDtoQueryResult +Query result container. ## Properties diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BaseItemKind.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BaseItemKind.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BaseItemKind.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BaseItemKind.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BaseItemPerson.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BaseItemPerson.md similarity index 90% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BaseItemPerson.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BaseItemPerson.md index 108a7141ac7..a5946f50d57 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BaseItemPerson.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BaseItemPerson.md @@ -11,7 +11,7 @@ This is used by the api to get information about a Person within a BaseItem. |**name** | **String** | Gets or sets the name. | [optional] | |**id** | **UUID** | Gets or sets the identifier. | [optional] | |**role** | **String** | Gets or sets the role. | [optional] | -|**type** | **String** | Gets or sets the type. | [optional] | +|**type** | **PersonKind** | The person kind. | [optional] | |**primaryImageTag** | **String** | Gets or sets the primary image tag. | [optional] | |**imageBlurHashes** | [**BaseItemPersonImageBlurHashes**](BaseItemPersonImageBlurHashes.md) | | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BaseItemPersonImageBlurHashes.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BaseItemPersonImageBlurHashes.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BaseItemPersonImageBlurHashes.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BaseItemPersonImageBlurHashes.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BookInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BookInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BookInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BookInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BookInfoRemoteSearchQuery.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BookInfoRemoteSearchQuery.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BookInfoRemoteSearchQuery.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BookInfoRemoteSearchQuery.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BoxSetInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BoxSetInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BoxSetInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BoxSetInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BoxSetInfoRemoteSearchQuery.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BoxSetInfoRemoteSearchQuery.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BoxSetInfoRemoteSearchQuery.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BoxSetInfoRemoteSearchQuery.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BrandingApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BrandingApi.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BrandingApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BrandingApi.md index d43fb3b86d7..056019cee52 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BrandingApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BrandingApi.md @@ -1,6 +1,6 @@ # BrandingApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -27,7 +27,7 @@ import org.openapitools.client.api.BrandingApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); BrandingApi apiInstance = new BrandingApi(defaultClient); try { @@ -84,7 +84,7 @@ import org.openapitools.client.api.BrandingApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); BrandingApi apiInstance = new BrandingApi(defaultClient); try { @@ -141,7 +141,7 @@ import org.openapitools.client.api.BrandingApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); BrandingApi apiInstance = new BrandingApi(defaultClient); try { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BrandingOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BrandingOptions.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BrandingOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BrandingOptions.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BufferRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BufferRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BufferRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/BufferRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CastReceiverApplication.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CastReceiverApplication.md new file mode 100644 index 00000000000..ad6f7241e06 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CastReceiverApplication.md @@ -0,0 +1,15 @@ + + +# CastReceiverApplication + +The cast receiver application model. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **String** | Gets or sets the cast receiver application id. | [optional] | +|**name** | **String** | Gets or sets the cast receiver application name. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ChannelFeatures.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ChannelFeatures.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ChannelFeatures.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ChannelFeatures.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ChannelItemSortField.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ChannelItemSortField.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ChannelItemSortField.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ChannelItemSortField.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ChannelMappingOptionsDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ChannelMappingOptionsDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ChannelMappingOptionsDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ChannelMappingOptionsDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ChannelMediaContentType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ChannelMediaContentType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ChannelMediaContentType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ChannelMediaContentType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ChannelMediaType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ChannelMediaType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ChannelMediaType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ChannelMediaType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ChannelType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ChannelType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ChannelType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ChannelType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ChannelsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ChannelsApi.md similarity index 94% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ChannelsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ChannelsApi.md index 8f6002b6c67..b7e822a895d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ChannelsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ChannelsApi.md @@ -1,6 +1,6 @@ # ChannelsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -30,7 +30,7 @@ import org.openapitools.client.api.ChannelsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -95,7 +95,7 @@ import org.openapitools.client.api.ChannelsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -164,7 +164,7 @@ import org.openapitools.client.api.ChannelsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -180,7 +180,7 @@ public class Example { Integer limit = 56; // Integer | Optional. The maximum number of records to return. List sortOrder = Arrays.asList(); // List | Optional. Sort Order - Ascending,Descending. List filters = Arrays.asList(); // List | Optional. Specify additional filters to apply. - List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. List fields = Arrays.asList(); // List | Optional. Specify additional fields of information to return in the output. try { BaseItemDtoQueryResult result = apiInstance.getChannelItems(channelId, folderId, userId, startIndex, limit, sortOrder, filters, sortBy, fields); @@ -207,7 +207,7 @@ public class Example { | **limit** | **Integer**| Optional. The maximum number of records to return. | [optional] | | **sortOrder** | [**List<SortOrder>**](SortOrder.md)| Optional. Sort Order - Ascending,Descending. | [optional] | | **filters** | [**List<ItemFilter>**](ItemFilter.md)| Optional. Specify additional filters to apply. | [optional] | -| **sortBy** | [**List<String>**](String.md)| Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. | [optional] | +| **sortBy** | [**List<ItemSortBy>**](ItemSortBy.md)| Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. | [optional] | | **fields** | [**List<ItemFields>**](ItemFields.md)| Optional. Specify additional fields of information to return in the output. | [optional] | ### Return type @@ -249,7 +249,7 @@ import org.openapitools.client.api.ChannelsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -328,7 +328,7 @@ import org.openapitools.client.api.ChannelsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ChapterInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ChapterInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ChapterInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ChapterInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ClientCapabilitiesDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ClientCapabilitiesDto.md similarity index 64% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ClientCapabilitiesDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ClientCapabilitiesDto.md index 075d8671cd8..aad82dd9edd 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ClientCapabilitiesDto.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ClientCapabilitiesDto.md @@ -8,13 +8,10 @@ Client capabilities dto. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**playableMediaTypes** | **List<String>** | Gets or sets the list of playable media types. | [optional] | +|**playableMediaTypes** | **List<MediaType>** | Gets or sets the list of playable media types. | [optional] | |**supportedCommands** | **List<GeneralCommandType>** | Gets or sets the list of supported commands. | [optional] | |**supportsMediaControl** | **Boolean** | Gets or sets a value indicating whether session supports media control. | [optional] | -|**supportsContentUploading** | **Boolean** | Gets or sets a value indicating whether session supports content uploading. | [optional] | -|**messageCallbackUrl** | **String** | Gets or sets the message callback url. | [optional] | |**supportsPersistentIdentifier** | **Boolean** | Gets or sets a value indicating whether session supports a persistent identifier. | [optional] | -|**supportsSync** | **Boolean** | Gets or sets a value indicating whether session supports sync. | [optional] | |**deviceProfile** | [**DeviceProfile**](DeviceProfile.md) | Gets or sets the device profile. | [optional] | |**appStoreUrl** | **String** | Gets or sets the app store url. | [optional] | |**iconUrl** | **String** | Gets or sets the icon url. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ClientLogApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ClientLogApi.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ClientLogApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ClientLogApi.md index 42f3c0c3e7b..f87e3f25bd0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ClientLogApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ClientLogApi.md @@ -1,6 +1,6 @@ # ClientLogApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -26,7 +26,7 @@ import org.openapitools.client.api.ClientLogApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ClientLogDocumentResponseDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ClientLogDocumentResponseDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ClientLogDocumentResponseDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ClientLogDocumentResponseDto.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CodecProfile.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CodecProfile.md new file mode 100644 index 00000000000..9481eecc180 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CodecProfile.md @@ -0,0 +1,19 @@ + + +# CodecProfile + +Defines the MediaBrowser.Model.Dlna.CodecProfile. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**type** | **CodecType** | Gets or sets the MediaBrowser.Model.Dlna.CodecType which this container must meet. | [optional] | +|**conditions** | [**List<ProfileCondition>**](ProfileCondition.md) | Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this profile must meet. | [optional] | +|**applyConditions** | [**List<ProfileCondition>**](ProfileCondition.md) | Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition to apply if this profile is met. | [optional] | +|**codec** | **String** | Gets or sets the codec(s) that this profile applies to. | [optional] | +|**container** | **String** | Gets or sets the container(s) which this profile will be applied to. | [optional] | +|**subContainer** | **String** | Gets or sets the sub-container(s) which this profile will be applied to. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CodecType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CodecType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CodecType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CodecType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CollectionApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CollectionApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CollectionApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CollectionApi.md index a0d9f8ad7ac..17c33a70bf2 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CollectionApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CollectionApi.md @@ -1,6 +1,6 @@ # CollectionApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -28,7 +28,7 @@ import org.openapitools.client.api.CollectionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -98,7 +98,7 @@ import org.openapitools.client.api.CollectionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -173,7 +173,7 @@ import org.openapitools.client.api.CollectionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CollectionCreationResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CollectionCreationResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CollectionCreationResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CollectionCreationResult.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CollectionType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CollectionType.md new file mode 100644 index 00000000000..c987c1c8bbd --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CollectionType.md @@ -0,0 +1,35 @@ + + +# CollectionType + +## Enum + + +* `UNKNOWN` (value: `"unknown"`) + +* `MOVIES` (value: `"movies"`) + +* `TVSHOWS` (value: `"tvshows"`) + +* `MUSIC` (value: `"music"`) + +* `MUSICVIDEOS` (value: `"musicvideos"`) + +* `TRAILERS` (value: `"trailers"`) + +* `HOMEVIDEOS` (value: `"homevideos"`) + +* `BOXSETS` (value: `"boxsets"`) + +* `BOOKS` (value: `"books"`) + +* `PHOTOS` (value: `"photos"`) + +* `LIVETV` (value: `"livetv"`) + +* `PLAYLISTS` (value: `"playlists"`) + +* `FOLDERS` (value: `"folders"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CollectionTypeOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CollectionTypeOptions.md new file mode 100644 index 00000000000..92b27769c5f --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CollectionTypeOptions.md @@ -0,0 +1,25 @@ + + +# CollectionTypeOptions + +## Enum + + +* `MOVIES` (value: `"movies"`) + +* `TVSHOWS` (value: `"tvshows"`) + +* `MUSIC` (value: `"music"`) + +* `MUSICVIDEOS` (value: `"musicvideos"`) + +* `HOMEVIDEOS` (value: `"homevideos"`) + +* `BOXSETS` (value: `"boxsets"`) + +* `BOOKS` (value: `"books"`) + +* `MIXED` (value: `"mixed"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ConfigImageTypes.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ConfigImageTypes.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ConfigImageTypes.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ConfigImageTypes.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ConfigurationApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ConfigurationApi.md similarity index 80% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ConfigurationApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ConfigurationApi.md index 8426a4ff0b4..5c5bc7f4d7f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ConfigurationApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ConfigurationApi.md @@ -1,6 +1,6 @@ # ConfigurationApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -8,7 +8,6 @@ All URIs are relative to *http://nuc.ehrendingen:8096* | [**getDefaultMetadataOptions**](ConfigurationApi.md#getDefaultMetadataOptions) | **GET** /System/Configuration/MetadataOptions/Default | Gets a default MetadataOptions object. | | [**getNamedConfiguration**](ConfigurationApi.md#getNamedConfiguration) | **GET** /System/Configuration/{key} | Gets a named configuration. | | [**updateConfiguration**](ConfigurationApi.md#updateConfiguration) | **POST** /System/Configuration | Updates application configuration. | -| [**updateMediaEncoderPath**](ConfigurationApi.md#updateMediaEncoderPath) | **POST** /System/MediaEncoder/Path | Updates the path to the media encoder. | | [**updateNamedConfiguration**](ConfigurationApi.md#updateNamedConfiguration) | **POST** /System/Configuration/{key} | Updates named configuration. | @@ -31,7 +30,7 @@ import org.openapitools.client.api.ConfigurationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -96,7 +95,7 @@ import org.openapitools.client.api.ConfigurationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -161,7 +160,7 @@ import org.openapitools.client.api.ConfigurationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -230,7 +229,7 @@ import org.openapitools.client.api.ConfigurationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -279,74 +278,6 @@ null (empty response body) | **401** | Unauthorized | - | | **403** | Forbidden | - | - -# **updateMediaEncoderPath** -> updateMediaEncoderPath(mediaEncoderPathDto) - -Updates the path to the media encoder. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ConfigurationApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - ConfigurationApi apiInstance = new ConfigurationApi(defaultClient); - MediaEncoderPathDto mediaEncoderPathDto = new MediaEncoderPathDto(); // MediaEncoderPathDto | Media encoder path form body. - try { - apiInstance.updateMediaEncoderPath(mediaEncoderPathDto); - } catch (ApiException e) { - System.err.println("Exception when calling ConfigurationApi#updateMediaEncoderPath"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **mediaEncoderPathDto** | [**MediaEncoderPathDto**](MediaEncoderPathDto.md)| Media encoder path form body. | | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: application/json, text/json, application/*+json - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **204** | Media encoder path updated. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - # **updateNamedConfiguration** > updateNamedConfiguration(key, body) @@ -366,7 +297,7 @@ import org.openapitools.client.api.ConfigurationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ConfigurationPageInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ConfigurationPageInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ConfigurationPageInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ConfigurationPageInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ContainerProfile.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ContainerProfile.md new file mode 100644 index 00000000000..e0466d2e6d9 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ContainerProfile.md @@ -0,0 +1,17 @@ + + +# ContainerProfile + +Defines the MediaBrowser.Model.Dlna.ContainerProfile. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**type** | **DlnaProfileType** | Gets or sets the MediaBrowser.Model.Dlna.DlnaProfileType which this container must meet. | [optional] | +|**conditions** | [**List<ProfileCondition>**](ProfileCondition.md) | Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this container will be applied to. | [optional] | +|**container** | **String** | Gets or sets the container(s) which this container must meet. | [optional] | +|**subContainer** | **String** | Gets or sets the sub container(s) which this container must meet. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CountryInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CountryInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CountryInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CountryInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CreatePlaylistDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CreatePlaylistDto.md similarity index 56% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CreatePlaylistDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CreatePlaylistDto.md index 0c7981629e2..47784b69711 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CreatePlaylistDto.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CreatePlaylistDto.md @@ -11,7 +11,9 @@ Create new playlist dto. |**name** | **String** | Gets or sets the name of the new playlist. | [optional] | |**ids** | **List<UUID>** | Gets or sets item ids to add to the playlist. | [optional] | |**userId** | **UUID** | Gets or sets the user id. | [optional] | -|**mediaType** | **String** | Gets or sets the media type. | [optional] | +|**mediaType** | **MediaType** | Gets or sets the media type. | [optional] | +|**users** | [**List<PlaylistUserPermissions>**](PlaylistUserPermissions.md) | Gets or sets the playlist users. | [optional] | +|**isPublic** | **Boolean** | Gets or sets a value indicating whether the playlist is public. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CreateUserByName.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CreateUserByName.md similarity index 78% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CreateUserByName.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CreateUserByName.md index 0366a68b00d..cb7aeaef967 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CreateUserByName.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CreateUserByName.md @@ -8,7 +8,7 @@ The create user by name request body. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**name** | **String** | Gets or sets the username. | [optional] | +|**name** | **String** | Gets or sets the username. | | |**password** | **String** | Gets or sets the password. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CultureDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CultureDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CultureDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/CultureDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DashboardApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DashboardApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DashboardApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DashboardApi.md index 3ccb7d4a11a..34d8a226218 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DashboardApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DashboardApi.md @@ -1,6 +1,6 @@ # DashboardApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -27,7 +27,7 @@ import org.openapitools.client.api.DashboardApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -96,7 +96,7 @@ import org.openapitools.client.api.DashboardApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); DashboardApi apiInstance = new DashboardApi(defaultClient); String name = "name_example"; // String | The name of the page. diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DayOfWeek.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DayOfWeek.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DayOfWeek.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DayOfWeek.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DayPattern.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DayPattern.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DayPattern.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DayPattern.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DefaultDirectoryBrowserInfoDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DefaultDirectoryBrowserInfoDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DefaultDirectoryBrowserInfoDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DefaultDirectoryBrowserInfoDto.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DeinterlaceMethod.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DeinterlaceMethod.md new file mode 100644 index 00000000000..37fad6a87b8 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DeinterlaceMethod.md @@ -0,0 +1,13 @@ + + +# DeinterlaceMethod + +## Enum + + +* `YADIF` (value: `"yadif"`) + +* `BWDIF` (value: `"bwdif"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DeviceInfoDto.md similarity index 64% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DeviceInfoDto.md index 751d2560f51..6f5d33e1762 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceInfo.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DeviceInfoDto.md @@ -1,13 +1,15 @@ -# DeviceInfo +# DeviceInfoDto +A DTO representing device information. ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**name** | **String** | | [optional] | +|**name** | **String** | Gets or sets the name. | [optional] | +|**customName** | **String** | Gets or sets the custom name. | [optional] | |**accessToken** | **String** | Gets or sets the access token. | [optional] | |**id** | **String** | Gets or sets the identifier. | [optional] | |**lastUserName** | **String** | Gets or sets the last name of the user. | [optional] | @@ -15,8 +17,8 @@ |**appVersion** | **String** | Gets or sets the application version. | [optional] | |**lastUserId** | **UUID** | Gets or sets the last user identifier. | [optional] | |**dateLastActivity** | **OffsetDateTime** | Gets or sets the date last modified. | [optional] | -|**capabilities** | [**ClientCapabilities**](ClientCapabilities.md) | Gets or sets the capabilities. | [optional] | -|**iconUrl** | **String** | | [optional] | +|**capabilities** | [**ClientCapabilitiesDto**](ClientCapabilitiesDto.md) | Gets or sets the capabilities. | [optional] | +|**iconUrl** | **String** | Gets or sets the icon URL. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceInfoQueryResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DeviceInfoDtoQueryResult.md similarity index 67% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceInfoQueryResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DeviceInfoDtoQueryResult.md index 3d8becc195a..09a8ac62f3a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceInfoQueryResult.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DeviceInfoDtoQueryResult.md @@ -1,13 +1,14 @@ -# DeviceInfoQueryResult +# DeviceInfoDtoQueryResult +Query result container. ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**items** | [**List<DeviceInfo>**](DeviceInfo.md) | Gets or sets the items. | [optional] | +|**items** | [**List<DeviceInfoDto>**](DeviceInfoDto.md) | Gets or sets the items. | [optional] | |**totalRecordCount** | **Integer** | Gets or sets the total number of records available. | [optional] | |**startIndex** | **Integer** | Gets or sets the index of the first record in Items. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DeviceOptionsDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DeviceOptionsDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DeviceOptionsDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DeviceOptionsDto.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DeviceProfile.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DeviceProfile.md new file mode 100644 index 00000000000..80ac7814b5c --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DeviceProfile.md @@ -0,0 +1,24 @@ + + +# DeviceProfile + +A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.
Specifically, it defines the supported containers and codecs (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which containers/codecs to transcode to in case it isn't. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | Gets or sets the name of this device profile. User profiles must have a unique name. | [optional] | +|**id** | **UUID** | Gets or sets the unique internal identifier. | [optional] | +|**maxStreamingBitrate** | **Integer** | Gets or sets the maximum allowed bitrate for all streamed content. | [optional] | +|**maxStaticBitrate** | **Integer** | Gets or sets the maximum allowed bitrate for statically streamed content (= direct played files). | [optional] | +|**musicStreamingTranscodingBitrate** | **Integer** | Gets or sets the maximum allowed bitrate for transcoded music streams. | [optional] | +|**maxStaticMusicBitrate** | **Integer** | Gets or sets the maximum allowed bitrate for statically streamed (= direct played) music files. | [optional] | +|**directPlayProfiles** | [**List<DirectPlayProfile>**](DirectPlayProfile.md) | Gets or sets the direct play profiles. | [optional] | +|**transcodingProfiles** | [**List<TranscodingProfile>**](TranscodingProfile.md) | Gets or sets the transcoding profiles. | [optional] | +|**containerProfiles** | [**List<ContainerProfile>**](ContainerProfile.md) | Gets or sets the container profiles. Failing to meet these optional conditions causes transcoding to occur. | [optional] | +|**codecProfiles** | [**List<CodecProfile>**](CodecProfile.md) | Gets or sets the codec profiles. | [optional] | +|**subtitleProfiles** | [**List<SubtitleProfile>**](SubtitleProfile.md) | Gets or sets the subtitle profiles. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DevicesApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DevicesApi.md similarity index 91% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DevicesApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DevicesApi.md index 77bd256e042..c1e06152c8b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DevicesApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DevicesApi.md @@ -1,6 +1,6 @@ # DevicesApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -30,7 +30,7 @@ import org.openapitools.client.api.DevicesApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -82,7 +82,7 @@ null (empty response body) # **getDeviceInfo** -> DeviceInfo getDeviceInfo(id) +> DeviceInfoDto getDeviceInfo(id) Get info for a device. @@ -99,7 +99,7 @@ import org.openapitools.client.api.DevicesApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -110,7 +110,7 @@ public class Example { DevicesApi apiInstance = new DevicesApi(defaultClient); String id = "id_example"; // String | Device Id. try { - DeviceInfo result = apiInstance.getDeviceInfo(id); + DeviceInfoDto result = apiInstance.getDeviceInfo(id); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DevicesApi#getDeviceInfo"); @@ -131,7 +131,7 @@ public class Example { ### Return type -[**DeviceInfo**](DeviceInfo.md) +[**DeviceInfoDto**](DeviceInfoDto.md) ### Authorization @@ -152,7 +152,7 @@ public class Example { # **getDeviceOptions** -> DeviceOptions getDeviceOptions(id) +> DeviceOptionsDto getDeviceOptions(id) Get options for a device. @@ -169,7 +169,7 @@ import org.openapitools.client.api.DevicesApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -180,7 +180,7 @@ public class Example { DevicesApi apiInstance = new DevicesApi(defaultClient); String id = "id_example"; // String | Device Id. try { - DeviceOptions result = apiInstance.getDeviceOptions(id); + DeviceOptionsDto result = apiInstance.getDeviceOptions(id); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DevicesApi#getDeviceOptions"); @@ -201,7 +201,7 @@ public class Example { ### Return type -[**DeviceOptions**](DeviceOptions.md) +[**DeviceOptionsDto**](DeviceOptionsDto.md) ### Authorization @@ -222,7 +222,7 @@ public class Example { # **getDevices** -> DeviceInfoQueryResult getDevices(supportsSync, userId) +> DeviceInfoDtoQueryResult getDevices(userId) Get Devices. @@ -239,7 +239,7 @@ import org.openapitools.client.api.DevicesApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -248,10 +248,9 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); DevicesApi apiInstance = new DevicesApi(defaultClient); - Boolean supportsSync = true; // Boolean | Gets or sets a value indicating whether [supports synchronize]. UUID userId = UUID.randomUUID(); // UUID | Gets or sets the user identifier. try { - DeviceInfoQueryResult result = apiInstance.getDevices(supportsSync, userId); + DeviceInfoDtoQueryResult result = apiInstance.getDevices(userId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DevicesApi#getDevices"); @@ -268,12 +267,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **supportsSync** | **Boolean**| Gets or sets a value indicating whether [supports synchronize]. | [optional] | | **userId** | **UUID**| Gets or sets the user identifier. | [optional] | ### Return type -[**DeviceInfoQueryResult**](DeviceInfoQueryResult.md) +[**DeviceInfoDtoQueryResult**](DeviceInfoDtoQueryResult.md) ### Authorization @@ -310,7 +308,7 @@ import org.openapitools.client.api.DevicesApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DirectPlayProfile.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DirectPlayProfile.md new file mode 100644 index 00000000000..9997ce2f958 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DirectPlayProfile.md @@ -0,0 +1,17 @@ + + +# DirectPlayProfile + +Defines the MediaBrowser.Model.Dlna.DirectPlayProfile. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**container** | **String** | Gets or sets the container. | [optional] | +|**audioCodec** | **String** | Gets or sets the audio codec. | [optional] | +|**videoCodec** | **String** | Gets or sets the video codec. | [optional] | +|**type** | **DlnaProfileType** | Gets or sets the Dlna profile type. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DisplayPreferencesApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DisplayPreferencesApi.md similarity index 92% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DisplayPreferencesApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DisplayPreferencesApi.md index 808d48fcbd9..a4b03eb1611 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DisplayPreferencesApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DisplayPreferencesApi.md @@ -1,6 +1,6 @@ # DisplayPreferencesApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -10,7 +10,7 @@ All URIs are relative to *http://nuc.ehrendingen:8096* # **getDisplayPreferences** -> DisplayPreferencesDto getDisplayPreferences(displayPreferencesId, userId, client) +> DisplayPreferencesDto getDisplayPreferences(displayPreferencesId, client, userId) Get Display Preferences. @@ -27,7 +27,7 @@ import org.openapitools.client.api.DisplayPreferencesApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -37,10 +37,10 @@ public class Example { DisplayPreferencesApi apiInstance = new DisplayPreferencesApi(defaultClient); String displayPreferencesId = "displayPreferencesId_example"; // String | Display preferences id. - UUID userId = UUID.randomUUID(); // UUID | User id. String client = "client_example"; // String | Client. + UUID userId = UUID.randomUUID(); // UUID | User id. try { - DisplayPreferencesDto result = apiInstance.getDisplayPreferences(displayPreferencesId, userId, client); + DisplayPreferencesDto result = apiInstance.getDisplayPreferences(displayPreferencesId, client, userId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DisplayPreferencesApi#getDisplayPreferences"); @@ -58,8 +58,8 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **displayPreferencesId** | **String**| Display preferences id. | | -| **userId** | **UUID**| User id. | | | **client** | **String**| Client. | | +| **userId** | **UUID**| User id. | [optional] | ### Return type @@ -83,7 +83,7 @@ public class Example { # **updateDisplayPreferences** -> updateDisplayPreferences(displayPreferencesId, userId, client, displayPreferencesDto) +> updateDisplayPreferences(displayPreferencesId, client, displayPreferencesDto, userId) Update Display Preferences. @@ -100,7 +100,7 @@ import org.openapitools.client.api.DisplayPreferencesApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -110,11 +110,11 @@ public class Example { DisplayPreferencesApi apiInstance = new DisplayPreferencesApi(defaultClient); String displayPreferencesId = "displayPreferencesId_example"; // String | Display preferences id. - UUID userId = UUID.randomUUID(); // UUID | User Id. String client = "client_example"; // String | Client. DisplayPreferencesDto displayPreferencesDto = new DisplayPreferencesDto(); // DisplayPreferencesDto | New Display Preferences object. + UUID userId = UUID.randomUUID(); // UUID | User Id. try { - apiInstance.updateDisplayPreferences(displayPreferencesId, userId, client, displayPreferencesDto); + apiInstance.updateDisplayPreferences(displayPreferencesId, client, displayPreferencesDto, userId); } catch (ApiException e) { System.err.println("Exception when calling DisplayPreferencesApi#updateDisplayPreferences"); System.err.println("Status code: " + e.getCode()); @@ -131,9 +131,9 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **displayPreferencesId** | **String**| Display preferences id. | | -| **userId** | **UUID**| User Id. | | | **client** | **String**| Client. | | | **displayPreferencesDto** | [**DisplayPreferencesDto**](DisplayPreferencesDto.md)| New Display Preferences object. | | +| **userId** | **UUID**| User Id. | [optional] | ### Return type diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DisplayPreferencesDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DisplayPreferencesDto.md similarity index 86% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DisplayPreferencesDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DisplayPreferencesDto.md index 784ebf16e08..f81bf37b963 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DisplayPreferencesDto.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DisplayPreferencesDto.md @@ -16,10 +16,10 @@ Defines the display preferences for any item that supports them (usually Folders |**primaryImageHeight** | **Integer** | Gets or sets the height of the primary image. | [optional] | |**primaryImageWidth** | **Integer** | Gets or sets the width of the primary image. | [optional] | |**customPrefs** | **Map<String, String>** | Gets or sets the custom prefs. | [optional] | -|**scrollDirection** | **ScrollDirection** | Gets or sets the scroll direction. | [optional] | +|**scrollDirection** | **ScrollDirection** | An enum representing the axis that should be scrolled. | [optional] | |**showBackdrop** | **Boolean** | Gets or sets a value indicating whether to show backdrops on this item. | [optional] | |**rememberSorting** | **Boolean** | Gets or sets a value indicating whether [remember sorting]. | [optional] | -|**sortOrder** | **SortOrder** | Gets or sets the sort order. | [optional] | +|**sortOrder** | **SortOrder** | An enum representing the sorting order. | [optional] | |**showSidebar** | **Boolean** | Gets or sets a value indicating whether [show sidebar]. | [optional] | |**client** | **String** | Gets or sets the client. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DlnaProfileType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DlnaProfileType.md similarity index 84% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DlnaProfileType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DlnaProfileType.md index 212f4c6385e..cc93228dd93 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DlnaProfileType.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DlnaProfileType.md @@ -13,5 +13,7 @@ * `SUBTITLE` (value: `"Subtitle"`) +* `LYRIC` (value: `"Lyric"`) + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DownMixStereoAlgorithms.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DownMixStereoAlgorithms.md new file mode 100644 index 00000000000..c518f981298 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DownMixStereoAlgorithms.md @@ -0,0 +1,19 @@ + + +# DownMixStereoAlgorithms + +## Enum + + +* `NONE` (value: `"None"`) + +* `DAVE750` (value: `"Dave750"`) + +* `NIGHTMODE_DIALOGUE` (value: `"NightmodeDialogue"`) + +* `RFC7845` (value: `"Rfc7845"`) + +* `AC4` (value: `"Ac4"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DynamicDayOfWeek.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DynamicDayOfWeek.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DynamicDayOfWeek.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DynamicDayOfWeek.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DynamicHlsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DynamicHlsApi.md similarity index 92% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DynamicHlsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DynamicHlsApi.md index 0be40f429c0..90b0e5a10d6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DynamicHlsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/DynamicHlsApi.md @@ -1,6 +1,6 @@ # DynamicHlsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -17,7 +17,7 @@ All URIs are relative to *http://nuc.ehrendingen:8096* # **getHlsAudioSegment** -> File getHlsAudioSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions) +> File getHlsAudioSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding) Gets a video stream using HTTP live streaming. @@ -34,7 +34,7 @@ import org.openapitools.client.api.DynamicHlsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -59,7 +59,7 @@ public class Example { Integer minSegments = 56; // Integer | The minimum number of segments. String mediaSourceId = "mediaSourceId_example"; // String | The media version id, if playing an alternate version. String deviceId = "deviceId_example"; // String | The device id of the client requesting. Used to stop encoding processes when needed. - String audioCodec = "audioCodec_example"; // String | Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + String audioCodec = "audioCodec_example"; // String | Optional. Specify an audio codec to encode to, e.g. mp3. Boolean enableAutoStreamCopy = true; // Boolean | Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. Boolean allowVideoStreamCopy = true; // Boolean | Whether or not to allow copying of the video stream url. Boolean allowAudioStreamCopy = true; // Boolean | Whether or not to allow copying of the audio stream url. @@ -90,15 +90,16 @@ public class Example { Integer cpuCoreLimit = 56; // Integer | Optional. The limit of how many cpu cores to use. String liveStreamId = "liveStreamId_example"; // String | The live stream id. Boolean enableMpegtsM2TsMode = true; // Boolean | Optional. Whether to enable the MpegtsM2Ts mode. - String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. + String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. String subtitleCodec = "subtitleCodec_example"; // String | Optional. Specify a subtitle codec to encode to. String transcodeReasons = "transcodeReasons_example"; // String | Optional. The transcoding reason. Integer audioStreamIndex = 56; // Integer | Optional. The index of the audio stream to use. If omitted the first audio stream will be used. Integer videoStreamIndex = 56; // Integer | Optional. The index of the video stream to use. If omitted the first video stream will be used. EncodingContext context = EncodingContext.fromValue("Streaming"); // EncodingContext | Optional. The MediaBrowser.Model.Dlna.EncodingContext. Map streamOptions = new HashMap(); // Map | Optional. The streaming options. + Boolean enableAudioVbrEncoding = true; // Boolean | Optional. Whether to enable Audio Encoding. try { - File result = apiInstance.getHlsAudioSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + File result = apiInstance.getHlsAudioSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DynamicHlsApi#getHlsAudioSegment"); @@ -131,7 +132,7 @@ public class Example { | **minSegments** | **Integer**| The minimum number of segments. | [optional] | | **mediaSourceId** | **String**| The media version id, if playing an alternate version. | [optional] | | **deviceId** | **String**| The device id of the client requesting. Used to stop encoding processes when needed. | [optional] | -| **audioCodec** | **String**| Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. | [optional] | +| **audioCodec** | **String**| Optional. Specify an audio codec to encode to, e.g. mp3. | [optional] | | **enableAutoStreamCopy** | **Boolean**| Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. | [optional] | | **allowVideoStreamCopy** | **Boolean**| Whether or not to allow copying of the video stream url. | [optional] | | **allowAudioStreamCopy** | **Boolean**| Whether or not to allow copying of the audio stream url. | [optional] | @@ -152,7 +153,7 @@ public class Example { | **height** | **Integer**| Optional. The fixed vertical resolution of the encoded video. | [optional] | | **videoBitRate** | **Integer**| Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. | [optional] | | **subtitleStreamIndex** | **Integer**| Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. | [optional] | -| **subtitleMethod** | [**SubtitleDeliveryMethod**](.md)| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | +| **subtitleMethod** | **SubtitleDeliveryMethod**| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | | **maxRefFrames** | **Integer**| Optional. | [optional] | | **maxVideoBitDepth** | **Integer**| Optional. The maximum video bit depth. | [optional] | | **requireAvc** | **Boolean**| Optional. Whether to require avc. | [optional] | @@ -162,13 +163,14 @@ public class Example { | **cpuCoreLimit** | **Integer**| Optional. The limit of how many cpu cores to use. | [optional] | | **liveStreamId** | **String**| The live stream id. | [optional] | | **enableMpegtsM2TsMode** | **Boolean**| Optional. Whether to enable the MpegtsM2Ts mode. | [optional] | -| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. | [optional] | +| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. | [optional] | | **subtitleCodec** | **String**| Optional. Specify a subtitle codec to encode to. | [optional] | | **transcodeReasons** | **String**| Optional. The transcoding reason. | [optional] | | **audioStreamIndex** | **Integer**| Optional. The index of the audio stream to use. If omitted the first audio stream will be used. | [optional] | | **videoStreamIndex** | **Integer**| Optional. The index of the video stream to use. If omitted the first video stream will be used. | [optional] | -| **context** | [**EncodingContext**](.md)| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | +| **context** | **EncodingContext**| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | | **streamOptions** | [**Map<String, String>**](String.md)| Optional. The streaming options. | [optional] | +| **enableAudioVbrEncoding** | **Boolean**| Optional. Whether to enable Audio Encoding. | [optional] [default to true] | ### Return type @@ -192,7 +194,7 @@ public class Example { # **getHlsVideoSegment** -> File getHlsVideoSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions) +> File getHlsVideoSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding) Gets a video stream using HTTP live streaming. @@ -209,7 +211,7 @@ import org.openapitools.client.api.DynamicHlsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -234,7 +236,7 @@ public class Example { Integer minSegments = 56; // Integer | The minimum number of segments. String mediaSourceId = "mediaSourceId_example"; // String | The media version id, if playing an alternate version. String deviceId = "deviceId_example"; // String | The device id of the client requesting. Used to stop encoding processes when needed. - String audioCodec = "audioCodec_example"; // String | Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + String audioCodec = "audioCodec_example"; // String | Optional. Specify an audio codec to encode to, e.g. mp3. Boolean enableAutoStreamCopy = true; // Boolean | Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. Boolean allowVideoStreamCopy = true; // Boolean | Whether or not to allow copying of the video stream url. Boolean allowAudioStreamCopy = true; // Boolean | Whether or not to allow copying of the audio stream url. @@ -266,15 +268,17 @@ public class Example { Integer cpuCoreLimit = 56; // Integer | Optional. The limit of how many cpu cores to use. String liveStreamId = "liveStreamId_example"; // String | The live stream id. Boolean enableMpegtsM2TsMode = true; // Boolean | Optional. Whether to enable the MpegtsM2Ts mode. - String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. + String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. String subtitleCodec = "subtitleCodec_example"; // String | Optional. Specify a subtitle codec to encode to. String transcodeReasons = "transcodeReasons_example"; // String | Optional. The transcoding reason. Integer audioStreamIndex = 56; // Integer | Optional. The index of the audio stream to use. If omitted the first audio stream will be used. Integer videoStreamIndex = 56; // Integer | Optional. The index of the video stream to use. If omitted the first video stream will be used. EncodingContext context = EncodingContext.fromValue("Streaming"); // EncodingContext | Optional. The MediaBrowser.Model.Dlna.EncodingContext. Map streamOptions = new HashMap(); // Map | Optional. The streaming options. + Boolean enableAudioVbrEncoding = true; // Boolean | Optional. Whether to enable Audio Encoding. + Boolean alwaysBurnInSubtitleWhenTranscoding = false; // Boolean | Whether to always burn in subtitles when transcoding. try { - File result = apiInstance.getHlsVideoSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + File result = apiInstance.getHlsVideoSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DynamicHlsApi#getHlsVideoSegment"); @@ -307,7 +311,7 @@ public class Example { | **minSegments** | **Integer**| The minimum number of segments. | [optional] | | **mediaSourceId** | **String**| The media version id, if playing an alternate version. | [optional] | | **deviceId** | **String**| The device id of the client requesting. Used to stop encoding processes when needed. | [optional] | -| **audioCodec** | **String**| Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. | [optional] | +| **audioCodec** | **String**| Optional. Specify an audio codec to encode to, e.g. mp3. | [optional] | | **enableAutoStreamCopy** | **Boolean**| Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. | [optional] | | **allowVideoStreamCopy** | **Boolean**| Whether or not to allow copying of the video stream url. | [optional] | | **allowAudioStreamCopy** | **Boolean**| Whether or not to allow copying of the audio stream url. | [optional] | @@ -329,7 +333,7 @@ public class Example { | **maxHeight** | **Integer**| Optional. The maximum vertical resolution of the encoded video. | [optional] | | **videoBitRate** | **Integer**| Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. | [optional] | | **subtitleStreamIndex** | **Integer**| Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. | [optional] | -| **subtitleMethod** | [**SubtitleDeliveryMethod**](.md)| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | +| **subtitleMethod** | **SubtitleDeliveryMethod**| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | | **maxRefFrames** | **Integer**| Optional. | [optional] | | **maxVideoBitDepth** | **Integer**| Optional. The maximum video bit depth. | [optional] | | **requireAvc** | **Boolean**| Optional. Whether to require avc. | [optional] | @@ -339,13 +343,15 @@ public class Example { | **cpuCoreLimit** | **Integer**| Optional. The limit of how many cpu cores to use. | [optional] | | **liveStreamId** | **String**| The live stream id. | [optional] | | **enableMpegtsM2TsMode** | **Boolean**| Optional. Whether to enable the MpegtsM2Ts mode. | [optional] | -| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. | [optional] | +| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. | [optional] | | **subtitleCodec** | **String**| Optional. Specify a subtitle codec to encode to. | [optional] | | **transcodeReasons** | **String**| Optional. The transcoding reason. | [optional] | | **audioStreamIndex** | **Integer**| Optional. The index of the audio stream to use. If omitted the first audio stream will be used. | [optional] | | **videoStreamIndex** | **Integer**| Optional. The index of the video stream to use. If omitted the first video stream will be used. | [optional] | -| **context** | [**EncodingContext**](.md)| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | +| **context** | **EncodingContext**| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | | **streamOptions** | [**Map<String, String>**](String.md)| Optional. The streaming options. | [optional] | +| **enableAudioVbrEncoding** | **Boolean**| Optional. Whether to enable Audio Encoding. | [optional] [default to true] | +| **alwaysBurnInSubtitleWhenTranscoding** | **Boolean**| Whether to always burn in subtitles when transcoding. | [optional] [default to false] | ### Return type @@ -369,7 +375,7 @@ public class Example { # **getLiveHlsStream** -> File getLiveHlsStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest) +> File getLiveHlsStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding) Gets a hls live stream. @@ -386,7 +392,7 @@ import org.openapitools.client.api.DynamicHlsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -403,11 +409,11 @@ public class Example { String deviceProfileId = "deviceProfileId_example"; // String | Optional. The dlna device profile id to utilize. String playSessionId = "playSessionId_example"; // String | The play session id. String segmentContainer = "segmentContainer_example"; // String | The segment container. - Integer segmentLength = 56; // Integer | The segment lenght. + Integer segmentLength = 56; // Integer | The segment length. Integer minSegments = 56; // Integer | The minimum number of segments. String mediaSourceId = "mediaSourceId_example"; // String | The media version id, if playing an alternate version. String deviceId = "deviceId_example"; // String | The device id of the client requesting. Used to stop encoding processes when needed. - String audioCodec = "audioCodec_example"; // String | Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + String audioCodec = "audioCodec_example"; // String | Optional. Specify an audio codec to encode to, e.g. mp3. Boolean enableAutoStreamCopy = true; // Boolean | Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. Boolean allowVideoStreamCopy = true; // Boolean | Whether or not to allow copying of the video stream url. Boolean allowAudioStreamCopy = true; // Boolean | Whether or not to allow copying of the audio stream url. @@ -437,7 +443,7 @@ public class Example { Integer cpuCoreLimit = 56; // Integer | Optional. The limit of how many cpu cores to use. String liveStreamId = "liveStreamId_example"; // String | The live stream id. Boolean enableMpegtsM2TsMode = true; // Boolean | Optional. Whether to enable the MpegtsM2Ts mode. - String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. + String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. String subtitleCodec = "subtitleCodec_example"; // String | Optional. Specify a subtitle codec to encode to. String transcodeReasons = "transcodeReasons_example"; // String | Optional. The transcoding reason. Integer audioStreamIndex = 56; // Integer | Optional. The index of the audio stream to use. If omitted the first audio stream will be used. @@ -447,8 +453,10 @@ public class Example { Integer maxWidth = 56; // Integer | Optional. The max width. Integer maxHeight = 56; // Integer | Optional. The max height. Boolean enableSubtitlesInManifest = true; // Boolean | Optional. Whether to enable subtitles in the manifest. + Boolean enableAudioVbrEncoding = true; // Boolean | Optional. Whether to enable Audio Encoding. + Boolean alwaysBurnInSubtitleWhenTranscoding = false; // Boolean | Whether to always burn in subtitles when transcoding. try { - File result = apiInstance.getLiveHlsStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest); + File result = apiInstance.getLiveHlsStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DynamicHlsApi#getLiveHlsStream"); @@ -473,11 +481,11 @@ public class Example { | **deviceProfileId** | **String**| Optional. The dlna device profile id to utilize. | [optional] | | **playSessionId** | **String**| The play session id. | [optional] | | **segmentContainer** | **String**| The segment container. | [optional] | -| **segmentLength** | **Integer**| The segment lenght. | [optional] | +| **segmentLength** | **Integer**| The segment length. | [optional] | | **minSegments** | **Integer**| The minimum number of segments. | [optional] | | **mediaSourceId** | **String**| The media version id, if playing an alternate version. | [optional] | | **deviceId** | **String**| The device id of the client requesting. Used to stop encoding processes when needed. | [optional] | -| **audioCodec** | **String**| Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. | [optional] | +| **audioCodec** | **String**| Optional. Specify an audio codec to encode to, e.g. mp3. | [optional] | | **enableAutoStreamCopy** | **Boolean**| Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. | [optional] | | **allowVideoStreamCopy** | **Boolean**| Whether or not to allow copying of the video stream url. | [optional] | | **allowAudioStreamCopy** | **Boolean**| Whether or not to allow copying of the audio stream url. | [optional] | @@ -497,7 +505,7 @@ public class Example { | **height** | **Integer**| Optional. The fixed vertical resolution of the encoded video. | [optional] | | **videoBitRate** | **Integer**| Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. | [optional] | | **subtitleStreamIndex** | **Integer**| Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. | [optional] | -| **subtitleMethod** | [**SubtitleDeliveryMethod**](.md)| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | +| **subtitleMethod** | **SubtitleDeliveryMethod**| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | | **maxRefFrames** | **Integer**| Optional. | [optional] | | **maxVideoBitDepth** | **Integer**| Optional. The maximum video bit depth. | [optional] | | **requireAvc** | **Boolean**| Optional. Whether to require avc. | [optional] | @@ -507,16 +515,18 @@ public class Example { | **cpuCoreLimit** | **Integer**| Optional. The limit of how many cpu cores to use. | [optional] | | **liveStreamId** | **String**| The live stream id. | [optional] | | **enableMpegtsM2TsMode** | **Boolean**| Optional. Whether to enable the MpegtsM2Ts mode. | [optional] | -| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. | [optional] | +| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. | [optional] | | **subtitleCodec** | **String**| Optional. Specify a subtitle codec to encode to. | [optional] | | **transcodeReasons** | **String**| Optional. The transcoding reason. | [optional] | | **audioStreamIndex** | **Integer**| Optional. The index of the audio stream to use. If omitted the first audio stream will be used. | [optional] | | **videoStreamIndex** | **Integer**| Optional. The index of the video stream to use. If omitted the first video stream will be used. | [optional] | -| **context** | [**EncodingContext**](.md)| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | +| **context** | **EncodingContext**| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | | **streamOptions** | [**Map<String, String>**](String.md)| Optional. The streaming options. | [optional] | | **maxWidth** | **Integer**| Optional. The max width. | [optional] | | **maxHeight** | **Integer**| Optional. The max height. | [optional] | | **enableSubtitlesInManifest** | **Boolean**| Optional. Whether to enable subtitles in the manifest. | [optional] | +| **enableAudioVbrEncoding** | **Boolean**| Optional. Whether to enable Audio Encoding. | [optional] [default to true] | +| **alwaysBurnInSubtitleWhenTranscoding** | **Boolean**| Whether to always burn in subtitles when transcoding. | [optional] [default to false] | ### Return type @@ -540,7 +550,7 @@ public class Example { # **getMasterHlsAudioPlaylist** -> File getMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming) +> File getMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableAudioVbrEncoding) Gets an audio hls playlist stream. @@ -557,7 +567,7 @@ import org.openapitools.client.api.DynamicHlsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -577,7 +587,7 @@ public class Example { Integer segmentLength = 56; // Integer | The segment length. Integer minSegments = 56; // Integer | The minimum number of segments. String deviceId = "deviceId_example"; // String | The device id of the client requesting. Used to stop encoding processes when needed. - String audioCodec = "audioCodec_example"; // String | Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + String audioCodec = "audioCodec_example"; // String | Optional. Specify an audio codec to encode to, e.g. mp3. Boolean enableAutoStreamCopy = true; // Boolean | Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. Boolean allowVideoStreamCopy = true; // Boolean | Whether or not to allow copying of the video stream url. Boolean allowAudioStreamCopy = true; // Boolean | Whether or not to allow copying of the audio stream url. @@ -608,7 +618,7 @@ public class Example { Integer cpuCoreLimit = 56; // Integer | Optional. The limit of how many cpu cores to use. String liveStreamId = "liveStreamId_example"; // String | The live stream id. Boolean enableMpegtsM2TsMode = true; // Boolean | Optional. Whether to enable the MpegtsM2Ts mode. - String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. + String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. String subtitleCodec = "subtitleCodec_example"; // String | Optional. Specify a subtitle codec to encode to. String transcodeReasons = "transcodeReasons_example"; // String | Optional. The transcoding reason. Integer audioStreamIndex = 56; // Integer | Optional. The index of the audio stream to use. If omitted the first audio stream will be used. @@ -616,8 +626,9 @@ public class Example { EncodingContext context = EncodingContext.fromValue("Streaming"); // EncodingContext | Optional. The MediaBrowser.Model.Dlna.EncodingContext. Map streamOptions = new HashMap(); // Map | Optional. The streaming options. Boolean enableAdaptiveBitrateStreaming = true; // Boolean | Enable adaptive bitrate streaming. + Boolean enableAudioVbrEncoding = true; // Boolean | Optional. Whether to enable Audio Encoding. try { - File result = apiInstance.getMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming); + File result = apiInstance.getMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableAudioVbrEncoding); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DynamicHlsApi#getMasterHlsAudioPlaylist"); @@ -645,7 +656,7 @@ public class Example { | **segmentLength** | **Integer**| The segment length. | [optional] | | **minSegments** | **Integer**| The minimum number of segments. | [optional] | | **deviceId** | **String**| The device id of the client requesting. Used to stop encoding processes when needed. | [optional] | -| **audioCodec** | **String**| Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. | [optional] | +| **audioCodec** | **String**| Optional. Specify an audio codec to encode to, e.g. mp3. | [optional] | | **enableAutoStreamCopy** | **Boolean**| Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. | [optional] | | **allowVideoStreamCopy** | **Boolean**| Whether or not to allow copying of the video stream url. | [optional] | | **allowAudioStreamCopy** | **Boolean**| Whether or not to allow copying of the audio stream url. | [optional] | @@ -666,7 +677,7 @@ public class Example { | **height** | **Integer**| Optional. The fixed vertical resolution of the encoded video. | [optional] | | **videoBitRate** | **Integer**| Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. | [optional] | | **subtitleStreamIndex** | **Integer**| Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. | [optional] | -| **subtitleMethod** | [**SubtitleDeliveryMethod**](.md)| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | +| **subtitleMethod** | **SubtitleDeliveryMethod**| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | | **maxRefFrames** | **Integer**| Optional. | [optional] | | **maxVideoBitDepth** | **Integer**| Optional. The maximum video bit depth. | [optional] | | **requireAvc** | **Boolean**| Optional. Whether to require avc. | [optional] | @@ -676,14 +687,15 @@ public class Example { | **cpuCoreLimit** | **Integer**| Optional. The limit of how many cpu cores to use. | [optional] | | **liveStreamId** | **String**| The live stream id. | [optional] | | **enableMpegtsM2TsMode** | **Boolean**| Optional. Whether to enable the MpegtsM2Ts mode. | [optional] | -| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. | [optional] | +| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. | [optional] | | **subtitleCodec** | **String**| Optional. Specify a subtitle codec to encode to. | [optional] | | **transcodeReasons** | **String**| Optional. The transcoding reason. | [optional] | | **audioStreamIndex** | **Integer**| Optional. The index of the audio stream to use. If omitted the first audio stream will be used. | [optional] | | **videoStreamIndex** | **Integer**| Optional. The index of the video stream to use. If omitted the first video stream will be used. | [optional] | -| **context** | [**EncodingContext**](.md)| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | +| **context** | **EncodingContext**| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | | **streamOptions** | [**Map<String, String>**](String.md)| Optional. The streaming options. | [optional] | | **enableAdaptiveBitrateStreaming** | **Boolean**| Enable adaptive bitrate streaming. | [optional] [default to true] | +| **enableAudioVbrEncoding** | **Boolean**| Optional. Whether to enable Audio Encoding. | [optional] [default to true] | ### Return type @@ -707,7 +719,7 @@ public class Example { # **getMasterHlsVideoPlaylist** -> File getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming) +> File getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding) Gets a video hls playlist stream. @@ -724,7 +736,7 @@ import org.openapitools.client.api.DynamicHlsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -744,7 +756,7 @@ public class Example { Integer segmentLength = 56; // Integer | The segment length. Integer minSegments = 56; // Integer | The minimum number of segments. String deviceId = "deviceId_example"; // String | The device id of the client requesting. Used to stop encoding processes when needed. - String audioCodec = "audioCodec_example"; // String | Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + String audioCodec = "audioCodec_example"; // String | Optional. Specify an audio codec to encode to, e.g. mp3. Boolean enableAutoStreamCopy = true; // Boolean | Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. Boolean allowVideoStreamCopy = true; // Boolean | Whether or not to allow copying of the video stream url. Boolean allowAudioStreamCopy = true; // Boolean | Whether or not to allow copying of the audio stream url. @@ -776,7 +788,7 @@ public class Example { Integer cpuCoreLimit = 56; // Integer | Optional. The limit of how many cpu cores to use. String liveStreamId = "liveStreamId_example"; // String | The live stream id. Boolean enableMpegtsM2TsMode = true; // Boolean | Optional. Whether to enable the MpegtsM2Ts mode. - String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. + String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. String subtitleCodec = "subtitleCodec_example"; // String | Optional. Specify a subtitle codec to encode to. String transcodeReasons = "transcodeReasons_example"; // String | Optional. The transcoding reason. Integer audioStreamIndex = 56; // Integer | Optional. The index of the audio stream to use. If omitted the first audio stream will be used. @@ -784,8 +796,11 @@ public class Example { EncodingContext context = EncodingContext.fromValue("Streaming"); // EncodingContext | Optional. The MediaBrowser.Model.Dlna.EncodingContext. Map streamOptions = new HashMap(); // Map | Optional. The streaming options. Boolean enableAdaptiveBitrateStreaming = true; // Boolean | Enable adaptive bitrate streaming. + Boolean enableTrickplay = true; // Boolean | Enable trickplay image playlists being added to master playlist. + Boolean enableAudioVbrEncoding = true; // Boolean | Whether to enable Audio Encoding. + Boolean alwaysBurnInSubtitleWhenTranscoding = false; // Boolean | Whether to always burn in subtitles when transcoding. try { - File result = apiInstance.getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming); + File result = apiInstance.getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DynamicHlsApi#getMasterHlsVideoPlaylist"); @@ -813,7 +828,7 @@ public class Example { | **segmentLength** | **Integer**| The segment length. | [optional] | | **minSegments** | **Integer**| The minimum number of segments. | [optional] | | **deviceId** | **String**| The device id of the client requesting. Used to stop encoding processes when needed. | [optional] | -| **audioCodec** | **String**| Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. | [optional] | +| **audioCodec** | **String**| Optional. Specify an audio codec to encode to, e.g. mp3. | [optional] | | **enableAutoStreamCopy** | **Boolean**| Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. | [optional] | | **allowVideoStreamCopy** | **Boolean**| Whether or not to allow copying of the video stream url. | [optional] | | **allowAudioStreamCopy** | **Boolean**| Whether or not to allow copying of the audio stream url. | [optional] | @@ -835,7 +850,7 @@ public class Example { | **maxHeight** | **Integer**| Optional. The maximum vertical resolution of the encoded video. | [optional] | | **videoBitRate** | **Integer**| Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. | [optional] | | **subtitleStreamIndex** | **Integer**| Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. | [optional] | -| **subtitleMethod** | [**SubtitleDeliveryMethod**](.md)| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | +| **subtitleMethod** | **SubtitleDeliveryMethod**| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | | **maxRefFrames** | **Integer**| Optional. | [optional] | | **maxVideoBitDepth** | **Integer**| Optional. The maximum video bit depth. | [optional] | | **requireAvc** | **Boolean**| Optional. Whether to require avc. | [optional] | @@ -845,14 +860,17 @@ public class Example { | **cpuCoreLimit** | **Integer**| Optional. The limit of how many cpu cores to use. | [optional] | | **liveStreamId** | **String**| The live stream id. | [optional] | | **enableMpegtsM2TsMode** | **Boolean**| Optional. Whether to enable the MpegtsM2Ts mode. | [optional] | -| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. | [optional] | +| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. | [optional] | | **subtitleCodec** | **String**| Optional. Specify a subtitle codec to encode to. | [optional] | | **transcodeReasons** | **String**| Optional. The transcoding reason. | [optional] | | **audioStreamIndex** | **Integer**| Optional. The index of the audio stream to use. If omitted the first audio stream will be used. | [optional] | | **videoStreamIndex** | **Integer**| Optional. The index of the video stream to use. If omitted the first video stream will be used. | [optional] | -| **context** | [**EncodingContext**](.md)| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | +| **context** | **EncodingContext**| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | | **streamOptions** | [**Map<String, String>**](String.md)| Optional. The streaming options. | [optional] | | **enableAdaptiveBitrateStreaming** | **Boolean**| Enable adaptive bitrate streaming. | [optional] [default to true] | +| **enableTrickplay** | **Boolean**| Enable trickplay image playlists being added to master playlist. | [optional] [default to true] | +| **enableAudioVbrEncoding** | **Boolean**| Whether to enable Audio Encoding. | [optional] [default to true] | +| **alwaysBurnInSubtitleWhenTranscoding** | **Boolean**| Whether to always burn in subtitles when transcoding. | [optional] [default to false] | ### Return type @@ -876,7 +894,7 @@ public class Example { # **getVariantHlsAudioPlaylist** -> File getVariantHlsAudioPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions) +> File getVariantHlsAudioPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding) Gets an audio stream using HTTP live streaming. @@ -893,7 +911,7 @@ import org.openapitools.client.api.DynamicHlsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -913,7 +931,7 @@ public class Example { Integer minSegments = 56; // Integer | The minimum number of segments. String mediaSourceId = "mediaSourceId_example"; // String | The media version id, if playing an alternate version. String deviceId = "deviceId_example"; // String | The device id of the client requesting. Used to stop encoding processes when needed. - String audioCodec = "audioCodec_example"; // String | Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + String audioCodec = "audioCodec_example"; // String | Optional. Specify an audio codec to encode to, e.g. mp3. Boolean enableAutoStreamCopy = true; // Boolean | Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. Boolean allowVideoStreamCopy = true; // Boolean | Whether or not to allow copying of the video stream url. Boolean allowAudioStreamCopy = true; // Boolean | Whether or not to allow copying of the audio stream url. @@ -944,15 +962,16 @@ public class Example { Integer cpuCoreLimit = 56; // Integer | Optional. The limit of how many cpu cores to use. String liveStreamId = "liveStreamId_example"; // String | The live stream id. Boolean enableMpegtsM2TsMode = true; // Boolean | Optional. Whether to enable the MpegtsM2Ts mode. - String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. + String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. String subtitleCodec = "subtitleCodec_example"; // String | Optional. Specify a subtitle codec to encode to. String transcodeReasons = "transcodeReasons_example"; // String | Optional. The transcoding reason. Integer audioStreamIndex = 56; // Integer | Optional. The index of the audio stream to use. If omitted the first audio stream will be used. Integer videoStreamIndex = 56; // Integer | Optional. The index of the video stream to use. If omitted the first video stream will be used. EncodingContext context = EncodingContext.fromValue("Streaming"); // EncodingContext | Optional. The MediaBrowser.Model.Dlna.EncodingContext. Map streamOptions = new HashMap(); // Map | Optional. The streaming options. + Boolean enableAudioVbrEncoding = true; // Boolean | Optional. Whether to enable Audio Encoding. try { - File result = apiInstance.getVariantHlsAudioPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + File result = apiInstance.getVariantHlsAudioPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DynamicHlsApi#getVariantHlsAudioPlaylist"); @@ -980,7 +999,7 @@ public class Example { | **minSegments** | **Integer**| The minimum number of segments. | [optional] | | **mediaSourceId** | **String**| The media version id, if playing an alternate version. | [optional] | | **deviceId** | **String**| The device id of the client requesting. Used to stop encoding processes when needed. | [optional] | -| **audioCodec** | **String**| Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. | [optional] | +| **audioCodec** | **String**| Optional. Specify an audio codec to encode to, e.g. mp3. | [optional] | | **enableAutoStreamCopy** | **Boolean**| Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. | [optional] | | **allowVideoStreamCopy** | **Boolean**| Whether or not to allow copying of the video stream url. | [optional] | | **allowAudioStreamCopy** | **Boolean**| Whether or not to allow copying of the audio stream url. | [optional] | @@ -1001,7 +1020,7 @@ public class Example { | **height** | **Integer**| Optional. The fixed vertical resolution of the encoded video. | [optional] | | **videoBitRate** | **Integer**| Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. | [optional] | | **subtitleStreamIndex** | **Integer**| Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. | [optional] | -| **subtitleMethod** | [**SubtitleDeliveryMethod**](.md)| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | +| **subtitleMethod** | **SubtitleDeliveryMethod**| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | | **maxRefFrames** | **Integer**| Optional. | [optional] | | **maxVideoBitDepth** | **Integer**| Optional. The maximum video bit depth. | [optional] | | **requireAvc** | **Boolean**| Optional. Whether to require avc. | [optional] | @@ -1011,13 +1030,14 @@ public class Example { | **cpuCoreLimit** | **Integer**| Optional. The limit of how many cpu cores to use. | [optional] | | **liveStreamId** | **String**| The live stream id. | [optional] | | **enableMpegtsM2TsMode** | **Boolean**| Optional. Whether to enable the MpegtsM2Ts mode. | [optional] | -| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. | [optional] | +| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. | [optional] | | **subtitleCodec** | **String**| Optional. Specify a subtitle codec to encode to. | [optional] | | **transcodeReasons** | **String**| Optional. The transcoding reason. | [optional] | | **audioStreamIndex** | **Integer**| Optional. The index of the audio stream to use. If omitted the first audio stream will be used. | [optional] | | **videoStreamIndex** | **Integer**| Optional. The index of the video stream to use. If omitted the first video stream will be used. | [optional] | -| **context** | [**EncodingContext**](.md)| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | +| **context** | **EncodingContext**| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | | **streamOptions** | [**Map<String, String>**](String.md)| Optional. The streaming options. | [optional] | +| **enableAudioVbrEncoding** | **Boolean**| Optional. Whether to enable Audio Encoding. | [optional] [default to true] | ### Return type @@ -1041,7 +1061,7 @@ public class Example { # **getVariantHlsVideoPlaylist** -> File getVariantHlsVideoPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions) +> File getVariantHlsVideoPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding) Gets a video stream using HTTP live streaming. @@ -1058,7 +1078,7 @@ import org.openapitools.client.api.DynamicHlsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1078,7 +1098,7 @@ public class Example { Integer minSegments = 56; // Integer | The minimum number of segments. String mediaSourceId = "mediaSourceId_example"; // String | The media version id, if playing an alternate version. String deviceId = "deviceId_example"; // String | The device id of the client requesting. Used to stop encoding processes when needed. - String audioCodec = "audioCodec_example"; // String | Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + String audioCodec = "audioCodec_example"; // String | Optional. Specify an audio codec to encode to, e.g. mp3. Boolean enableAutoStreamCopy = true; // Boolean | Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. Boolean allowVideoStreamCopy = true; // Boolean | Whether or not to allow copying of the video stream url. Boolean allowAudioStreamCopy = true; // Boolean | Whether or not to allow copying of the audio stream url. @@ -1110,15 +1130,17 @@ public class Example { Integer cpuCoreLimit = 56; // Integer | Optional. The limit of how many cpu cores to use. String liveStreamId = "liveStreamId_example"; // String | The live stream id. Boolean enableMpegtsM2TsMode = true; // Boolean | Optional. Whether to enable the MpegtsM2Ts mode. - String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. + String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. String subtitleCodec = "subtitleCodec_example"; // String | Optional. Specify a subtitle codec to encode to. String transcodeReasons = "transcodeReasons_example"; // String | Optional. The transcoding reason. Integer audioStreamIndex = 56; // Integer | Optional. The index of the audio stream to use. If omitted the first audio stream will be used. Integer videoStreamIndex = 56; // Integer | Optional. The index of the video stream to use. If omitted the first video stream will be used. EncodingContext context = EncodingContext.fromValue("Streaming"); // EncodingContext | Optional. The MediaBrowser.Model.Dlna.EncodingContext. Map streamOptions = new HashMap(); // Map | Optional. The streaming options. + Boolean enableAudioVbrEncoding = true; // Boolean | Optional. Whether to enable Audio Encoding. + Boolean alwaysBurnInSubtitleWhenTranscoding = false; // Boolean | Whether to always burn in subtitles when transcoding. try { - File result = apiInstance.getVariantHlsVideoPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + File result = apiInstance.getVariantHlsVideoPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DynamicHlsApi#getVariantHlsVideoPlaylist"); @@ -1146,7 +1168,7 @@ public class Example { | **minSegments** | **Integer**| The minimum number of segments. | [optional] | | **mediaSourceId** | **String**| The media version id, if playing an alternate version. | [optional] | | **deviceId** | **String**| The device id of the client requesting. Used to stop encoding processes when needed. | [optional] | -| **audioCodec** | **String**| Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. | [optional] | +| **audioCodec** | **String**| Optional. Specify an audio codec to encode to, e.g. mp3. | [optional] | | **enableAutoStreamCopy** | **Boolean**| Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. | [optional] | | **allowVideoStreamCopy** | **Boolean**| Whether or not to allow copying of the video stream url. | [optional] | | **allowAudioStreamCopy** | **Boolean**| Whether or not to allow copying of the audio stream url. | [optional] | @@ -1168,7 +1190,7 @@ public class Example { | **maxHeight** | **Integer**| Optional. The maximum vertical resolution of the encoded video. | [optional] | | **videoBitRate** | **Integer**| Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. | [optional] | | **subtitleStreamIndex** | **Integer**| Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. | [optional] | -| **subtitleMethod** | [**SubtitleDeliveryMethod**](.md)| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | +| **subtitleMethod** | **SubtitleDeliveryMethod**| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | | **maxRefFrames** | **Integer**| Optional. | [optional] | | **maxVideoBitDepth** | **Integer**| Optional. The maximum video bit depth. | [optional] | | **requireAvc** | **Boolean**| Optional. Whether to require avc. | [optional] | @@ -1178,13 +1200,15 @@ public class Example { | **cpuCoreLimit** | **Integer**| Optional. The limit of how many cpu cores to use. | [optional] | | **liveStreamId** | **String**| The live stream id. | [optional] | | **enableMpegtsM2TsMode** | **Boolean**| Optional. Whether to enable the MpegtsM2Ts mode. | [optional] | -| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. | [optional] | +| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. | [optional] | | **subtitleCodec** | **String**| Optional. Specify a subtitle codec to encode to. | [optional] | | **transcodeReasons** | **String**| Optional. The transcoding reason. | [optional] | | **audioStreamIndex** | **Integer**| Optional. The index of the audio stream to use. If omitted the first audio stream will be used. | [optional] | | **videoStreamIndex** | **Integer**| Optional. The index of the video stream to use. If omitted the first video stream will be used. | [optional] | -| **context** | [**EncodingContext**](.md)| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | +| **context** | **EncodingContext**| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | | **streamOptions** | [**Map<String, String>**](String.md)| Optional. The streaming options. | [optional] | +| **enableAudioVbrEncoding** | **Boolean**| Optional. Whether to enable Audio Encoding. | [optional] [default to true] | +| **alwaysBurnInSubtitleWhenTranscoding** | **Boolean**| Whether to always burn in subtitles when transcoding. | [optional] [default to false] | ### Return type @@ -1208,7 +1232,7 @@ public class Example { # **headMasterHlsAudioPlaylist** -> File headMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming) +> File headMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableAudioVbrEncoding) Gets an audio hls playlist stream. @@ -1225,7 +1249,7 @@ import org.openapitools.client.api.DynamicHlsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1245,7 +1269,7 @@ public class Example { Integer segmentLength = 56; // Integer | The segment length. Integer minSegments = 56; // Integer | The minimum number of segments. String deviceId = "deviceId_example"; // String | The device id of the client requesting. Used to stop encoding processes when needed. - String audioCodec = "audioCodec_example"; // String | Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + String audioCodec = "audioCodec_example"; // String | Optional. Specify an audio codec to encode to, e.g. mp3. Boolean enableAutoStreamCopy = true; // Boolean | Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. Boolean allowVideoStreamCopy = true; // Boolean | Whether or not to allow copying of the video stream url. Boolean allowAudioStreamCopy = true; // Boolean | Whether or not to allow copying of the audio stream url. @@ -1276,7 +1300,7 @@ public class Example { Integer cpuCoreLimit = 56; // Integer | Optional. The limit of how many cpu cores to use. String liveStreamId = "liveStreamId_example"; // String | The live stream id. Boolean enableMpegtsM2TsMode = true; // Boolean | Optional. Whether to enable the MpegtsM2Ts mode. - String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. + String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. String subtitleCodec = "subtitleCodec_example"; // String | Optional. Specify a subtitle codec to encode to. String transcodeReasons = "transcodeReasons_example"; // String | Optional. The transcoding reason. Integer audioStreamIndex = 56; // Integer | Optional. The index of the audio stream to use. If omitted the first audio stream will be used. @@ -1284,8 +1308,9 @@ public class Example { EncodingContext context = EncodingContext.fromValue("Streaming"); // EncodingContext | Optional. The MediaBrowser.Model.Dlna.EncodingContext. Map streamOptions = new HashMap(); // Map | Optional. The streaming options. Boolean enableAdaptiveBitrateStreaming = true; // Boolean | Enable adaptive bitrate streaming. + Boolean enableAudioVbrEncoding = true; // Boolean | Optional. Whether to enable Audio Encoding. try { - File result = apiInstance.headMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming); + File result = apiInstance.headMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableAudioVbrEncoding); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DynamicHlsApi#headMasterHlsAudioPlaylist"); @@ -1313,7 +1338,7 @@ public class Example { | **segmentLength** | **Integer**| The segment length. | [optional] | | **minSegments** | **Integer**| The minimum number of segments. | [optional] | | **deviceId** | **String**| The device id of the client requesting. Used to stop encoding processes when needed. | [optional] | -| **audioCodec** | **String**| Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. | [optional] | +| **audioCodec** | **String**| Optional. Specify an audio codec to encode to, e.g. mp3. | [optional] | | **enableAutoStreamCopy** | **Boolean**| Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. | [optional] | | **allowVideoStreamCopy** | **Boolean**| Whether or not to allow copying of the video stream url. | [optional] | | **allowAudioStreamCopy** | **Boolean**| Whether or not to allow copying of the audio stream url. | [optional] | @@ -1334,7 +1359,7 @@ public class Example { | **height** | **Integer**| Optional. The fixed vertical resolution of the encoded video. | [optional] | | **videoBitRate** | **Integer**| Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. | [optional] | | **subtitleStreamIndex** | **Integer**| Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. | [optional] | -| **subtitleMethod** | [**SubtitleDeliveryMethod**](.md)| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | +| **subtitleMethod** | **SubtitleDeliveryMethod**| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | | **maxRefFrames** | **Integer**| Optional. | [optional] | | **maxVideoBitDepth** | **Integer**| Optional. The maximum video bit depth. | [optional] | | **requireAvc** | **Boolean**| Optional. Whether to require avc. | [optional] | @@ -1344,14 +1369,15 @@ public class Example { | **cpuCoreLimit** | **Integer**| Optional. The limit of how many cpu cores to use. | [optional] | | **liveStreamId** | **String**| The live stream id. | [optional] | | **enableMpegtsM2TsMode** | **Boolean**| Optional. Whether to enable the MpegtsM2Ts mode. | [optional] | -| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. | [optional] | +| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. | [optional] | | **subtitleCodec** | **String**| Optional. Specify a subtitle codec to encode to. | [optional] | | **transcodeReasons** | **String**| Optional. The transcoding reason. | [optional] | | **audioStreamIndex** | **Integer**| Optional. The index of the audio stream to use. If omitted the first audio stream will be used. | [optional] | | **videoStreamIndex** | **Integer**| Optional. The index of the video stream to use. If omitted the first video stream will be used. | [optional] | -| **context** | [**EncodingContext**](.md)| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | +| **context** | **EncodingContext**| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | | **streamOptions** | [**Map<String, String>**](String.md)| Optional. The streaming options. | [optional] | | **enableAdaptiveBitrateStreaming** | **Boolean**| Enable adaptive bitrate streaming. | [optional] [default to true] | +| **enableAudioVbrEncoding** | **Boolean**| Optional. Whether to enable Audio Encoding. | [optional] [default to true] | ### Return type @@ -1375,7 +1401,7 @@ public class Example { # **headMasterHlsVideoPlaylist** -> File headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming) +> File headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding) Gets a video hls playlist stream. @@ -1392,7 +1418,7 @@ import org.openapitools.client.api.DynamicHlsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1412,7 +1438,7 @@ public class Example { Integer segmentLength = 56; // Integer | The segment length. Integer minSegments = 56; // Integer | The minimum number of segments. String deviceId = "deviceId_example"; // String | The device id of the client requesting. Used to stop encoding processes when needed. - String audioCodec = "audioCodec_example"; // String | Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + String audioCodec = "audioCodec_example"; // String | Optional. Specify an audio codec to encode to, e.g. mp3. Boolean enableAutoStreamCopy = true; // Boolean | Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. Boolean allowVideoStreamCopy = true; // Boolean | Whether or not to allow copying of the video stream url. Boolean allowAudioStreamCopy = true; // Boolean | Whether or not to allow copying of the audio stream url. @@ -1444,7 +1470,7 @@ public class Example { Integer cpuCoreLimit = 56; // Integer | Optional. The limit of how many cpu cores to use. String liveStreamId = "liveStreamId_example"; // String | The live stream id. Boolean enableMpegtsM2TsMode = true; // Boolean | Optional. Whether to enable the MpegtsM2Ts mode. - String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. + String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. String subtitleCodec = "subtitleCodec_example"; // String | Optional. Specify a subtitle codec to encode to. String transcodeReasons = "transcodeReasons_example"; // String | Optional. The transcoding reason. Integer audioStreamIndex = 56; // Integer | Optional. The index of the audio stream to use. If omitted the first audio stream will be used. @@ -1452,8 +1478,11 @@ public class Example { EncodingContext context = EncodingContext.fromValue("Streaming"); // EncodingContext | Optional. The MediaBrowser.Model.Dlna.EncodingContext. Map streamOptions = new HashMap(); // Map | Optional. The streaming options. Boolean enableAdaptiveBitrateStreaming = true; // Boolean | Enable adaptive bitrate streaming. + Boolean enableTrickplay = true; // Boolean | Enable trickplay image playlists being added to master playlist. + Boolean enableAudioVbrEncoding = true; // Boolean | Whether to enable Audio Encoding. + Boolean alwaysBurnInSubtitleWhenTranscoding = false; // Boolean | Whether to always burn in subtitles when transcoding. try { - File result = apiInstance.headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming); + File result = apiInstance.headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DynamicHlsApi#headMasterHlsVideoPlaylist"); @@ -1481,7 +1510,7 @@ public class Example { | **segmentLength** | **Integer**| The segment length. | [optional] | | **minSegments** | **Integer**| The minimum number of segments. | [optional] | | **deviceId** | **String**| The device id of the client requesting. Used to stop encoding processes when needed. | [optional] | -| **audioCodec** | **String**| Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. | [optional] | +| **audioCodec** | **String**| Optional. Specify an audio codec to encode to, e.g. mp3. | [optional] | | **enableAutoStreamCopy** | **Boolean**| Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. | [optional] | | **allowVideoStreamCopy** | **Boolean**| Whether or not to allow copying of the video stream url. | [optional] | | **allowAudioStreamCopy** | **Boolean**| Whether or not to allow copying of the audio stream url. | [optional] | @@ -1503,7 +1532,7 @@ public class Example { | **maxHeight** | **Integer**| Optional. The maximum vertical resolution of the encoded video. | [optional] | | **videoBitRate** | **Integer**| Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. | [optional] | | **subtitleStreamIndex** | **Integer**| Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. | [optional] | -| **subtitleMethod** | [**SubtitleDeliveryMethod**](.md)| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | +| **subtitleMethod** | **SubtitleDeliveryMethod**| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | | **maxRefFrames** | **Integer**| Optional. | [optional] | | **maxVideoBitDepth** | **Integer**| Optional. The maximum video bit depth. | [optional] | | **requireAvc** | **Boolean**| Optional. Whether to require avc. | [optional] | @@ -1513,14 +1542,17 @@ public class Example { | **cpuCoreLimit** | **Integer**| Optional. The limit of how many cpu cores to use. | [optional] | | **liveStreamId** | **String**| The live stream id. | [optional] | | **enableMpegtsM2TsMode** | **Boolean**| Optional. Whether to enable the MpegtsM2Ts mode. | [optional] | -| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. | [optional] | +| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. | [optional] | | **subtitleCodec** | **String**| Optional. Specify a subtitle codec to encode to. | [optional] | | **transcodeReasons** | **String**| Optional. The transcoding reason. | [optional] | | **audioStreamIndex** | **Integer**| Optional. The index of the audio stream to use. If omitted the first audio stream will be used. | [optional] | | **videoStreamIndex** | **Integer**| Optional. The index of the video stream to use. If omitted the first video stream will be used. | [optional] | -| **context** | [**EncodingContext**](.md)| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | +| **context** | **EncodingContext**| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | | **streamOptions** | [**Map<String, String>**](String.md)| Optional. The streaming options. | [optional] | | **enableAdaptiveBitrateStreaming** | **Boolean**| Enable adaptive bitrate streaming. | [optional] [default to true] | +| **enableTrickplay** | **Boolean**| Enable trickplay image playlists being added to master playlist. | [optional] [default to true] | +| **enableAudioVbrEncoding** | **Boolean**| Whether to enable Audio Encoding. | [optional] [default to true] | +| **alwaysBurnInSubtitleWhenTranscoding** | **Boolean**| Whether to always burn in subtitles when transcoding. | [optional] [default to false] | ### Return type diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/EmbeddedSubtitleOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/EmbeddedSubtitleOptions.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/EmbeddedSubtitleOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/EmbeddedSubtitleOptions.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/EncoderPreset.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/EncoderPreset.md new file mode 100644 index 00000000000..c6f7daa97ba --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/EncoderPreset.md @@ -0,0 +1,31 @@ + + +# EncoderPreset + +## Enum + + +* `AUTO` (value: `"auto"`) + +* `PLACEBO` (value: `"placebo"`) + +* `VERYSLOW` (value: `"veryslow"`) + +* `SLOWER` (value: `"slower"`) + +* `SLOW` (value: `"slow"`) + +* `MEDIUM` (value: `"medium"`) + +* `FAST` (value: `"fast"`) + +* `FASTER` (value: `"faster"`) + +* `VERYFAST` (value: `"veryfast"`) + +* `SUPERFAST` (value: `"superfast"`) + +* `ULTRAFAST` (value: `"ultrafast"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/EncodingContext.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/EncodingContext.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/EncodingContext.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/EncodingContext.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/EncodingOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/EncodingOptions.md new file mode 100644 index 00000000000..1f16d8ff1fc --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/EncodingOptions.md @@ -0,0 +1,60 @@ + + +# EncodingOptions + +Class EncodingOptions. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**encodingThreadCount** | **Integer** | Gets or sets the thread count used for encoding. | [optional] | +|**transcodingTempPath** | **String** | Gets or sets the temporary transcoding path. | [optional] | +|**fallbackFontPath** | **String** | Gets or sets the path to the fallback font. | [optional] | +|**enableFallbackFont** | **Boolean** | Gets or sets a value indicating whether to use the fallback font. | [optional] | +|**enableAudioVbr** | **Boolean** | Gets or sets a value indicating whether audio VBR is enabled. | [optional] | +|**downMixAudioBoost** | **Double** | Gets or sets the audio boost applied when downmixing audio. | [optional] | +|**downMixStereoAlgorithm** | **DownMixStereoAlgorithms** | Gets or sets the algorithm used for downmixing audio to stereo. | [optional] | +|**maxMuxingQueueSize** | **Integer** | Gets or sets the maximum size of the muxing queue. | [optional] | +|**enableThrottling** | **Boolean** | Gets or sets a value indicating whether throttling is enabled. | [optional] | +|**throttleDelaySeconds** | **Integer** | Gets or sets the delay after which throttling happens. | [optional] | +|**enableSegmentDeletion** | **Boolean** | Gets or sets a value indicating whether segment deletion is enabled. | [optional] | +|**segmentKeepSeconds** | **Integer** | Gets or sets seconds for which segments should be kept before being deleted. | [optional] | +|**hardwareAccelerationType** | **HardwareAccelerationType** | Gets or sets the hardware acceleration type. | [optional] | +|**encoderAppPath** | **String** | Gets or sets the FFmpeg path as set by the user via the UI. | [optional] | +|**encoderAppPathDisplay** | **String** | Gets or sets the current FFmpeg path being used by the system and displayed on the transcode page. | [optional] | +|**vaapiDevice** | **String** | Gets or sets the VA-API device. | [optional] | +|**qsvDevice** | **String** | Gets or sets the QSV device. | [optional] | +|**enableTonemapping** | **Boolean** | Gets or sets a value indicating whether tonemapping is enabled. | [optional] | +|**enableVppTonemapping** | **Boolean** | Gets or sets a value indicating whether VPP tonemapping is enabled. | [optional] | +|**enableVideoToolboxTonemapping** | **Boolean** | Gets or sets a value indicating whether videotoolbox tonemapping is enabled. | [optional] | +|**tonemappingAlgorithm** | **TonemappingAlgorithm** | Gets or sets the tone-mapping algorithm. | [optional] | +|**tonemappingMode** | **TonemappingMode** | Gets or sets the tone-mapping mode. | [optional] | +|**tonemappingRange** | **TonemappingRange** | Gets or sets the tone-mapping range. | [optional] | +|**tonemappingDesat** | **Double** | Gets or sets the tone-mapping desaturation. | [optional] | +|**tonemappingPeak** | **Double** | Gets or sets the tone-mapping peak. | [optional] | +|**tonemappingParam** | **Double** | Gets or sets the tone-mapping parameters. | [optional] | +|**vppTonemappingBrightness** | **Double** | Gets or sets the VPP tone-mapping brightness. | [optional] | +|**vppTonemappingContrast** | **Double** | Gets or sets the VPP tone-mapping contrast. | [optional] | +|**h264Crf** | **Integer** | Gets or sets the H264 CRF. | [optional] | +|**h265Crf** | **Integer** | Gets or sets the H265 CRF. | [optional] | +|**encoderPreset** | **EncoderPreset** | Gets or sets the encoder preset. | [optional] | +|**deinterlaceDoubleRate** | **Boolean** | Gets or sets a value indicating whether the framerate is doubled when deinterlacing. | [optional] | +|**deinterlaceMethod** | **DeinterlaceMethod** | Gets or sets the deinterlace method. | [optional] | +|**enableDecodingColorDepth10Hevc** | **Boolean** | Gets or sets a value indicating whether 10bit HEVC decoding is enabled. | [optional] | +|**enableDecodingColorDepth10Vp9** | **Boolean** | Gets or sets a value indicating whether 10bit VP9 decoding is enabled. | [optional] | +|**enableDecodingColorDepth10HevcRext** | **Boolean** | Gets or sets a value indicating whether 8/10bit HEVC RExt decoding is enabled. | [optional] | +|**enableDecodingColorDepth12HevcRext** | **Boolean** | Gets or sets a value indicating whether 12bit HEVC RExt decoding is enabled. | [optional] | +|**enableEnhancedNvdecDecoder** | **Boolean** | Gets or sets a value indicating whether the enhanced NVDEC is enabled. | [optional] | +|**preferSystemNativeHwDecoder** | **Boolean** | Gets or sets a value indicating whether the system native hardware decoder should be used. | [optional] | +|**enableIntelLowPowerH264HwEncoder** | **Boolean** | Gets or sets a value indicating whether the Intel H264 low-power hardware encoder should be used. | [optional] | +|**enableIntelLowPowerHevcHwEncoder** | **Boolean** | Gets or sets a value indicating whether the Intel HEVC low-power hardware encoder should be used. | [optional] | +|**enableHardwareEncoding** | **Boolean** | Gets or sets a value indicating whether hardware encoding is enabled. | [optional] | +|**allowHevcEncoding** | **Boolean** | Gets or sets a value indicating whether HEVC encoding is enabled. | [optional] | +|**allowAv1Encoding** | **Boolean** | Gets or sets a value indicating whether AV1 encoding is enabled. | [optional] | +|**enableSubtitleExtraction** | **Boolean** | Gets or sets a value indicating whether subtitle extraction is enabled. | [optional] | +|**hardwareDecodingCodecs** | **List<String>** | Gets or sets the codecs hardware encoding is used for. | [optional] | +|**allowOnDemandMetadataBasedKeyframeExtractionForExtensions** | **List<String>** | Gets or sets the file extensions on-demand metadata based keyframe extraction is enabled for. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/EndPointInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/EndPointInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/EndPointInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/EndPointInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/EnvironmentApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/EnvironmentApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/EnvironmentApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/EnvironmentApi.md index c0ab3f20f7c..d502c293cdd 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/EnvironmentApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/EnvironmentApi.md @@ -1,6 +1,6 @@ # EnvironmentApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -31,7 +31,7 @@ import org.openapitools.client.api.EnvironmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -96,7 +96,7 @@ import org.openapitools.client.api.EnvironmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -169,7 +169,7 @@ import org.openapitools.client.api.EnvironmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -234,7 +234,7 @@ import org.openapitools.client.api.EnvironmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -299,7 +299,7 @@ import org.openapitools.client.api.EnvironmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -368,7 +368,7 @@ import org.openapitools.client.api.EnvironmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ExternalIdInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ExternalIdInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ExternalIdInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ExternalIdInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ExternalIdMediaType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ExternalIdMediaType.md similarity index 94% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ExternalIdMediaType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ExternalIdMediaType.md index 6e13de008ef..fcb7fd41ab7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ExternalIdMediaType.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ExternalIdMediaType.md @@ -29,5 +29,7 @@ * `TRACK` (value: `"Track"`) +* `BOOK` (value: `"Book"`) + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ExternalUrl.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ExternalUrl.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ExternalUrl.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ExternalUrl.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ExtraType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ExtraType.md new file mode 100644 index 00000000000..60f0bef34ac --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ExtraType.md @@ -0,0 +1,33 @@ + + +# ExtraType + +## Enum + + +* `UNKNOWN` (value: `"Unknown"`) + +* `CLIP` (value: `"Clip"`) + +* `TRAILER` (value: `"Trailer"`) + +* `BEHIND_THE_SCENES` (value: `"BehindTheScenes"`) + +* `DELETED_SCENE` (value: `"DeletedScene"`) + +* `INTERVIEW` (value: `"Interview"`) + +* `SCENE` (value: `"Scene"`) + +* `SAMPLE` (value: `"Sample"`) + +* `THEME_SONG` (value: `"ThemeSong"`) + +* `THEME_VIDEO` (value: `"ThemeVideo"`) + +* `FEATURETTE` (value: `"Featurette"`) + +* `SHORT` (value: `"Short"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/FileSystemEntryInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/FileSystemEntryInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/FileSystemEntryInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/FileSystemEntryInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/FileSystemEntryType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/FileSystemEntryType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/FileSystemEntryType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/FileSystemEntryType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/FilterApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/FilterApi.md similarity index 94% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/FilterApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/FilterApi.md index 9a356b2d863..11ca9d84da9 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/FilterApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/FilterApi.md @@ -1,6 +1,6 @@ # FilterApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -27,7 +27,7 @@ import org.openapitools.client.api.FilterApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -114,7 +114,7 @@ import org.openapitools.client.api.FilterApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -126,7 +126,7 @@ public class Example { UUID userId = UUID.randomUUID(); // UUID | Optional. User id. UUID parentId = UUID.randomUUID(); // UUID | Optional. Parent id. List includeItemTypes = Arrays.asList(); // List | Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. - List mediaTypes = Arrays.asList(); // List | Optional. Filter by MediaType. Allows multiple, comma delimited. + List mediaTypes = Arrays.asList(); // List | Optional. Filter by MediaType. Allows multiple, comma delimited. try { QueryFiltersLegacy result = apiInstance.getQueryFiltersLegacy(userId, parentId, includeItemTypes, mediaTypes); System.out.println(result); @@ -148,7 +148,7 @@ public class Example { | **userId** | **UUID**| Optional. User id. | [optional] | | **parentId** | **UUID**| Optional. Parent id. | [optional] | | **includeItemTypes** | [**List<BaseItemKind>**](BaseItemKind.md)| Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. | [optional] | -| **mediaTypes** | [**List<String>**](String.md)| Optional. Filter by MediaType. Allows multiple, comma delimited. | [optional] | +| **mediaTypes** | [**List<MediaType>**](MediaType.md)| Optional. Filter by MediaType. Allows multiple, comma delimited. | [optional] | ### Return type diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/FontFile.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/FontFile.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/FontFile.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/FontFile.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ForceKeepAliveMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ForceKeepAliveMessage.md new file mode 100644 index 00000000000..e6311bfa1a0 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ForceKeepAliveMessage.md @@ -0,0 +1,16 @@ + + +# ForceKeepAliveMessage + +Force keep alive websocket messages. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | **Integer** | Gets or sets the data. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ForgotPasswordAction.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ForgotPasswordAction.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ForgotPasswordAction.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ForgotPasswordAction.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ForgotPasswordDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ForgotPasswordDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ForgotPasswordDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ForgotPasswordDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ForgotPasswordPinDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ForgotPasswordPinDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ForgotPasswordPinDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ForgotPasswordPinDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ForgotPasswordResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ForgotPasswordResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ForgotPasswordResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ForgotPasswordResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GeneralCommand.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GeneralCommand.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GeneralCommand.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GeneralCommand.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GeneralCommandMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GeneralCommandMessage.md new file mode 100644 index 00000000000..0710989cbfd --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GeneralCommandMessage.md @@ -0,0 +1,16 @@ + + +# GeneralCommandMessage + +General command websocket message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**GeneralCommand**](GeneralCommand.md) | Gets or sets the data. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GeneralCommandType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GeneralCommandType.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GeneralCommandType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GeneralCommandType.md index 4cce1d5e14b..0592366c6fd 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GeneralCommandType.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GeneralCommandType.md @@ -89,5 +89,7 @@ * `SET_MAX_STREAMING_BITRATE` (value: `"SetMaxStreamingBitrate"`) +* `SET_PLAYBACK_ORDER` (value: `"SetPlaybackOrder"`) + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GenresApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GenresApi.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GenresApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GenresApi.md index c3830511d66..852ae01bf25 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GenresApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GenresApi.md @@ -1,6 +1,6 @@ # GenresApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -27,7 +27,7 @@ import org.openapitools.client.api.GenresApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -98,7 +98,7 @@ import org.openapitools.client.api.GenresApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -121,7 +121,7 @@ public class Example { String nameStartsWithOrGreater = "nameStartsWithOrGreater_example"; // String | Optional filter by items whose name is sorted equally or greater than a given input string. String nameStartsWith = "nameStartsWith_example"; // String | Optional filter by items whose name is sorted equally than a given input string. String nameLessThan = "nameLessThan_example"; // String | Optional filter by items whose name is equally or lesser than a given input string. - List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. + List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. List sortOrder = Arrays.asList(); // List | Sort Order - Ascending,Descending. Boolean enableImages = true; // Boolean | Optional, include image information in output. Boolean enableTotalRecordCount = true; // Boolean | Optional. Include total record count. @@ -157,7 +157,7 @@ public class Example { | **nameStartsWithOrGreater** | **String**| Optional filter by items whose name is sorted equally or greater than a given input string. | [optional] | | **nameStartsWith** | **String**| Optional filter by items whose name is sorted equally than a given input string. | [optional] | | **nameLessThan** | **String**| Optional filter by items whose name is equally or lesser than a given input string. | [optional] | -| **sortBy** | [**List<String>**](String.md)| Optional. Specify one or more sort orders, comma delimited. | [optional] | +| **sortBy** | [**List<ItemSortBy>**](ItemSortBy.md)| Optional. Specify one or more sort orders, comma delimited. | [optional] | | **sortOrder** | [**List<SortOrder>**](SortOrder.md)| Sort Order - Ascending,Descending. | [optional] | | **enableImages** | **Boolean**| Optional, include image information in output. | [optional] [default to true] | | **enableTotalRecordCount** | **Boolean**| Optional. Include total record count. | [optional] [default to true] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GetProgramsDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GetProgramsDto.md similarity index 50% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GetProgramsDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GetProgramsDto.md index 3e299beaebd..6b08bcf5fbf 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GetProgramsDto.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GetProgramsDto.md @@ -10,31 +10,31 @@ Get programs dto. |------------ | ------------- | ------------- | -------------| |**channelIds** | **List<UUID>** | Gets or sets the channels to return guide information for. | [optional] | |**userId** | **UUID** | Gets or sets optional. Filter by user id. | [optional] | -|**minStartDate** | **OffsetDateTime** | Gets or sets the minimum premiere start date. Optional. | [optional] | -|**hasAired** | **Boolean** | Gets or sets filter by programs that have completed airing, or not. Optional. | [optional] | -|**isAiring** | **Boolean** | Gets or sets filter by programs that are currently airing, or not. Optional. | [optional] | -|**maxStartDate** | **OffsetDateTime** | Gets or sets the maximum premiere start date. Optional. | [optional] | -|**minEndDate** | **OffsetDateTime** | Gets or sets the minimum premiere end date. Optional. | [optional] | -|**maxEndDate** | **OffsetDateTime** | Gets or sets the maximum premiere end date. Optional. | [optional] | -|**isMovie** | **Boolean** | Gets or sets filter for movies. Optional. | [optional] | -|**isSeries** | **Boolean** | Gets or sets filter for series. Optional. | [optional] | -|**isNews** | **Boolean** | Gets or sets filter for news. Optional. | [optional] | -|**isKids** | **Boolean** | Gets or sets filter for kids. Optional. | [optional] | -|**isSports** | **Boolean** | Gets or sets filter for sports. Optional. | [optional] | -|**startIndex** | **Integer** | Gets or sets the record index to start at. All items with a lower index will be dropped from the results. Optional. | [optional] | -|**limit** | **Integer** | Gets or sets the maximum number of records to return. Optional. | [optional] | -|**sortBy** | **List<String>** | Gets or sets specify one or more sort orders, comma delimited. Options: Name, StartDate. Optional. | [optional] | -|**sortOrder** | **List<SortOrder>** | Gets or sets sort Order - Ascending,Descending. | [optional] | +|**minStartDate** | **OffsetDateTime** | Gets or sets the minimum premiere start date. | [optional] | +|**hasAired** | **Boolean** | Gets or sets filter by programs that have completed airing, or not. | [optional] | +|**isAiring** | **Boolean** | Gets or sets filter by programs that are currently airing, or not. | [optional] | +|**maxStartDate** | **OffsetDateTime** | Gets or sets the maximum premiere start date. | [optional] | +|**minEndDate** | **OffsetDateTime** | Gets or sets the minimum premiere end date. | [optional] | +|**maxEndDate** | **OffsetDateTime** | Gets or sets the maximum premiere end date. | [optional] | +|**isMovie** | **Boolean** | Gets or sets filter for movies. | [optional] | +|**isSeries** | **Boolean** | Gets or sets filter for series. | [optional] | +|**isNews** | **Boolean** | Gets or sets filter for news. | [optional] | +|**isKids** | **Boolean** | Gets or sets filter for kids. | [optional] | +|**isSports** | **Boolean** | Gets or sets filter for sports. | [optional] | +|**startIndex** | **Integer** | Gets or sets the record index to start at. All items with a lower index will be dropped from the results. | [optional] | +|**limit** | **Integer** | Gets or sets the maximum number of records to return. | [optional] | +|**sortBy** | **List<ItemSortBy>** | Gets or sets specify one or more sort orders, comma delimited. Options: Name, StartDate. | [optional] | +|**sortOrder** | **List<SortOrder>** | Gets or sets sort order. | [optional] | |**genres** | **List<String>** | Gets or sets the genres to return guide information for. | [optional] | |**genreIds** | **List<UUID>** | Gets or sets the genre ids to return guide information for. | [optional] | -|**enableImages** | **Boolean** | Gets or sets include image information in output. Optional. | [optional] | +|**enableImages** | **Boolean** | Gets or sets include image information in output. | [optional] | |**enableTotalRecordCount** | **Boolean** | Gets or sets a value indicating whether retrieve total record count. | [optional] | -|**imageTypeLimit** | **Integer** | Gets or sets the max number of images to return, per image type. Optional. | [optional] | -|**enableImageTypes** | **List<ImageType>** | Gets or sets the image types to include in the output. Optional. | [optional] | -|**enableUserData** | **Boolean** | Gets or sets include user data. Optional. | [optional] | -|**seriesTimerId** | **String** | Gets or sets filter by series timer id. Optional. | [optional] | -|**librarySeriesId** | **UUID** | Gets or sets filter by library series id. Optional. | [optional] | -|**fields** | **List<ItemFields>** | Gets or sets specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. Optional. | [optional] | +|**imageTypeLimit** | **Integer** | Gets or sets the max number of images to return, per image type. | [optional] | +|**enableImageTypes** | **List<ImageType>** | Gets or sets the image types to include in the output. | [optional] | +|**enableUserData** | **Boolean** | Gets or sets include user data. | [optional] | +|**seriesTimerId** | **String** | Gets or sets filter by series timer id. | [optional] | +|**librarySeriesId** | **UUID** | Gets or sets filter by library series id. | [optional] | +|**fields** | **List<ItemFields>** | Gets or sets specify additional fields of information to return in the output. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GroupInfoDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupInfoDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GroupInfoDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupInfoDto.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupInfoDtoGroupUpdate.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupInfoDtoGroupUpdate.md new file mode 100644 index 00000000000..b58664b8329 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupInfoDtoGroupUpdate.md @@ -0,0 +1,16 @@ + + +# GroupInfoDtoGroupUpdate + +Class GroupUpdate. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**groupId** | **UUID** | Gets the group identifier. | [optional] [readonly] | +|**type** | **GroupUpdateType** | Gets the update type. | [optional] | +|**data** | [**GroupInfoDto**](GroupInfoDto.md) | Gets the update data. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GroupQueueMode.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupQueueMode.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GroupQueueMode.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupQueueMode.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GroupRepeatMode.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupRepeatMode.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GroupRepeatMode.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupRepeatMode.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GroupShuffleMode.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupShuffleMode.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GroupShuffleMode.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupShuffleMode.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GroupStateType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupStateType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GroupStateType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupStateType.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupStateUpdate.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupStateUpdate.md new file mode 100644 index 00000000000..22f8107ebee --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupStateUpdate.md @@ -0,0 +1,15 @@ + + +# GroupStateUpdate + +Class GroupStateUpdate. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**state** | **GroupStateType** | Gets the state of the group. | [optional] | +|**reason** | **PlaybackRequestType** | Gets the reason of the state change. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupStateUpdateGroupUpdate.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupStateUpdateGroupUpdate.md new file mode 100644 index 00000000000..9c177baebae --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupStateUpdateGroupUpdate.md @@ -0,0 +1,16 @@ + + +# GroupStateUpdateGroupUpdate + +Class GroupUpdate. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**groupId** | **UUID** | Gets the group identifier. | [optional] [readonly] | +|**type** | **GroupUpdateType** | Gets the update type. | [optional] | +|**data** | [**GroupStateUpdate**](GroupStateUpdate.md) | Gets the update data. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupUpdate.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupUpdate.md new file mode 100644 index 00000000000..8907877b332 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupUpdate.md @@ -0,0 +1,16 @@ + + +# GroupUpdate + +Group update without data. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**groupId** | **UUID** | Gets the group identifier. | [optional] [readonly] | +|**type** | **GroupUpdateType** | Gets the update type. | [optional] | +|**data** | [**PlayQueueUpdate**](PlayQueueUpdate.md) | Gets the update data. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GroupUpdateType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupUpdateType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GroupUpdateType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GroupUpdateType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GuideInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GuideInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GuideInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/GuideInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/HardwareAccelerationType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/HardwareAccelerationType.md new file mode 100644 index 00000000000..5dba0edb9cf --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/HardwareAccelerationType.md @@ -0,0 +1,25 @@ + + +# HardwareAccelerationType + +## Enum + + +* `NONE` (value: `"none"`) + +* `AMF` (value: `"amf"`) + +* `QSV` (value: `"qsv"`) + +* `NVENC` (value: `"nvenc"`) + +* `V4L2M2M` (value: `"v4l2m2m"`) + +* `VAAPI` (value: `"vaapi"`) + +* `VIDEOTOOLBOX` (value: `"videotoolbox"`) + +* `RKMPP` (value: `"rkmpp"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/HlsSegmentApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/HlsSegmentApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/HlsSegmentApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/HlsSegmentApi.md index 874fb667e76..c729c73a464 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/HlsSegmentApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/HlsSegmentApi.md @@ -1,6 +1,6 @@ # HlsSegmentApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -29,7 +29,7 @@ import org.openapitools.client.api.HlsSegmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); HlsSegmentApi apiInstance = new HlsSegmentApi(defaultClient); String itemId = "itemId_example"; // String | The item id. @@ -91,7 +91,7 @@ import org.openapitools.client.api.HlsSegmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); HlsSegmentApi apiInstance = new HlsSegmentApi(defaultClient); String itemId = "itemId_example"; // String | The item id. @@ -154,7 +154,7 @@ import org.openapitools.client.api.HlsSegmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -224,7 +224,7 @@ import org.openapitools.client.api.HlsSegmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); HlsSegmentApi apiInstance = new HlsSegmentApi(defaultClient); String itemId = "itemId_example"; // String | The item id. @@ -292,7 +292,7 @@ import org.openapitools.client.api.HlsSegmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/IPlugin.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/IPlugin.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/IPlugin.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/IPlugin.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/IgnoreWaitRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/IgnoreWaitRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/IgnoreWaitRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/IgnoreWaitRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageApi.md similarity index 74% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageApi.md index 826747ea04b..fe12fa2d519 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageApi.md @@ -1,14 +1,13 @@ # ImageApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| | [**deleteCustomSplashscreen**](ImageApi.md#deleteCustomSplashscreen) | **DELETE** /Branding/Splashscreen | Delete a custom splashscreen. | | [**deleteItemImage**](ImageApi.md#deleteItemImage) | **DELETE** /Items/{itemId}/Images/{imageType} | Delete an item's image. | | [**deleteItemImageByIndex**](ImageApi.md#deleteItemImageByIndex) | **DELETE** /Items/{itemId}/Images/{imageType}/{imageIndex} | Delete an item's image. | -| [**deleteUserImage**](ImageApi.md#deleteUserImage) | **DELETE** /Users/{userId}/Images/{imageType} | Delete the user's image. | -| [**deleteUserImageByIndex**](ImageApi.md#deleteUserImageByIndex) | **DELETE** /Users/{userId}/Images/{imageType}/{index} | Delete the user's image. | +| [**deleteUserImage**](ImageApi.md#deleteUserImage) | **DELETE** /UserImage | Delete the user's image. | | [**getArtistImage**](ImageApi.md#getArtistImage) | **GET** /Artists/{name}/Images/{imageType}/{imageIndex} | Get artist image by name. | | [**getGenreImage**](ImageApi.md#getGenreImage) | **GET** /Genres/{name}/Images/{imageType} | Get genre image by name. | | [**getGenreImageByIndex**](ImageApi.md#getGenreImageByIndex) | **GET** /Genres/{name}/Images/{imageType}/{imageIndex} | Get genre image by name. | @@ -23,8 +22,7 @@ All URIs are relative to *http://nuc.ehrendingen:8096* | [**getSplashscreen**](ImageApi.md#getSplashscreen) | **GET** /Branding/Splashscreen | Generates or gets the splashscreen. | | [**getStudioImage**](ImageApi.md#getStudioImage) | **GET** /Studios/{name}/Images/{imageType} | Get studio image by name. | | [**getStudioImageByIndex**](ImageApi.md#getStudioImageByIndex) | **GET** /Studios/{name}/Images/{imageType}/{imageIndex} | Get studio image by name. | -| [**getUserImage**](ImageApi.md#getUserImage) | **GET** /Users/{userId}/Images/{imageType} | Get user profile image. | -| [**getUserImageByIndex**](ImageApi.md#getUserImageByIndex) | **GET** /Users/{userId}/Images/{imageType}/{imageIndex} | Get user profile image. | +| [**getUserImage**](ImageApi.md#getUserImage) | **GET** /UserImage | Get user profile image. | | [**headArtistImage**](ImageApi.md#headArtistImage) | **HEAD** /Artists/{name}/Images/{imageType}/{imageIndex} | Get artist image by name. | | [**headGenreImage**](ImageApi.md#headGenreImage) | **HEAD** /Genres/{name}/Images/{imageType} | Get genre image by name. | | [**headGenreImageByIndex**](ImageApi.md#headGenreImageByIndex) | **HEAD** /Genres/{name}/Images/{imageType}/{imageIndex} | Get genre image by name. | @@ -37,10 +35,8 @@ All URIs are relative to *http://nuc.ehrendingen:8096* | [**headPersonImageByIndex**](ImageApi.md#headPersonImageByIndex) | **HEAD** /Persons/{name}/Images/{imageType}/{imageIndex} | Get person image by name. | | [**headStudioImage**](ImageApi.md#headStudioImage) | **HEAD** /Studios/{name}/Images/{imageType} | Get studio image by name. | | [**headStudioImageByIndex**](ImageApi.md#headStudioImageByIndex) | **HEAD** /Studios/{name}/Images/{imageType}/{imageIndex} | Get studio image by name. | -| [**headUserImage**](ImageApi.md#headUserImage) | **HEAD** /Users/{userId}/Images/{imageType} | Get user profile image. | -| [**headUserImageByIndex**](ImageApi.md#headUserImageByIndex) | **HEAD** /Users/{userId}/Images/{imageType}/{imageIndex} | Get user profile image. | -| [**postUserImage**](ImageApi.md#postUserImage) | **POST** /Users/{userId}/Images/{imageType} | Sets the user image. | -| [**postUserImageByIndex**](ImageApi.md#postUserImageByIndex) | **POST** /Users/{userId}/Images/{imageType}/{index} | Sets the user image. | +| [**headUserImage**](ImageApi.md#headUserImage) | **HEAD** /UserImage | Get user profile image. | +| [**postUserImage**](ImageApi.md#postUserImage) | **POST** /UserImage | Sets the user image. | | [**setItemImage**](ImageApi.md#setItemImage) | **POST** /Items/{itemId}/Images/{imageType} | Set item image. | | [**setItemImageByIndex**](ImageApi.md#setItemImageByIndex) | **POST** /Items/{itemId}/Images/{imageType}/{imageIndex} | Set item image. | | [**updateItemImageIndex**](ImageApi.md#updateItemImageIndex) | **POST** /Items/{itemId}/Images/{imageType}/{imageIndex}/Index | Updates the index for an item image. | @@ -66,7 +62,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -130,7 +126,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -160,7 +156,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **itemId** | **UUID**| Item id. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **imageIndex** | **Integer**| The image index. | [optional] | ### Return type @@ -203,7 +199,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -233,7 +229,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **itemId** | **UUID**| Item id. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **imageIndex** | **Integer**| The image index. | | ### Return type @@ -259,7 +255,7 @@ null (empty response body) # **deleteUserImage** -> deleteUserImage(userId, imageType, index) +> deleteUserImage(userId) Delete the user's image. @@ -276,7 +272,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -286,10 +282,8 @@ public class Example { ImageApi apiInstance = new ImageApi(defaultClient); UUID userId = UUID.randomUUID(); // UUID | User Id. - ImageType imageType = ImageType.fromValue("Primary"); // ImageType | (Unused) Image type. - Integer index = 56; // Integer | (Unused) Image index. try { - apiInstance.deleteUserImage(userId, imageType, index); + apiInstance.deleteUserImage(userId); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#deleteUserImage"); System.err.println("Status code: " + e.getCode()); @@ -305,81 +299,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User Id. | | -| **imageType** | [**ImageType**](.md)| (Unused) Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | -| **index** | **Integer**| (Unused) Image index. | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **204** | Image deleted. | - | -| **403** | User does not have permission to delete the image. | - | -| **401** | Unauthorized | - | - - -# **deleteUserImageByIndex** -> deleteUserImageByIndex(userId, imageType, index) - -Delete the user's image. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ImageApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - ImageApi apiInstance = new ImageApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | User Id. - ImageType imageType = ImageType.fromValue("Primary"); // ImageType | (Unused) Image type. - Integer index = 56; // Integer | (Unused) Image index. - try { - apiInstance.deleteUserImageByIndex(userId, imageType, index); - } catch (ApiException e) { - System.err.println("Exception when calling ImageApi#deleteUserImageByIndex"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User Id. | | -| **imageType** | [**ImageType**](.md)| (Unused) Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | -| **index** | **Integer**| (Unused) Image index. | | +| **userId** | **UUID**| User Id. | [optional] | ### Return type @@ -403,7 +323,7 @@ null (empty response body) # **getArtistImage** -> File getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer) +> File getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer) Get artist image by name. @@ -419,7 +339,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Artist name. @@ -436,13 +356,11 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. try { - File result = apiInstance.getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + File result = apiInstance.getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#getArtistImage"); @@ -460,10 +378,10 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| Artist name. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **imageIndex** | **Integer**| Image index. | | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -473,8 +391,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -500,7 +416,7 @@ No authorization required # **getGenreImage** -> File getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex) +> File getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex) Get genre image by name. @@ -516,7 +432,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Genre name. @@ -532,14 +448,12 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. Integer imageIndex = 56; // Integer | Image index. try { - File result = apiInstance.getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + File result = apiInstance.getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#getGenreImage"); @@ -557,9 +471,9 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| Genre name. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -569,8 +483,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -597,7 +509,7 @@ No authorization required # **getGenreImageByIndex** -> File getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer) +> File getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer) Get genre image by name. @@ -613,7 +525,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Genre name. @@ -630,13 +542,11 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. try { - File result = apiInstance.getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + File result = apiInstance.getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#getGenreImageByIndex"); @@ -654,10 +564,10 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| Genre name. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **imageIndex** | **Integer**| Image index. | | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -667,8 +577,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -694,7 +602,7 @@ No authorization required # **getItemImage** -> File getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex) +> File getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex) Gets the item's image. @@ -710,7 +618,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | Item id. @@ -723,9 +631,7 @@ public class Example { Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. String tag = "tag_example"; // String | Optional. Supply the cache tag from the item object to receive strong caching headers. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. ImageFormat format = ImageFormat.fromValue("Bmp"); // ImageFormat | Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Double percentPlayed = 3.4D; // Double | Optional. Percent to render for the percent played overlay. Integer unplayedCount = 56; // Integer | Optional. Unplayed count overlay to render. Integer blur = 56; // Integer | Optional. Blur image. @@ -733,7 +639,7 @@ public class Example { String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. Integer imageIndex = 56; // Integer | Image index. try { - File result = apiInstance.getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex); + File result = apiInstance.getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#getItemImage"); @@ -751,7 +657,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **itemId** | **UUID**| Item id. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **width** | **Integer**| The fixed image width to return. | [optional] | @@ -760,9 +666,7 @@ public class Example { | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **format** | [**ImageFormat**](.md)| Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | +| **format** | **ImageFormat**| Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | | **unplayedCount** | **Integer**| Optional. Unplayed count overlay to render. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | @@ -791,7 +695,7 @@ No authorization required # **getItemImage2** -> File getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer) +> File getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer) Gets the item's image. @@ -807,7 +711,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | Item id. @@ -824,13 +728,11 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. try { - File result = apiInstance.getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + File result = apiInstance.getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#getItemImage2"); @@ -848,11 +750,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **itemId** | **UUID**| Item id. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **maxWidth** | **Integer**| The maximum image width to return. | | | **maxHeight** | **Integer**| The maximum image height to return. | | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | | | **unplayedCount** | **Integer**| Optional. Unplayed count overlay to render. | | | **imageIndex** | **Integer**| Image index. | | @@ -861,8 +763,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -888,7 +788,7 @@ No authorization required # **getItemImageByIndex** -> File getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer) +> File getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer) Gets the item's image. @@ -904,7 +804,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | Item id. @@ -918,16 +818,14 @@ public class Example { Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. String tag = "tag_example"; // String | Optional. Supply the cache tag from the item object to receive strong caching headers. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. ImageFormat format = ImageFormat.fromValue("Bmp"); // ImageFormat | Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Double percentPlayed = 3.4D; // Double | Optional. Percent to render for the percent played overlay. Integer unplayedCount = 56; // Integer | Optional. Unplayed count overlay to render. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. try { - File result = apiInstance.getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer); + File result = apiInstance.getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#getItemImageByIndex"); @@ -945,7 +843,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **itemId** | **UUID**| Item id. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **imageIndex** | **Integer**| Image index. | | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | @@ -955,9 +853,7 @@ public class Example { | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **format** | [**ImageFormat**](.md)| Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | +| **format** | **ImageFormat**| Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | | **unplayedCount** | **Integer**| Optional. Unplayed count overlay to render. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | @@ -1002,7 +898,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1055,7 +951,7 @@ public class Example { # **getMusicGenreImage** -> File getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex) +> File getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex) Get music genre image by name. @@ -1071,7 +967,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Music genre name. @@ -1087,14 +983,12 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. Integer imageIndex = 56; // Integer | Image index. try { - File result = apiInstance.getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + File result = apiInstance.getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#getMusicGenreImage"); @@ -1112,9 +1006,9 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| Music genre name. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -1124,8 +1018,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -1152,7 +1044,7 @@ No authorization required # **getMusicGenreImageByIndex** -> File getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer) +> File getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer) Get music genre image by name. @@ -1168,7 +1060,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Music genre name. @@ -1185,13 +1077,11 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. try { - File result = apiInstance.getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + File result = apiInstance.getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#getMusicGenreImageByIndex"); @@ -1209,10 +1099,10 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| Music genre name. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **imageIndex** | **Integer**| Image index. | | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -1222,8 +1112,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -1249,7 +1137,7 @@ No authorization required # **getPersonImage** -> File getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex) +> File getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex) Get person image by name. @@ -1265,7 +1153,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Person name. @@ -1281,14 +1169,12 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. Integer imageIndex = 56; // Integer | Image index. try { - File result = apiInstance.getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + File result = apiInstance.getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#getPersonImage"); @@ -1306,9 +1192,9 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| Person name. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -1318,8 +1204,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -1346,7 +1230,7 @@ No authorization required # **getPersonImageByIndex** -> File getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer) +> File getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer) Get person image by name. @@ -1362,7 +1246,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Person name. @@ -1379,13 +1263,11 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. try { - File result = apiInstance.getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + File result = apiInstance.getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#getPersonImageByIndex"); @@ -1403,10 +1285,10 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| Person name. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **imageIndex** | **Integer**| Image index. | | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -1416,8 +1298,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -1459,7 +1339,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String tag = "tag_example"; // String | Supply the cache tag from the item object to receive strong caching headers. @@ -1493,7 +1373,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **tag** | **String**| Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **width** | **Integer**| The fixed image width to return. | [optional] | @@ -1525,7 +1405,7 @@ No authorization required # **getStudioImage** -> File getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex) +> File getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex) Get studio image by name. @@ -1541,7 +1421,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Studio name. @@ -1557,14 +1437,12 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. Integer imageIndex = 56; // Integer | Image index. try { - File result = apiInstance.getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + File result = apiInstance.getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#getStudioImage"); @@ -1582,9 +1460,9 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| Studio name. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -1594,8 +1472,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -1622,7 +1498,7 @@ No authorization required # **getStudioImageByIndex** -> File getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer) +> File getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer) Get studio image by name. @@ -1638,7 +1514,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Studio name. @@ -1655,13 +1531,11 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. try { - File result = apiInstance.getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + File result = apiInstance.getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#getStudioImageByIndex"); @@ -1679,10 +1553,10 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| Studio name. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **imageIndex** | **Integer**| Image index. | | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -1692,8 +1566,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -1719,7 +1591,7 @@ No authorization required # **getUserImage** -> File getUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex) +> File getUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex) Get user profile image. @@ -1735,11 +1607,10 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); UUID userId = UUID.randomUUID(); // UUID | User id. - ImageType imageType = ImageType.fromValue("Primary"); // ImageType | Image type. String tag = "tag_example"; // String | Optional. Supply the cache tag from the item object to receive strong caching headers. ImageFormat format = ImageFormat.fromValue("Bmp"); // ImageFormat | Determines the output format of the image - original,gif,jpg,png. Integer maxWidth = 56; // Integer | The maximum image width to return. @@ -1751,14 +1622,12 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. Integer imageIndex = 56; // Integer | Image index. try { - File result = apiInstance.getUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + File result = apiInstance.getUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#getUserImage"); @@ -1775,10 +1644,9 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **userId** | **UUID**| User id. | [optional] | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -1788,8 +1656,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -1812,108 +1678,12 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Image stream returned. | - | -| **404** | Item not found. | - | - - -# **getUserImageByIndex** -> File getUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer) - -Get user profile image. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ImageApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - ImageApi apiInstance = new ImageApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | User id. - ImageType imageType = ImageType.fromValue("Primary"); // ImageType | Image type. - Integer imageIndex = 56; // Integer | Image index. - String tag = "tag_example"; // String | Optional. Supply the cache tag from the item object to receive strong caching headers. - ImageFormat format = ImageFormat.fromValue("Bmp"); // ImageFormat | Determines the output format of the image - original,gif,jpg,png. - Integer maxWidth = 56; // Integer | The maximum image width to return. - Integer maxHeight = 56; // Integer | The maximum image height to return. - Double percentPlayed = 3.4D; // Double | Optional. Percent to render for the percent played overlay. - Integer unplayedCount = 56; // Integer | Optional. Unplayed count overlay to render. - Integer width = 56; // Integer | The fixed image width to return. - Integer height = 56; // Integer | The fixed image height to return. - Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - Integer fillWidth = 56; // Integer | Width of box to fill. - Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. - Integer blur = 56; // Integer | Optional. Blur image. - String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. - String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. - try { - File result = apiInstance.getUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ImageApi#getUserImageByIndex"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | -| **imageIndex** | **Integer**| Image index. | | -| **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | -| **maxWidth** | **Integer**| The maximum image width to return. | [optional] | -| **maxHeight** | **Integer**| The maximum image height to return. | [optional] | -| **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | -| **unplayedCount** | **Integer**| Optional. Unplayed count overlay to render. | [optional] | -| **width** | **Integer**| The fixed image width to return. | [optional] | -| **height** | **Integer**| The fixed image height to return. | [optional] | -| **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | -| **fillWidth** | **Integer**| Width of box to fill. | [optional] | -| **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | -| **blur** | **Integer**| Optional. Blur image. | [optional] | -| **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | -| **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | - -### Return type - -[**File**](File.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: image/*, application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Image stream returned. | - | +| **400** | User id not provided. | - | | **404** | Item not found. | - | # **headArtistImage** -> File headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer) +> File headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer) Get artist image by name. @@ -1929,7 +1699,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Artist name. @@ -1946,13 +1716,11 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. try { - File result = apiInstance.headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + File result = apiInstance.headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#headArtistImage"); @@ -1970,10 +1738,10 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| Artist name. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **imageIndex** | **Integer**| Image index. | | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -1983,8 +1751,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -2010,7 +1776,7 @@ No authorization required # **headGenreImage** -> File headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex) +> File headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex) Get genre image by name. @@ -2026,7 +1792,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Genre name. @@ -2042,14 +1808,12 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. Integer imageIndex = 56; // Integer | Image index. try { - File result = apiInstance.headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + File result = apiInstance.headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#headGenreImage"); @@ -2067,9 +1831,9 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| Genre name. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -2079,8 +1843,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -2107,7 +1869,7 @@ No authorization required # **headGenreImageByIndex** -> File headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer) +> File headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer) Get genre image by name. @@ -2123,7 +1885,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Genre name. @@ -2140,13 +1902,11 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. try { - File result = apiInstance.headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + File result = apiInstance.headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#headGenreImageByIndex"); @@ -2164,10 +1924,10 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| Genre name. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **imageIndex** | **Integer**| Image index. | | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -2177,8 +1937,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -2204,7 +1962,7 @@ No authorization required # **headItemImage** -> File headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex) +> File headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex) Gets the item's image. @@ -2220,7 +1978,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | Item id. @@ -2233,9 +1991,7 @@ public class Example { Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. String tag = "tag_example"; // String | Optional. Supply the cache tag from the item object to receive strong caching headers. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. ImageFormat format = ImageFormat.fromValue("Bmp"); // ImageFormat | Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Double percentPlayed = 3.4D; // Double | Optional. Percent to render for the percent played overlay. Integer unplayedCount = 56; // Integer | Optional. Unplayed count overlay to render. Integer blur = 56; // Integer | Optional. Blur image. @@ -2243,7 +1999,7 @@ public class Example { String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. Integer imageIndex = 56; // Integer | Image index. try { - File result = apiInstance.headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex); + File result = apiInstance.headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#headItemImage"); @@ -2261,7 +2017,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **itemId** | **UUID**| Item id. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **width** | **Integer**| The fixed image width to return. | [optional] | @@ -2270,9 +2026,7 @@ public class Example { | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **format** | [**ImageFormat**](.md)| Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | +| **format** | **ImageFormat**| Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | | **unplayedCount** | **Integer**| Optional. Unplayed count overlay to render. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | @@ -2301,7 +2055,7 @@ No authorization required # **headItemImage2** -> File headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer) +> File headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer) Gets the item's image. @@ -2317,7 +2071,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | Item id. @@ -2334,13 +2088,11 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. try { - File result = apiInstance.headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + File result = apiInstance.headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#headItemImage2"); @@ -2358,11 +2110,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **itemId** | **UUID**| Item id. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **maxWidth** | **Integer**| The maximum image width to return. | | | **maxHeight** | **Integer**| The maximum image height to return. | | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | | | **unplayedCount** | **Integer**| Optional. Unplayed count overlay to render. | | | **imageIndex** | **Integer**| Image index. | | @@ -2371,8 +2123,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -2398,7 +2148,7 @@ No authorization required # **headItemImageByIndex** -> File headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer) +> File headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer) Gets the item's image. @@ -2414,7 +2164,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | Item id. @@ -2428,16 +2178,14 @@ public class Example { Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. String tag = "tag_example"; // String | Optional. Supply the cache tag from the item object to receive strong caching headers. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. ImageFormat format = ImageFormat.fromValue("Bmp"); // ImageFormat | Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Double percentPlayed = 3.4D; // Double | Optional. Percent to render for the percent played overlay. Integer unplayedCount = 56; // Integer | Optional. Unplayed count overlay to render. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. try { - File result = apiInstance.headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer); + File result = apiInstance.headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#headItemImageByIndex"); @@ -2455,7 +2203,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **itemId** | **UUID**| Item id. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **imageIndex** | **Integer**| Image index. | | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | @@ -2465,9 +2213,7 @@ public class Example { | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **format** | [**ImageFormat**](.md)| Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | +| **format** | **ImageFormat**| Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | | **unplayedCount** | **Integer**| Optional. Unplayed count overlay to render. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | @@ -2495,7 +2241,7 @@ No authorization required # **headMusicGenreImage** -> File headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex) +> File headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex) Get music genre image by name. @@ -2511,7 +2257,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Music genre name. @@ -2527,14 +2273,12 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. Integer imageIndex = 56; // Integer | Image index. try { - File result = apiInstance.headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + File result = apiInstance.headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#headMusicGenreImage"); @@ -2552,9 +2296,9 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| Music genre name. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -2564,8 +2308,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -2592,7 +2334,7 @@ No authorization required # **headMusicGenreImageByIndex** -> File headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer) +> File headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer) Get music genre image by name. @@ -2608,7 +2350,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Music genre name. @@ -2625,13 +2367,11 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. try { - File result = apiInstance.headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + File result = apiInstance.headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#headMusicGenreImageByIndex"); @@ -2649,10 +2389,10 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| Music genre name. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **imageIndex** | **Integer**| Image index. | | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -2662,8 +2402,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -2689,7 +2427,7 @@ No authorization required # **headPersonImage** -> File headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex) +> File headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex) Get person image by name. @@ -2705,7 +2443,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Person name. @@ -2721,14 +2459,12 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. Integer imageIndex = 56; // Integer | Image index. try { - File result = apiInstance.headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + File result = apiInstance.headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#headPersonImage"); @@ -2746,9 +2482,9 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| Person name. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -2758,8 +2494,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -2786,7 +2520,7 @@ No authorization required # **headPersonImageByIndex** -> File headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer) +> File headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer) Get person image by name. @@ -2802,7 +2536,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Person name. @@ -2819,13 +2553,11 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. try { - File result = apiInstance.headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + File result = apiInstance.headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#headPersonImageByIndex"); @@ -2843,10 +2575,10 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| Person name. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **imageIndex** | **Integer**| Image index. | | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -2856,8 +2588,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -2883,7 +2613,7 @@ No authorization required # **headStudioImage** -> File headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex) +> File headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex) Get studio image by name. @@ -2899,7 +2629,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Studio name. @@ -2915,14 +2645,12 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. Integer imageIndex = 56; // Integer | Image index. try { - File result = apiInstance.headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + File result = apiInstance.headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#headStudioImage"); @@ -2940,9 +2668,9 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| Studio name. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -2952,8 +2680,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -2980,7 +2706,7 @@ No authorization required # **headStudioImageByIndex** -> File headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer) +> File headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer) Get studio image by name. @@ -2996,7 +2722,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Studio name. @@ -3013,13 +2739,11 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. try { - File result = apiInstance.headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + File result = apiInstance.headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#headStudioImageByIndex"); @@ -3037,10 +2761,10 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| Studio name. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **imageIndex** | **Integer**| Image index. | | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -3050,8 +2774,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -3077,7 +2799,7 @@ No authorization required # **headUserImage** -> File headUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex) +> File headUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex) Get user profile image. @@ -3093,11 +2815,10 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); UUID userId = UUID.randomUUID(); // UUID | User id. - ImageType imageType = ImageType.fromValue("Primary"); // ImageType | Image type. String tag = "tag_example"; // String | Optional. Supply the cache tag from the item object to receive strong caching headers. ImageFormat format = ImageFormat.fromValue("Bmp"); // ImageFormat | Determines the output format of the image - original,gif,jpg,png. Integer maxWidth = 56; // Integer | The maximum image width to return. @@ -3109,14 +2830,12 @@ public class Example { Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. Integer fillWidth = 56; // Integer | Width of box to fill. Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. Integer blur = 56; // Integer | Optional. Blur image. String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. Integer imageIndex = 56; // Integer | Image index. try { - File result = apiInstance.headUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + File result = apiInstance.headUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#headUserImage"); @@ -3133,10 +2852,9 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **userId** | **UUID**| User id. | [optional] | | **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | +| **format** | **ImageFormat**| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp, Svg] | | **maxWidth** | **Integer**| The maximum image width to return. | [optional] | | **maxHeight** | **Integer**| The maximum image height to return. | [optional] | | **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | @@ -3146,8 +2864,6 @@ public class Example { | **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | | **fillWidth** | **Integer**| Width of box to fill. | [optional] | | **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | | **blur** | **Integer**| Optional. Blur image. | [optional] | | **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | | **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | @@ -3170,108 +2886,12 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Image stream returned. | - | -| **404** | Item not found. | - | - - -# **headUserImageByIndex** -> File headUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer) - -Get user profile image. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ImageApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - ImageApi apiInstance = new ImageApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | User id. - ImageType imageType = ImageType.fromValue("Primary"); // ImageType | Image type. - Integer imageIndex = 56; // Integer | Image index. - String tag = "tag_example"; // String | Optional. Supply the cache tag from the item object to receive strong caching headers. - ImageFormat format = ImageFormat.fromValue("Bmp"); // ImageFormat | Determines the output format of the image - original,gif,jpg,png. - Integer maxWidth = 56; // Integer | The maximum image width to return. - Integer maxHeight = 56; // Integer | The maximum image height to return. - Double percentPlayed = 3.4D; // Double | Optional. Percent to render for the percent played overlay. - Integer unplayedCount = 56; // Integer | Optional. Unplayed count overlay to render. - Integer width = 56; // Integer | The fixed image width to return. - Integer height = 56; // Integer | The fixed image height to return. - Integer quality = 56; // Integer | Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - Integer fillWidth = 56; // Integer | Width of box to fill. - Integer fillHeight = 56; // Integer | Height of box to fill. - Boolean cropWhitespace = true; // Boolean | Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - Boolean addPlayedIndicator = true; // Boolean | Optional. Add a played indicator. - Integer blur = 56; // Integer | Optional. Blur image. - String backgroundColor = "backgroundColor_example"; // String | Optional. Apply a background color for transparent images. - String foregroundLayer = "foregroundLayer_example"; // String | Optional. Apply a foreground layer on top of the image. - try { - File result = apiInstance.headUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ImageApi#headUserImageByIndex"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | -| **imageIndex** | **Integer**| Image index. | | -| **tag** | **String**| Optional. Supply the cache tag from the item object to receive strong caching headers. | [optional] | -| **format** | [**ImageFormat**](.md)| Determines the output format of the image - original,gif,jpg,png. | [optional] [enum: Bmp, Gif, Jpg, Png, Webp] | -| **maxWidth** | **Integer**| The maximum image width to return. | [optional] | -| **maxHeight** | **Integer**| The maximum image height to return. | [optional] | -| **percentPlayed** | **Double**| Optional. Percent to render for the percent played overlay. | [optional] | -| **unplayedCount** | **Integer**| Optional. Unplayed count overlay to render. | [optional] | -| **width** | **Integer**| The fixed image width to return. | [optional] | -| **height** | **Integer**| The fixed image height to return. | [optional] | -| **quality** | **Integer**| Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. | [optional] | -| **fillWidth** | **Integer**| Width of box to fill. | [optional] | -| **fillHeight** | **Integer**| Height of box to fill. | [optional] | -| **cropWhitespace** | **Boolean**| Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. | [optional] | -| **addPlayedIndicator** | **Boolean**| Optional. Add a played indicator. | [optional] | -| **blur** | **Integer**| Optional. Blur image. | [optional] | -| **backgroundColor** | **String**| Optional. Apply a background color for transparent images. | [optional] | -| **foregroundLayer** | **String**| Optional. Apply a foreground layer on top of the image. | [optional] | - -### Return type - -[**File**](File.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: image/*, application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Image stream returned. | - | +| **400** | User id not provided. | - | | **404** | Item not found. | - | # **postUserImage** -> postUserImage(userId, imageType, index, body) +> postUserImage(userId, body) Sets the user image. @@ -3288,7 +2908,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -3298,11 +2918,9 @@ public class Example { ImageApi apiInstance = new ImageApi(defaultClient); UUID userId = UUID.randomUUID(); // UUID | User Id. - ImageType imageType = ImageType.fromValue("Primary"); // ImageType | (Unused) Image type. - Integer index = 56; // Integer | (Unused) Image index. File body = new File("/path/to/file"); // File | try { - apiInstance.postUserImage(userId, imageType, index, body); + apiInstance.postUserImage(userId, body); } catch (ApiException e) { System.err.println("Exception when calling ImageApi#postUserImage"); System.err.println("Status code: " + e.getCode()); @@ -3318,83 +2936,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User Id. | | -| **imageType** | [**ImageType**](.md)| (Unused) Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | -| **index** | **Integer**| (Unused) Image index. | [optional] | -| **body** | **File**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: image/* - - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **204** | Image updated. | - | -| **403** | User does not have permission to delete the image. | - | -| **401** | Unauthorized | - | - - -# **postUserImageByIndex** -> postUserImageByIndex(userId, imageType, index, body) - -Sets the user image. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ImageApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - ImageApi apiInstance = new ImageApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | User Id. - ImageType imageType = ImageType.fromValue("Primary"); // ImageType | (Unused) Image type. - Integer index = 56; // Integer | (Unused) Image index. - File body = new File("/path/to/file"); // File | - try { - apiInstance.postUserImageByIndex(userId, imageType, index, body); - } catch (ApiException e) { - System.err.println("Exception when calling ImageApi#postUserImageByIndex"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User Id. | | -| **imageType** | [**ImageType**](.md)| (Unused) Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | -| **index** | **Integer**| (Unused) Image index. | | +| **userId** | **UUID**| User Id. | [optional] | | **body** | **File**| | [optional] | ### Return type @@ -3414,7 +2956,9 @@ null (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| | **204** | Image updated. | - | +| **400** | Bad Request | - | | **403** | User does not have permission to delete the image. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | @@ -3436,7 +2980,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -3466,7 +3010,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **itemId** | **UUID**| Item id. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **body** | **File**| | [optional] | ### Return type @@ -3486,6 +3030,7 @@ null (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| | **204** | Image saved. | - | +| **400** | Bad Request | - | | **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | @@ -3509,7 +3054,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -3540,7 +3085,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **itemId** | **UUID**| Item id. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **imageIndex** | **Integer**| (Unused) Image index. | | | **body** | **File**| | [optional] | @@ -3561,6 +3106,7 @@ null (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| | **204** | Image saved. | - | +| **400** | Bad Request | - | | **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | @@ -3584,7 +3130,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -3615,7 +3161,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **itemId** | **UUID**| Item id. | | -| **imageType** | [**ImageType**](.md)| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **imageType** | **ImageType**| Image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **imageIndex** | **Integer**| Old image index. | | | **newIndex** | **Integer**| New image index. | | @@ -3659,7 +3205,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageFormat.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageFormat.md similarity index 86% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageFormat.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageFormat.md index 0c3909383c3..d4aacfa8ab6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageFormat.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageFormat.md @@ -15,5 +15,7 @@ * `WEBP` (value: `"Webp"`) +* `SVG` (value: `"Svg"`) + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageOption.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageOption.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageOption.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageOption.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageOrientation.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageOrientation.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageOrientation.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageOrientation.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageProviderInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageProviderInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageProviderInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageProviderInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageResolution.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageResolution.md new file mode 100644 index 00000000000..07861a96b3e --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageResolution.md @@ -0,0 +1,27 @@ + + +# ImageResolution + +## Enum + + +* `MATCH_SOURCE` (value: `"MatchSource"`) + +* `P144` (value: `"P144"`) + +* `P240` (value: `"P240"`) + +* `P360` (value: `"P360"`) + +* `P480` (value: `"P480"`) + +* `P720` (value: `"P720"`) + +* `P1080` (value: `"P1080"`) + +* `P1440` (value: `"P1440"`) + +* `P2160` (value: `"P2160"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageSavingConvention.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageSavingConvention.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageSavingConvention.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageSavingConvention.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ImageType.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/InboundKeepAliveMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/InboundKeepAliveMessage.md new file mode 100644 index 00000000000..54af2fe5f3a --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/InboundKeepAliveMessage.md @@ -0,0 +1,14 @@ + + +# InboundKeepAliveMessage + +Keep alive websocket messages. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/InboundWebSocketMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/InboundWebSocketMessage.md new file mode 100644 index 00000000000..2051e945b08 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/InboundWebSocketMessage.md @@ -0,0 +1,15 @@ + + +# InboundWebSocketMessage + +Represents the list of possible inbound websocket types + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | **String** | Gets or sets the data. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/InstallationInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/InstallationInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/InstallationInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/InstallationInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/InstantMixApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/InstantMixApi.md similarity index 91% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/InstantMixApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/InstantMixApi.md index 0f82e9940cb..ca877a00fb3 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/InstantMixApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/InstantMixApi.md @@ -1,22 +1,22 @@ # InstantMixApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**getInstantMixFromAlbum**](InstantMixApi.md#getInstantMixFromAlbum) | **GET** /Albums/{id}/InstantMix | Creates an instant playlist based on a given album. | -| [**getInstantMixFromArtists**](InstantMixApi.md#getInstantMixFromArtists) | **GET** /Artists/{id}/InstantMix | Creates an instant playlist based on a given artist. | +| [**getInstantMixFromAlbum**](InstantMixApi.md#getInstantMixFromAlbum) | **GET** /Albums/{itemId}/InstantMix | Creates an instant playlist based on a given album. | +| [**getInstantMixFromArtists**](InstantMixApi.md#getInstantMixFromArtists) | **GET** /Artists/{itemId}/InstantMix | Creates an instant playlist based on a given artist. | | [**getInstantMixFromArtists2**](InstantMixApi.md#getInstantMixFromArtists2) | **GET** /Artists/InstantMix | Creates an instant playlist based on a given artist. | -| [**getInstantMixFromItem**](InstantMixApi.md#getInstantMixFromItem) | **GET** /Items/{id}/InstantMix | Creates an instant playlist based on a given item. | +| [**getInstantMixFromItem**](InstantMixApi.md#getInstantMixFromItem) | **GET** /Items/{itemId}/InstantMix | Creates an instant playlist based on a given item. | | [**getInstantMixFromMusicGenreById**](InstantMixApi.md#getInstantMixFromMusicGenreById) | **GET** /MusicGenres/InstantMix | Creates an instant playlist based on a given genre. | | [**getInstantMixFromMusicGenreByName**](InstantMixApi.md#getInstantMixFromMusicGenreByName) | **GET** /MusicGenres/{name}/InstantMix | Creates an instant playlist based on a given genre. | -| [**getInstantMixFromPlaylist**](InstantMixApi.md#getInstantMixFromPlaylist) | **GET** /Playlists/{id}/InstantMix | Creates an instant playlist based on a given playlist. | -| [**getInstantMixFromSong**](InstantMixApi.md#getInstantMixFromSong) | **GET** /Songs/{id}/InstantMix | Creates an instant playlist based on a given song. | +| [**getInstantMixFromPlaylist**](InstantMixApi.md#getInstantMixFromPlaylist) | **GET** /Playlists/{itemId}/InstantMix | Creates an instant playlist based on a given playlist. | +| [**getInstantMixFromSong**](InstantMixApi.md#getInstantMixFromSong) | **GET** /Songs/{itemId}/InstantMix | Creates an instant playlist based on a given song. | # **getInstantMixFromAlbum** -> BaseItemDtoQueryResult getInstantMixFromAlbum(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes) +> BaseItemDtoQueryResult getInstantMixFromAlbum(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes) Creates an instant playlist based on a given album. @@ -33,7 +33,7 @@ import org.openapitools.client.api.InstantMixApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -42,7 +42,7 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); InstantMixApi apiInstance = new InstantMixApi(defaultClient); - UUID id = UUID.randomUUID(); // UUID | The item id. + UUID itemId = UUID.randomUUID(); // UUID | The item id. UUID userId = UUID.randomUUID(); // UUID | Optional. Filter by user id, and attach user data. Integer limit = 56; // Integer | Optional. The maximum number of records to return. List fields = Arrays.asList(); // List | Optional. Specify additional fields of information to return in the output. @@ -51,7 +51,7 @@ public class Example { Integer imageTypeLimit = 56; // Integer | Optional. The max number of images to return, per image type. List enableImageTypes = Arrays.asList(); // List | Optional. The image types to include in the output. try { - BaseItemDtoQueryResult result = apiInstance.getInstantMixFromAlbum(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); + BaseItemDtoQueryResult result = apiInstance.getInstantMixFromAlbum(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling InstantMixApi#getInstantMixFromAlbum"); @@ -68,7 +68,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **id** | **UUID**| The item id. | | +| **itemId** | **UUID**| The item id. | | | **userId** | **UUID**| Optional. Filter by user id, and attach user data. | [optional] | | **limit** | **Integer**| Optional. The maximum number of records to return. | [optional] | | **fields** | [**List<ItemFields>**](ItemFields.md)| Optional. Specify additional fields of information to return in the output. | [optional] | @@ -94,12 +94,13 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Instant playlist returned. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | # **getInstantMixFromArtists** -> BaseItemDtoQueryResult getInstantMixFromArtists(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes) +> BaseItemDtoQueryResult getInstantMixFromArtists(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes) Creates an instant playlist based on a given artist. @@ -116,7 +117,7 @@ import org.openapitools.client.api.InstantMixApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -125,7 +126,7 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); InstantMixApi apiInstance = new InstantMixApi(defaultClient); - UUID id = UUID.randomUUID(); // UUID | The item id. + UUID itemId = UUID.randomUUID(); // UUID | The item id. UUID userId = UUID.randomUUID(); // UUID | Optional. Filter by user id, and attach user data. Integer limit = 56; // Integer | Optional. The maximum number of records to return. List fields = Arrays.asList(); // List | Optional. Specify additional fields of information to return in the output. @@ -134,7 +135,7 @@ public class Example { Integer imageTypeLimit = 56; // Integer | Optional. The max number of images to return, per image type. List enableImageTypes = Arrays.asList(); // List | Optional. The image types to include in the output. try { - BaseItemDtoQueryResult result = apiInstance.getInstantMixFromArtists(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); + BaseItemDtoQueryResult result = apiInstance.getInstantMixFromArtists(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling InstantMixApi#getInstantMixFromArtists"); @@ -151,7 +152,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **id** | **UUID**| The item id. | | +| **itemId** | **UUID**| The item id. | | | **userId** | **UUID**| Optional. Filter by user id, and attach user data. | [optional] | | **limit** | **Integer**| Optional. The maximum number of records to return. | [optional] | | **fields** | [**List<ItemFields>**](ItemFields.md)| Optional. Specify additional fields of information to return in the output. | [optional] | @@ -177,6 +178,7 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Instant playlist returned. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | @@ -199,7 +201,7 @@ import org.openapitools.client.api.InstantMixApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -260,12 +262,13 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Instant playlist returned. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | # **getInstantMixFromItem** -> BaseItemDtoQueryResult getInstantMixFromItem(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes) +> BaseItemDtoQueryResult getInstantMixFromItem(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes) Creates an instant playlist based on a given item. @@ -282,7 +285,7 @@ import org.openapitools.client.api.InstantMixApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -291,7 +294,7 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); InstantMixApi apiInstance = new InstantMixApi(defaultClient); - UUID id = UUID.randomUUID(); // UUID | The item id. + UUID itemId = UUID.randomUUID(); // UUID | The item id. UUID userId = UUID.randomUUID(); // UUID | Optional. Filter by user id, and attach user data. Integer limit = 56; // Integer | Optional. The maximum number of records to return. List fields = Arrays.asList(); // List | Optional. Specify additional fields of information to return in the output. @@ -300,7 +303,7 @@ public class Example { Integer imageTypeLimit = 56; // Integer | Optional. The max number of images to return, per image type. List enableImageTypes = Arrays.asList(); // List | Optional. The image types to include in the output. try { - BaseItemDtoQueryResult result = apiInstance.getInstantMixFromItem(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); + BaseItemDtoQueryResult result = apiInstance.getInstantMixFromItem(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling InstantMixApi#getInstantMixFromItem"); @@ -317,7 +320,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **id** | **UUID**| The item id. | | +| **itemId** | **UUID**| The item id. | | | **userId** | **UUID**| Optional. Filter by user id, and attach user data. | [optional] | | **limit** | **Integer**| Optional. The maximum number of records to return. | [optional] | | **fields** | [**List<ItemFields>**](ItemFields.md)| Optional. Specify additional fields of information to return in the output. | [optional] | @@ -343,6 +346,7 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Instant playlist returned. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | @@ -365,7 +369,7 @@ import org.openapitools.client.api.InstantMixApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -426,6 +430,7 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Instant playlist returned. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | @@ -448,7 +453,7 @@ import org.openapitools.client.api.InstantMixApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -514,7 +519,7 @@ public class Example { # **getInstantMixFromPlaylist** -> BaseItemDtoQueryResult getInstantMixFromPlaylist(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes) +> BaseItemDtoQueryResult getInstantMixFromPlaylist(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes) Creates an instant playlist based on a given playlist. @@ -531,7 +536,7 @@ import org.openapitools.client.api.InstantMixApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -540,7 +545,7 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); InstantMixApi apiInstance = new InstantMixApi(defaultClient); - UUID id = UUID.randomUUID(); // UUID | The item id. + UUID itemId = UUID.randomUUID(); // UUID | The item id. UUID userId = UUID.randomUUID(); // UUID | Optional. Filter by user id, and attach user data. Integer limit = 56; // Integer | Optional. The maximum number of records to return. List fields = Arrays.asList(); // List | Optional. Specify additional fields of information to return in the output. @@ -549,7 +554,7 @@ public class Example { Integer imageTypeLimit = 56; // Integer | Optional. The max number of images to return, per image type. List enableImageTypes = Arrays.asList(); // List | Optional. The image types to include in the output. try { - BaseItemDtoQueryResult result = apiInstance.getInstantMixFromPlaylist(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); + BaseItemDtoQueryResult result = apiInstance.getInstantMixFromPlaylist(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling InstantMixApi#getInstantMixFromPlaylist"); @@ -566,7 +571,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **id** | **UUID**| The item id. | | +| **itemId** | **UUID**| The item id. | | | **userId** | **UUID**| Optional. Filter by user id, and attach user data. | [optional] | | **limit** | **Integer**| Optional. The maximum number of records to return. | [optional] | | **fields** | [**List<ItemFields>**](ItemFields.md)| Optional. Specify additional fields of information to return in the output. | [optional] | @@ -592,12 +597,13 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Instant playlist returned. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | # **getInstantMixFromSong** -> BaseItemDtoQueryResult getInstantMixFromSong(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes) +> BaseItemDtoQueryResult getInstantMixFromSong(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes) Creates an instant playlist based on a given song. @@ -614,7 +620,7 @@ import org.openapitools.client.api.InstantMixApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -623,7 +629,7 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); InstantMixApi apiInstance = new InstantMixApi(defaultClient); - UUID id = UUID.randomUUID(); // UUID | The item id. + UUID itemId = UUID.randomUUID(); // UUID | The item id. UUID userId = UUID.randomUUID(); // UUID | Optional. Filter by user id, and attach user data. Integer limit = 56; // Integer | Optional. The maximum number of records to return. List fields = Arrays.asList(); // List | Optional. Specify additional fields of information to return in the output. @@ -632,7 +638,7 @@ public class Example { Integer imageTypeLimit = 56; // Integer | Optional. The max number of images to return, per image type. List enableImageTypes = Arrays.asList(); // List | Optional. The image types to include in the output. try { - BaseItemDtoQueryResult result = apiInstance.getInstantMixFromSong(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); + BaseItemDtoQueryResult result = apiInstance.getInstantMixFromSong(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling InstantMixApi#getInstantMixFromSong"); @@ -649,7 +655,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **id** | **UUID**| The item id. | | +| **itemId** | **UUID**| The item id. | | | **userId** | **UUID**| Optional. Filter by user id, and attach user data. | [optional] | | **limit** | **Integer**| Optional. The maximum number of records to return. | [optional] | | **fields** | [**List<ItemFields>**](ItemFields.md)| Optional. Specify additional fields of information to return in the output. | [optional] | @@ -675,6 +681,7 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Instant playlist returned. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/IsoType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/IsoType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/IsoType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/IsoType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemCounts.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemCounts.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemCounts.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemCounts.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemFields.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemFields.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemFields.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemFields.md index ba132967f12..98f007d9b30 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemFields.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemFields.md @@ -15,6 +15,8 @@ * `CHAPTERS` (value: `"Chapters"`) +* `TRICKPLAY` (value: `"Trickplay"`) + * `CHILD_COUNT` (value: `"ChildCount"`) * `CUMULATIVE_RUN_TIME_TICKS` (value: `"CumulativeRunTimeTicks"`) @@ -75,10 +77,6 @@ * `STUDIOS` (value: `"Studios"`) -* `BASIC_SYNC_INFO` (value: `"BasicSyncInfo"`) - -* `SYNC_INFO` (value: `"SyncInfo"`) - * `TAGLINES` (value: `"Taglines"`) * `TAGS` (value: `"Tags"`) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemFilter.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemFilter.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemFilter.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemFilter.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemLookupApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemLookupApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemLookupApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemLookupApi.md index 93d52c69f93..fbee1b88289 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemLookupApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemLookupApi.md @@ -1,6 +1,6 @@ # ItemLookupApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -36,7 +36,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -80,12 +80,13 @@ null (empty response body) ### HTTP request headers - **Content-Type**: application/json, text/json, application/*+json - - **Accept**: Not defined + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **204** | Item metadata refreshed. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | @@ -108,7 +109,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -177,7 +178,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -246,7 +247,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -316,7 +317,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -385,7 +386,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -454,7 +455,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -523,7 +524,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -592,7 +593,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -661,7 +662,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -730,7 +731,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemRefreshApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemRefreshApi.md similarity index 78% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemRefreshApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemRefreshApi.md index 62d82d54360..a4297cb41fe 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemRefreshApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemRefreshApi.md @@ -1,6 +1,6 @@ # ItemRefreshApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -9,7 +9,7 @@ All URIs are relative to *http://nuc.ehrendingen:8096* # **refreshItem** -> refreshItem(itemId, metadataRefreshMode, imageRefreshMode, replaceAllMetadata, replaceAllImages) +> refreshItem(itemId, metadataRefreshMode, imageRefreshMode, replaceAllMetadata, replaceAllImages, regenerateTrickplay) Refreshes metadata for an item. @@ -26,7 +26,7 @@ import org.openapitools.client.api.ItemRefreshApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -40,8 +40,9 @@ public class Example { MetadataRefreshMode imageRefreshMode = MetadataRefreshMode.fromValue("None"); // MetadataRefreshMode | (Optional) Specifies the image refresh mode. Boolean replaceAllMetadata = false; // Boolean | (Optional) Determines if metadata should be replaced. Only applicable if mode is FullRefresh. Boolean replaceAllImages = false; // Boolean | (Optional) Determines if images should be replaced. Only applicable if mode is FullRefresh. + Boolean regenerateTrickplay = false; // Boolean | (Optional) Determines if trickplay images should be replaced. Only applicable if mode is FullRefresh. try { - apiInstance.refreshItem(itemId, metadataRefreshMode, imageRefreshMode, replaceAllMetadata, replaceAllImages); + apiInstance.refreshItem(itemId, metadataRefreshMode, imageRefreshMode, replaceAllMetadata, replaceAllImages, regenerateTrickplay); } catch (ApiException e) { System.err.println("Exception when calling ItemRefreshApi#refreshItem"); System.err.println("Status code: " + e.getCode()); @@ -58,10 +59,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **itemId** | **UUID**| Item id. | | -| **metadataRefreshMode** | [**MetadataRefreshMode**](.md)| (Optional) Specifies the metadata refresh mode. | [optional] [default to None] [enum: None, ValidationOnly, Default, FullRefresh] | -| **imageRefreshMode** | [**MetadataRefreshMode**](.md)| (Optional) Specifies the image refresh mode. | [optional] [default to None] [enum: None, ValidationOnly, Default, FullRefresh] | +| **metadataRefreshMode** | **MetadataRefreshMode**| (Optional) Specifies the metadata refresh mode. | [optional] [default to None] [enum: None, ValidationOnly, Default, FullRefresh] | +| **imageRefreshMode** | **MetadataRefreshMode**| (Optional) Specifies the image refresh mode. | [optional] [default to None] [enum: None, ValidationOnly, Default, FullRefresh] | | **replaceAllMetadata** | **Boolean**| (Optional) Determines if metadata should be replaced. Only applicable if mode is FullRefresh. | [optional] [default to false] | | **replaceAllImages** | **Boolean**| (Optional) Determines if images should be replaced. Only applicable if mode is FullRefresh. | [optional] [default to false] | +| **regenerateTrickplay** | **Boolean**| (Optional) Determines if trickplay images should be replaced. Only applicable if mode is FullRefresh. | [optional] [default to false] | ### Return type diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemSortBy.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemSortBy.md new file mode 100644 index 00000000000..cd09a56e2ce --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemSortBy.md @@ -0,0 +1,73 @@ + + +# ItemSortBy + +## Enum + + +* `DEFAULT` (value: `"Default"`) + +* `AIRED_EPISODE_ORDER` (value: `"AiredEpisodeOrder"`) + +* `ALBUM` (value: `"Album"`) + +* `ALBUM_ARTIST` (value: `"AlbumArtist"`) + +* `ARTIST` (value: `"Artist"`) + +* `DATE_CREATED` (value: `"DateCreated"`) + +* `OFFICIAL_RATING` (value: `"OfficialRating"`) + +* `DATE_PLAYED` (value: `"DatePlayed"`) + +* `PREMIERE_DATE` (value: `"PremiereDate"`) + +* `START_DATE` (value: `"StartDate"`) + +* `SORT_NAME` (value: `"SortName"`) + +* `NAME` (value: `"Name"`) + +* `RANDOM` (value: `"Random"`) + +* `RUNTIME` (value: `"Runtime"`) + +* `COMMUNITY_RATING` (value: `"CommunityRating"`) + +* `PRODUCTION_YEAR` (value: `"ProductionYear"`) + +* `PLAY_COUNT` (value: `"PlayCount"`) + +* `CRITIC_RATING` (value: `"CriticRating"`) + +* `IS_FOLDER` (value: `"IsFolder"`) + +* `IS_UNPLAYED` (value: `"IsUnplayed"`) + +* `IS_PLAYED` (value: `"IsPlayed"`) + +* `SERIES_SORT_NAME` (value: `"SeriesSortName"`) + +* `VIDEO_BIT_RATE` (value: `"VideoBitRate"`) + +* `AIR_TIME` (value: `"AirTime"`) + +* `STUDIO` (value: `"Studio"`) + +* `IS_FAVORITE_OR_LIKED` (value: `"IsFavoriteOrLiked"`) + +* `DATE_LAST_CONTENT_ADDED` (value: `"DateLastContentAdded"`) + +* `SERIES_DATE_PLAYED` (value: `"SeriesDatePlayed"`) + +* `PARENT_INDEX_NUMBER` (value: `"ParentIndexNumber"`) + +* `INDEX_NUMBER` (value: `"IndexNumber"`) + +* `SIMILARITY_SCORE` (value: `"SimilarityScore"`) + +* `SEARCH_SCORE` (value: `"SearchScore"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemUpdateApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemUpdateApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemUpdateApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemUpdateApi.md index 7372d242cd2..95ec04c2307 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemUpdateApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemUpdateApi.md @@ -1,6 +1,6 @@ # ItemUpdateApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -28,7 +28,7 @@ import org.openapitools.client.api.ItemUpdateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -98,7 +98,7 @@ import org.openapitools.client.api.ItemUpdateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -169,7 +169,7 @@ import org.openapitools.client.api.ItemUpdateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemsApi.md similarity index 51% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemsApi.md index 1dde372a7e1..4c5a2a66f41 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ItemsApi.md @@ -1,17 +1,90 @@ # ItemsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| +| [**getItemUserData**](ItemsApi.md#getItemUserData) | **GET** /UserItems/{itemId}/UserData | Get Item User Data. | | [**getItems**](ItemsApi.md#getItems) | **GET** /Items | Gets items based on a query. | -| [**getItemsByUserId**](ItemsApi.md#getItemsByUserId) | **GET** /Users/{userId}/Items | Gets items based on a query. | -| [**getResumeItems**](ItemsApi.md#getResumeItems) | **GET** /Users/{userId}/Items/Resume | Gets items based on a query. | +| [**getResumeItems**](ItemsApi.md#getResumeItems) | **GET** /UserItems/Resume | Gets items based on a query. | +| [**updateItemUserData**](ItemsApi.md#updateItemUserData) | **POST** /UserItems/{itemId}/UserData | Update Item User Data. | + +# **getItemUserData** +> UserItemDataDto getItemUserData(itemId, userId) + +Get Item User Data. + +### Example +```java +// Import classes: +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.Configuration; +import org.openapitools.client.auth.*; +import org.openapitools.client.models.*; +import org.openapitools.client.api.ItemsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + + // Configure API key authorization: CustomAuthentication + ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); + CustomAuthentication.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //CustomAuthentication.setApiKeyPrefix("Token"); + + ItemsApi apiInstance = new ItemsApi(defaultClient); + UUID itemId = UUID.randomUUID(); // UUID | The item id. + UUID userId = UUID.randomUUID(); // UUID | The user id. + try { + UserItemDataDto result = apiInstance.getItemUserData(itemId, userId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ItemsApi#getItemUserData"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **itemId** | **UUID**| The item id. | | +| **userId** | **UUID**| The user id. | [optional] | + +### Return type + +[**UserItemDataDto**](UserItemDataDto.md) + +### Authorization + +[CustomAuthentication](../README.md#CustomAuthentication) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | return item user data. | - | +| **404** | Item is not found. | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | + # **getItems** -> BaseItemDtoQueryResult getItems(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages) +> BaseItemDtoQueryResult getItems(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, indexNumber, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages) Gets items based on a query. @@ -28,7 +101,7 @@ import org.openapitools.client.api.ItemsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -37,14 +110,15 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); ItemsApi apiInstance = new ItemsApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | The user id supplied as query parameter. + UUID userId = UUID.randomUUID(); // UUID | The user id supplied as query parameter; this is required when not using an API key. String maxOfficialRating = "maxOfficialRating_example"; // String | Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). Boolean hasThemeSong = true; // Boolean | Optional filter by items with theme songs. Boolean hasThemeVideo = true; // Boolean | Optional filter by items with theme videos. Boolean hasSubtitles = true; // Boolean | Optional filter by items with subtitles. Boolean hasSpecialFeature = true; // Boolean | Optional filter by items with special features. Boolean hasTrailer = true; // Boolean | Optional filter by items with trailers. - String adjacentTo = "adjacentTo_example"; // String | Optional. Return items that are siblings of a supplied item. + UUID adjacentTo = UUID.randomUUID(); // UUID | Optional. Return items that are siblings of a supplied item. + Integer indexNumber = 56; // Integer | Optional filter by index number. Integer parentIndexNumber = 56; // Integer | Optional filter by parent index number. Boolean hasParentalRating = true; // Boolean | Optional filter by items that have or do not have a parental rating. Boolean isHd = true; // Boolean | Optional filter by items that are HD or not. @@ -60,9 +134,9 @@ public class Example { OffsetDateTime minDateLastSavedForUser = OffsetDateTime.now(); // OffsetDateTime | Optional. The minimum last saved date for the current user. Format = ISO. OffsetDateTime maxPremiereDate = OffsetDateTime.now(); // OffsetDateTime | Optional. The maximum premiere date. Format = ISO. Boolean hasOverview = true; // Boolean | Optional filter by items that have an overview or not. - Boolean hasImdbId = true; // Boolean | Optional filter by items that have an imdb id or not. - Boolean hasTmdbId = true; // Boolean | Optional filter by items that have a tmdb id or not. - Boolean hasTvdbId = true; // Boolean | Optional filter by items that have a tvdb id or not. + Boolean hasImdbId = true; // Boolean | Optional filter by items that have an IMDb id or not. + Boolean hasTmdbId = true; // Boolean | Optional filter by items that have a TMDb id or not. + Boolean hasTvdbId = true; // Boolean | Optional filter by items that have a TVDb id or not. Boolean isMovie = true; // Boolean | Optional filter for live tv movies. Boolean isSeries = true; // Boolean | Optional filter for live tv series. Boolean isNews = true; // Boolean | Optional filter for live tv news. @@ -73,16 +147,16 @@ public class Example { Integer limit = 56; // Integer | Optional. The maximum number of records to return. Boolean recursive = true; // Boolean | When searching within folders, this determines whether or not the search will be recursive. true/false. String searchTerm = "searchTerm_example"; // String | Optional. Filter based on a search term. - List sortOrder = Arrays.asList(); // List | Sort Order - Ascending,Descending. + List sortOrder = Arrays.asList(); // List | Sort Order - Ascending, Descending. UUID parentId = UUID.randomUUID(); // UUID | Specify this to localize the search to a specific item or folder. Omit to use the root. List fields = Arrays.asList(); // List | Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. List excludeItemTypes = Arrays.asList(); // List | Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. List includeItemTypes = Arrays.asList(); // List | Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. List filters = Arrays.asList(); // List | Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. Boolean isFavorite = true; // Boolean | Optional filter by items that are marked as favorite, or not. - List mediaTypes = Arrays.asList(); // List | Optional filter by MediaType. Allows multiple, comma delimited. + List mediaTypes = Arrays.asList(); // List | Optional filter by MediaType. Allows multiple, comma delimited. List imageTypes = Arrays.asList(); // List | Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. - List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. Boolean isPlayed = true; // Boolean | Optional filter by items that are played, or not. List genres = Arrays.asList(); // List | Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. List officialRatings = Arrays.asList(); // List | Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. @@ -123,7 +197,7 @@ public class Example { Boolean enableTotalRecordCount = true; // Boolean | Optional. Enable the total record count. Boolean enableImages = true; // Boolean | Optional, include image information in output. try { - BaseItemDtoQueryResult result = apiInstance.getItems(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages); + BaseItemDtoQueryResult result = apiInstance.getItems(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, indexNumber, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ItemsApi#getItems"); @@ -140,14 +214,15 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| The user id supplied as query parameter. | [optional] | +| **userId** | **UUID**| The user id supplied as query parameter; this is required when not using an API key. | [optional] | | **maxOfficialRating** | **String**| Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). | [optional] | | **hasThemeSong** | **Boolean**| Optional filter by items with theme songs. | [optional] | | **hasThemeVideo** | **Boolean**| Optional filter by items with theme videos. | [optional] | | **hasSubtitles** | **Boolean**| Optional filter by items with subtitles. | [optional] | | **hasSpecialFeature** | **Boolean**| Optional filter by items with special features. | [optional] | | **hasTrailer** | **Boolean**| Optional filter by items with trailers. | [optional] | -| **adjacentTo** | **String**| Optional. Return items that are siblings of a supplied item. | [optional] | +| **adjacentTo** | **UUID**| Optional. Return items that are siblings of a supplied item. | [optional] | +| **indexNumber** | **Integer**| Optional filter by index number. | [optional] | | **parentIndexNumber** | **Integer**| Optional filter by parent index number. | [optional] | | **hasParentalRating** | **Boolean**| Optional filter by items that have or do not have a parental rating. | [optional] | | **isHd** | **Boolean**| Optional filter by items that are HD or not. | [optional] | @@ -163,9 +238,9 @@ public class Example { | **minDateLastSavedForUser** | **OffsetDateTime**| Optional. The minimum last saved date for the current user. Format = ISO. | [optional] | | **maxPremiereDate** | **OffsetDateTime**| Optional. The maximum premiere date. Format = ISO. | [optional] | | **hasOverview** | **Boolean**| Optional filter by items that have an overview or not. | [optional] | -| **hasImdbId** | **Boolean**| Optional filter by items that have an imdb id or not. | [optional] | -| **hasTmdbId** | **Boolean**| Optional filter by items that have a tmdb id or not. | [optional] | -| **hasTvdbId** | **Boolean**| Optional filter by items that have a tvdb id or not. | [optional] | +| **hasImdbId** | **Boolean**| Optional filter by items that have an IMDb id or not. | [optional] | +| **hasTmdbId** | **Boolean**| Optional filter by items that have a TMDb id or not. | [optional] | +| **hasTvdbId** | **Boolean**| Optional filter by items that have a TVDb id or not. | [optional] | | **isMovie** | **Boolean**| Optional filter for live tv movies. | [optional] | | **isSeries** | **Boolean**| Optional filter for live tv series. | [optional] | | **isNews** | **Boolean**| Optional filter for live tv news. | [optional] | @@ -176,253 +251,16 @@ public class Example { | **limit** | **Integer**| Optional. The maximum number of records to return. | [optional] | | **recursive** | **Boolean**| When searching within folders, this determines whether or not the search will be recursive. true/false. | [optional] | | **searchTerm** | **String**| Optional. Filter based on a search term. | [optional] | -| **sortOrder** | [**List<SortOrder>**](SortOrder.md)| Sort Order - Ascending,Descending. | [optional] | +| **sortOrder** | [**List<SortOrder>**](SortOrder.md)| Sort Order - Ascending, Descending. | [optional] | | **parentId** | **UUID**| Specify this to localize the search to a specific item or folder. Omit to use the root. | [optional] | | **fields** | [**List<ItemFields>**](ItemFields.md)| Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. | [optional] | | **excludeItemTypes** | [**List<BaseItemKind>**](BaseItemKind.md)| Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. | [optional] | | **includeItemTypes** | [**List<BaseItemKind>**](BaseItemKind.md)| Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. | [optional] | | **filters** | [**List<ItemFilter>**](ItemFilter.md)| Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. | [optional] | | **isFavorite** | **Boolean**| Optional filter by items that are marked as favorite, or not. | [optional] | -| **mediaTypes** | [**List<String>**](String.md)| Optional filter by MediaType. Allows multiple, comma delimited. | [optional] | +| **mediaTypes** | [**List<MediaType>**](MediaType.md)| Optional filter by MediaType. Allows multiple, comma delimited. | [optional] | | **imageTypes** | [**List<ImageType>**](ImageType.md)| Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. | [optional] | -| **sortBy** | [**List<String>**](String.md)| Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. | [optional] | -| **isPlayed** | **Boolean**| Optional filter by items that are played, or not. | [optional] | -| **genres** | [**List<String>**](String.md)| Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. | [optional] | -| **officialRatings** | [**List<String>**](String.md)| Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. | [optional] | -| **tags** | [**List<String>**](String.md)| Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. | [optional] | -| **years** | [**List<Integer>**](Integer.md)| Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. | [optional] | -| **enableUserData** | **Boolean**| Optional, include user data. | [optional] | -| **imageTypeLimit** | **Integer**| Optional, the max number of images to return, per image type. | [optional] | -| **enableImageTypes** | [**List<ImageType>**](ImageType.md)| Optional. The image types to include in the output. | [optional] | -| **person** | **String**| Optional. If specified, results will be filtered to include only those containing the specified person. | [optional] | -| **personIds** | [**List<UUID>**](UUID.md)| Optional. If specified, results will be filtered to include only those containing the specified person id. | [optional] | -| **personTypes** | [**List<String>**](String.md)| Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. | [optional] | -| **studios** | [**List<String>**](String.md)| Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. | [optional] | -| **artists** | [**List<String>**](String.md)| Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. | [optional] | -| **excludeArtistIds** | [**List<UUID>**](UUID.md)| Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. | [optional] | -| **artistIds** | [**List<UUID>**](UUID.md)| Optional. If specified, results will be filtered to include only those containing the specified artist id. | [optional] | -| **albumArtistIds** | [**List<UUID>**](UUID.md)| Optional. If specified, results will be filtered to include only those containing the specified album artist id. | [optional] | -| **contributingArtistIds** | [**List<UUID>**](UUID.md)| Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. | [optional] | -| **albums** | [**List<String>**](String.md)| Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. | [optional] | -| **albumIds** | [**List<UUID>**](UUID.md)| Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. | [optional] | -| **ids** | [**List<UUID>**](UUID.md)| Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. | [optional] | -| **videoTypes** | [**List<VideoType>**](VideoType.md)| Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. | [optional] | -| **minOfficialRating** | **String**| Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). | [optional] | -| **isLocked** | **Boolean**| Optional filter by items that are locked. | [optional] | -| **isPlaceHolder** | **Boolean**| Optional filter by items that are placeholders. | [optional] | -| **hasOfficialRating** | **Boolean**| Optional filter by items that have official ratings. | [optional] | -| **collapseBoxSetItems** | **Boolean**| Whether or not to hide items behind their boxsets. | [optional] | -| **minWidth** | **Integer**| Optional. Filter by the minimum width of the item. | [optional] | -| **minHeight** | **Integer**| Optional. Filter by the minimum height of the item. | [optional] | -| **maxWidth** | **Integer**| Optional. Filter by the maximum width of the item. | [optional] | -| **maxHeight** | **Integer**| Optional. Filter by the maximum height of the item. | [optional] | -| **is3D** | **Boolean**| Optional filter by items that are 3D, or not. | [optional] | -| **seriesStatus** | [**List<SeriesStatus>**](SeriesStatus.md)| Optional filter by Series Status. Allows multiple, comma delimited. | [optional] | -| **nameStartsWithOrGreater** | **String**| Optional filter by items whose name is sorted equally or greater than a given input string. | [optional] | -| **nameStartsWith** | **String**| Optional filter by items whose name is sorted equally than a given input string. | [optional] | -| **nameLessThan** | **String**| Optional filter by items whose name is equally or lesser than a given input string. | [optional] | -| **studioIds** | [**List<UUID>**](UUID.md)| Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. | [optional] | -| **genreIds** | [**List<UUID>**](UUID.md)| Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. | [optional] | -| **enableTotalRecordCount** | **Boolean**| Optional. Enable the total record count. | [optional] [default to true] | -| **enableImages** | **Boolean**| Optional, include image information in output. | [optional] [default to true] | - -### Return type - -[**BaseItemDtoQueryResult**](BaseItemDtoQueryResult.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getItemsByUserId** -> BaseItemDtoQueryResult getItemsByUserId(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages) - -Gets items based on a query. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ItemsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - ItemsApi apiInstance = new ItemsApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | The user id supplied as query parameter. - String maxOfficialRating = "maxOfficialRating_example"; // String | Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). - Boolean hasThemeSong = true; // Boolean | Optional filter by items with theme songs. - Boolean hasThemeVideo = true; // Boolean | Optional filter by items with theme videos. - Boolean hasSubtitles = true; // Boolean | Optional filter by items with subtitles. - Boolean hasSpecialFeature = true; // Boolean | Optional filter by items with special features. - Boolean hasTrailer = true; // Boolean | Optional filter by items with trailers. - String adjacentTo = "adjacentTo_example"; // String | Optional. Return items that are siblings of a supplied item. - Integer parentIndexNumber = 56; // Integer | Optional filter by parent index number. - Boolean hasParentalRating = true; // Boolean | Optional filter by items that have or do not have a parental rating. - Boolean isHd = true; // Boolean | Optional filter by items that are HD or not. - Boolean is4K = true; // Boolean | Optional filter by items that are 4K or not. - List locationTypes = Arrays.asList(); // List | Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. - List excludeLocationTypes = Arrays.asList(); // List | Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. - Boolean isMissing = true; // Boolean | Optional filter by items that are missing episodes or not. - Boolean isUnaired = true; // Boolean | Optional filter by items that are unaired episodes or not. - Double minCommunityRating = 3.4D; // Double | Optional filter by minimum community rating. - Double minCriticRating = 3.4D; // Double | Optional filter by minimum critic rating. - OffsetDateTime minPremiereDate = OffsetDateTime.now(); // OffsetDateTime | Optional. The minimum premiere date. Format = ISO. - OffsetDateTime minDateLastSaved = OffsetDateTime.now(); // OffsetDateTime | Optional. The minimum last saved date. Format = ISO. - OffsetDateTime minDateLastSavedForUser = OffsetDateTime.now(); // OffsetDateTime | Optional. The minimum last saved date for the current user. Format = ISO. - OffsetDateTime maxPremiereDate = OffsetDateTime.now(); // OffsetDateTime | Optional. The maximum premiere date. Format = ISO. - Boolean hasOverview = true; // Boolean | Optional filter by items that have an overview or not. - Boolean hasImdbId = true; // Boolean | Optional filter by items that have an imdb id or not. - Boolean hasTmdbId = true; // Boolean | Optional filter by items that have a tmdb id or not. - Boolean hasTvdbId = true; // Boolean | Optional filter by items that have a tvdb id or not. - Boolean isMovie = true; // Boolean | Optional filter for live tv movies. - Boolean isSeries = true; // Boolean | Optional filter for live tv series. - Boolean isNews = true; // Boolean | Optional filter for live tv news. - Boolean isKids = true; // Boolean | Optional filter for live tv kids. - Boolean isSports = true; // Boolean | Optional filter for live tv sports. - List excludeItemIds = Arrays.asList(); // List | Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. - Integer startIndex = 56; // Integer | Optional. The record index to start at. All items with a lower index will be dropped from the results. - Integer limit = 56; // Integer | Optional. The maximum number of records to return. - Boolean recursive = true; // Boolean | When searching within folders, this determines whether or not the search will be recursive. true/false. - String searchTerm = "searchTerm_example"; // String | Optional. Filter based on a search term. - List sortOrder = Arrays.asList(); // List | Sort Order - Ascending,Descending. - UUID parentId = UUID.randomUUID(); // UUID | Specify this to localize the search to a specific item or folder. Omit to use the root. - List fields = Arrays.asList(); // List | Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. - List excludeItemTypes = Arrays.asList(); // List | Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. - List includeItemTypes = Arrays.asList(); // List | Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. - List filters = Arrays.asList(); // List | Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. - Boolean isFavorite = true; // Boolean | Optional filter by items that are marked as favorite, or not. - List mediaTypes = Arrays.asList(); // List | Optional filter by MediaType. Allows multiple, comma delimited. - List imageTypes = Arrays.asList(); // List | Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. - List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. - Boolean isPlayed = true; // Boolean | Optional filter by items that are played, or not. - List genres = Arrays.asList(); // List | Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. - List officialRatings = Arrays.asList(); // List | Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. - List tags = Arrays.asList(); // List | Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. - List years = Arrays.asList(); // List | Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. - Boolean enableUserData = true; // Boolean | Optional, include user data. - Integer imageTypeLimit = 56; // Integer | Optional, the max number of images to return, per image type. - List enableImageTypes = Arrays.asList(); // List | Optional. The image types to include in the output. - String person = "person_example"; // String | Optional. If specified, results will be filtered to include only those containing the specified person. - List personIds = Arrays.asList(); // List | Optional. If specified, results will be filtered to include only those containing the specified person id. - List personTypes = Arrays.asList(); // List | Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. - List studios = Arrays.asList(); // List | Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. - List artists = Arrays.asList(); // List | Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. - List excludeArtistIds = Arrays.asList(); // List | Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. - List artistIds = Arrays.asList(); // List | Optional. If specified, results will be filtered to include only those containing the specified artist id. - List albumArtistIds = Arrays.asList(); // List | Optional. If specified, results will be filtered to include only those containing the specified album artist id. - List contributingArtistIds = Arrays.asList(); // List | Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. - List albums = Arrays.asList(); // List | Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. - List albumIds = Arrays.asList(); // List | Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. - List ids = Arrays.asList(); // List | Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. - List videoTypes = Arrays.asList(); // List | Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. - String minOfficialRating = "minOfficialRating_example"; // String | Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). - Boolean isLocked = true; // Boolean | Optional filter by items that are locked. - Boolean isPlaceHolder = true; // Boolean | Optional filter by items that are placeholders. - Boolean hasOfficialRating = true; // Boolean | Optional filter by items that have official ratings. - Boolean collapseBoxSetItems = true; // Boolean | Whether or not to hide items behind their boxsets. - Integer minWidth = 56; // Integer | Optional. Filter by the minimum width of the item. - Integer minHeight = 56; // Integer | Optional. Filter by the minimum height of the item. - Integer maxWidth = 56; // Integer | Optional. Filter by the maximum width of the item. - Integer maxHeight = 56; // Integer | Optional. Filter by the maximum height of the item. - Boolean is3D = true; // Boolean | Optional filter by items that are 3D, or not. - List seriesStatus = Arrays.asList(); // List | Optional filter by Series Status. Allows multiple, comma delimited. - String nameStartsWithOrGreater = "nameStartsWithOrGreater_example"; // String | Optional filter by items whose name is sorted equally or greater than a given input string. - String nameStartsWith = "nameStartsWith_example"; // String | Optional filter by items whose name is sorted equally than a given input string. - String nameLessThan = "nameLessThan_example"; // String | Optional filter by items whose name is equally or lesser than a given input string. - List studioIds = Arrays.asList(); // List | Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. - List genreIds = Arrays.asList(); // List | Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. - Boolean enableTotalRecordCount = true; // Boolean | Optional. Enable the total record count. - Boolean enableImages = true; // Boolean | Optional, include image information in output. - try { - BaseItemDtoQueryResult result = apiInstance.getItemsByUserId(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ItemsApi#getItemsByUserId"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| The user id supplied as query parameter. | | -| **maxOfficialRating** | **String**| Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). | [optional] | -| **hasThemeSong** | **Boolean**| Optional filter by items with theme songs. | [optional] | -| **hasThemeVideo** | **Boolean**| Optional filter by items with theme videos. | [optional] | -| **hasSubtitles** | **Boolean**| Optional filter by items with subtitles. | [optional] | -| **hasSpecialFeature** | **Boolean**| Optional filter by items with special features. | [optional] | -| **hasTrailer** | **Boolean**| Optional filter by items with trailers. | [optional] | -| **adjacentTo** | **String**| Optional. Return items that are siblings of a supplied item. | [optional] | -| **parentIndexNumber** | **Integer**| Optional filter by parent index number. | [optional] | -| **hasParentalRating** | **Boolean**| Optional filter by items that have or do not have a parental rating. | [optional] | -| **isHd** | **Boolean**| Optional filter by items that are HD or not. | [optional] | -| **is4K** | **Boolean**| Optional filter by items that are 4K or not. | [optional] | -| **locationTypes** | [**List<LocationType>**](LocationType.md)| Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. | [optional] | -| **excludeLocationTypes** | [**List<LocationType>**](LocationType.md)| Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. | [optional] | -| **isMissing** | **Boolean**| Optional filter by items that are missing episodes or not. | [optional] | -| **isUnaired** | **Boolean**| Optional filter by items that are unaired episodes or not. | [optional] | -| **minCommunityRating** | **Double**| Optional filter by minimum community rating. | [optional] | -| **minCriticRating** | **Double**| Optional filter by minimum critic rating. | [optional] | -| **minPremiereDate** | **OffsetDateTime**| Optional. The minimum premiere date. Format = ISO. | [optional] | -| **minDateLastSaved** | **OffsetDateTime**| Optional. The minimum last saved date. Format = ISO. | [optional] | -| **minDateLastSavedForUser** | **OffsetDateTime**| Optional. The minimum last saved date for the current user. Format = ISO. | [optional] | -| **maxPremiereDate** | **OffsetDateTime**| Optional. The maximum premiere date. Format = ISO. | [optional] | -| **hasOverview** | **Boolean**| Optional filter by items that have an overview or not. | [optional] | -| **hasImdbId** | **Boolean**| Optional filter by items that have an imdb id or not. | [optional] | -| **hasTmdbId** | **Boolean**| Optional filter by items that have a tmdb id or not. | [optional] | -| **hasTvdbId** | **Boolean**| Optional filter by items that have a tvdb id or not. | [optional] | -| **isMovie** | **Boolean**| Optional filter for live tv movies. | [optional] | -| **isSeries** | **Boolean**| Optional filter for live tv series. | [optional] | -| **isNews** | **Boolean**| Optional filter for live tv news. | [optional] | -| **isKids** | **Boolean**| Optional filter for live tv kids. | [optional] | -| **isSports** | **Boolean**| Optional filter for live tv sports. | [optional] | -| **excludeItemIds** | [**List<UUID>**](UUID.md)| Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. | [optional] | -| **startIndex** | **Integer**| Optional. The record index to start at. All items with a lower index will be dropped from the results. | [optional] | -| **limit** | **Integer**| Optional. The maximum number of records to return. | [optional] | -| **recursive** | **Boolean**| When searching within folders, this determines whether or not the search will be recursive. true/false. | [optional] | -| **searchTerm** | **String**| Optional. Filter based on a search term. | [optional] | -| **sortOrder** | [**List<SortOrder>**](SortOrder.md)| Sort Order - Ascending,Descending. | [optional] | -| **parentId** | **UUID**| Specify this to localize the search to a specific item or folder. Omit to use the root. | [optional] | -| **fields** | [**List<ItemFields>**](ItemFields.md)| Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. | [optional] | -| **excludeItemTypes** | [**List<BaseItemKind>**](BaseItemKind.md)| Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. | [optional] | -| **includeItemTypes** | [**List<BaseItemKind>**](BaseItemKind.md)| Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. | [optional] | -| **filters** | [**List<ItemFilter>**](ItemFilter.md)| Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. | [optional] | -| **isFavorite** | **Boolean**| Optional filter by items that are marked as favorite, or not. | [optional] | -| **mediaTypes** | [**List<String>**](String.md)| Optional filter by MediaType. Allows multiple, comma delimited. | [optional] | -| **imageTypes** | [**List<ImageType>**](ImageType.md)| Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. | [optional] | -| **sortBy** | [**List<String>**](String.md)| Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. | [optional] | +| **sortBy** | [**List<ItemSortBy>**](ItemSortBy.md)| Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. | [optional] | | **isPlayed** | **Boolean**| Optional filter by items that are played, or not. | [optional] | | **genres** | [**List<String>**](String.md)| Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. | [optional] | | **officialRatings** | [**List<String>**](String.md)| Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. | [optional] | @@ -502,7 +340,7 @@ import org.openapitools.client.api.ItemsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -517,7 +355,7 @@ public class Example { String searchTerm = "searchTerm_example"; // String | The search term. UUID parentId = UUID.randomUUID(); // UUID | Specify this to localize the search to a specific item or folder. Omit to use the root. List fields = Arrays.asList(); // List | Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. - List mediaTypes = Arrays.asList(); // List | Optional. Filter by MediaType. Allows multiple, comma delimited. + List mediaTypes = Arrays.asList(); // List | Optional. Filter by MediaType. Allows multiple, comma delimited. Boolean enableUserData = true; // Boolean | Optional. Include user data. Integer imageTypeLimit = 56; // Integer | Optional. The max number of images to return, per image type. List enableImageTypes = Arrays.asList(); // List | Optional. The image types to include in the output. @@ -544,13 +382,13 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| The user id. | | +| **userId** | **UUID**| The user id. | [optional] | | **startIndex** | **Integer**| The start index. | [optional] | | **limit** | **Integer**| The item limit. | [optional] | | **searchTerm** | **String**| The search term. | [optional] | | **parentId** | **UUID**| Specify this to localize the search to a specific item or folder. Omit to use the root. | [optional] | | **fields** | [**List<ItemFields>**](ItemFields.md)| Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. | [optional] | -| **mediaTypes** | [**List<String>**](String.md)| Optional. Filter by MediaType. Allows multiple, comma delimited. | [optional] | +| **mediaTypes** | [**List<MediaType>**](MediaType.md)| Optional. Filter by MediaType. Allows multiple, comma delimited. | [optional] | | **enableUserData** | **Boolean**| Optional. Include user data. | [optional] | | **imageTypeLimit** | **Integer**| Optional. The max number of images to return, per image type. | [optional] | | **enableImageTypes** | [**List<ImageType>**](ImageType.md)| Optional. The image types to include in the output. | [optional] | @@ -580,3 +418,77 @@ public class Example { | **401** | Unauthorized | - | | **403** | Forbidden | - | + +# **updateItemUserData** +> UserItemDataDto updateItemUserData(itemId, updateUserItemDataDto, userId) + +Update Item User Data. + +### Example +```java +// Import classes: +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.Configuration; +import org.openapitools.client.auth.*; +import org.openapitools.client.models.*; +import org.openapitools.client.api.ItemsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + + // Configure API key authorization: CustomAuthentication + ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); + CustomAuthentication.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //CustomAuthentication.setApiKeyPrefix("Token"); + + ItemsApi apiInstance = new ItemsApi(defaultClient); + UUID itemId = UUID.randomUUID(); // UUID | The item id. + UpdateUserItemDataDto updateUserItemDataDto = new UpdateUserItemDataDto(); // UpdateUserItemDataDto | New user data object. + UUID userId = UUID.randomUUID(); // UUID | The user id. + try { + UserItemDataDto result = apiInstance.updateItemUserData(itemId, updateUserItemDataDto, userId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling ItemsApi#updateItemUserData"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **itemId** | **UUID**| The item id. | | +| **updateUserItemDataDto** | [**UpdateUserItemDataDto**](UpdateUserItemDataDto.md)| New user data object. | | +| **userId** | **UUID**| The user id. | [optional] | + +### Return type + +[**UserItemDataDto**](UserItemDataDto.md) + +### Authorization + +[CustomAuthentication](../README.md#CustomAuthentication) + +### HTTP request headers + + - **Content-Type**: application/json, text/json, application/*+json + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | return updated user item data. | - | +| **404** | Item is not found. | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/JoinGroupRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/JoinGroupRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/JoinGroupRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/JoinGroupRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/KeepUntil.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/KeepUntil.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/KeepUntil.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/KeepUntil.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LibraryApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryApi.md similarity index 93% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LibraryApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryApi.md index 1d257bf69f6..2000cd2d7d0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LibraryApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryApi.md @@ -1,6 +1,6 @@ # LibraryApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -50,7 +50,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -97,6 +97,7 @@ null (empty response body) |-------------|-------------|------------------| | **204** | Item deleted. | - | | **401** | Unauthorized access. | - | +| **404** | Item not found. | - | | **403** | Forbidden | - | @@ -118,7 +119,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -165,6 +166,7 @@ null (empty response body) |-------------|-------------|------------------| | **204** | Items deleted. | - | | **401** | Unauthorized access. | - | +| **404** | Not Found | - | | **403** | Forbidden | - | @@ -186,7 +188,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -258,7 +260,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -327,7 +329,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -397,7 +399,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -467,7 +469,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -538,7 +540,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -547,7 +549,7 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); LibraryApi apiInstance = new LibraryApi(defaultClient); - String libraryContentType = "libraryContentType_example"; // String | Library content type. + CollectionType libraryContentType = CollectionType.fromValue("unknown"); // CollectionType | Library content type. Boolean isNewLibrary = false; // Boolean | Whether this is a new library. try { LibraryOptionsResultDto result = apiInstance.getLibraryOptionsInfo(libraryContentType, isNewLibrary); @@ -567,7 +569,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **libraryContentType** | **String**| Library content type. | [optional] | +| **libraryContentType** | **CollectionType**| Library content type. | [optional] [enum: unknown, movies, tvshows, music, musicvideos, trailers, homevideos, boxsets, books, photos, livetv, playlists, folders] | | **isNewLibrary** | **Boolean**| Whether this is a new library. | [optional] [default to false] | ### Return type @@ -609,7 +611,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -678,7 +680,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -743,7 +745,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -820,7 +822,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -897,7 +899,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -974,7 +976,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1051,7 +1053,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1128,7 +1130,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1188,7 +1190,7 @@ public class Example { # **getThemeMedia** -> AllThemeMediaResult getThemeMedia(itemId, userId, inheritFromParent) +> AllThemeMediaResult getThemeMedia(itemId, userId, inheritFromParent, sortBy, sortOrder) Get theme songs and videos for an item. @@ -1205,7 +1207,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1217,8 +1219,10 @@ public class Example { UUID itemId = UUID.randomUUID(); // UUID | The item id. UUID userId = UUID.randomUUID(); // UUID | Optional. Filter by user id, and attach user data. Boolean inheritFromParent = false; // Boolean | Optional. Determines whether or not parent items should be searched for theme media. + List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + List sortOrder = Arrays.asList(); // List | Optional. Sort Order - Ascending, Descending. try { - AllThemeMediaResult result = apiInstance.getThemeMedia(itemId, userId, inheritFromParent); + AllThemeMediaResult result = apiInstance.getThemeMedia(itemId, userId, inheritFromParent, sortBy, sortOrder); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling LibraryApi#getThemeMedia"); @@ -1238,6 +1242,8 @@ public class Example { | **itemId** | **UUID**| The item id. | | | **userId** | **UUID**| Optional. Filter by user id, and attach user data. | [optional] | | **inheritFromParent** | **Boolean**| Optional. Determines whether or not parent items should be searched for theme media. | [optional] [default to false] | +| **sortBy** | [**List<ItemSortBy>**](ItemSortBy.md)| Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. | [optional] | +| **sortOrder** | [**List<SortOrder>**](SortOrder.md)| Optional. Sort Order - Ascending, Descending. | [optional] | ### Return type @@ -1262,7 +1268,7 @@ public class Example { # **getThemeSongs** -> ThemeMediaResult getThemeSongs(itemId, userId, inheritFromParent) +> ThemeMediaResult getThemeSongs(itemId, userId, inheritFromParent, sortBy, sortOrder) Get theme songs for an item. @@ -1279,7 +1285,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1291,8 +1297,10 @@ public class Example { UUID itemId = UUID.randomUUID(); // UUID | The item id. UUID userId = UUID.randomUUID(); // UUID | Optional. Filter by user id, and attach user data. Boolean inheritFromParent = false; // Boolean | Optional. Determines whether or not parent items should be searched for theme media. + List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + List sortOrder = Arrays.asList(); // List | Optional. Sort Order - Ascending, Descending. try { - ThemeMediaResult result = apiInstance.getThemeSongs(itemId, userId, inheritFromParent); + ThemeMediaResult result = apiInstance.getThemeSongs(itemId, userId, inheritFromParent, sortBy, sortOrder); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling LibraryApi#getThemeSongs"); @@ -1312,6 +1320,8 @@ public class Example { | **itemId** | **UUID**| The item id. | | | **userId** | **UUID**| Optional. Filter by user id, and attach user data. | [optional] | | **inheritFromParent** | **Boolean**| Optional. Determines whether or not parent items should be searched for theme media. | [optional] [default to false] | +| **sortBy** | [**List<ItemSortBy>**](ItemSortBy.md)| Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. | [optional] | +| **sortOrder** | [**List<SortOrder>**](SortOrder.md)| Optional. Sort Order - Ascending, Descending. | [optional] | ### Return type @@ -1336,7 +1346,7 @@ public class Example { # **getThemeVideos** -> ThemeMediaResult getThemeVideos(itemId, userId, inheritFromParent) +> ThemeMediaResult getThemeVideos(itemId, userId, inheritFromParent, sortBy, sortOrder) Get theme videos for an item. @@ -1353,7 +1363,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1365,8 +1375,10 @@ public class Example { UUID itemId = UUID.randomUUID(); // UUID | The item id. UUID userId = UUID.randomUUID(); // UUID | Optional. Filter by user id, and attach user data. Boolean inheritFromParent = false; // Boolean | Optional. Determines whether or not parent items should be searched for theme media. + List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + List sortOrder = Arrays.asList(); // List | Optional. Sort Order - Ascending, Descending. try { - ThemeMediaResult result = apiInstance.getThemeVideos(itemId, userId, inheritFromParent); + ThemeMediaResult result = apiInstance.getThemeVideos(itemId, userId, inheritFromParent, sortBy, sortOrder); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling LibraryApi#getThemeVideos"); @@ -1386,6 +1398,8 @@ public class Example { | **itemId** | **UUID**| The item id. | | | **userId** | **UUID**| Optional. Filter by user id, and attach user data. | [optional] | | **inheritFromParent** | **Boolean**| Optional. Determines whether or not parent items should be searched for theme media. | [optional] [default to false] | +| **sortBy** | [**List<ItemSortBy>**](ItemSortBy.md)| Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. | [optional] | +| **sortOrder** | [**List<SortOrder>**](SortOrder.md)| Optional. Sort Order - Ascending, Descending. | [optional] | ### Return type @@ -1427,7 +1441,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1497,7 +1511,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1565,7 +1579,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1633,7 +1647,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1703,7 +1717,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1771,7 +1785,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryChangedMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryChangedMessage.md new file mode 100644 index 00000000000..41bc346821c --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryChangedMessage.md @@ -0,0 +1,16 @@ + + +# LibraryChangedMessage + +Library changed message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**LibraryUpdateInfo**](LibraryUpdateInfo.md) | Class LibraryUpdateInfo. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LibraryOptionInfoDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryOptionInfoDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LibraryOptionInfoDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryOptionInfoDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LibraryOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryOptions.md similarity index 68% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LibraryOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryOptions.md index dc8f5ada1b7..d5a5b5a821a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LibraryOptions.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryOptions.md @@ -7,15 +7,20 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| +|**enabled** | **Boolean** | | [optional] | |**enablePhotos** | **Boolean** | | [optional] | |**enableRealtimeMonitor** | **Boolean** | | [optional] | +|**enableLUFSScan** | **Boolean** | | [optional] | |**enableChapterImageExtraction** | **Boolean** | | [optional] | |**extractChapterImagesDuringLibraryScan** | **Boolean** | | [optional] | +|**enableTrickplayImageExtraction** | **Boolean** | | [optional] | +|**extractTrickplayImagesDuringLibraryScan** | **Boolean** | | [optional] | |**pathInfos** | [**List<MediaPathInfo>**](MediaPathInfo.md) | | [optional] | |**saveLocalMetadata** | **Boolean** | | [optional] | |**enableInternetProviders** | **Boolean** | | [optional] | |**enableAutomaticSeriesGrouping** | **Boolean** | | [optional] | |**enableEmbeddedTitles** | **Boolean** | | [optional] | +|**enableEmbeddedExtrasTitles** | **Boolean** | | [optional] | |**enableEmbeddedEpisodeInfos** | **Boolean** | | [optional] | |**automaticRefreshIntervalDays** | **Integer** | | [optional] | |**preferredMetadataLanguage** | **String** | Gets or sets the preferred metadata language. | [optional] | @@ -26,11 +31,21 @@ |**localMetadataReaderOrder** | **List<String>** | | [optional] | |**disabledSubtitleFetchers** | **List<String>** | | [optional] | |**subtitleFetcherOrder** | **List<String>** | | [optional] | +|**disabledMediaSegmentProviders** | **List<String>** | | [optional] | +|**mediaSegmentProvideOrder** | **List<String>** | | [optional] | |**skipSubtitlesIfEmbeddedSubtitlesPresent** | **Boolean** | | [optional] | |**skipSubtitlesIfAudioTrackMatches** | **Boolean** | | [optional] | |**subtitleDownloadLanguages** | **List<String>** | | [optional] | |**requirePerfectSubtitleMatch** | **Boolean** | | [optional] | |**saveSubtitlesWithMedia** | **Boolean** | | [optional] | +|**saveLyricsWithMedia** | **Boolean** | | [optional] | +|**saveTrickplayWithMedia** | **Boolean** | | [optional] | +|**disabledLyricFetchers** | **List<String>** | | [optional] | +|**lyricFetcherOrder** | **List<String>** | | [optional] | +|**preferNonstandardArtistsTag** | **Boolean** | | [optional] | +|**useCustomTagDelimiters** | **Boolean** | | [optional] | +|**customTagDelimiters** | **List<String>** | | [optional] | +|**delimiterWhitelist** | **List<String>** | | [optional] | |**automaticallyAddToCollection** | **Boolean** | | [optional] | |**allowEmbeddedSubtitles** | **EmbeddedSubtitleOptions** | An enum representing the options to disable embedded subs. | [optional] | |**typeOptions** | [**List<TypeOptions>**](TypeOptions.md) | | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LibraryOptionsResultDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryOptionsResultDto.md similarity index 83% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LibraryOptionsResultDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryOptionsResultDto.md index 88ca07b312b..e23f647476d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LibraryOptionsResultDto.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryOptionsResultDto.md @@ -11,6 +11,7 @@ Library options result dto. |**metadataSavers** | [**List<LibraryOptionInfoDto>**](LibraryOptionInfoDto.md) | Gets or sets the metadata savers. | [optional] | |**metadataReaders** | [**List<LibraryOptionInfoDto>**](LibraryOptionInfoDto.md) | Gets or sets the metadata readers. | [optional] | |**subtitleFetchers** | [**List<LibraryOptionInfoDto>**](LibraryOptionInfoDto.md) | Gets or sets the subtitle fetchers. | [optional] | +|**lyricFetchers** | [**List<LibraryOptionInfoDto>**](LibraryOptionInfoDto.md) | Gets or sets the list of lyric fetchers. | [optional] | |**typeOptions** | [**List<LibraryTypeOptionsDto>**](LibraryTypeOptionsDto.md) | Gets or sets the type options. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LibraryStructureApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryStructureApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LibraryStructureApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryStructureApi.md index 98c0fb8f5d7..92444fdc320 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LibraryStructureApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryStructureApi.md @@ -1,6 +1,6 @@ # LibraryStructureApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -33,7 +33,7 @@ import org.openapitools.client.api.LibraryStructureApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -103,7 +103,7 @@ import org.openapitools.client.api.LibraryStructureApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -113,7 +113,7 @@ public class Example { LibraryStructureApi apiInstance = new LibraryStructureApi(defaultClient); String name = "name_example"; // String | The name of the virtual folder. - CollectionTypeOptions collectionType = CollectionTypeOptions.fromValue("Movies"); // CollectionTypeOptions | The type of the collection. + CollectionTypeOptions collectionType = CollectionTypeOptions.fromValue("movies"); // CollectionTypeOptions | The type of the collection. List paths = Arrays.asList(); // List | The paths of the virtual folder. Boolean refreshLibrary = false; // Boolean | Whether to refresh the library. AddVirtualFolderDto addVirtualFolderDto = new AddVirtualFolderDto(); // AddVirtualFolderDto | The library options. @@ -135,7 +135,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **name** | **String**| The name of the virtual folder. | [optional] | -| **collectionType** | [**CollectionTypeOptions**](.md)| The type of the collection. | [optional] [enum: Movies, TvShows, Music, MusicVideos, HomeVideos, BoxSets, Books, Mixed] | +| **collectionType** | **CollectionTypeOptions**| The type of the collection. | [optional] [enum: movies, tvshows, music, musicvideos, homevideos, boxsets, books, mixed] | | **paths** | [**List<String>**](String.md)| The paths of the virtual folder. | [optional] | | **refreshLibrary** | **Boolean**| Whether to refresh the library. | [optional] [default to false] | | **addVirtualFolderDto** | [**AddVirtualFolderDto**](AddVirtualFolderDto.md)| The library options. | [optional] | @@ -179,7 +179,7 @@ import org.openapitools.client.api.LibraryStructureApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -244,7 +244,7 @@ import org.openapitools.client.api.LibraryStructureApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -316,7 +316,7 @@ import org.openapitools.client.api.LibraryStructureApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -386,7 +386,7 @@ import org.openapitools.client.api.LibraryStructureApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -460,7 +460,7 @@ import org.openapitools.client.api.LibraryStructureApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -500,12 +500,13 @@ null (empty response body) ### HTTP request headers - **Content-Type**: application/json, text/json, application/*+json - - **Accept**: Not defined + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **204** | Library updated. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | @@ -528,7 +529,7 @@ import org.openapitools.client.api.LibraryStructureApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LibraryTypeOptionsDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryTypeOptionsDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LibraryTypeOptionsDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryTypeOptionsDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LibraryUpdateInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryUpdateInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LibraryUpdateInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LibraryUpdateInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ListingsProviderInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ListingsProviderInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ListingsProviderInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ListingsProviderInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LiveStreamResponse.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LiveStreamResponse.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LiveStreamResponse.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LiveStreamResponse.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LiveTvApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LiveTvApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LiveTvApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LiveTvApi.md index 967772314c8..6c674a1785a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LiveTvApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LiveTvApi.md @@ -1,6 +1,6 @@ # LiveTvApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -66,7 +66,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -141,7 +141,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -210,7 +210,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -278,7 +278,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -346,7 +346,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -414,7 +414,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -482,7 +482,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -550,7 +550,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -619,7 +619,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -687,7 +687,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -756,7 +756,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -825,7 +825,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -874,6 +874,7 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Live tv channel returned. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | @@ -896,7 +897,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -965,7 +966,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1030,7 +1031,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1099,7 +1100,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1164,7 +1165,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1238,7 +1239,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); LiveTvApi apiInstance = new LiveTvApi(defaultClient); String recordingId = "recordingId_example"; // String | Recording id. @@ -1299,7 +1300,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); LiveTvApi apiInstance = new LiveTvApi(defaultClient); String streamId = "streamId_example"; // String | Stream id. @@ -1363,7 +1364,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1389,7 +1390,7 @@ public class Example { List enableImageTypes = Arrays.asList(); // List | \"Optional. The image types to include in the output. List fields = Arrays.asList(); // List | Optional. Specify additional fields of information to return in the output. Boolean enableUserData = true; // Boolean | Optional. Include user data. - List sortBy = Arrays.asList(); // List | Optional. Key to sort by. + List sortBy = Arrays.asList(); // List | Optional. Key to sort by. SortOrder sortOrder = SortOrder.fromValue("Ascending"); // SortOrder | Optional. Sort order. Boolean enableFavoriteSorting = false; // Boolean | Optional. Incorporate favorite and like status into channel sorting. Boolean addCurrentProgram = true; // Boolean | Optional. Adds current program info to each channel. @@ -1411,7 +1412,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **type** | [**ChannelType**](.md)| Optional. Filter by channel type. | [optional] [enum: TV, Radio] | +| **type** | **ChannelType**| Optional. Filter by channel type. | [optional] [enum: TV, Radio] | | **userId** | **UUID**| Optional. Filter by user and attach user data. | [optional] | | **startIndex** | **Integer**| Optional. The record index to start at. All items with a lower index will be dropped from the results. | [optional] | | **isMovie** | **Boolean**| Optional. Filter for movies. | [optional] | @@ -1428,8 +1429,8 @@ public class Example { | **enableImageTypes** | [**List<ImageType>**](ImageType.md)| \"Optional. The image types to include in the output. | [optional] | | **fields** | [**List<ItemFields>**](ItemFields.md)| Optional. Specify additional fields of information to return in the output. | [optional] | | **enableUserData** | **Boolean**| Optional. Include user data. | [optional] | -| **sortBy** | [**List<String>**](String.md)| Optional. Key to sort by. | [optional] | -| **sortOrder** | [**SortOrder**](.md)| Optional. Sort order. | [optional] [enum: Ascending, Descending] | +| **sortBy** | [**List<ItemSortBy>**](ItemSortBy.md)| Optional. Key to sort by. | [optional] | +| **sortOrder** | **SortOrder**| Optional. Sort order. | [optional] [enum: Ascending, Descending] | | **enableFavoriteSorting** | **Boolean**| Optional. Incorporate favorite and like status into channel sorting. | [optional] [default to false] | | **addCurrentProgram** | **Boolean**| Optional. Adds current program info to each channel. | [optional] [default to true] | @@ -1472,7 +1473,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1537,7 +1538,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1561,7 +1562,7 @@ public class Example { Boolean isSports = true; // Boolean | Optional. Filter for sports. Integer startIndex = 56; // Integer | Optional. The record index to start at. All items with a lower index will be dropped from the results. Integer limit = 56; // Integer | Optional. The maximum number of records to return. - List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate. + List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate. List sortOrder = Arrays.asList(); // List | Sort Order - Ascending,Descending. List genres = Arrays.asList(); // List | The genres to return guide information for. List genreIds = Arrays.asList(); // List | The genre ids to return guide information for. @@ -1606,7 +1607,7 @@ public class Example { | **isSports** | **Boolean**| Optional. Filter for sports. | [optional] | | **startIndex** | **Integer**| Optional. The record index to start at. All items with a lower index will be dropped from the results. | [optional] | | **limit** | **Integer**| Optional. The maximum number of records to return. | [optional] | -| **sortBy** | [**List<String>**](String.md)| Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate. | [optional] | +| **sortBy** | [**List<ItemSortBy>**](ItemSortBy.md)| Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate. | [optional] | | **sortOrder** | [**List<SortOrder>**](SortOrder.md)| Sort Order - Ascending,Descending. | [optional] | | **genres** | [**List<String>**](String.md)| The genres to return guide information for. | [optional] | | **genreIds** | [**List<UUID>**](UUID.md)| The genre ids to return guide information for. | [optional] | @@ -1658,7 +1659,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1729,7 +1730,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1798,7 +1799,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1897,7 +1898,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1946,6 +1947,7 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Recording returned. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | @@ -1968,7 +1970,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2037,7 +2039,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2105,7 +2107,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2174,7 +2176,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2224,7 +2226,7 @@ public class Example { | **userId** | **UUID**| Optional. Filter by user and attach user data. | [optional] | | **startIndex** | **Integer**| Optional. The record index to start at. All items with a lower index will be dropped from the results. | [optional] | | **limit** | **Integer**| Optional. The maximum number of records to return. | [optional] | -| **status** | [**RecordingStatus**](.md)| Optional. Filter by recording status. | [optional] [enum: New, InProgress, Completed, Cancelled, ConflictedOk, ConflictedNotOk, Error] | +| **status** | **RecordingStatus**| Optional. Filter by recording status. | [optional] [enum: New, InProgress, Completed, Cancelled, ConflictedOk, ConflictedNotOk, Error] | | **isInProgress** | **Boolean**| Optional. Filter by recordings that are in progress, or not. | [optional] | | **seriesTimerId** | **String**| Optional. Filter by recordings belonging to a series timer. | [optional] | | **enableImages** | **Boolean**| Optional. Include image information in output. | [optional] | @@ -2279,7 +2281,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2325,7 +2327,7 @@ public class Example { | **groupId** | **String**| Optional. Filter by recording group. | [optional] | | **startIndex** | **Integer**| Optional. The record index to start at. All items with a lower index will be dropped from the results. | [optional] | | **limit** | **Integer**| Optional. The maximum number of records to return. | [optional] | -| **status** | [**RecordingStatus**](.md)| Optional. Filter by recording status. | [optional] [enum: New, InProgress, Completed, Cancelled, ConflictedOk, ConflictedNotOk, Error] | +| **status** | **RecordingStatus**| Optional. Filter by recording status. | [optional] [enum: New, InProgress, Completed, Cancelled, ConflictedOk, ConflictedNotOk, Error] | | **isInProgress** | **Boolean**| Optional. Filter by recordings that are in progress, or not. | [optional] | | **seriesTimerId** | **String**| Optional. Filter by recordings belonging to a series timer. | [optional] | | **enableImages** | **Boolean**| Optional. Include image information in output. | [optional] | @@ -2374,7 +2376,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2439,7 +2441,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2509,7 +2511,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2539,7 +2541,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **sortBy** | **String**| Optional. Sort by SortName or Priority. | [optional] | -| **sortOrder** | [**SortOrder**](.md)| Optional. Sort in Ascending or Descending order. | [optional] [enum: Ascending, Descending] | +| **sortOrder** | **SortOrder**| Optional. Sort in Ascending or Descending order. | [optional] [enum: Ascending, Descending] | ### Return type @@ -2580,7 +2582,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2649,7 +2651,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2724,7 +2726,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2789,7 +2791,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2857,7 +2859,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2926,7 +2928,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2996,7 +2998,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LiveTvInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LiveTvInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LiveTvInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LiveTvInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LiveTvOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LiveTvOptions.md similarity index 89% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LiveTvOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LiveTvOptions.md index e37a859ee17..13bf496ac87 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LiveTvOptions.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LiveTvOptions.md @@ -20,6 +20,8 @@ |**mediaLocationsCreated** | **List<String>** | | [optional] | |**recordingPostProcessor** | **String** | | [optional] | |**recordingPostProcessorArguments** | **String** | | [optional] | +|**saveRecordingNFO** | **Boolean** | | [optional] | +|**saveRecordingImages** | **Boolean** | | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LiveTvServiceInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LiveTvServiceInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LiveTvServiceInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LiveTvServiceInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LiveTvServiceStatus.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LiveTvServiceStatus.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LiveTvServiceStatus.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LiveTvServiceStatus.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LocalizationApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LocalizationApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LocalizationApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LocalizationApi.md index 30131190c82..2ddb03f7141 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LocalizationApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LocalizationApi.md @@ -1,6 +1,6 @@ # LocalizationApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -29,7 +29,7 @@ import org.openapitools.client.api.LocalizationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -94,7 +94,7 @@ import org.openapitools.client.api.LocalizationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -159,7 +159,7 @@ import org.openapitools.client.api.LocalizationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -224,7 +224,7 @@ import org.openapitools.client.api.LocalizationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LocalizationOption.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LocalizationOption.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LocalizationOption.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LocalizationOption.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LocationType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LocationType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LocationType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LocationType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LogFile.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LogFile.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LogFile.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LogFile.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LogLevel.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LogLevel.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LogLevel.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LogLevel.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LyricDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LyricDto.md new file mode 100644 index 00000000000..3e378d24421 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LyricDto.md @@ -0,0 +1,15 @@ + + +# LyricDto + +LyricResponse model. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**metadata** | [**LyricMetadata**](LyricMetadata.md) | Gets or sets Metadata for the lyrics. | [optional] | +|**lyrics** | [**List<LyricLine>**](LyricLine.md) | Gets or sets a collection of individual lyric lines. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LyricLine.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LyricLine.md new file mode 100644 index 00000000000..392902684ca --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LyricLine.md @@ -0,0 +1,15 @@ + + +# LyricLine + +Lyric model. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**text** | **String** | Gets the text of this lyric line. | [optional] | +|**start** | **Long** | Gets the start time in ticks. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LyricMetadata.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LyricMetadata.md new file mode 100644 index 00000000000..aa2df97d3f2 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LyricMetadata.md @@ -0,0 +1,23 @@ + + +# LyricMetadata + +LyricMetadata model. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**artist** | **String** | Gets or sets the song artist. | [optional] | +|**album** | **String** | Gets or sets the album this song is on. | [optional] | +|**title** | **String** | Gets or sets the title of the song. | [optional] | +|**author** | **String** | Gets or sets the author of the lyric data. | [optional] | +|**length** | **Long** | Gets or sets the length of the song in ticks. | [optional] | +|**by** | **String** | Gets or sets who the LRC file was created by. | [optional] | +|**offset** | **Long** | Gets or sets the lyric offset compared to audio in ticks. | [optional] | +|**creator** | **String** | Gets or sets the software used to create the LRC file. | [optional] | +|**version** | **String** | Gets or sets the version of the creator used. | [optional] | +|**isSynced** | **Boolean** | Gets or sets a value indicating whether this lyric is synced. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DlnaApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LyricsApi.md similarity index 63% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DlnaApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LyricsApi.md index 3a03fa25244..71773873e16 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DlnaApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/LyricsApi.md @@ -1,22 +1,22 @@ -# DlnaApi +# LyricsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**createProfile**](DlnaApi.md#createProfile) | **POST** /Dlna/Profiles | Creates a profile. | -| [**deleteProfile**](DlnaApi.md#deleteProfile) | **DELETE** /Dlna/Profiles/{profileId} | Deletes a profile. | -| [**getDefaultProfile**](DlnaApi.md#getDefaultProfile) | **GET** /Dlna/Profiles/Default | Gets the default profile. | -| [**getProfile**](DlnaApi.md#getProfile) | **GET** /Dlna/Profiles/{profileId} | Gets a single profile. | -| [**getProfileInfos**](DlnaApi.md#getProfileInfos) | **GET** /Dlna/ProfileInfos | Get profile infos. | -| [**updateProfile**](DlnaApi.md#updateProfile) | **POST** /Dlna/Profiles/{profileId} | Updates a profile. | +| [**deleteLyrics**](LyricsApi.md#deleteLyrics) | **DELETE** /Audio/{itemId}/Lyrics | Deletes an external lyric file. | +| [**downloadRemoteLyrics**](LyricsApi.md#downloadRemoteLyrics) | **POST** /Audio/{itemId}/RemoteSearch/Lyrics/{lyricId} | Downloads a remote lyric. | +| [**getLyrics**](LyricsApi.md#getLyrics) | **GET** /Audio/{itemId}/Lyrics | Gets an item's lyrics. | +| [**getRemoteLyrics**](LyricsApi.md#getRemoteLyrics) | **GET** /Providers/Lyrics/{lyricId} | Gets the remote lyrics. | +| [**searchRemoteLyrics**](LyricsApi.md#searchRemoteLyrics) | **GET** /Audio/{itemId}/RemoteSearch/Lyrics | Search remote lyrics. | +| [**uploadLyrics**](LyricsApi.md#uploadLyrics) | **POST** /Audio/{itemId}/Lyrics | Upload an external lyric file. | - -# **createProfile** -> createProfile(deviceProfile) + +# **deleteLyrics** +> deleteLyrics(itemId) -Creates a profile. +Deletes an external lyric file. ### Example ```java @@ -26,12 +26,12 @@ import org.openapitools.client.ApiException; import org.openapitools.client.Configuration; import org.openapitools.client.auth.*; import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaApi; +import org.openapitools.client.api.LyricsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -39,12 +39,12 @@ public class Example { // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //CustomAuthentication.setApiKeyPrefix("Token"); - DlnaApi apiInstance = new DlnaApi(defaultClient); - DeviceProfile deviceProfile = new DeviceProfile(); // DeviceProfile | Device profile. + LyricsApi apiInstance = new LyricsApi(defaultClient); + UUID itemId = UUID.randomUUID(); // UUID | The item id. try { - apiInstance.createProfile(deviceProfile); + apiInstance.deleteLyrics(itemId); } catch (ApiException e) { - System.err.println("Exception when calling DlnaApi#createProfile"); + System.err.println("Exception when calling LyricsApi#deleteLyrics"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -58,75 +58,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **deviceProfile** | [**DeviceProfile**](DeviceProfile.md)| Device profile. | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: application/json, text/json, application/*+json - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **204** | Device profile created. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **deleteProfile** -> deleteProfile(profileId) - -Deletes a profile. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - DlnaApi apiInstance = new DlnaApi(defaultClient); - String profileId = "profileId_example"; // String | Profile id. - try { - apiInstance.deleteProfile(profileId); - } catch (ApiException e) { - System.err.println("Exception when calling DlnaApi#deleteProfile"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **profileId** | **String**| Profile id. | | +| **itemId** | **UUID**| The item id. | | ### Return type @@ -144,16 +76,16 @@ null (empty response body) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **204** | Device profile deleted. | - | -| **404** | Device profile not found. | - | +| **204** | Lyric deleted. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | - -# **getDefaultProfile** -> DeviceProfile getDefaultProfile() + +# **downloadRemoteLyrics** +> LyricDto downloadRemoteLyrics(itemId, lyricId) -Gets the default profile. +Downloads a remote lyric. ### Example ```java @@ -163,12 +95,12 @@ import org.openapitools.client.ApiException; import org.openapitools.client.Configuration; import org.openapitools.client.auth.*; import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaApi; +import org.openapitools.client.api.LyricsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -176,78 +108,14 @@ public class Example { // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //CustomAuthentication.setApiKeyPrefix("Token"); - DlnaApi apiInstance = new DlnaApi(defaultClient); + LyricsApi apiInstance = new LyricsApi(defaultClient); + UUID itemId = UUID.randomUUID(); // UUID | The item id. + String lyricId = "lyricId_example"; // String | The lyric id. try { - DeviceProfile result = apiInstance.getDefaultProfile(); + LyricDto result = apiInstance.downloadRemoteLyrics(itemId, lyricId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DlnaApi#getDefaultProfile"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**DeviceProfile**](DeviceProfile.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Default device profile returned. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getProfile** -> DeviceProfile getProfile(profileId) - -Gets a single profile. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - DlnaApi apiInstance = new DlnaApi(defaultClient); - String profileId = "profileId_example"; // String | Profile Id. - try { - DeviceProfile result = apiInstance.getProfile(profileId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling DlnaApi#getProfile"); + System.err.println("Exception when calling LyricsApi#downloadRemoteLyrics"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -261,11 +129,12 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **profileId** | **String**| Profile Id. | | +| **itemId** | **UUID**| The item id. | | +| **lyricId** | **String**| The lyric id. | | ### Return type -[**DeviceProfile**](DeviceProfile.md) +[**LyricDto**](LyricDto.md) ### Authorization @@ -279,16 +148,16 @@ public class Example { ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Device profile returned. | - | -| **404** | Device profile not found. | - | +| **200** | Lyric downloaded. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | - -# **getProfileInfos** -> List<DeviceProfileInfo> getProfileInfos() + +# **getLyrics** +> LyricDto getLyrics(itemId) -Get profile infos. +Gets an item's lyrics. ### Example ```java @@ -298,12 +167,12 @@ import org.openapitools.client.ApiException; import org.openapitools.client.Configuration; import org.openapitools.client.auth.*; import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaApi; +import org.openapitools.client.api.LyricsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -311,78 +180,13 @@ public class Example { // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //CustomAuthentication.setApiKeyPrefix("Token"); - DlnaApi apiInstance = new DlnaApi(defaultClient); + LyricsApi apiInstance = new LyricsApi(defaultClient); + UUID itemId = UUID.randomUUID(); // UUID | Item id. try { - List result = apiInstance.getProfileInfos(); + LyricDto result = apiInstance.getLyrics(itemId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling DlnaApi#getProfileInfos"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**List<DeviceProfileInfo>**](DeviceProfileInfo.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Device profile infos returned. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **updateProfile** -> updateProfile(profileId, deviceProfile) - -Updates a profile. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - DlnaApi apiInstance = new DlnaApi(defaultClient); - String profileId = "profileId_example"; // String | Profile id. - DeviceProfile deviceProfile = new DeviceProfile(); // DeviceProfile | Device profile. - try { - apiInstance.updateProfile(profileId, deviceProfile); - } catch (ApiException e) { - System.err.println("Exception when calling DlnaApi#updateProfile"); + System.err.println("Exception when calling LyricsApi#getLyrics"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -396,12 +200,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **profileId** | **String**| Profile id. | | -| **deviceProfile** | [**DeviceProfile**](DeviceProfile.md)| Device profile. | [optional] | +| **itemId** | **UUID**| Item id. | | ### Return type -null (empty response body) +[**LyricDto**](LyricDto.md) ### Authorization @@ -409,14 +212,229 @@ null (empty response body) ### HTTP request headers - - **Content-Type**: application/json, text/json, application/*+json + - **Content-Type**: Not defined - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **204** | Device profile updated. | - | -| **404** | Device profile not found. | - | +| **200** | Lyrics returned. | - | +| **404** | Something went wrong. No Lyrics will be returned. | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | + + +# **getRemoteLyrics** +> LyricDto getRemoteLyrics(lyricId) + +Gets the remote lyrics. + +### Example +```java +// Import classes: +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.Configuration; +import org.openapitools.client.auth.*; +import org.openapitools.client.models.*; +import org.openapitools.client.api.LyricsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + + // Configure API key authorization: CustomAuthentication + ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); + CustomAuthentication.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //CustomAuthentication.setApiKeyPrefix("Token"); + + LyricsApi apiInstance = new LyricsApi(defaultClient); + String lyricId = "lyricId_example"; // String | The remote provider item id. + try { + LyricDto result = apiInstance.getRemoteLyrics(lyricId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling LyricsApi#getRemoteLyrics"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **lyricId** | **String**| The remote provider item id. | | + +### Return type + +[**LyricDto**](LyricDto.md) + +### Authorization + +[CustomAuthentication](../README.md#CustomAuthentication) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | File returned. | - | +| **404** | Lyric not found. | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | + + +# **searchRemoteLyrics** +> List<RemoteLyricInfoDto> searchRemoteLyrics(itemId) + +Search remote lyrics. + +### Example +```java +// Import classes: +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.Configuration; +import org.openapitools.client.auth.*; +import org.openapitools.client.models.*; +import org.openapitools.client.api.LyricsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + + // Configure API key authorization: CustomAuthentication + ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); + CustomAuthentication.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //CustomAuthentication.setApiKeyPrefix("Token"); + + LyricsApi apiInstance = new LyricsApi(defaultClient); + UUID itemId = UUID.randomUUID(); // UUID | The item id. + try { + List result = apiInstance.searchRemoteLyrics(itemId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling LyricsApi#searchRemoteLyrics"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **itemId** | **UUID**| The item id. | | + +### Return type + +[**List<RemoteLyricInfoDto>**](RemoteLyricInfoDto.md) + +### Authorization + +[CustomAuthentication](../README.md#CustomAuthentication) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Lyrics retrieved. | - | +| **404** | Item not found. | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | + + +# **uploadLyrics** +> LyricDto uploadLyrics(itemId, fileName, body) + +Upload an external lyric file. + +### Example +```java +// Import classes: +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.Configuration; +import org.openapitools.client.auth.*; +import org.openapitools.client.models.*; +import org.openapitools.client.api.LyricsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + + // Configure API key authorization: CustomAuthentication + ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); + CustomAuthentication.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //CustomAuthentication.setApiKeyPrefix("Token"); + + LyricsApi apiInstance = new LyricsApi(defaultClient); + UUID itemId = UUID.randomUUID(); // UUID | The item the lyric belongs to. + String fileName = "fileName_example"; // String | Name of the file being uploaded. + File body = new File("/path/to/file"); // File | + try { + LyricDto result = apiInstance.uploadLyrics(itemId, fileName, body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling LyricsApi#uploadLyrics"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **itemId** | **UUID**| The item the lyric belongs to. | | +| **fileName** | **String**| Name of the file being uploaded. | | +| **body** | **File**| | [optional] | + +### Return type + +[**LyricDto**](LyricDto.md) + +### Authorization + +[CustomAuthentication](../README.md#CustomAuthentication) + +### HTTP request headers + + - **Content-Type**: text/plain + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Lyrics uploaded. | - | +| **400** | Error processing upload. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaAttachment.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaAttachment.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaAttachment.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaAttachment.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaInfoApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaInfoApi.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaInfoApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaInfoApi.md index bb26b6b2864..d37f770f76b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaInfoApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaInfoApi.md @@ -1,6 +1,6 @@ # MediaInfoApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -30,7 +30,7 @@ import org.openapitools.client.api.MediaInfoApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -98,7 +98,7 @@ import org.openapitools.client.api.MediaInfoApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -167,7 +167,7 @@ import org.openapitools.client.api.MediaInfoApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -197,7 +197,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **itemId** | **UUID**| The item id. | | -| **userId** | **UUID**| The user id. | | +| **userId** | **UUID**| The user id. | [optional] | ### Return type @@ -216,6 +216,7 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Playback info returned. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | @@ -240,7 +241,7 @@ import org.openapitools.client.api.MediaInfoApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -317,12 +318,13 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Playback info returned. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | # **openLiveStream** -> LiveStreamResponse openLiveStream(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, openLiveStreamDto) +> LiveStreamResponse openLiveStream(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, alwaysBurnInSubtitleWhenTranscoding, openLiveStreamDto) Opens a media source. @@ -339,7 +341,7 @@ import org.openapitools.client.api.MediaInfoApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -359,9 +361,10 @@ public class Example { UUID itemId = UUID.randomUUID(); // UUID | The item id. Boolean enableDirectPlay = true; // Boolean | Whether to enable direct play. Default: true. Boolean enableDirectStream = true; // Boolean | Whether to enable direct stream. Default: true. + Boolean alwaysBurnInSubtitleWhenTranscoding = true; // Boolean | Always burn-in subtitle when transcoding. OpenLiveStreamDto openLiveStreamDto = new OpenLiveStreamDto(); // OpenLiveStreamDto | The open live stream dto. try { - LiveStreamResponse result = apiInstance.openLiveStream(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, openLiveStreamDto); + LiveStreamResponse result = apiInstance.openLiveStream(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, alwaysBurnInSubtitleWhenTranscoding, openLiveStreamDto); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling MediaInfoApi#openLiveStream"); @@ -389,6 +392,7 @@ public class Example { | **itemId** | **UUID**| The item id. | [optional] | | **enableDirectPlay** | **Boolean**| Whether to enable direct play. Default: true. | [optional] | | **enableDirectStream** | **Boolean**| Whether to enable direct stream. Default: true. | [optional] | +| **alwaysBurnInSubtitleWhenTranscoding** | **Boolean**| Always burn-in subtitle when transcoding. | [optional] | | **openLiveStreamDto** | [**OpenLiveStreamDto**](OpenLiveStreamDto.md)| The open live stream dto. | [optional] | ### Return type diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaPathDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaPathDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaPathDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaPathDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaPathInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaPathInfo.md similarity index 78% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaPathInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaPathInfo.md index e3f828be989..927dc8cfac2 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaPathInfo.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaPathInfo.md @@ -8,7 +8,6 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**path** | **String** | | [optional] | -|**networkPath** | **String** | | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaProtocol.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaProtocol.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaProtocol.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaProtocol.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaSegmentDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaSegmentDto.md new file mode 100644 index 00000000000..93bf630c630 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaSegmentDto.md @@ -0,0 +1,18 @@ + + +# MediaSegmentDto + +Api model for MediaSegment's. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | Gets or sets the id of the media segment. | [optional] | +|**itemId** | **UUID** | Gets or sets the id of the associated item. | [optional] | +|**type** | **MediaSegmentType** | Defines the types of content an individual Jellyfin.Data.Entities.MediaSegment represents. | [optional] | +|**startTicks** | **Long** | Gets or sets the start of the segment. | [optional] | +|**endTicks** | **Long** | Gets or sets the end of the segment. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaSegmentDtoQueryResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaSegmentDtoQueryResult.md new file mode 100644 index 00000000000..29ad7959e14 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaSegmentDtoQueryResult.md @@ -0,0 +1,16 @@ + + +# MediaSegmentDtoQueryResult + +Query result container. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**items** | [**List<MediaSegmentDto>**](MediaSegmentDto.md) | Gets or sets the items. | [optional] | +|**totalRecordCount** | **Integer** | Gets or sets the total number of records available. | [optional] | +|**startIndex** | **Integer** | Gets or sets the index of the first record in Items. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaSegmentType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaSegmentType.md new file mode 100644 index 00000000000..c8e2fb3ae9a --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaSegmentType.md @@ -0,0 +1,21 @@ + + +# MediaSegmentType + +## Enum + + +* `UNKNOWN` (value: `"Unknown"`) + +* `COMMERCIAL` (value: `"Commercial"`) + +* `PREVIEW` (value: `"Preview"`) + +* `RECAP` (value: `"Recap"`) + +* `OUTRO` (value: `"Outro"`) + +* `INTRO` (value: `"Intro"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/OpenSubtitlesApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaSegmentsApi.md similarity index 54% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/OpenSubtitlesApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaSegmentsApi.md index 19dcd97cc51..ffc0025918a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/OpenSubtitlesApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaSegmentsApi.md @@ -1,17 +1,17 @@ -# OpenSubtitlesApi +# MediaSegmentsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**validateLoginInfo**](OpenSubtitlesApi.md#validateLoginInfo) | **POST** /Jellyfin.Plugin.OpenSubtitles/ValidateLoginInfo | | +| [**getItemSegments**](MediaSegmentsApi.md#getItemSegments) | **GET** /MediaSegments/{itemId} | Gets all media segments based on an itemId. | - -# **validateLoginInfo** -> validateLoginInfo(loginInfoInput) - + +# **getItemSegments** +> MediaSegmentDtoQueryResult getItemSegments(itemId, includeSegmentTypes) +Gets all media segments based on an itemId. ### Example ```java @@ -21,12 +21,12 @@ import org.openapitools.client.ApiException; import org.openapitools.client.Configuration; import org.openapitools.client.auth.*; import org.openapitools.client.models.*; -import org.openapitools.client.api.OpenSubtitlesApi; +import org.openapitools.client.api.MediaSegmentsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -34,12 +34,14 @@ public class Example { // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //CustomAuthentication.setApiKeyPrefix("Token"); - OpenSubtitlesApi apiInstance = new OpenSubtitlesApi(defaultClient); - LoginInfoInput loginInfoInput = new LoginInfoInput(); // LoginInfoInput | + MediaSegmentsApi apiInstance = new MediaSegmentsApi(defaultClient); + UUID itemId = UUID.randomUUID(); // UUID | The ItemId. + List includeSegmentTypes = Arrays.asList(); // List | Optional filter of requested segment types. try { - apiInstance.validateLoginInfo(loginInfoInput); + MediaSegmentDtoQueryResult result = apiInstance.getItemSegments(itemId, includeSegmentTypes); + System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling OpenSubtitlesApi#validateLoginInfo"); + System.err.println("Exception when calling MediaSegmentsApi#getItemSegments"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -53,11 +55,12 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **loginInfoInput** | [**LoginInfoInput**](LoginInfoInput.md)| | [optional] | +| **itemId** | **UUID**| The ItemId. | | +| **includeSegmentTypes** | [**List<MediaSegmentType>**](MediaSegmentType.md)| Optional filter of requested segment types. | [optional] | ### Return type -null (empty response body) +[**MediaSegmentDtoQueryResult**](MediaSegmentDtoQueryResult.md) ### Authorization @@ -65,14 +68,14 @@ null (empty response body) ### HTTP request headers - - **Content-Type**: application/json, text/json, application/*+json - - **Accept**: application/json + - **Content-Type**: Not defined + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Success | - | -| **400** | Bad Request | - | +| **404** | Not Found | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaSourceInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaSourceInfo.md similarity index 88% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaSourceInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaSourceInfo.md index 799c8ebf353..c584762d972 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaSourceInfo.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaSourceInfo.md @@ -27,6 +27,7 @@ |**supportsDirectStream** | **Boolean** | | [optional] | |**supportsDirectPlay** | **Boolean** | | [optional] | |**isInfiniteStream** | **Boolean** | | [optional] | +|**useMostCompatibleTranscodingProfile** | **Boolean** | | [optional] | |**requiresOpening** | **Boolean** | | [optional] | |**openToken** | **String** | | [optional] | |**requiresClosing** | **Boolean** | | [optional] | @@ -41,14 +42,16 @@ |**mediaAttachments** | [**List<MediaAttachment>**](MediaAttachment.md) | | [optional] | |**formats** | **List<String>** | | [optional] | |**bitrate** | **Integer** | | [optional] | +|**fallbackMaxStreamingBitrate** | **Integer** | | [optional] | |**timestamp** | **TransportStreamTimestamp** | | [optional] | |**requiredHttpHeaders** | **Map<String, String>** | | [optional] | |**transcodingUrl** | **String** | | [optional] | -|**transcodingSubProtocol** | **String** | | [optional] | +|**transcodingSubProtocol** | **MediaStreamProtocol** | Media streaming protocol. Lowercase for backwards compatibility. | [optional] | |**transcodingContainer** | **String** | | [optional] | |**analyzeDurationMs** | **Integer** | | [optional] | |**defaultAudioStreamIndex** | **Integer** | | [optional] | |**defaultSubtitleStreamIndex** | **Integer** | | [optional] | +|**hasSegments** | **Boolean** | | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaSourceType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaSourceType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaSourceType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaSourceType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaStream.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaStream.md similarity index 85% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaStream.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaStream.md index 93cb1c59207..0c341942e21 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaStream.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaStream.md @@ -23,17 +23,20 @@ Class MediaStream. |**elPresentFlag** | **Integer** | Gets or sets the Dolby Vision el present flag. | [optional] | |**blPresentFlag** | **Integer** | Gets or sets the Dolby Vision bl present flag. | [optional] | |**dvBlSignalCompatibilityId** | **Integer** | Gets or sets the Dolby Vision bl signal compatibility id. | [optional] | +|**rotation** | **Integer** | Gets or sets the Rotation in degrees. | [optional] | |**comment** | **String** | Gets or sets the comment. | [optional] | |**timeBase** | **String** | Gets or sets the time base. | [optional] | |**codecTimeBase** | **String** | Gets or sets the codec time base. | [optional] | |**title** | **String** | Gets or sets the title. | [optional] | -|**videoRange** | **String** | Gets the video range. | [optional] [readonly] | -|**videoRangeType** | **String** | Gets the video range type. | [optional] [readonly] | +|**videoRange** | **VideoRange** | An enum representing video ranges. | [optional] [readonly] | +|**videoRangeType** | **VideoRangeType** | An enum representing types of video ranges. | [optional] [readonly] | |**videoDoViTitle** | **String** | Gets the video dovi title. | [optional] [readonly] | +|**audioSpatialFormat** | **AudioSpatialFormat** | An enum representing formats of spatial audio. | [optional] [readonly] | |**localizedUndefined** | **String** | | [optional] | |**localizedDefault** | **String** | | [optional] | |**localizedForced** | **String** | | [optional] | |**localizedExternal** | **String** | | [optional] | +|**localizedHearingImpaired** | **String** | | [optional] | |**displayTitle** | **String** | | [optional] [readonly] | |**nalLengthSize** | **String** | | [optional] | |**isInterlaced** | **Boolean** | Gets or sets a value indicating whether this instance is interlaced. | [optional] | @@ -47,10 +50,12 @@ Class MediaStream. |**sampleRate** | **Integer** | Gets or sets the sample rate. | [optional] | |**isDefault** | **Boolean** | Gets or sets a value indicating whether this instance is default. | [optional] | |**isForced** | **Boolean** | Gets or sets a value indicating whether this instance is forced. | [optional] | +|**isHearingImpaired** | **Boolean** | Gets or sets a value indicating whether this instance is for the hearing impaired. | [optional] | |**height** | **Integer** | Gets or sets the height. | [optional] | |**width** | **Integer** | Gets or sets the width. | [optional] | |**averageFrameRate** | **Float** | Gets or sets the average frame rate. | [optional] | |**realFrameRate** | **Float** | Gets or sets the real frame rate. | [optional] | +|**referenceFrameRate** | **Float** | Gets the framerate used as reference. Prefer AverageFrameRate, if that is null or an unrealistic value then fallback to RealFrameRate. | [optional] [readonly] | |**profile** | **String** | Gets or sets the profile. | [optional] | |**type** | **MediaStreamType** | Gets or sets the type. | [optional] | |**aspectRatio** | **String** | Gets or sets the aspect ratio. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaStreamProtocol.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaStreamProtocol.md new file mode 100644 index 00000000000..cbd84b77724 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaStreamProtocol.md @@ -0,0 +1,13 @@ + + +# MediaStreamProtocol + +## Enum + + +* `HTTP` (value: `"http"`) + +* `HLS` (value: `"hls"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaStreamType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaStreamType.md similarity index 87% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaStreamType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaStreamType.md index d16743d2ee1..2ca0ca0e6e1 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaStreamType.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaStreamType.md @@ -15,5 +15,7 @@ * `DATA` (value: `"Data"`) +* `LYRIC` (value: `"Lyric"`) + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaType.md new file mode 100644 index 00000000000..d5e2f87a30b --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaType.md @@ -0,0 +1,19 @@ + + +# MediaType + +## Enum + + +* `UNKNOWN` (value: `"Unknown"`) + +* `VIDEO` (value: `"Video"`) + +* `AUDIO` (value: `"Audio"`) + +* `PHOTO` (value: `"Photo"`) + +* `BOOK` (value: `"Book"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaUpdateInfoDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaUpdateInfoDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaUpdateInfoDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaUpdateInfoDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaUpdateInfoPathDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaUpdateInfoPathDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaUpdateInfoPathDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaUpdateInfoPathDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaUrl.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaUrl.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaUrl.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MediaUrl.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MessageCommand.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MessageCommand.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MessageCommand.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MessageCommand.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MetadataConfiguration.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MetadataConfiguration.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MetadataConfiguration.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MetadataConfiguration.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MetadataEditorInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MetadataEditorInfo.md similarity index 91% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MetadataEditorInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MetadataEditorInfo.md index 895484c43f8..9e64132debc 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MetadataEditorInfo.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MetadataEditorInfo.md @@ -11,7 +11,7 @@ |**countries** | [**List<CountryInfo>**](CountryInfo.md) | | [optional] | |**cultures** | [**List<CultureDto>**](CultureDto.md) | | [optional] | |**externalIdInfos** | [**List<ExternalIdInfo>**](ExternalIdInfo.md) | | [optional] | -|**contentType** | **String** | | [optional] | +|**contentType** | **CollectionType** | | [optional] | |**contentTypeOptions** | [**List<NameValuePair>**](NameValuePair.md) | | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MetadataField.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MetadataField.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MetadataField.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MetadataField.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MetadataOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MetadataOptions.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MetadataOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MetadataOptions.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MetadataRefreshMode.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MetadataRefreshMode.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MetadataRefreshMode.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MetadataRefreshMode.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MovePlaylistItemRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MovePlaylistItemRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MovePlaylistItemRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MovePlaylistItemRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MovieInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MovieInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MovieInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MovieInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MovieInfoRemoteSearchQuery.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MovieInfoRemoteSearchQuery.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MovieInfoRemoteSearchQuery.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MovieInfoRemoteSearchQuery.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MoviesApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MoviesApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MoviesApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MoviesApi.md index c28fb439b58..b30a6c4a4ca 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MoviesApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MoviesApi.md @@ -1,6 +1,6 @@ # MoviesApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -26,7 +26,7 @@ import org.openapitools.client.api.MoviesApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MusicGenresApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MusicGenresApi.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MusicGenresApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MusicGenresApi.md index 0c3d6863711..6405de6880c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MusicGenresApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MusicGenresApi.md @@ -1,6 +1,6 @@ # MusicGenresApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -27,7 +27,7 @@ import org.openapitools.client.api.MusicGenresApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -98,7 +98,7 @@ import org.openapitools.client.api.MusicGenresApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -121,7 +121,7 @@ public class Example { String nameStartsWithOrGreater = "nameStartsWithOrGreater_example"; // String | Optional filter by items whose name is sorted equally or greater than a given input string. String nameStartsWith = "nameStartsWith_example"; // String | Optional filter by items whose name is sorted equally than a given input string. String nameLessThan = "nameLessThan_example"; // String | Optional filter by items whose name is equally or lesser than a given input string. - List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. + List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. List sortOrder = Arrays.asList(); // List | Sort Order - Ascending,Descending. Boolean enableImages = true; // Boolean | Optional, include image information in output. Boolean enableTotalRecordCount = true; // Boolean | Optional. Include total record count. @@ -157,7 +157,7 @@ public class Example { | **nameStartsWithOrGreater** | **String**| Optional filter by items whose name is sorted equally or greater than a given input string. | [optional] | | **nameStartsWith** | **String**| Optional filter by items whose name is sorted equally than a given input string. | [optional] | | **nameLessThan** | **String**| Optional filter by items whose name is equally or lesser than a given input string. | [optional] | -| **sortBy** | [**List<String>**](String.md)| Optional. Specify one or more sort orders, comma delimited. | [optional] | +| **sortBy** | [**List<ItemSortBy>**](ItemSortBy.md)| Optional. Specify one or more sort orders, comma delimited. | [optional] | | **sortOrder** | [**List<SortOrder>**](SortOrder.md)| Sort Order - Ascending,Descending. | [optional] | | **enableImages** | **Boolean**| Optional, include image information in output. | [optional] [default to true] | | **enableTotalRecordCount** | **Boolean**| Optional. Include total record count. | [optional] [default to true] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MusicVideoInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MusicVideoInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MusicVideoInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MusicVideoInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MusicVideoInfoRemoteSearchQuery.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MusicVideoInfoRemoteSearchQuery.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MusicVideoInfoRemoteSearchQuery.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/MusicVideoInfoRemoteSearchQuery.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NameGuidPair.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/NameGuidPair.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NameGuidPair.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/NameGuidPair.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NameIdPair.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/NameIdPair.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NameIdPair.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/NameIdPair.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NameValuePair.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/NameValuePair.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NameValuePair.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/NameValuePair.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/NetworkConfiguration.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/NetworkConfiguration.md new file mode 100644 index 00000000000..18f9c6a84bb --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/NetworkConfiguration.md @@ -0,0 +1,36 @@ + + +# NetworkConfiguration + +Defines the MediaBrowser.Common.Net.NetworkConfiguration. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**baseUrl** | **String** | Gets or sets a value used to specify the URL prefix that your Jellyfin instance can be accessed at. | [optional] | +|**enableHttps** | **Boolean** | Gets or sets a value indicating whether to use HTTPS. | [optional] | +|**requireHttps** | **Boolean** | Gets or sets a value indicating whether the server should force connections over HTTPS. | [optional] | +|**certificatePath** | **String** | Gets or sets the filesystem path of an X.509 certificate to use for SSL. | [optional] | +|**certificatePassword** | **String** | Gets or sets the password required to access the X.509 certificate data in the file specified by MediaBrowser.Common.Net.NetworkConfiguration.CertificatePath. | [optional] | +|**internalHttpPort** | **Integer** | Gets or sets the internal HTTP server port. | [optional] | +|**internalHttpsPort** | **Integer** | Gets or sets the internal HTTPS server port. | [optional] | +|**publicHttpPort** | **Integer** | Gets or sets the public HTTP port. | [optional] | +|**publicHttpsPort** | **Integer** | Gets or sets the public HTTPS port. | [optional] | +|**autoDiscovery** | **Boolean** | Gets or sets a value indicating whether Autodiscovery is enabled. | [optional] | +|**enableUPnP** | **Boolean** | Gets or sets a value indicating whether to enable automatic port forwarding. | [optional] | +|**enableIPv4** | **Boolean** | Gets or sets a value indicating whether IPv6 is enabled. | [optional] | +|**enableIPv6** | **Boolean** | Gets or sets a value indicating whether IPv6 is enabled. | [optional] | +|**enableRemoteAccess** | **Boolean** | Gets or sets a value indicating whether access from outside of the LAN is permitted. | [optional] | +|**localNetworkSubnets** | **List<String>** | Gets or sets the subnets that are deemed to make up the LAN. | [optional] | +|**localNetworkAddresses** | **List<String>** | Gets or sets the interface addresses which Jellyfin will bind to. If empty, all interfaces will be used. | [optional] | +|**knownProxies** | **List<String>** | Gets or sets the known proxies. | [optional] | +|**ignoreVirtualInterfaces** | **Boolean** | Gets or sets a value indicating whether address names that match MediaBrowser.Common.Net.NetworkConfiguration.VirtualInterfaceNames should be ignored for the purposes of binding. | [optional] | +|**virtualInterfaceNames** | **List<String>** | Gets or sets a value indicating the interface name prefixes that should be ignored. The list can be comma separated and values are case-insensitive. <seealso cref=\"P:MediaBrowser.Common.Net.NetworkConfiguration.IgnoreVirtualInterfaces\" />. | [optional] | +|**enablePublishedServerUriByRequest** | **Boolean** | Gets or sets a value indicating whether the published server uri is based on information in HTTP requests. | [optional] | +|**publishedServerUriBySubnet** | **List<String>** | Gets or sets the PublishedServerUriBySubnet Gets or sets PublishedServerUri to advertise for specific subnets. | [optional] | +|**remoteIPFilter** | **List<String>** | Gets or sets the filter for remote IP connectivity. Used in conjunction with <seealso cref=\"P:MediaBrowser.Common.Net.NetworkConfiguration.IsRemoteIPFilterBlacklist\" />. | [optional] | +|**isRemoteIPFilterBlacklist** | **Boolean** | Gets or sets a value indicating whether <seealso cref=\"P:MediaBrowser.Common.Net.NetworkConfiguration.RemoteIPFilter\" /> contains a blacklist or a whitelist. Default is a whitelist. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NewGroupRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/NewGroupRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NewGroupRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/NewGroupRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NextItemRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/NextItemRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NextItemRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/NextItemRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/OpenLiveStreamDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/OpenLiveStreamDto.md similarity index 89% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/OpenLiveStreamDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/OpenLiveStreamDto.md index 40960590152..e099f166edf 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/OpenLiveStreamDto.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/OpenLiveStreamDto.md @@ -19,6 +19,7 @@ Open live stream dto. |**itemId** | **UUID** | Gets or sets the item id. | [optional] | |**enableDirectPlay** | **Boolean** | Gets or sets a value indicating whether to enable direct play. | [optional] | |**enableDirectStream** | **Boolean** | Gets or sets a value indicating whether to enale direct stream. | [optional] | +|**alwaysBurnInSubtitleWhenTranscoding** | **Boolean** | Gets or sets a value indicating whether always burn in subtitles when transcoding. | [optional] | |**deviceProfile** | [**DeviceProfile**](DeviceProfile.md) | Gets or sets the device profile. | [optional] | |**directPlayProtocols** | **List<MediaProtocol>** | Gets or sets the device play protocols. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/OutboundKeepAliveMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/OutboundKeepAliveMessage.md new file mode 100644 index 00000000000..51779bc4390 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/OutboundKeepAliveMessage.md @@ -0,0 +1,15 @@ + + +# OutboundKeepAliveMessage + +Keep alive websocket messages. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/OutboundWebSocketMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/OutboundWebSocketMessage.md new file mode 100644 index 00000000000..f838ebe2d1c --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/OutboundWebSocketMessage.md @@ -0,0 +1,16 @@ + + +# OutboundWebSocketMessage + +Represents the list of possible outbound websocket types + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**UserDto**](UserDto.md) | Class UserDto. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PackageApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PackageApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PackageApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PackageApi.md index dee9fb9558b..0de884e7b16 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PackageApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PackageApi.md @@ -1,6 +1,6 @@ # PackageApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -31,7 +31,7 @@ import org.openapitools.client.api.PackageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -99,7 +99,7 @@ import org.openapitools.client.api.PackageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -170,7 +170,7 @@ import org.openapitools.client.api.PackageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -235,7 +235,7 @@ import org.openapitools.client.api.PackageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -300,7 +300,7 @@ import org.openapitools.client.api.PackageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -375,7 +375,7 @@ import org.openapitools.client.api.PackageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PackageInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PackageInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PackageInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PackageInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ParentalRating.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ParentalRating.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ParentalRating.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ParentalRating.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PathSubstitution.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PathSubstitution.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PathSubstitution.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PathSubstitution.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PersonKind.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PersonKind.md new file mode 100644 index 00000000000..2dd6148486e --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PersonKind.md @@ -0,0 +1,59 @@ + + +# PersonKind + +## Enum + + +* `UNKNOWN` (value: `"Unknown"`) + +* `ACTOR` (value: `"Actor"`) + +* `DIRECTOR` (value: `"Director"`) + +* `COMPOSER` (value: `"Composer"`) + +* `WRITER` (value: `"Writer"`) + +* `GUEST_STAR` (value: `"GuestStar"`) + +* `PRODUCER` (value: `"Producer"`) + +* `CONDUCTOR` (value: `"Conductor"`) + +* `LYRICIST` (value: `"Lyricist"`) + +* `ARRANGER` (value: `"Arranger"`) + +* `ENGINEER` (value: `"Engineer"`) + +* `MIXER` (value: `"Mixer"`) + +* `REMIXER` (value: `"Remixer"`) + +* `CREATOR` (value: `"Creator"`) + +* `ARTIST` (value: `"Artist"`) + +* `ALBUM_ARTIST` (value: `"AlbumArtist"`) + +* `AUTHOR` (value: `"Author"`) + +* `ILLUSTRATOR` (value: `"Illustrator"`) + +* `PENCILLER` (value: `"Penciller"`) + +* `INKER` (value: `"Inker"`) + +* `COLORIST` (value: `"Colorist"`) + +* `LETTERER` (value: `"Letterer"`) + +* `COVER_ARTIST` (value: `"CoverArtist"`) + +* `EDITOR` (value: `"Editor"`) + +* `TRANSLATOR` (value: `"Translator"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PersonLookupInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PersonLookupInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PersonLookupInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PersonLookupInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PersonLookupInfoRemoteSearchQuery.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PersonLookupInfoRemoteSearchQuery.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PersonLookupInfoRemoteSearchQuery.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PersonLookupInfoRemoteSearchQuery.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PersonsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PersonsApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PersonsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PersonsApi.md index 3fb104059d7..00502c58cc5 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PersonsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PersonsApi.md @@ -1,6 +1,6 @@ # PersonsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -27,7 +27,7 @@ import org.openapitools.client.api.PersonsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -99,7 +99,7 @@ import org.openapitools.client.api.PersonsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PinRedeemResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PinRedeemResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PinRedeemResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PinRedeemResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PingRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PingRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PingRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PingRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlayAccess.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayAccess.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlayAccess.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayAccess.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlayCommand.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayCommand.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlayCommand.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayCommand.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayMessage.md new file mode 100644 index 00000000000..e10d1ee91c0 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayMessage.md @@ -0,0 +1,16 @@ + + +# PlayMessage + +Play command websocket message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**PlayRequest**](PlayRequest.md) | Class PlayRequest. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlayMethod.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayMethod.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlayMethod.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayMethod.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayQueueUpdate.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayQueueUpdate.md new file mode 100644 index 00000000000..46e7262f520 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayQueueUpdate.md @@ -0,0 +1,21 @@ + + +# PlayQueueUpdate + +Class PlayQueueUpdate. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**reason** | **PlayQueueUpdateReason** | Gets the request type that originated this update. | [optional] | +|**lastUpdate** | **OffsetDateTime** | Gets the UTC time of the last change to the playing queue. | [optional] | +|**playlist** | [**List<SyncPlayQueueItem>**](SyncPlayQueueItem.md) | Gets the playlist. | [optional] | +|**playingItemIndex** | **Integer** | Gets the playing item index in the playlist. | [optional] | +|**startPositionTicks** | **Long** | Gets the start position ticks. | [optional] | +|**isPlaying** | **Boolean** | Gets a value indicating whether the current item is playing. | [optional] | +|**shuffleMode** | **GroupShuffleMode** | Gets the shuffle mode. | [optional] | +|**repeatMode** | **GroupRepeatMode** | Gets the repeat mode. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayQueueUpdateGroupUpdate.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayQueueUpdateGroupUpdate.md new file mode 100644 index 00000000000..4041676645b --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayQueueUpdateGroupUpdate.md @@ -0,0 +1,16 @@ + + +# PlayQueueUpdateGroupUpdate + +Class GroupUpdate. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**groupId** | **UUID** | Gets the group identifier. | [optional] [readonly] | +|**type** | **GroupUpdateType** | Gets the update type. | [optional] | +|**data** | [**PlayQueueUpdate**](PlayQueueUpdate.md) | Gets the update data. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayQueueUpdateReason.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayQueueUpdateReason.md new file mode 100644 index 00000000000..b3c1332e5c9 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayQueueUpdateReason.md @@ -0,0 +1,29 @@ + + +# PlayQueueUpdateReason + +## Enum + + +* `NEW_PLAYLIST` (value: `"NewPlaylist"`) + +* `SET_CURRENT_ITEM` (value: `"SetCurrentItem"`) + +* `REMOVE_ITEMS` (value: `"RemoveItems"`) + +* `MOVE_ITEM` (value: `"MoveItem"`) + +* `QUEUE` (value: `"Queue"`) + +* `QUEUE_NEXT` (value: `"QueueNext"`) + +* `NEXT_ITEM` (value: `"NextItem"`) + +* `PREVIOUS_ITEM` (value: `"PreviousItem"`) + +* `REPEAT_MODE` (value: `"RepeatMode"`) + +* `SHUFFLE_MODE` (value: `"ShuffleMode"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlayRequest.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayRequest.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlayRequest.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayRequest.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlayRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlayRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaybackErrorCode.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackErrorCode.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaybackErrorCode.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackErrorCode.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaybackInfoDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackInfoDto.md similarity index 91% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaybackInfoDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackInfoDto.md index f0d1504ba4e..628f60f4a1f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaybackInfoDto.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackInfoDto.md @@ -23,6 +23,7 @@ Plabyback info dto. |**allowVideoStreamCopy** | **Boolean** | Gets or sets a value indicating whether to enable video stream copy. | [optional] | |**allowAudioStreamCopy** | **Boolean** | Gets or sets a value indicating whether to allow audio stream copy. | [optional] | |**autoOpenLiveStream** | **Boolean** | Gets or sets a value indicating whether to auto open the live stream. | [optional] | +|**alwaysBurnInSubtitleWhenTranscoding** | **Boolean** | Gets or sets a value indicating whether always burn in subtitles when transcoding. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaybackInfoResponse.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackInfoResponse.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaybackInfoResponse.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackInfoResponse.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackOrder.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackOrder.md new file mode 100644 index 00000000000..4e4ac23ae1d --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackOrder.md @@ -0,0 +1,13 @@ + + +# PlaybackOrder + +## Enum + + +* `DEFAULT` (value: `"Default"`) + +* `SHUFFLE` (value: `"Shuffle"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaybackProgressInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackProgressInfo.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaybackProgressInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackProgressInfo.md index 7e9b4ad3259..a4e943ccf2a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaybackProgressInfo.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackProgressInfo.md @@ -26,6 +26,7 @@ Class PlaybackProgressInfo. |**liveStreamId** | **String** | Gets or sets the live stream identifier. | [optional] | |**playSessionId** | **String** | Gets or sets the play session identifier. | [optional] | |**repeatMode** | **RepeatMode** | Gets or sets the repeat mode. | [optional] | +|**playbackOrder** | **PlaybackOrder** | Gets or sets the playback order. | [optional] | |**nowPlayingQueue** | [**List<QueueItem>**](QueueItem.md) | | [optional] | |**playlistItemId** | **String** | | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackRequestType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackRequestType.md new file mode 100644 index 00000000000..e36548dec91 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackRequestType.md @@ -0,0 +1,43 @@ + + +# PlaybackRequestType + +## Enum + + +* `PLAY` (value: `"Play"`) + +* `SET_PLAYLIST_ITEM` (value: `"SetPlaylistItem"`) + +* `REMOVE_FROM_PLAYLIST` (value: `"RemoveFromPlaylist"`) + +* `MOVE_PLAYLIST_ITEM` (value: `"MovePlaylistItem"`) + +* `QUEUE` (value: `"Queue"`) + +* `UNPAUSE` (value: `"Unpause"`) + +* `PAUSE` (value: `"Pause"`) + +* `STOP` (value: `"Stop"`) + +* `SEEK` (value: `"Seek"`) + +* `BUFFER` (value: `"Buffer"`) + +* `READY` (value: `"Ready"`) + +* `NEXT_ITEM` (value: `"NextItem"`) + +* `PREVIOUS_ITEM` (value: `"PreviousItem"`) + +* `SET_REPEAT_MODE` (value: `"SetRepeatMode"`) + +* `SET_SHUFFLE_MODE` (value: `"SetShuffleMode"`) + +* `PING` (value: `"Ping"`) + +* `IGNORE_WAIT` (value: `"IgnoreWait"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaybackStartInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackStartInfo.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaybackStartInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackStartInfo.md index 0d2fdcfc022..62165a15f52 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaybackStartInfo.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackStartInfo.md @@ -26,6 +26,7 @@ Class PlaybackStartInfo. |**liveStreamId** | **String** | Gets or sets the live stream identifier. | [optional] | |**playSessionId** | **String** | Gets or sets the play session identifier. | [optional] | |**repeatMode** | **RepeatMode** | Gets or sets the repeat mode. | [optional] | +|**playbackOrder** | **PlaybackOrder** | Gets or sets the playback order. | [optional] | |**nowPlayingQueue** | [**List<QueueItem>**](QueueItem.md) | | [optional] | |**playlistItemId** | **String** | | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaybackStopInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackStopInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaybackStopInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaybackStopInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlayerStateInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayerStateInfo.md similarity index 93% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlayerStateInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayerStateInfo.md index 44fd582ce9c..f4c01671aeb 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlayerStateInfo.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlayerStateInfo.md @@ -17,6 +17,7 @@ |**mediaSourceId** | **String** | Gets or sets the now playing media version identifier. | [optional] | |**playMethod** | **PlayMethod** | Gets or sets the play method. | [optional] | |**repeatMode** | **RepeatMode** | Gets or sets the repeat mode. | [optional] | +|**playbackOrder** | **PlaybackOrder** | Gets or sets the playback order. | [optional] | |**liveStreamId** | **String** | Gets or sets the now playing live stream identifier. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaylistCreationResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaylistCreationResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaylistCreationResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaylistCreationResult.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaylistDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaylistDto.md new file mode 100644 index 00000000000..60d25bba4d3 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaylistDto.md @@ -0,0 +1,16 @@ + + +# PlaylistDto + +DTO for playlists. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**openAccess** | **Boolean** | Gets or sets a value indicating whether the playlist is publicly readable. | [optional] | +|**shares** | [**List<PlaylistUserPermissions>**](PlaylistUserPermissions.md) | Gets or sets the share permissions. | [optional] | +|**itemIds** | **List<UUID>** | Gets or sets the item ids. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaylistUserPermissions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaylistUserPermissions.md new file mode 100644 index 00000000000..07e2969753a --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaylistUserPermissions.md @@ -0,0 +1,15 @@ + + +# PlaylistUserPermissions + +Class to hold data on user permissions for playlists. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**userId** | **UUID** | Gets or sets the user id. | [optional] | +|**canEdit** | **Boolean** | Gets or sets a value indicating whether the user has edit permissions. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaylistsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaylistsApi.md new file mode 100644 index 00000000000..d98d02f8dfe --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaylistsApi.md @@ -0,0 +1,828 @@ +# PlaylistsApi + +All URIs are relative to *http://localhost* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**addItemToPlaylist**](PlaylistsApi.md#addItemToPlaylist) | **POST** /Playlists/{playlistId}/Items | Adds items to a playlist. | +| [**createPlaylist**](PlaylistsApi.md#createPlaylist) | **POST** /Playlists | Creates a new playlist. | +| [**getPlaylist**](PlaylistsApi.md#getPlaylist) | **GET** /Playlists/{playlistId} | Get a playlist. | +| [**getPlaylistItems**](PlaylistsApi.md#getPlaylistItems) | **GET** /Playlists/{playlistId}/Items | Gets the original items of a playlist. | +| [**getPlaylistUser**](PlaylistsApi.md#getPlaylistUser) | **GET** /Playlists/{playlistId}/Users/{userId} | Get a playlist user. | +| [**getPlaylistUsers**](PlaylistsApi.md#getPlaylistUsers) | **GET** /Playlists/{playlistId}/Users | Get a playlist's users. | +| [**moveItem**](PlaylistsApi.md#moveItem) | **POST** /Playlists/{playlistId}/Items/{itemId}/Move/{newIndex} | Moves a playlist item. | +| [**removeItemFromPlaylist**](PlaylistsApi.md#removeItemFromPlaylist) | **DELETE** /Playlists/{playlistId}/Items | Removes items from a playlist. | +| [**removeUserFromPlaylist**](PlaylistsApi.md#removeUserFromPlaylist) | **DELETE** /Playlists/{playlistId}/Users/{userId} | Remove a user from a playlist's users. | +| [**updatePlaylist**](PlaylistsApi.md#updatePlaylist) | **POST** /Playlists/{playlistId} | Updates a playlist. | +| [**updatePlaylistUser**](PlaylistsApi.md#updatePlaylistUser) | **POST** /Playlists/{playlistId}/Users/{userId} | Modify a user of a playlist's users. | + + + +# **addItemToPlaylist** +> addItemToPlaylist(playlistId, ids, userId) + +Adds items to a playlist. + +### Example +```java +// Import classes: +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.Configuration; +import org.openapitools.client.auth.*; +import org.openapitools.client.models.*; +import org.openapitools.client.api.PlaylistsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + + // Configure API key authorization: CustomAuthentication + ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); + CustomAuthentication.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //CustomAuthentication.setApiKeyPrefix("Token"); + + PlaylistsApi apiInstance = new PlaylistsApi(defaultClient); + UUID playlistId = UUID.randomUUID(); // UUID | The playlist id. + List ids = Arrays.asList(); // List | Item id, comma delimited. + UUID userId = UUID.randomUUID(); // UUID | The userId. + try { + apiInstance.addItemToPlaylist(playlistId, ids, userId); + } catch (ApiException e) { + System.err.println("Exception when calling PlaylistsApi#addItemToPlaylist"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **playlistId** | **UUID**| The playlist id. | | +| **ids** | [**List<UUID>**](UUID.md)| Item id, comma delimited. | [optional] | +| **userId** | **UUID**| The userId. | [optional] | + +### Return type + +null (empty response body) + +### Authorization + +[CustomAuthentication](../README.md#CustomAuthentication) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | Items added to playlist. | - | +| **403** | Access forbidden. | - | +| **404** | Playlist not found. | - | +| **401** | Unauthorized | - | + + +# **createPlaylist** +> PlaylistCreationResult createPlaylist(name, ids, userId, mediaType, createPlaylistDto) + +Creates a new playlist. + +For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. Query parameters are obsolete. + +### Example +```java +// Import classes: +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.Configuration; +import org.openapitools.client.auth.*; +import org.openapitools.client.models.*; +import org.openapitools.client.api.PlaylistsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + + // Configure API key authorization: CustomAuthentication + ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); + CustomAuthentication.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //CustomAuthentication.setApiKeyPrefix("Token"); + + PlaylistsApi apiInstance = new PlaylistsApi(defaultClient); + String name = "name_example"; // String | The playlist name. + List ids = Arrays.asList(); // List | The item ids. + UUID userId = UUID.randomUUID(); // UUID | The user id. + MediaType mediaType = MediaType.fromValue("Unknown"); // MediaType | The media type. + CreatePlaylistDto createPlaylistDto = new CreatePlaylistDto(); // CreatePlaylistDto | The create playlist payload. + try { + PlaylistCreationResult result = apiInstance.createPlaylist(name, ids, userId, mediaType, createPlaylistDto); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling PlaylistsApi#createPlaylist"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| The playlist name. | [optional] | +| **ids** | [**List<UUID>**](UUID.md)| The item ids. | [optional] | +| **userId** | **UUID**| The user id. | [optional] | +| **mediaType** | **MediaType**| The media type. | [optional] [enum: Unknown, Video, Audio, Photo, Book] | +| **createPlaylistDto** | [**CreatePlaylistDto**](CreatePlaylistDto.md)| The create playlist payload. | [optional] | + +### Return type + +[**PlaylistCreationResult**](PlaylistCreationResult.md) + +### Authorization + +[CustomAuthentication](../README.md#CustomAuthentication) + +### HTTP request headers + + - **Content-Type**: application/json, text/json, application/*+json + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Playlist created. | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | + + +# **getPlaylist** +> PlaylistDto getPlaylist(playlistId) + +Get a playlist. + +### Example +```java +// Import classes: +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.Configuration; +import org.openapitools.client.auth.*; +import org.openapitools.client.models.*; +import org.openapitools.client.api.PlaylistsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + + // Configure API key authorization: CustomAuthentication + ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); + CustomAuthentication.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //CustomAuthentication.setApiKeyPrefix("Token"); + + PlaylistsApi apiInstance = new PlaylistsApi(defaultClient); + UUID playlistId = UUID.randomUUID(); // UUID | The playlist id. + try { + PlaylistDto result = apiInstance.getPlaylist(playlistId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling PlaylistsApi#getPlaylist"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **playlistId** | **UUID**| The playlist id. | | + +### Return type + +[**PlaylistDto**](PlaylistDto.md) + +### Authorization + +[CustomAuthentication](../README.md#CustomAuthentication) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | The playlist. | - | +| **404** | Playlist not found. | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | + + +# **getPlaylistItems** +> BaseItemDtoQueryResult getPlaylistItems(playlistId, userId, startIndex, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes) + +Gets the original items of a playlist. + +### Example +```java +// Import classes: +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.Configuration; +import org.openapitools.client.auth.*; +import org.openapitools.client.models.*; +import org.openapitools.client.api.PlaylistsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + + // Configure API key authorization: CustomAuthentication + ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); + CustomAuthentication.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //CustomAuthentication.setApiKeyPrefix("Token"); + + PlaylistsApi apiInstance = new PlaylistsApi(defaultClient); + UUID playlistId = UUID.randomUUID(); // UUID | The playlist id. + UUID userId = UUID.randomUUID(); // UUID | User id. + Integer startIndex = 56; // Integer | Optional. The record index to start at. All items with a lower index will be dropped from the results. + Integer limit = 56; // Integer | Optional. The maximum number of records to return. + List fields = Arrays.asList(); // List | Optional. Specify additional fields of information to return in the output. + Boolean enableImages = true; // Boolean | Optional. Include image information in output. + Boolean enableUserData = true; // Boolean | Optional. Include user data. + Integer imageTypeLimit = 56; // Integer | Optional. The max number of images to return, per image type. + List enableImageTypes = Arrays.asList(); // List | Optional. The image types to include in the output. + try { + BaseItemDtoQueryResult result = apiInstance.getPlaylistItems(playlistId, userId, startIndex, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling PlaylistsApi#getPlaylistItems"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **playlistId** | **UUID**| The playlist id. | | +| **userId** | **UUID**| User id. | [optional] | +| **startIndex** | **Integer**| Optional. The record index to start at. All items with a lower index will be dropped from the results. | [optional] | +| **limit** | **Integer**| Optional. The maximum number of records to return. | [optional] | +| **fields** | [**List<ItemFields>**](ItemFields.md)| Optional. Specify additional fields of information to return in the output. | [optional] | +| **enableImages** | **Boolean**| Optional. Include image information in output. | [optional] | +| **enableUserData** | **Boolean**| Optional. Include user data. | [optional] | +| **imageTypeLimit** | **Integer**| Optional. The max number of images to return, per image type. | [optional] | +| **enableImageTypes** | [**List<ImageType>**](ImageType.md)| Optional. The image types to include in the output. | [optional] | + +### Return type + +[**BaseItemDtoQueryResult**](BaseItemDtoQueryResult.md) + +### Authorization + +[CustomAuthentication](../README.md#CustomAuthentication) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Original playlist returned. | - | +| **403** | Forbidden | - | +| **404** | Playlist not found. | - | +| **401** | Unauthorized | - | + + +# **getPlaylistUser** +> PlaylistUserPermissions getPlaylistUser(playlistId, userId) + +Get a playlist user. + +### Example +```java +// Import classes: +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.Configuration; +import org.openapitools.client.auth.*; +import org.openapitools.client.models.*; +import org.openapitools.client.api.PlaylistsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + + // Configure API key authorization: CustomAuthentication + ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); + CustomAuthentication.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //CustomAuthentication.setApiKeyPrefix("Token"); + + PlaylistsApi apiInstance = new PlaylistsApi(defaultClient); + UUID playlistId = UUID.randomUUID(); // UUID | The playlist id. + UUID userId = UUID.randomUUID(); // UUID | The user id. + try { + PlaylistUserPermissions result = apiInstance.getPlaylistUser(playlistId, userId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling PlaylistsApi#getPlaylistUser"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **playlistId** | **UUID**| The playlist id. | | +| **userId** | **UUID**| The user id. | | + +### Return type + +[**PlaylistUserPermissions**](PlaylistUserPermissions.md) + +### Authorization + +[CustomAuthentication](../README.md#CustomAuthentication) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | User permission found. | - | +| **403** | Access forbidden. | - | +| **404** | Playlist not found. | - | +| **401** | Unauthorized | - | + + +# **getPlaylistUsers** +> List<PlaylistUserPermissions> getPlaylistUsers(playlistId) + +Get a playlist's users. + +### Example +```java +// Import classes: +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.Configuration; +import org.openapitools.client.auth.*; +import org.openapitools.client.models.*; +import org.openapitools.client.api.PlaylistsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + + // Configure API key authorization: CustomAuthentication + ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); + CustomAuthentication.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //CustomAuthentication.setApiKeyPrefix("Token"); + + PlaylistsApi apiInstance = new PlaylistsApi(defaultClient); + UUID playlistId = UUID.randomUUID(); // UUID | The playlist id. + try { + List result = apiInstance.getPlaylistUsers(playlistId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling PlaylistsApi#getPlaylistUsers"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **playlistId** | **UUID**| The playlist id. | | + +### Return type + +[**List<PlaylistUserPermissions>**](PlaylistUserPermissions.md) + +### Authorization + +[CustomAuthentication](../README.md#CustomAuthentication) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Found shares. | - | +| **403** | Access forbidden. | - | +| **404** | Playlist not found. | - | +| **401** | Unauthorized | - | + + +# **moveItem** +> moveItem(playlistId, itemId, newIndex) + +Moves a playlist item. + +### Example +```java +// Import classes: +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.Configuration; +import org.openapitools.client.auth.*; +import org.openapitools.client.models.*; +import org.openapitools.client.api.PlaylistsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + + // Configure API key authorization: CustomAuthentication + ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); + CustomAuthentication.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //CustomAuthentication.setApiKeyPrefix("Token"); + + PlaylistsApi apiInstance = new PlaylistsApi(defaultClient); + String playlistId = "playlistId_example"; // String | The playlist id. + String itemId = "itemId_example"; // String | The item id. + Integer newIndex = 56; // Integer | The new index. + try { + apiInstance.moveItem(playlistId, itemId, newIndex); + } catch (ApiException e) { + System.err.println("Exception when calling PlaylistsApi#moveItem"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **playlistId** | **String**| The playlist id. | | +| **itemId** | **String**| The item id. | | +| **newIndex** | **Integer**| The new index. | | + +### Return type + +null (empty response body) + +### Authorization + +[CustomAuthentication](../README.md#CustomAuthentication) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | Item moved to new index. | - | +| **403** | Access forbidden. | - | +| **404** | Playlist not found. | - | +| **401** | Unauthorized | - | + + +# **removeItemFromPlaylist** +> removeItemFromPlaylist(playlistId, entryIds) + +Removes items from a playlist. + +### Example +```java +// Import classes: +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.Configuration; +import org.openapitools.client.auth.*; +import org.openapitools.client.models.*; +import org.openapitools.client.api.PlaylistsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + + // Configure API key authorization: CustomAuthentication + ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); + CustomAuthentication.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //CustomAuthentication.setApiKeyPrefix("Token"); + + PlaylistsApi apiInstance = new PlaylistsApi(defaultClient); + String playlistId = "playlistId_example"; // String | The playlist id. + List entryIds = Arrays.asList(); // List | The item ids, comma delimited. + try { + apiInstance.removeItemFromPlaylist(playlistId, entryIds); + } catch (ApiException e) { + System.err.println("Exception when calling PlaylistsApi#removeItemFromPlaylist"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **playlistId** | **String**| The playlist id. | | +| **entryIds** | [**List<String>**](String.md)| The item ids, comma delimited. | [optional] | + +### Return type + +null (empty response body) + +### Authorization + +[CustomAuthentication](../README.md#CustomAuthentication) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | Items removed. | - | +| **403** | Access forbidden. | - | +| **404** | Playlist not found. | - | +| **401** | Unauthorized | - | + + +# **removeUserFromPlaylist** +> removeUserFromPlaylist(playlistId, userId) + +Remove a user from a playlist's users. + +### Example +```java +// Import classes: +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.Configuration; +import org.openapitools.client.auth.*; +import org.openapitools.client.models.*; +import org.openapitools.client.api.PlaylistsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + + // Configure API key authorization: CustomAuthentication + ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); + CustomAuthentication.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //CustomAuthentication.setApiKeyPrefix("Token"); + + PlaylistsApi apiInstance = new PlaylistsApi(defaultClient); + UUID playlistId = UUID.randomUUID(); // UUID | The playlist id. + UUID userId = UUID.randomUUID(); // UUID | The user id. + try { + apiInstance.removeUserFromPlaylist(playlistId, userId); + } catch (ApiException e) { + System.err.println("Exception when calling PlaylistsApi#removeUserFromPlaylist"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **playlistId** | **UUID**| The playlist id. | | +| **userId** | **UUID**| The user id. | | + +### Return type + +null (empty response body) + +### Authorization + +[CustomAuthentication](../README.md#CustomAuthentication) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | User permissions removed from playlist. | - | +| **403** | Forbidden | - | +| **404** | No playlist or user permissions found. | - | +| **401** | Unauthorized access. | - | + + +# **updatePlaylist** +> updatePlaylist(playlistId, updatePlaylistDto) + +Updates a playlist. + +### Example +```java +// Import classes: +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.Configuration; +import org.openapitools.client.auth.*; +import org.openapitools.client.models.*; +import org.openapitools.client.api.PlaylistsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + + // Configure API key authorization: CustomAuthentication + ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); + CustomAuthentication.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //CustomAuthentication.setApiKeyPrefix("Token"); + + PlaylistsApi apiInstance = new PlaylistsApi(defaultClient); + UUID playlistId = UUID.randomUUID(); // UUID | The playlist id. + UpdatePlaylistDto updatePlaylistDto = new UpdatePlaylistDto(); // UpdatePlaylistDto | The Jellyfin.Api.Models.PlaylistDtos.UpdatePlaylistDto id. + try { + apiInstance.updatePlaylist(playlistId, updatePlaylistDto); + } catch (ApiException e) { + System.err.println("Exception when calling PlaylistsApi#updatePlaylist"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **playlistId** | **UUID**| The playlist id. | | +| **updatePlaylistDto** | [**UpdatePlaylistDto**](UpdatePlaylistDto.md)| The Jellyfin.Api.Models.PlaylistDtos.UpdatePlaylistDto id. | | + +### Return type + +null (empty response body) + +### Authorization + +[CustomAuthentication](../README.md#CustomAuthentication) + +### HTTP request headers + + - **Content-Type**: application/json, text/json, application/*+json + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | Playlist updated. | - | +| **403** | Access forbidden. | - | +| **404** | Playlist not found. | - | +| **401** | Unauthorized | - | + + +# **updatePlaylistUser** +> updatePlaylistUser(playlistId, userId, updatePlaylistUserDto) + +Modify a user of a playlist's users. + +### Example +```java +// Import classes: +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.Configuration; +import org.openapitools.client.auth.*; +import org.openapitools.client.models.*; +import org.openapitools.client.api.PlaylistsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + + // Configure API key authorization: CustomAuthentication + ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); + CustomAuthentication.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //CustomAuthentication.setApiKeyPrefix("Token"); + + PlaylistsApi apiInstance = new PlaylistsApi(defaultClient); + UUID playlistId = UUID.randomUUID(); // UUID | The playlist id. + UUID userId = UUID.randomUUID(); // UUID | The user id. + UpdatePlaylistUserDto updatePlaylistUserDto = new UpdatePlaylistUserDto(); // UpdatePlaylistUserDto | The Jellyfin.Api.Models.PlaylistDtos.UpdatePlaylistUserDto. + try { + apiInstance.updatePlaylistUser(playlistId, userId, updatePlaylistUserDto); + } catch (ApiException e) { + System.err.println("Exception when calling PlaylistsApi#updatePlaylistUser"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **playlistId** | **UUID**| The playlist id. | | +| **userId** | **UUID**| The user id. | | +| **updatePlaylistUserDto** | [**UpdatePlaylistUserDto**](UpdatePlaylistUserDto.md)| The Jellyfin.Api.Models.PlaylistDtos.UpdatePlaylistUserDto. | | + +### Return type + +null (empty response body) + +### Authorization + +[CustomAuthentication](../README.md#CustomAuthentication) + +### HTTP request headers + + - **Content-Type**: application/json, text/json, application/*+json + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **204** | User's permissions modified. | - | +| **403** | Access forbidden. | - | +| **404** | Playlist not found. | - | +| **401** | Unauthorized | - | + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaystateApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaystateApi.md similarity index 88% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaystateApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaystateApi.md index 6237b7bf1c2..19b33c7753d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaystateApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaystateApi.md @@ -1,14 +1,14 @@ # PlaystateApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**markPlayedItem**](PlaystateApi.md#markPlayedItem) | **POST** /Users/{userId}/PlayedItems/{itemId} | Marks an item as played for user. | -| [**markUnplayedItem**](PlaystateApi.md#markUnplayedItem) | **DELETE** /Users/{userId}/PlayedItems/{itemId} | Marks an item as unplayed for user. | -| [**onPlaybackProgress**](PlaystateApi.md#onPlaybackProgress) | **POST** /Users/{userId}/PlayingItems/{itemId}/Progress | Reports a user's playback progress. | -| [**onPlaybackStart**](PlaystateApi.md#onPlaybackStart) | **POST** /Users/{userId}/PlayingItems/{itemId} | Reports that a user has begun playing an item. | -| [**onPlaybackStopped**](PlaystateApi.md#onPlaybackStopped) | **DELETE** /Users/{userId}/PlayingItems/{itemId} | Reports that a user has stopped playing an item. | +| [**markPlayedItem**](PlaystateApi.md#markPlayedItem) | **POST** /UserPlayedItems/{itemId} | Marks an item as played for user. | +| [**markUnplayedItem**](PlaystateApi.md#markUnplayedItem) | **DELETE** /UserPlayedItems/{itemId} | Marks an item as unplayed for user. | +| [**onPlaybackProgress**](PlaystateApi.md#onPlaybackProgress) | **POST** /PlayingItems/{itemId}/Progress | Reports a session's playback progress. | +| [**onPlaybackStart**](PlaystateApi.md#onPlaybackStart) | **POST** /PlayingItems/{itemId} | Reports that a session has begun playing an item. | +| [**onPlaybackStopped**](PlaystateApi.md#onPlaybackStopped) | **DELETE** /PlayingItems/{itemId} | Reports that a session has stopped playing an item. | | [**pingPlaybackSession**](PlaystateApi.md#pingPlaybackSession) | **POST** /Sessions/Playing/Ping | Pings a playback session. | | [**reportPlaybackProgress**](PlaystateApi.md#reportPlaybackProgress) | **POST** /Sessions/Playing/Progress | Reports playback progress within a session. | | [**reportPlaybackStart**](PlaystateApi.md#reportPlaybackStart) | **POST** /Sessions/Playing | Reports playback has started within a session. | @@ -17,7 +17,7 @@ All URIs are relative to *http://nuc.ehrendingen:8096* # **markPlayedItem** -> UserItemDataDto markPlayedItem(userId, itemId, datePlayed) +> UserItemDataDto markPlayedItem(itemId, userId, datePlayed) Marks an item as played for user. @@ -34,7 +34,7 @@ import org.openapitools.client.api.PlaystateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -43,11 +43,11 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); PlaystateApi apiInstance = new PlaystateApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | User id. UUID itemId = UUID.randomUUID(); // UUID | Item id. + UUID userId = UUID.randomUUID(); // UUID | User id. OffsetDateTime datePlayed = OffsetDateTime.now(); // OffsetDateTime | Optional. The date the item was played. try { - UserItemDataDto result = apiInstance.markPlayedItem(userId, itemId, datePlayed); + UserItemDataDto result = apiInstance.markPlayedItem(itemId, userId, datePlayed); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling PlaystateApi#markPlayedItem"); @@ -64,8 +64,8 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | | **itemId** | **UUID**| Item id. | | +| **userId** | **UUID**| User id. | [optional] | | **datePlayed** | **OffsetDateTime**| Optional. The date the item was played. | [optional] | ### Return type @@ -85,12 +85,13 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Item marked as played. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | # **markUnplayedItem** -> UserItemDataDto markUnplayedItem(userId, itemId) +> UserItemDataDto markUnplayedItem(itemId, userId) Marks an item as unplayed for user. @@ -107,7 +108,7 @@ import org.openapitools.client.api.PlaystateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -116,10 +117,10 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); PlaystateApi apiInstance = new PlaystateApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | User id. UUID itemId = UUID.randomUUID(); // UUID | Item id. + UUID userId = UUID.randomUUID(); // UUID | User id. try { - UserItemDataDto result = apiInstance.markUnplayedItem(userId, itemId); + UserItemDataDto result = apiInstance.markUnplayedItem(itemId, userId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling PlaystateApi#markUnplayedItem"); @@ -136,8 +137,8 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | | **itemId** | **UUID**| Item id. | | +| **userId** | **UUID**| User id. | [optional] | ### Return type @@ -156,14 +157,15 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Item marked as unplayed. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | # **onPlaybackProgress** -> onPlaybackProgress(userId, itemId, mediaSourceId, positionTicks, audioStreamIndex, subtitleStreamIndex, volumeLevel, playMethod, liveStreamId, playSessionId, repeatMode, isPaused, isMuted) +> onPlaybackProgress(itemId, mediaSourceId, positionTicks, audioStreamIndex, subtitleStreamIndex, volumeLevel, playMethod, liveStreamId, playSessionId, repeatMode, isPaused, isMuted) -Reports a user's playback progress. +Reports a session's playback progress. ### Example ```java @@ -178,7 +180,7 @@ import org.openapitools.client.api.PlaystateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -187,7 +189,6 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); PlaystateApi apiInstance = new PlaystateApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | User id. UUID itemId = UUID.randomUUID(); // UUID | Item id. String mediaSourceId = "mediaSourceId_example"; // String | The id of the MediaSource. Long positionTicks = 56L; // Long | Optional. The current position, in ticks. 1 tick = 10000 ms. @@ -201,7 +202,7 @@ public class Example { Boolean isPaused = false; // Boolean | Indicates if the player is paused. Boolean isMuted = false; // Boolean | Indicates if the player is muted. try { - apiInstance.onPlaybackProgress(userId, itemId, mediaSourceId, positionTicks, audioStreamIndex, subtitleStreamIndex, volumeLevel, playMethod, liveStreamId, playSessionId, repeatMode, isPaused, isMuted); + apiInstance.onPlaybackProgress(itemId, mediaSourceId, positionTicks, audioStreamIndex, subtitleStreamIndex, volumeLevel, playMethod, liveStreamId, playSessionId, repeatMode, isPaused, isMuted); } catch (ApiException e) { System.err.println("Exception when calling PlaystateApi#onPlaybackProgress"); System.err.println("Status code: " + e.getCode()); @@ -217,17 +218,16 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | | **itemId** | **UUID**| Item id. | | | **mediaSourceId** | **String**| The id of the MediaSource. | [optional] | | **positionTicks** | **Long**| Optional. The current position, in ticks. 1 tick = 10000 ms. | [optional] | | **audioStreamIndex** | **Integer**| The audio stream index. | [optional] | | **subtitleStreamIndex** | **Integer**| The subtitle stream index. | [optional] | | **volumeLevel** | **Integer**| Scale of 0-100. | [optional] | -| **playMethod** | [**PlayMethod**](.md)| The play method. | [optional] [enum: Transcode, DirectStream, DirectPlay] | +| **playMethod** | **PlayMethod**| The play method. | [optional] [enum: Transcode, DirectStream, DirectPlay] | | **liveStreamId** | **String**| The live stream id. | [optional] | | **playSessionId** | **String**| The play session id. | [optional] | -| **repeatMode** | [**RepeatMode**](.md)| The repeat mode. | [optional] [enum: RepeatNone, RepeatAll, RepeatOne] | +| **repeatMode** | **RepeatMode**| The repeat mode. | [optional] [enum: RepeatNone, RepeatAll, RepeatOne] | | **isPaused** | **Boolean**| Indicates if the player is paused. | [optional] [default to false] | | **isMuted** | **Boolean**| Indicates if the player is muted. | [optional] [default to false] | @@ -253,9 +253,9 @@ null (empty response body) # **onPlaybackStart** -> onPlaybackStart(userId, itemId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, playMethod, liveStreamId, playSessionId, canSeek) +> onPlaybackStart(itemId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, playMethod, liveStreamId, playSessionId, canSeek) -Reports that a user has begun playing an item. +Reports that a session has begun playing an item. ### Example ```java @@ -270,7 +270,7 @@ import org.openapitools.client.api.PlaystateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -279,7 +279,6 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); PlaystateApi apiInstance = new PlaystateApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | User id. UUID itemId = UUID.randomUUID(); // UUID | Item id. String mediaSourceId = "mediaSourceId_example"; // String | The id of the MediaSource. Integer audioStreamIndex = 56; // Integer | The audio stream index. @@ -289,7 +288,7 @@ public class Example { String playSessionId = "playSessionId_example"; // String | The play session id. Boolean canSeek = false; // Boolean | Indicates if the client can seek. try { - apiInstance.onPlaybackStart(userId, itemId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, playMethod, liveStreamId, playSessionId, canSeek); + apiInstance.onPlaybackStart(itemId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, playMethod, liveStreamId, playSessionId, canSeek); } catch (ApiException e) { System.err.println("Exception when calling PlaystateApi#onPlaybackStart"); System.err.println("Status code: " + e.getCode()); @@ -305,12 +304,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | | **itemId** | **UUID**| Item id. | | | **mediaSourceId** | **String**| The id of the MediaSource. | [optional] | | **audioStreamIndex** | **Integer**| The audio stream index. | [optional] | | **subtitleStreamIndex** | **Integer**| The subtitle stream index. | [optional] | -| **playMethod** | [**PlayMethod**](.md)| The play method. | [optional] [enum: Transcode, DirectStream, DirectPlay] | +| **playMethod** | **PlayMethod**| The play method. | [optional] [enum: Transcode, DirectStream, DirectPlay] | | **liveStreamId** | **String**| The live stream id. | [optional] | | **playSessionId** | **String**| The play session id. | [optional] | | **canSeek** | **Boolean**| Indicates if the client can seek. | [optional] [default to false] | @@ -337,9 +335,9 @@ null (empty response body) # **onPlaybackStopped** -> onPlaybackStopped(userId, itemId, mediaSourceId, nextMediaType, positionTicks, liveStreamId, playSessionId) +> onPlaybackStopped(itemId, mediaSourceId, nextMediaType, positionTicks, liveStreamId, playSessionId) -Reports that a user has stopped playing an item. +Reports that a session has stopped playing an item. ### Example ```java @@ -354,7 +352,7 @@ import org.openapitools.client.api.PlaystateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -363,7 +361,6 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); PlaystateApi apiInstance = new PlaystateApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | User id. UUID itemId = UUID.randomUUID(); // UUID | Item id. String mediaSourceId = "mediaSourceId_example"; // String | The id of the MediaSource. String nextMediaType = "nextMediaType_example"; // String | The next media type that will play. @@ -371,7 +368,7 @@ public class Example { String liveStreamId = "liveStreamId_example"; // String | The live stream id. String playSessionId = "playSessionId_example"; // String | The play session id. try { - apiInstance.onPlaybackStopped(userId, itemId, mediaSourceId, nextMediaType, positionTicks, liveStreamId, playSessionId); + apiInstance.onPlaybackStopped(itemId, mediaSourceId, nextMediaType, positionTicks, liveStreamId, playSessionId); } catch (ApiException e) { System.err.println("Exception when calling PlaystateApi#onPlaybackStopped"); System.err.println("Status code: " + e.getCode()); @@ -387,7 +384,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | | **itemId** | **UUID**| Item id. | | | **mediaSourceId** | **String**| The id of the MediaSource. | [optional] | | **nextMediaType** | **String**| The next media type that will play. | [optional] | @@ -434,7 +430,7 @@ import org.openapitools.client.api.PlaystateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -502,7 +498,7 @@ import org.openapitools.client.api.PlaystateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -570,7 +566,7 @@ import org.openapitools.client.api.PlaystateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -638,7 +634,7 @@ import org.openapitools.client.api.PlaystateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaystateCommand.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaystateCommand.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaystateCommand.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaystateCommand.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaystateMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaystateMessage.md new file mode 100644 index 00000000000..5b2ab380d14 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaystateMessage.md @@ -0,0 +1,16 @@ + + +# PlaystateMessage + +Playstate message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**PlaystateRequest**](PlaystateRequest.md) | Gets or sets the data. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaystateRequest.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaystateRequest.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaystateRequest.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PlaystateRequest.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PluginInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PluginInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginInstallationCancelledMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginInstallationCancelledMessage.md new file mode 100644 index 00000000000..6529f1f801f --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginInstallationCancelledMessage.md @@ -0,0 +1,16 @@ + + +# PluginInstallationCancelledMessage + +Plugin installation cancelled message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**InstallationInfo**](InstallationInfo.md) | Class InstallationInfo. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginInstallationCompletedMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginInstallationCompletedMessage.md new file mode 100644 index 00000000000..3127280415f --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginInstallationCompletedMessage.md @@ -0,0 +1,16 @@ + + +# PluginInstallationCompletedMessage + +Plugin installation completed message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**InstallationInfo**](InstallationInfo.md) | Class InstallationInfo. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginInstallationFailedMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginInstallationFailedMessage.md new file mode 100644 index 00000000000..46dbed53749 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginInstallationFailedMessage.md @@ -0,0 +1,16 @@ + + +# PluginInstallationFailedMessage + +Plugin installation failed message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**InstallationInfo**](InstallationInfo.md) | Class InstallationInfo. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginInstallingMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginInstallingMessage.md new file mode 100644 index 00000000000..a8e549464d8 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginInstallingMessage.md @@ -0,0 +1,16 @@ + + +# PluginInstallingMessage + +Package installing message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**InstallationInfo**](InstallationInfo.md) | Class InstallationInfo. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PluginStatus.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginStatus.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PluginStatus.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginStatus.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginUninstalledMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginUninstalledMessage.md new file mode 100644 index 00000000000..aacc50c70b4 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginUninstalledMessage.md @@ -0,0 +1,16 @@ + + +# PluginUninstalledMessage + +Plugin uninstalled message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**PluginInfo**](PluginInfo.md) | This is a serializable stub class that is used by the api to provide information about installed plugins. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PluginsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginsApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PluginsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginsApi.md index d5819cfe7c9..f231e4c47da 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PluginsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PluginsApi.md @@ -1,6 +1,6 @@ # PluginsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -34,7 +34,7 @@ import org.openapitools.client.api.PluginsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -105,7 +105,7 @@ import org.openapitools.client.api.PluginsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -176,7 +176,7 @@ import org.openapitools.client.api.PluginsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -246,7 +246,7 @@ import org.openapitools.client.api.PluginsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -318,7 +318,7 @@ import org.openapitools.client.api.PluginsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -387,7 +387,7 @@ import org.openapitools.client.api.PluginsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -452,7 +452,7 @@ import org.openapitools.client.api.PluginsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -521,7 +521,7 @@ import org.openapitools.client.api.PluginsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -594,7 +594,7 @@ import org.openapitools.client.api.PluginsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PreviousItemRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PreviousItemRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PreviousItemRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PreviousItemRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ProblemDetails.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ProblemDetails.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ProblemDetails.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ProblemDetails.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ProcessPriorityClass.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ProcessPriorityClass.md new file mode 100644 index 00000000000..8538f468c62 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ProcessPriorityClass.md @@ -0,0 +1,21 @@ + + +# ProcessPriorityClass + +## Enum + + +* `NORMAL` (value: `"Normal"`) + +* `IDLE` (value: `"Idle"`) + +* `HIGH` (value: `"High"`) + +* `REAL_TIME` (value: `"RealTime"`) + +* `BELOW_NORMAL` (value: `"BelowNormal"`) + +* `ABOVE_NORMAL` (value: `"AboveNormal"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ProfileCondition.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ProfileCondition.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ProfileCondition.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ProfileCondition.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ProfileConditionType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ProfileConditionType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ProfileConditionType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ProfileConditionType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ProfileConditionValue.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ProfileConditionValue.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ProfileConditionValue.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ProfileConditionValue.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ProgramAudio.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ProgramAudio.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ProgramAudio.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ProgramAudio.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PublicSystemInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PublicSystemInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PublicSystemInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/PublicSystemInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/QueryFilters.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/QueryFilters.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/QueryFilters.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/QueryFilters.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/QueryFiltersLegacy.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/QueryFiltersLegacy.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/QueryFiltersLegacy.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/QueryFiltersLegacy.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/QueueItem.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/QueueItem.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/QueueItem.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/QueueItem.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/QueueRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/QueueRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/QueueRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/QueueRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/QuickConnectApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/QuickConnectApi.md similarity index 78% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/QuickConnectApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/QuickConnectApi.md index f8a9ff8f75f..03c56db67ba 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/QuickConnectApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/QuickConnectApi.md @@ -1,18 +1,18 @@ # QuickConnectApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**authorize**](QuickConnectApi.md#authorize) | **POST** /QuickConnect/Authorize | Authorizes a pending quick connect request. | -| [**connect**](QuickConnectApi.md#connect) | **GET** /QuickConnect/Connect | Attempts to retrieve authentication information. | -| [**getEnabled**](QuickConnectApi.md#getEnabled) | **GET** /QuickConnect/Enabled | Gets the current quick connect state. | -| [**initiate**](QuickConnectApi.md#initiate) | **GET** /QuickConnect/Initiate | Initiate a new quick connect request. | +| [**authorizeQuickConnect**](QuickConnectApi.md#authorizeQuickConnect) | **POST** /QuickConnect/Authorize | Authorizes a pending quick connect request. | +| [**getQuickConnectEnabled**](QuickConnectApi.md#getQuickConnectEnabled) | **GET** /QuickConnect/Enabled | Gets the current quick connect state. | +| [**getQuickConnectState**](QuickConnectApi.md#getQuickConnectState) | **GET** /QuickConnect/Connect | Attempts to retrieve authentication information. | +| [**initiateQuickConnect**](QuickConnectApi.md#initiateQuickConnect) | **POST** /QuickConnect/Initiate | Initiate a new quick connect request. | - -# **authorize** -> Boolean authorize(code) + +# **authorizeQuickConnect** +> Boolean authorizeQuickConnect(code, userId) Authorizes a pending quick connect request. @@ -29,7 +29,7 @@ import org.openapitools.client.api.QuickConnectApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -39,11 +39,12 @@ public class Example { QuickConnectApi apiInstance = new QuickConnectApi(defaultClient); String code = "code_example"; // String | Quick connect code to authorize. + UUID userId = UUID.randomUUID(); // UUID | The user the authorize. Access to the requested user is required. try { - Boolean result = apiInstance.authorize(code); + Boolean result = apiInstance.authorizeQuickConnect(code, userId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling QuickConnectApi#authorize"); + System.err.println("Exception when calling QuickConnectApi#authorizeQuickConnect"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -58,6 +59,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **code** | **String**| Quick connect code to authorize. | | +| **userId** | **UUID**| The user the authorize. Access to the requested user is required. | [optional] | ### Return type @@ -79,9 +81,65 @@ public class Example { | **403** | Unknown user id. | - | | **401** | Unauthorized | - | - -# **connect** -> QuickConnectResult connect(secret) + +# **getQuickConnectEnabled** +> Boolean getQuickConnectEnabled() + +Gets the current quick connect state. + +### Example +```java +// Import classes: +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.Configuration; +import org.openapitools.client.models.*; +import org.openapitools.client.api.QuickConnectApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + + QuickConnectApi apiInstance = new QuickConnectApi(defaultClient); + try { + Boolean result = apiInstance.getQuickConnectEnabled(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling QuickConnectApi#getQuickConnectEnabled"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +**Boolean** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Quick connect state returned. | - | + + +# **getQuickConnectState** +> QuickConnectResult getQuickConnectState(secret) Attempts to retrieve authentication information. @@ -97,15 +155,15 @@ import org.openapitools.client.api.QuickConnectApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); QuickConnectApi apiInstance = new QuickConnectApi(defaultClient); String secret = "secret_example"; // String | Secret previously returned from the Initiate endpoint. try { - QuickConnectResult result = apiInstance.connect(secret); + QuickConnectResult result = apiInstance.getQuickConnectState(secret); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling QuickConnectApi#connect"); + System.err.println("Exception when calling QuickConnectApi#getQuickConnectState"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -140,65 +198,9 @@ No authorization required | **200** | Quick connect result returned. | - | | **404** | Unknown quick connect secret. | - | - -# **getEnabled** -> Boolean getEnabled() - -Gets the current quick connect state. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.models.*; -import org.openapitools.client.api.QuickConnectApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - QuickConnectApi apiInstance = new QuickConnectApi(defaultClient); - try { - Boolean result = apiInstance.getEnabled(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling QuickConnectApi#getEnabled"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -**Boolean** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Quick connect state returned. | - | - - -# **initiate** -> QuickConnectResult initiate() + +# **initiateQuickConnect** +> QuickConnectResult initiateQuickConnect() Initiate a new quick connect request. @@ -214,14 +216,14 @@ import org.openapitools.client.api.QuickConnectApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); QuickConnectApi apiInstance = new QuickConnectApi(defaultClient); try { - QuickConnectResult result = apiInstance.initiate(); + QuickConnectResult result = apiInstance.initiateQuickConnect(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling QuickConnectApi#initiate"); + System.err.println("Exception when calling QuickConnectApi#initiateQuickConnect"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/QuickConnectDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/QuickConnectDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/QuickConnectDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/QuickConnectDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/QuickConnectResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/QuickConnectResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/QuickConnectResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/QuickConnectResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RatingType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RatingType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RatingType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RatingType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReadyRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ReadyRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReadyRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ReadyRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RecommendationDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RecommendationDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RecommendationDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RecommendationDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RecommendationType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RecommendationType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RecommendationType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RecommendationType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RecordingStatus.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RecordingStatus.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RecordingStatus.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RecordingStatus.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RefreshProgressMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RefreshProgressMessage.md new file mode 100644 index 00000000000..aa313f6261e --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RefreshProgressMessage.md @@ -0,0 +1,16 @@ + + +# RefreshProgressMessage + +Refresh progress message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | **Map<String, String>** | Gets or sets the data. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RemoteImageApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RemoteImageApi.md similarity index 93% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RemoteImageApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RemoteImageApi.md index 4cc8271e196..99df1bda075 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RemoteImageApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RemoteImageApi.md @@ -1,6 +1,6 @@ # RemoteImageApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -28,7 +28,7 @@ import org.openapitools.client.api.RemoteImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -58,7 +58,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **itemId** | **UUID**| Item Id. | | -| **type** | [**ImageType**](.md)| The image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **type** | **ImageType**| The image type. | [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **imageUrl** | **String**| The image url. | [optional] | ### Return type @@ -101,7 +101,7 @@ import org.openapitools.client.api.RemoteImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -171,7 +171,7 @@ import org.openapitools.client.api.RemoteImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -205,7 +205,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **itemId** | **UUID**| Item Id. | | -| **type** | [**ImageType**](.md)| The image type. | [optional] [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | +| **type** | **ImageType**| The image type. | [optional] [enum: Primary, Art, Backdrop, Banner, Logo, Thumb, Disc, Box, Screenshot, Menu, Chapter, BoxRear, Profile] | | **startIndex** | **Integer**| Optional. The record index to start at. All items with a lower index will be dropped from the results. | [optional] | | **limit** | **Integer**| Optional. The maximum number of records to return. | [optional] | | **providerName** | **String**| Optional. The image provider to use. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RemoteImageInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RemoteImageInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RemoteImageInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RemoteImageInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RemoteImageResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RemoteImageResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RemoteImageResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RemoteImageResult.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RemoteLyricInfoDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RemoteLyricInfoDto.md new file mode 100644 index 00000000000..4c3ca188201 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RemoteLyricInfoDto.md @@ -0,0 +1,16 @@ + + +# RemoteLyricInfoDto + +The remote lyric info dto. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **String** | Gets or sets the id for the lyric. | [optional] | +|**providerName** | **String** | Gets the provider name. | [optional] | +|**lyrics** | [**LyricDto**](LyricDto.md) | Gets the lyrics. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RemoteSearchResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RemoteSearchResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RemoteSearchResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RemoteSearchResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RemoteSubtitleInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RemoteSubtitleInfo.md similarity index 73% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RemoteSubtitleInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RemoteSubtitleInfo.md index 0c40d4acae9..3f0c7fd8019 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RemoteSubtitleInfo.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RemoteSubtitleInfo.md @@ -16,8 +16,13 @@ |**comment** | **String** | | [optional] | |**dateCreated** | **OffsetDateTime** | | [optional] | |**communityRating** | **Float** | | [optional] | +|**frameRate** | **Float** | | [optional] | |**downloadCount** | **Integer** | | [optional] | |**isHashMatch** | **Boolean** | | [optional] | +|**aiTranslated** | **Boolean** | | [optional] | +|**machineTranslated** | **Boolean** | | [optional] | +|**forced** | **Boolean** | | [optional] | +|**hearingImpaired** | **Boolean** | | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RemoveFromPlaylistRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RemoveFromPlaylistRequestDto.md similarity index 90% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RemoveFromPlaylistRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RemoveFromPlaylistRequestDto.md index bbf21a6dfee..722d32e0b84 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RemoveFromPlaylistRequestDto.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RemoveFromPlaylistRequestDto.md @@ -8,7 +8,7 @@ Class RemoveFromPlaylistRequestDto. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**playlistItemIds** | **List<UUID>** | Gets or sets the playlist identifiers ot the items. Ignored when clearing the playlist. | [optional] | +|**playlistItemIds** | **List<UUID>** | Gets or sets the playlist identifiers of the items. Ignored when clearing the playlist. | [optional] | |**clearPlaylist** | **Boolean** | Gets or sets a value indicating whether the entire playlist should be cleared. | [optional] | |**clearPlayingItem** | **Boolean** | Gets or sets a value indicating whether the playing item should be removed as well. Used only when clearing the playlist. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RepeatMode.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RepeatMode.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RepeatMode.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RepeatMode.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RepositoryInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RepositoryInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RepositoryInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RepositoryInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RestartRequiredMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RestartRequiredMessage.md new file mode 100644 index 00000000000..6ed459b408a --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/RestartRequiredMessage.md @@ -0,0 +1,15 @@ + + +# RestartRequiredMessage + +Restart required. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ScheduledTaskEndedMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ScheduledTaskEndedMessage.md new file mode 100644 index 00000000000..2ce25ee995c --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ScheduledTaskEndedMessage.md @@ -0,0 +1,16 @@ + + +# ScheduledTaskEndedMessage + +Scheduled task ended message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**TaskResult**](TaskResult.md) | Class TaskExecutionInfo. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ScheduledTasksApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ScheduledTasksApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ScheduledTasksApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ScheduledTasksApi.md index 0f25adbf1e6..98b1586f224 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ScheduledTasksApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ScheduledTasksApi.md @@ -1,6 +1,6 @@ # ScheduledTasksApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -30,7 +30,7 @@ import org.openapitools.client.api.ScheduledTasksApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -100,7 +100,7 @@ import org.openapitools.client.api.ScheduledTasksApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -171,7 +171,7 @@ import org.openapitools.client.api.ScheduledTasksApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -240,7 +240,7 @@ import org.openapitools.client.api.ScheduledTasksApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -309,7 +309,7 @@ import org.openapitools.client.api.ScheduledTasksApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ScheduledTasksInfoMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ScheduledTasksInfoMessage.md new file mode 100644 index 00000000000..79c5488c028 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ScheduledTasksInfoMessage.md @@ -0,0 +1,16 @@ + + +# ScheduledTasksInfoMessage + +Scheduled tasks info message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**List<TaskInfo>**](TaskInfo.md) | Gets or sets the data. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ScheduledTasksInfoStartMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ScheduledTasksInfoStartMessage.md new file mode 100644 index 00000000000..9b57533f51d --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ScheduledTasksInfoStartMessage.md @@ -0,0 +1,15 @@ + + +# ScheduledTasksInfoStartMessage + +Scheduled tasks info start message. Data is the timing data encoded as \"$initialDelay,$interval\" in ms. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | **String** | Gets or sets the data. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ScheduledTasksInfoStopMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ScheduledTasksInfoStopMessage.md new file mode 100644 index 00000000000..60b03b15e7f --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ScheduledTasksInfoStopMessage.md @@ -0,0 +1,14 @@ + + +# ScheduledTasksInfoStopMessage + +Scheduled tasks info stop message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ScrollDirection.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ScrollDirection.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ScrollDirection.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ScrollDirection.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SearchApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SearchApi.md similarity index 78% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SearchApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SearchApi.md index a88ee8ca782..27452c60de0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SearchApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SearchApi.md @@ -1,15 +1,15 @@ # SearchApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**get**](SearchApi.md#get) | **GET** /Search/Hints | Gets the search hint result. | +| [**getSearchHints**](SearchApi.md#getSearchHints) | **GET** /Search/Hints | Gets the search hint result. | - -# **get** -> SearchHintResult get(searchTerm, startIndex, limit, userId, includeItemTypes, excludeItemTypes, mediaTypes, parentId, isMovie, isSeries, isNews, isKids, isSports, includePeople, includeMedia, includeGenres, includeStudios, includeArtists) + +# **getSearchHints** +> SearchHintResult getSearchHints(searchTerm, startIndex, limit, userId, includeItemTypes, excludeItemTypes, mediaTypes, parentId, isMovie, isSeries, isNews, isKids, isSports, includePeople, includeMedia, includeGenres, includeStudios, includeArtists) Gets the search hint result. @@ -26,7 +26,7 @@ import org.openapitools.client.api.SearchApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -39,9 +39,9 @@ public class Example { Integer startIndex = 56; // Integer | Optional. The record index to start at. All items with a lower index will be dropped from the results. Integer limit = 56; // Integer | Optional. The maximum number of records to return. UUID userId = UUID.randomUUID(); // UUID | Optional. Supply a user id to search within a user's library or omit to search all. - List includeItemTypes = Arrays.asList(); // List | If specified, only results with the specified item types are returned. This allows multiple, comma delimeted. - List excludeItemTypes = Arrays.asList(); // List | If specified, results with these item types are filtered out. This allows multiple, comma delimeted. - List mediaTypes = Arrays.asList(); // List | If specified, only results with the specified media types are returned. This allows multiple, comma delimeted. + List includeItemTypes = Arrays.asList(); // List | If specified, only results with the specified item types are returned. This allows multiple, comma delimited. + List excludeItemTypes = Arrays.asList(); // List | If specified, results with these item types are filtered out. This allows multiple, comma delimited. + List mediaTypes = Arrays.asList(); // List | If specified, only results with the specified media types are returned. This allows multiple, comma delimited. UUID parentId = UUID.randomUUID(); // UUID | If specified, only children of the parent are returned. Boolean isMovie = true; // Boolean | Optional filter for movies. Boolean isSeries = true; // Boolean | Optional filter for series. @@ -54,10 +54,10 @@ public class Example { Boolean includeStudios = true; // Boolean | Optional filter whether to include studios. Boolean includeArtists = true; // Boolean | Optional filter whether to include artists. try { - SearchHintResult result = apiInstance.get(searchTerm, startIndex, limit, userId, includeItemTypes, excludeItemTypes, mediaTypes, parentId, isMovie, isSeries, isNews, isKids, isSports, includePeople, includeMedia, includeGenres, includeStudios, includeArtists); + SearchHintResult result = apiInstance.getSearchHints(searchTerm, startIndex, limit, userId, includeItemTypes, excludeItemTypes, mediaTypes, parentId, isMovie, isSeries, isNews, isKids, isSports, includePeople, includeMedia, includeGenres, includeStudios, includeArtists); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SearchApi#get"); + System.err.println("Exception when calling SearchApi#getSearchHints"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -75,9 +75,9 @@ public class Example { | **startIndex** | **Integer**| Optional. The record index to start at. All items with a lower index will be dropped from the results. | [optional] | | **limit** | **Integer**| Optional. The maximum number of records to return. | [optional] | | **userId** | **UUID**| Optional. Supply a user id to search within a user's library or omit to search all. | [optional] | -| **includeItemTypes** | [**List<BaseItemKind>**](BaseItemKind.md)| If specified, only results with the specified item types are returned. This allows multiple, comma delimeted. | [optional] | -| **excludeItemTypes** | [**List<BaseItemKind>**](BaseItemKind.md)| If specified, results with these item types are filtered out. This allows multiple, comma delimeted. | [optional] | -| **mediaTypes** | [**List<String>**](String.md)| If specified, only results with the specified media types are returned. This allows multiple, comma delimeted. | [optional] | +| **includeItemTypes** | [**List<BaseItemKind>**](BaseItemKind.md)| If specified, only results with the specified item types are returned. This allows multiple, comma delimited. | [optional] | +| **excludeItemTypes** | [**List<BaseItemKind>**](BaseItemKind.md)| If specified, results with these item types are filtered out. This allows multiple, comma delimited. | [optional] | +| **mediaTypes** | [**List<MediaType>**](MediaType.md)| If specified, only results with the specified media types are returned. This allows multiple, comma delimited. | [optional] | | **parentId** | **UUID**| If specified, only children of the parent are returned. | [optional] | | **isMovie** | **Boolean**| Optional filter for movies. | [optional] | | **isSeries** | **Boolean**| Optional filter for series. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SearchHint.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SearchHint.md similarity index 75% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SearchHint.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SearchHint.md index 1110ed6ebe4..5e2d93c6d54 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SearchHint.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SearchHint.md @@ -9,7 +9,7 @@ Class SearchHintResult. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**itemId** | **UUID** | Gets or sets the item id. | [optional] | -|**id** | **UUID** | | [optional] | +|**id** | **UUID** | Gets or sets the item id. | [optional] | |**name** | **String** | Gets or sets the name. | [optional] | |**matchedTerm** | **String** | Gets or sets the matched term. | [optional] | |**indexNumber** | **Integer** | Gets or sets the index number. | [optional] | @@ -20,16 +20,16 @@ Class SearchHintResult. |**thumbImageItemId** | **String** | Gets or sets the thumb image item identifier. | [optional] | |**backdropImageTag** | **String** | Gets or sets the backdrop image tag. | [optional] | |**backdropImageItemId** | **String** | Gets or sets the backdrop image item identifier. | [optional] | -|**type** | **String** | Gets or sets the type. | [optional] | -|**isFolder** | **Boolean** | | [optional] | +|**type** | **BaseItemKind** | The base item kind. | [optional] | +|**isFolder** | **Boolean** | Gets or sets a value indicating whether this instance is folder. | [optional] | |**runTimeTicks** | **Long** | Gets or sets the run time ticks. | [optional] | -|**mediaType** | **String** | Gets or sets the type of the media. | [optional] | -|**startDate** | **OffsetDateTime** | | [optional] | -|**endDate** | **OffsetDateTime** | | [optional] | +|**mediaType** | **MediaType** | Media types. | [optional] | +|**startDate** | **OffsetDateTime** | Gets or sets the start date. | [optional] | +|**endDate** | **OffsetDateTime** | Gets or sets the end date. | [optional] | |**series** | **String** | Gets or sets the series. | [optional] | -|**status** | **String** | | [optional] | +|**status** | **String** | Gets or sets the status. | [optional] | |**album** | **String** | Gets or sets the album. | [optional] | -|**albumId** | **UUID** | | [optional] | +|**albumId** | **UUID** | Gets or sets the album id. | [optional] | |**albumArtist** | **String** | Gets or sets the album artist. | [optional] | |**artists** | **List<String>** | Gets or sets the artists. | [optional] | |**songCount** | **Integer** | Gets or sets the song count. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SearchHintResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SearchHintResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SearchHintResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SearchHintResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SeekRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeekRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SeekRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeekRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SendCommand.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SendCommand.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SendCommand.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SendCommand.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SendCommandType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SendCommandType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SendCommandType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SendCommandType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SeriesInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeriesInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SeriesInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeriesInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SeriesInfoRemoteSearchQuery.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeriesInfoRemoteSearchQuery.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SeriesInfoRemoteSearchQuery.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeriesInfoRemoteSearchQuery.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SeriesStatus.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeriesStatus.md similarity index 71% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SeriesStatus.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeriesStatus.md index 008a65b5126..20fcf4ad308 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SeriesStatus.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeriesStatus.md @@ -9,5 +9,7 @@ * `ENDED` (value: `"Ended"`) +* `UNRELEASED` (value: `"Unreleased"`) + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeriesTimerCancelledMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeriesTimerCancelledMessage.md new file mode 100644 index 00000000000..82e086f34ba --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeriesTimerCancelledMessage.md @@ -0,0 +1,16 @@ + + +# SeriesTimerCancelledMessage + +Series timer cancelled message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**TimerEventInfo**](TimerEventInfo.md) | Gets or sets the data. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeriesTimerCreatedMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeriesTimerCreatedMessage.md new file mode 100644 index 00000000000..5410e96127d --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeriesTimerCreatedMessage.md @@ -0,0 +1,16 @@ + + +# SeriesTimerCreatedMessage + +Series timer created message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**TimerEventInfo**](TimerEventInfo.md) | Gets or sets the data. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SeriesTimerInfoDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeriesTimerInfoDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SeriesTimerInfoDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeriesTimerInfoDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SeriesTimerInfoDtoQueryResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeriesTimerInfoDtoQueryResult.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SeriesTimerInfoDtoQueryResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeriesTimerInfoDtoQueryResult.md index 157c3127d7c..16c0ed89d3c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SeriesTimerInfoDtoQueryResult.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SeriesTimerInfoDtoQueryResult.md @@ -2,6 +2,7 @@ # SeriesTimerInfoDtoQueryResult +Query result container. ## Properties diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ServerConfiguration.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ServerConfiguration.md similarity index 84% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ServerConfiguration.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ServerConfiguration.md index 79b6ef59302..7b47917baaf 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ServerConfiguration.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ServerConfiguration.md @@ -20,7 +20,6 @@ Represents the server configuration. |**enableCaseSensitiveItemIds** | **Boolean** | Gets or sets a value indicating whether [enable case sensitive item ids]. | [optional] | |**disableLiveTvChannelUserDataName** | **Boolean** | | [optional] | |**metadataPath** | **String** | Gets or sets the metadata path. | [optional] | -|**metadataNetworkPath** | **String** | | [optional] | |**preferredMetadataLanguage** | **String** | Gets or sets the preferred metadata language. | [optional] | |**metadataCountryCode** | **String** | Gets or sets the metadata country code. | [optional] | |**sortReplaceCharacters** | **List<String>** | Gets or sets characters to be replaced with a ' ' in strings to create a sort name. | [optional] | @@ -31,7 +30,9 @@ Represents the server configuration. |**minResumeDurationSeconds** | **Integer** | Gets or sets the minimum duration that an item must have in order to be eligible for playstate updates.. | [optional] | |**minAudiobookResume** | **Integer** | Gets or sets the minimum minutes of a book that must be played in order for playstate to be updated. | [optional] | |**maxAudiobookResume** | **Integer** | Gets or sets the remaining minutes of a book that can be played while still saving playstate. If this percentage is crossed playstate will be reset to the beginning and the item will be marked watched. | [optional] | +|**inactiveSessionThreshold** | **Integer** | Gets or sets the threshold in minutes after a inactive session gets closed automatically. If set to 0 the check for inactive sessions gets disabled. | [optional] | |**libraryMonitorDelay** | **Integer** | Gets or sets the delay in seconds that we will wait after a file system change to try and discover what has been added/removed Some delay is necessary with some items because their creation is not atomic. It involves the creation of several different directories and files. | [optional] | +|**libraryUpdateDuration** | **Integer** | Gets or sets the duration in seconds that we will wait after a library updated event before executing the library changed notification. | [optional] | |**imageSavingConvention** | **ImageSavingConvention** | Gets or sets the image saving convention. | [optional] | |**metadataOptions** | [**List<MetadataOptions>**](MetadataOptions.md) | | [optional] | |**skipDeserializationForBasicTypes** | **Boolean** | | [optional] | @@ -56,6 +57,11 @@ Represents the server configuration. |**libraryMetadataRefreshConcurrency** | **Integer** | Gets or sets the how many metadata refreshes can run concurrently. | [optional] | |**removeOldPlugins** | **Boolean** | Gets or sets a value indicating whether older plugins should automatically be deleted from the plugin folder. | [optional] | |**allowClientLogUpload** | **Boolean** | Gets or sets a value indicating whether clients should be allowed to upload logs. | [optional] | +|**dummyChapterDuration** | **Integer** | Gets or sets the dummy chapter duration in seconds, use 0 (zero) or less to disable generation alltogether. | [optional] | +|**chapterImageResolution** | **ImageResolution** | Gets or sets the chapter image resolution. | [optional] | +|**parallelImageEncodingLimit** | **Integer** | Gets or sets the limit for parallel image encoding. | [optional] | +|**castReceiverApplications** | [**List<CastReceiverApplication>**](CastReceiverApplication.md) | Gets or sets the list of cast receiver applications. | [optional] | +|**trickplayOptions** | [**TrickplayOptions**](TrickplayOptions.md) | Gets or sets the trickplay options. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ServerDiscoveryInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ServerDiscoveryInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ServerDiscoveryInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ServerDiscoveryInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ServerRestartingMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ServerRestartingMessage.md new file mode 100644 index 00000000000..d405114f141 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ServerRestartingMessage.md @@ -0,0 +1,15 @@ + + +# ServerRestartingMessage + +Server restarting down message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ServerShuttingDownMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ServerShuttingDownMessage.md new file mode 100644 index 00000000000..eac2462247b --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ServerShuttingDownMessage.md @@ -0,0 +1,15 @@ + + +# ServerShuttingDownMessage + +Server shutting down message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SessionApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SessionApi.md similarity index 90% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SessionApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SessionApi.md index ed3597bcdcb..7e234a2f2ef 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SessionApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SessionApi.md @@ -1,6 +1,6 @@ # SessionApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -41,7 +41,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -111,7 +111,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -142,7 +142,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **sessionId** | **String**| The session Id. | | -| **itemType** | [**BaseItemKind**](.md)| The type of item to browse to. | [enum: AggregateFolder, Audio, AudioBook, BasePluginFolder, Book, BoxSet, Channel, ChannelFolderItem, CollectionFolder, Episode, Folder, Genre, ManualPlaylistsFolder, Movie, LiveTvChannel, LiveTvProgram, MusicAlbum, MusicArtist, MusicGenre, MusicVideo, Person, Photo, PhotoAlbum, Playlist, PlaylistsFolder, Program, Recording, Season, Series, Studio, Trailer, TvChannel, TvProgram, UserRootFolder, UserView, Video, Year] | +| **itemType** | **BaseItemKind**| The type of item to browse to. | [enum: AggregateFolder, Audio, AudioBook, BasePluginFolder, Book, BoxSet, Channel, ChannelFolderItem, CollectionFolder, Episode, Folder, Genre, ManualPlaylistsFolder, Movie, LiveTvChannel, LiveTvProgram, MusicAlbum, MusicArtist, MusicGenre, MusicVideo, Person, Photo, PhotoAlbum, Playlist, PlaylistsFolder, Program, Recording, Season, Series, Studio, Trailer, TvChannel, TvProgram, UserRootFolder, UserView, Video, Year] | | **itemId** | **String**| The Id of the item. | | | **itemName** | **String**| The name of the item. | | @@ -185,7 +185,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -250,7 +250,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -298,7 +298,7 @@ This endpoint does not need any parameter. # **getSessions** -> List<SessionInfo> getSessions(controllableByUserId, deviceId, activeWithinSeconds) +> List<SessionInfoDto> getSessions(controllableByUserId, deviceId, activeWithinSeconds) Gets a list of sessions. @@ -315,7 +315,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -328,7 +328,7 @@ public class Example { String deviceId = "deviceId_example"; // String | Filter by device Id. Integer activeWithinSeconds = 56; // Integer | Optional. Filter by sessions that were active in the last n seconds. try { - List result = apiInstance.getSessions(controllableByUserId, deviceId, activeWithinSeconds); + List result = apiInstance.getSessions(controllableByUserId, deviceId, activeWithinSeconds); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling SessionApi#getSessions"); @@ -351,7 +351,7 @@ public class Example { ### Return type -[**List<SessionInfo>**](SessionInfo.md) +[**List<SessionInfoDto>**](SessionInfoDto.md) ### Authorization @@ -388,7 +388,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -423,7 +423,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **sessionId** | **String**| The session id. | | -| **playCommand** | [**PlayCommand**](.md)| The type of play command to issue (PlayNow, PlayNext, PlayLast). Clients who have not yet implemented play next and play last may play now. | [enum: PlayNow, PlayNext, PlayLast, PlayInstantMix, PlayShuffle] | +| **playCommand** | **PlayCommand**| The type of play command to issue (PlayNow, PlayNext, PlayLast). Clients who have not yet implemented play next and play last may play now. | [enum: PlayNow, PlayNext, PlayLast, PlayInstantMix, PlayShuffle] | | **itemIds** | [**List<UUID>**](UUID.md)| The ids of the items to play, comma delimited. | | | **startPositionTicks** | **Long**| The starting position of the first item. | [optional] | | **mediaSourceId** | **String**| Optional. The media source id. | [optional] | @@ -453,7 +453,7 @@ null (empty response body) # **postCapabilities** -> postCapabilities(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsSync, supportsPersistentIdentifier) +> postCapabilities(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsPersistentIdentifier) Updates capabilities for a device. @@ -470,7 +470,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -480,13 +480,12 @@ public class Example { SessionApi apiInstance = new SessionApi(defaultClient); String id = "id_example"; // String | The session id. - List playableMediaTypes = Arrays.asList(); // List | A list of playable media types, comma delimited. Audio, Video, Book, Photo. + List playableMediaTypes = Arrays.asList(); // List | A list of playable media types, comma delimited. Audio, Video, Book, Photo. List supportedCommands = Arrays.asList(); // List | A list of supported remote control commands, comma delimited. Boolean supportsMediaControl = false; // Boolean | Determines whether media can be played remotely.. - Boolean supportsSync = false; // Boolean | Determines whether sync is supported. Boolean supportsPersistentIdentifier = true; // Boolean | Determines whether the device supports a unique identifier. try { - apiInstance.postCapabilities(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsSync, supportsPersistentIdentifier); + apiInstance.postCapabilities(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsPersistentIdentifier); } catch (ApiException e) { System.err.println("Exception when calling SessionApi#postCapabilities"); System.err.println("Status code: " + e.getCode()); @@ -503,10 +502,9 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **id** | **String**| The session id. | [optional] | -| **playableMediaTypes** | [**List<String>**](String.md)| A list of playable media types, comma delimited. Audio, Video, Book, Photo. | [optional] | +| **playableMediaTypes** | [**List<MediaType>**](MediaType.md)| A list of playable media types, comma delimited. Audio, Video, Book, Photo. | [optional] | | **supportedCommands** | [**List<GeneralCommandType>**](GeneralCommandType.md)| A list of supported remote control commands, comma delimited. | [optional] | | **supportsMediaControl** | **Boolean**| Determines whether media can be played remotely.. | [optional] [default to false] | -| **supportsSync** | **Boolean**| Determines whether sync is supported. | [optional] [default to false] | | **supportsPersistentIdentifier** | **Boolean**| Determines whether the device supports a unique identifier. | [optional] [default to true] | ### Return type @@ -548,7 +546,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -618,7 +616,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -688,7 +686,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -752,7 +750,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -822,7 +820,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -892,7 +890,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -921,7 +919,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **sessionId** | **String**| The session id. | | -| **command** | [**GeneralCommandType**](.md)| The command to send. | [enum: MoveUp, MoveDown, MoveLeft, MoveRight, PageUp, PageDown, PreviousLetter, NextLetter, ToggleOsd, ToggleContextMenu, Select, Back, TakeScreenshot, SendKey, SendString, GoHome, GoToSettings, VolumeUp, VolumeDown, Mute, Unmute, ToggleMute, SetVolume, SetAudioStreamIndex, SetSubtitleStreamIndex, ToggleFullscreen, DisplayContent, GoToSearch, DisplayMessage, SetRepeatMode, ChannelUp, ChannelDown, Guide, ToggleStats, PlayMediaSource, PlayTrailers, SetShuffleQueue, PlayState, PlayNext, ToggleOsdMenu, Play, SetMaxStreamingBitrate] | +| **command** | **GeneralCommandType**| The command to send. | [enum: MoveUp, MoveDown, MoveLeft, MoveRight, PageUp, PageDown, PreviousLetter, NextLetter, ToggleOsd, ToggleContextMenu, Select, Back, TakeScreenshot, SendKey, SendString, GoHome, GoToSettings, VolumeUp, VolumeDown, Mute, Unmute, ToggleMute, SetVolume, SetAudioStreamIndex, SetSubtitleStreamIndex, ToggleFullscreen, DisplayContent, GoToSearch, DisplayMessage, SetRepeatMode, ChannelUp, ChannelDown, Guide, ToggleStats, PlayMediaSource, PlayTrailers, SetShuffleQueue, PlayState, PlayNext, ToggleOsdMenu, Play, SetMaxStreamingBitrate, SetPlaybackOrder] | ### Return type @@ -962,7 +960,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1032,7 +1030,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1063,7 +1061,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **sessionId** | **String**| The session id. | | -| **command** | [**PlaystateCommand**](.md)| The MediaBrowser.Model.Session.PlaystateCommand. | [enum: Stop, Pause, Unpause, NextTrack, PreviousTrack, Seek, Rewind, FastForward, PlayPause] | +| **command** | **PlaystateCommand**| The MediaBrowser.Model.Session.PlaystateCommand. | [enum: Stop, Pause, Unpause, NextTrack, PreviousTrack, Seek, Rewind, FastForward, PlayPause] | | **seekPositionTicks** | **Long**| The optional position ticks. | [optional] | | **controllingUserId** | **String**| The optional controlling user id. | [optional] | @@ -1106,7 +1104,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1135,7 +1133,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **sessionId** | **String**| The session id. | | -| **command** | [**GeneralCommandType**](.md)| The command to send. | [enum: MoveUp, MoveDown, MoveLeft, MoveRight, PageUp, PageDown, PreviousLetter, NextLetter, ToggleOsd, ToggleContextMenu, Select, Back, TakeScreenshot, SendKey, SendString, GoHome, GoToSettings, VolumeUp, VolumeDown, Mute, Unmute, ToggleMute, SetVolume, SetAudioStreamIndex, SetSubtitleStreamIndex, ToggleFullscreen, DisplayContent, GoToSearch, DisplayMessage, SetRepeatMode, ChannelUp, ChannelDown, Guide, ToggleStats, PlayMediaSource, PlayTrailers, SetShuffleQueue, PlayState, PlayNext, ToggleOsdMenu, Play, SetMaxStreamingBitrate] | +| **command** | **GeneralCommandType**| The command to send. | [enum: MoveUp, MoveDown, MoveLeft, MoveRight, PageUp, PageDown, PreviousLetter, NextLetter, ToggleOsd, ToggleContextMenu, Select, Back, TakeScreenshot, SendKey, SendString, GoHome, GoToSettings, VolumeUp, VolumeDown, Mute, Unmute, ToggleMute, SetVolume, SetAudioStreamIndex, SetSubtitleStreamIndex, ToggleFullscreen, DisplayContent, GoToSearch, DisplayMessage, SetRepeatMode, ChannelUp, ChannelDown, Guide, ToggleStats, PlayMediaSource, PlayTrailers, SetShuffleQueue, PlayState, PlayNext, ToggleOsdMenu, Play, SetMaxStreamingBitrate, SetPlaybackOrder] | ### Return type diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SessionInfoDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SessionInfoDto.md new file mode 100644 index 00000000000..903b5f57ac0 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SessionInfoDto.md @@ -0,0 +1,42 @@ + + +# SessionInfoDto + +Session info DTO. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**playState** | [**PlayerStateInfo**](PlayerStateInfo.md) | Gets or sets the play state. | [optional] | +|**additionalUsers** | [**List<SessionUserInfo>**](SessionUserInfo.md) | Gets or sets the additional users. | [optional] | +|**capabilities** | [**ClientCapabilitiesDto**](ClientCapabilitiesDto.md) | Gets or sets the client capabilities. | [optional] | +|**remoteEndPoint** | **String** | Gets or sets the remote end point. | [optional] | +|**playableMediaTypes** | **List<MediaType>** | Gets or sets the playable media types. | [optional] | +|**id** | **String** | Gets or sets the id. | [optional] | +|**userId** | **UUID** | Gets or sets the user id. | [optional] | +|**userName** | **String** | Gets or sets the username. | [optional] | +|**client** | **String** | Gets or sets the type of the client. | [optional] | +|**lastActivityDate** | **OffsetDateTime** | Gets or sets the last activity date. | [optional] | +|**lastPlaybackCheckIn** | **OffsetDateTime** | Gets or sets the last playback check in. | [optional] | +|**lastPausedDate** | **OffsetDateTime** | Gets or sets the last paused date. | [optional] | +|**deviceName** | **String** | Gets or sets the name of the device. | [optional] | +|**deviceType** | **String** | Gets or sets the type of the device. | [optional] | +|**nowPlayingItem** | [**BaseItemDto**](BaseItemDto.md) | Gets or sets the now playing item. | [optional] | +|**nowViewingItem** | [**BaseItemDto**](BaseItemDto.md) | Gets or sets the now viewing item. | [optional] | +|**deviceId** | **String** | Gets or sets the device id. | [optional] | +|**applicationVersion** | **String** | Gets or sets the application version. | [optional] | +|**transcodingInfo** | [**TranscodingInfo**](TranscodingInfo.md) | Gets or sets the transcoding info. | [optional] | +|**isActive** | **Boolean** | Gets or sets a value indicating whether this session is active. | [optional] | +|**supportsMediaControl** | **Boolean** | Gets or sets a value indicating whether the session supports media control. | [optional] | +|**supportsRemoteControl** | **Boolean** | Gets or sets a value indicating whether the session supports remote control. | [optional] | +|**nowPlayingQueue** | [**List<QueueItem>**](QueueItem.md) | Gets or sets the now playing queue. | [optional] | +|**nowPlayingQueueFullItems** | [**List<BaseItemDto>**](BaseItemDto.md) | Gets or sets the now playing queue full items. | [optional] | +|**hasCustomDeviceName** | **Boolean** | Gets or sets a value indicating whether the session has a custom device name. | [optional] | +|**playlistItemId** | **String** | Gets or sets the playlist item id. | [optional] | +|**serverId** | **String** | Gets or sets the server id. | [optional] | +|**userPrimaryImageTag** | **String** | Gets or sets the user primary image tag. | [optional] | +|**supportedCommands** | **List<GeneralCommandType>** | Gets or sets the supported commands. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SessionMessageType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SessionMessageType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SessionMessageType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SessionMessageType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SessionUserInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SessionUserInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SessionUserInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SessionUserInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SessionsMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SessionsMessage.md new file mode 100644 index 00000000000..de7e242df89 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SessionsMessage.md @@ -0,0 +1,16 @@ + + +# SessionsMessage + +Sessions message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**List<SessionInfoDto>**](SessionInfoDto.md) | Gets or sets the data. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SessionsStartMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SessionsStartMessage.md new file mode 100644 index 00000000000..237dbc28ae4 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SessionsStartMessage.md @@ -0,0 +1,15 @@ + + +# SessionsStartMessage + +Sessions start message. Data is the timing data encoded as \"$initialDelay,$interval\" in ms. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | **String** | Gets or sets the data. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SessionsStopMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SessionsStopMessage.md new file mode 100644 index 00000000000..76b68ad42ac --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SessionsStopMessage.md @@ -0,0 +1,14 @@ + + +# SessionsStopMessage + +Sessions stop message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SetChannelMappingDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SetChannelMappingDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SetChannelMappingDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SetChannelMappingDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SetPlaylistItemRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SetPlaylistItemRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SetPlaylistItemRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SetPlaylistItemRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SetRepeatModeRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SetRepeatModeRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SetRepeatModeRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SetRepeatModeRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SetShuffleModeRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SetShuffleModeRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SetShuffleModeRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SetShuffleModeRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SongInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SongInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SongInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SongInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SortOrder.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SortOrder.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SortOrder.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SortOrder.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SpecialViewOptionDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SpecialViewOptionDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SpecialViewOptionDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SpecialViewOptionDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/StartupApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/StartupApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/StartupApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/StartupApi.md index ee16bd4a44f..259a044f575 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/StartupApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/StartupApi.md @@ -1,6 +1,6 @@ # StartupApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -32,7 +32,7 @@ import org.openapitools.client.api.StartupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -96,7 +96,7 @@ import org.openapitools.client.api.StartupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -161,7 +161,7 @@ import org.openapitools.client.api.StartupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -226,7 +226,7 @@ import org.openapitools.client.api.StartupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -291,7 +291,7 @@ import org.openapitools.client.api.StartupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -359,7 +359,7 @@ import org.openapitools.client.api.StartupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -427,7 +427,7 @@ import org.openapitools.client.api.StartupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/StartupConfigurationDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/StartupConfigurationDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/StartupConfigurationDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/StartupConfigurationDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/StartupRemoteAccessDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/StartupRemoteAccessDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/StartupRemoteAccessDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/StartupRemoteAccessDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/StartupUserDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/StartupUserDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/StartupUserDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/StartupUserDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ObjectGroupUpdate.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/StringGroupUpdate.md similarity index 73% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ObjectGroupUpdate.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/StringGroupUpdate.md index 604d56b8d55..dea4a3c5357 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ObjectGroupUpdate.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/StringGroupUpdate.md @@ -1,6 +1,6 @@ -# ObjectGroupUpdate +# StringGroupUpdate Class GroupUpdate. @@ -8,9 +8,9 @@ Class GroupUpdate. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**groupId** | **UUID** | Gets the group identifier. | [optional] | +|**groupId** | **UUID** | Gets the group identifier. | [optional] [readonly] | |**type** | **GroupUpdateType** | Gets the update type. | [optional] | -|**data** | **Object** | Gets the update data. | [optional] | +|**data** | **String** | Gets the update data. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/StudiosApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/StudiosApi.md similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/StudiosApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/StudiosApi.md index 7d1022a619f..0948b8bf22b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/StudiosApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/StudiosApi.md @@ -1,6 +1,6 @@ # StudiosApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -27,7 +27,7 @@ import org.openapitools.client.api.StudiosApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -98,7 +98,7 @@ import org.openapitools.client.api.StudiosApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SubtitleApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SubtitleApi.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SubtitleApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SubtitleApi.md index 736a930c64a..a012923506d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SubtitleApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SubtitleApi.md @@ -1,6 +1,6 @@ # SubtitleApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -8,7 +8,7 @@ All URIs are relative to *http://nuc.ehrendingen:8096* | [**downloadRemoteSubtitles**](SubtitleApi.md#downloadRemoteSubtitles) | **POST** /Items/{itemId}/RemoteSearch/Subtitles/{subtitleId} | Downloads a remote subtitle. | | [**getFallbackFont**](SubtitleApi.md#getFallbackFont) | **GET** /FallbackFont/Fonts/{name} | Gets a fallback font file. | | [**getFallbackFontList**](SubtitleApi.md#getFallbackFontList) | **GET** /FallbackFont/Fonts | Gets a list of available fallback font files. | -| [**getRemoteSubtitles**](SubtitleApi.md#getRemoteSubtitles) | **GET** /Providers/Subtitles/Subtitles/{id} | Gets the remote subtitles. | +| [**getRemoteSubtitles**](SubtitleApi.md#getRemoteSubtitles) | **GET** /Providers/Subtitles/Subtitles/{subtitleId} | Gets the remote subtitles. | | [**getSubtitle**](SubtitleApi.md#getSubtitle) | **GET** /Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/Stream.{routeFormat} | Gets subtitles in a specified format. | | [**getSubtitlePlaylist**](SubtitleApi.md#getSubtitlePlaylist) | **GET** /Videos/{itemId}/{mediaSourceId}/Subtitles/{index}/subtitles.m3u8 | Gets an HLS subtitle playlist. | | [**getSubtitleWithTicks**](SubtitleApi.md#getSubtitleWithTicks) | **GET** /Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/{routeStartPositionTicks}/Stream.{routeFormat} | Gets subtitles in a specified format. | @@ -35,7 +35,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -106,7 +106,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -148,12 +148,13 @@ null (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **204** | Subtitle downloaded. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | @@ -176,7 +177,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -245,7 +246,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -293,7 +294,7 @@ This endpoint does not need any parameter. # **getRemoteSubtitles** -> File getRemoteSubtitles(id) +> File getRemoteSubtitles(subtitleId) Gets the remote subtitles. @@ -310,7 +311,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -319,9 +320,9 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); SubtitleApi apiInstance = new SubtitleApi(defaultClient); - String id = "id_example"; // String | The item id. + String subtitleId = "subtitleId_example"; // String | The item id. try { - File result = apiInstance.getRemoteSubtitles(id); + File result = apiInstance.getRemoteSubtitles(subtitleId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling SubtitleApi#getRemoteSubtitles"); @@ -338,7 +339,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **id** | **String**| The item id. | | +| **subtitleId** | **String**| The item id. | | ### Return type @@ -378,7 +379,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); SubtitleApi apiInstance = new SubtitleApi(defaultClient); UUID routeItemId = UUID.randomUUID(); // UUID | The (route) item id. @@ -461,7 +462,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -508,12 +509,13 @@ public class Example { ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/x-mpegURL + - **Accept**: application/x-mpegURL, application/json, application/json; profile=CamelCase, application/json; profile=PascalCase ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Subtitle playlist retrieved. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | @@ -535,7 +537,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); SubtitleApi apiInstance = new SubtitleApi(defaultClient); UUID routeItemId = UUID.randomUUID(); // UUID | The (route) item id. @@ -620,7 +622,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -671,6 +673,7 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Subtitles retrieved. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | @@ -693,7 +696,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -735,12 +738,13 @@ null (empty response body) ### HTTP request headers - **Content-Type**: application/json, text/json, application/*+json - - **Accept**: Not defined + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **204** | Subtitle uploaded. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SubtitleDeliveryMethod.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SubtitleDeliveryMethod.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SubtitleDeliveryMethod.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SubtitleDeliveryMethod.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SubtitleOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SubtitleOptions.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SubtitleOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SubtitleOptions.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SubtitlePlaybackMode.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SubtitlePlaybackMode.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SubtitlePlaybackMode.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SubtitlePlaybackMode.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SubtitleProfile.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SubtitleProfile.md new file mode 100644 index 00000000000..4a3e43769cd --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SubtitleProfile.md @@ -0,0 +1,18 @@ + + +# SubtitleProfile + +A class for subtitle profile information. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**format** | **String** | Gets or sets the format. | [optional] | +|**method** | **SubtitleDeliveryMethod** | Gets or sets the delivery method. | [optional] | +|**didlMode** | **String** | Gets or sets the DIDL mode. | [optional] | +|**language** | **String** | Gets or sets the language. | [optional] | +|**container** | **String** | Gets or sets the container. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SuggestionsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SuggestionsApi.md similarity index 89% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SuggestionsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SuggestionsApi.md index f253f31035f..d01e97f86f7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SuggestionsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SuggestionsApi.md @@ -1,10 +1,10 @@ # SuggestionsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**getSuggestions**](SuggestionsApi.md#getSuggestions) | **GET** /Users/{userId}/Suggestions | Gets suggestions. | +| [**getSuggestions**](SuggestionsApi.md#getSuggestions) | **GET** /Items/Suggestions | Gets suggestions. | @@ -26,7 +26,7 @@ import org.openapitools.client.api.SuggestionsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -36,7 +36,7 @@ public class Example { SuggestionsApi apiInstance = new SuggestionsApi(defaultClient); UUID userId = UUID.randomUUID(); // UUID | The user id. - List mediaType = Arrays.asList(); // List | The media types. + List mediaType = Arrays.asList(); // List | The media types. List type = Arrays.asList(); // List | The type. Integer startIndex = 56; // Integer | Optional. The start index. Integer limit = 56; // Integer | Optional. The limit. @@ -59,8 +59,8 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| The user id. | | -| **mediaType** | [**List<String>**](String.md)| The media types. | [optional] | +| **userId** | **UUID**| The user id. | [optional] | +| **mediaType** | [**List<MediaType>**](MediaType.md)| The media types. | [optional] | | **type** | [**List<BaseItemKind>**](BaseItemKind.md)| The type. | [optional] | | **startIndex** | **Integer**| Optional. The start index. | [optional] | | **limit** | **Integer**| Optional. The limit. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SyncPlayApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SyncPlayApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SyncPlayApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SyncPlayApi.md index 67c71f83bb9..d5049ab1aa2 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SyncPlayApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SyncPlayApi.md @@ -1,6 +1,6 @@ # SyncPlayApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -46,7 +46,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -114,7 +114,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -182,7 +182,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -247,7 +247,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -315,7 +315,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -379,7 +379,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -447,7 +447,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -515,7 +515,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -579,7 +579,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -647,7 +647,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -715,7 +715,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -783,7 +783,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -851,7 +851,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -919,7 +919,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -987,7 +987,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1055,7 +1055,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1123,7 +1123,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1191,7 +1191,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1259,7 +1259,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1327,7 +1327,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1391,7 +1391,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SyncPlayCommandMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SyncPlayCommandMessage.md new file mode 100644 index 00000000000..2512131922e --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SyncPlayCommandMessage.md @@ -0,0 +1,16 @@ + + +# SyncPlayCommandMessage + +Sync play command. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**SendCommand**](SendCommand.md) | Class SendCommand. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SyncPlayGroupUpdateCommandMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SyncPlayGroupUpdateCommandMessage.md new file mode 100644 index 00000000000..e1659cb412b --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SyncPlayGroupUpdateCommandMessage.md @@ -0,0 +1,16 @@ + + +# SyncPlayGroupUpdateCommandMessage + +Untyped sync play command. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**GroupUpdate**](GroupUpdate.md) | Group update without data. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SyncPlayQueueItem.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SyncPlayQueueItem.md new file mode 100644 index 00000000000..3e12418cb78 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SyncPlayQueueItem.md @@ -0,0 +1,15 @@ + + +# SyncPlayQueueItem + +Class QueueItem. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**itemId** | **UUID** | Gets the item identifier. | [optional] | +|**playlistItemId** | **UUID** | Gets the playlist identifier of the item. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SyncPlayUserAccessType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SyncPlayUserAccessType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SyncPlayUserAccessType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SyncPlayUserAccessType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SystemApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SystemApi.md similarity index 93% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SystemApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SystemApi.md index 5f9316fcb26..1e689570f3c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SystemApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SystemApi.md @@ -1,6 +1,6 @@ # SystemApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -35,7 +35,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -78,8 +78,8 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Information retrieved. | - | +| **403** | User does not have permission to get endpoint information. | - | | **401** | Unauthorized | - | -| **403** | Forbidden | - | # **getLogFile** @@ -100,7 +100,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -141,14 +141,15 @@ public class Example { ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: text/plain + - **Accept**: text/plain, application/json, application/json; profile=CamelCase, application/json; profile=PascalCase ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Log file retrieved. | - | +| **403** | User does not have permission to get log files. | - | +| **404** | Could not find a log file with the name. | - | | **401** | Unauthorized | - | -| **403** | Forbidden | - | # **getPingSystem** @@ -168,7 +169,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); SystemApi apiInstance = new SystemApi(defaultClient); try { @@ -224,7 +225,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); SystemApi apiInstance = new SystemApi(defaultClient); try { @@ -281,7 +282,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -324,8 +325,8 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Information retrieved. | - | +| **403** | User does not have permission to get server logs. | - | | **401** | Unauthorized | - | -| **403** | Forbidden | - | # **getSystemInfo** @@ -346,7 +347,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -389,8 +390,8 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Information retrieved. | - | +| **403** | User does not have permission to retrieve information. | - | | **401** | Unauthorized | - | -| **403** | Forbidden | - | # **getWakeOnLanInfo** @@ -411,7 +412,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -475,7 +476,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); SystemApi apiInstance = new SystemApi(defaultClient); try { @@ -532,7 +533,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -568,14 +569,14 @@ null (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **204** | Server restarted. | - | +| **403** | User does not have permission to restart server. | - | | **401** | Unauthorized | - | -| **403** | Forbidden | - | # **shutdownApplication** @@ -596,7 +597,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -632,12 +633,12 @@ null (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **204** | Server shut down. | - | +| **403** | User does not have permission to shutdown server. | - | | **401** | Unauthorized | - | -| **403** | Forbidden | - | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SystemInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SystemInfo.md similarity index 89% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SystemInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SystemInfo.md index e91f68ff39d..e46f650b271 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SystemInfo.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/SystemInfo.md @@ -31,9 +31,10 @@ Class SystemInfo. |**logPath** | **String** | Gets or sets the log path. | [optional] | |**internalMetadataPath** | **String** | Gets or sets the internal metadata path. | [optional] | |**transcodingTempPath** | **String** | Gets or sets the transcode path. | [optional] | +|**castReceiverApplications** | [**List<CastReceiverApplication>**](CastReceiverApplication.md) | Gets or sets the list of cast receiver applications. | [optional] | |**hasUpdateAvailable** | **Boolean** | Gets or sets a value indicating whether this instance has update available. | [optional] | -|**encoderLocation** | **FFmpegLocation** | Enum describing the location of the FFmpeg tool. | [optional] | -|**systemArchitecture** | **Architecture** | | [optional] | +|**encoderLocation** | **String** | | [optional] | +|**systemArchitecture** | **String** | | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TaskCompletionStatus.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TaskCompletionStatus.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TaskCompletionStatus.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TaskCompletionStatus.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TaskInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TaskInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TaskInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TaskInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TaskResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TaskResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TaskResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TaskResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TaskState.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TaskState.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TaskState.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TaskState.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TaskTriggerInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TaskTriggerInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TaskTriggerInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TaskTriggerInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ThemeMediaResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ThemeMediaResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ThemeMediaResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ThemeMediaResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TimeSyncApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TimeSyncApi.md similarity index 93% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TimeSyncApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TimeSyncApi.md index 9f62878f9da..32320f124bf 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TimeSyncApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TimeSyncApi.md @@ -1,6 +1,6 @@ # TimeSyncApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -25,7 +25,7 @@ import org.openapitools.client.api.TimeSyncApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); TimeSyncApi apiInstance = new TimeSyncApi(defaultClient); try { diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TimerCancelledMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TimerCancelledMessage.md new file mode 100644 index 00000000000..634dd3aac0f --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TimerCancelledMessage.md @@ -0,0 +1,16 @@ + + +# TimerCancelledMessage + +Timer cancelled message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**TimerEventInfo**](TimerEventInfo.md) | Gets or sets the data. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TimerCreatedMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TimerCreatedMessage.md new file mode 100644 index 00000000000..0615bb1debf --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TimerCreatedMessage.md @@ -0,0 +1,16 @@ + + +# TimerCreatedMessage + +Timer created message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**TimerEventInfo**](TimerEventInfo.md) | Gets or sets the data. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TimerEventInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TimerEventInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TimerEventInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TimerEventInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TimerInfoDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TimerInfoDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TimerInfoDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TimerInfoDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TimerInfoDtoQueryResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TimerInfoDtoQueryResult.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TimerInfoDtoQueryResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TimerInfoDtoQueryResult.md index 4de68495f14..fa82bffdad0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TimerInfoDtoQueryResult.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TimerInfoDtoQueryResult.md @@ -2,6 +2,7 @@ # TimerInfoDtoQueryResult +Query result container. ## Properties diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TmdbApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TmdbApi.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TmdbApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TmdbApi.md index 7c4e5f0c749..6720a3ea1b8 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TmdbApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TmdbApi.md @@ -1,6 +1,6 @@ # TmdbApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -26,7 +26,7 @@ import org.openapitools.client.api.TmdbApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TonemappingAlgorithm.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TonemappingAlgorithm.md new file mode 100644 index 00000000000..1adb36dde12 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TonemappingAlgorithm.md @@ -0,0 +1,25 @@ + + +# TonemappingAlgorithm + +## Enum + + +* `NONE` (value: `"none"`) + +* `CLIP` (value: `"clip"`) + +* `LINEAR` (value: `"linear"`) + +* `GAMMA` (value: `"gamma"`) + +* `REINHARD` (value: `"reinhard"`) + +* `HABLE` (value: `"hable"`) + +* `MOBIUS` (value: `"mobius"`) + +* `BT2390` (value: `"bt2390"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TonemappingMode.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TonemappingMode.md new file mode 100644 index 00000000000..36f83d805ab --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TonemappingMode.md @@ -0,0 +1,19 @@ + + +# TonemappingMode + +## Enum + + +* `AUTO` (value: `"auto"`) + +* `MAX` (value: `"max"`) + +* `RGB` (value: `"rgb"`) + +* `LUM` (value: `"lum"`) + +* `ITP` (value: `"itp"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TonemappingRange.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TonemappingRange.md new file mode 100644 index 00000000000..8d7cad15c1b --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TonemappingRange.md @@ -0,0 +1,15 @@ + + +# TonemappingRange + +## Enum + + +* `AUTO` (value: `"auto"`) + +* `TV` (value: `"tv"`) + +* `PC` (value: `"pc"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TrailerInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TrailerInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TrailerInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TrailerInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TrailerInfoRemoteSearchQuery.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TrailerInfoRemoteSearchQuery.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TrailerInfoRemoteSearchQuery.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TrailerInfoRemoteSearchQuery.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TrailersApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TrailersApi.md similarity index 93% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TrailersApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TrailersApi.md index e889009f2fa..9c4d28cc66a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TrailersApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TrailersApi.md @@ -1,6 +1,6 @@ # TrailersApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -26,7 +26,7 @@ import org.openapitools.client.api.TrailersApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -35,14 +35,14 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); TrailersApi apiInstance = new TrailersApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | The user id. + UUID userId = UUID.randomUUID(); // UUID | The user id supplied as query parameter; this is required when not using an API key. String maxOfficialRating = "maxOfficialRating_example"; // String | Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). Boolean hasThemeSong = true; // Boolean | Optional filter by items with theme songs. Boolean hasThemeVideo = true; // Boolean | Optional filter by items with theme videos. Boolean hasSubtitles = true; // Boolean | Optional filter by items with subtitles. Boolean hasSpecialFeature = true; // Boolean | Optional filter by items with special features. Boolean hasTrailer = true; // Boolean | Optional filter by items with trailers. - String adjacentTo = "adjacentTo_example"; // String | Optional. Return items that are siblings of a supplied item. + UUID adjacentTo = UUID.randomUUID(); // UUID | Optional. Return items that are siblings of a supplied item. Integer parentIndexNumber = 56; // Integer | Optional filter by parent index number. Boolean hasParentalRating = true; // Boolean | Optional filter by items that have or do not have a parental rating. Boolean isHd = true; // Boolean | Optional filter by items that are HD or not. @@ -58,9 +58,9 @@ public class Example { OffsetDateTime minDateLastSavedForUser = OffsetDateTime.now(); // OffsetDateTime | Optional. The minimum last saved date for the current user. Format = ISO. OffsetDateTime maxPremiereDate = OffsetDateTime.now(); // OffsetDateTime | Optional. The maximum premiere date. Format = ISO. Boolean hasOverview = true; // Boolean | Optional filter by items that have an overview or not. - Boolean hasImdbId = true; // Boolean | Optional filter by items that have an imdb id or not. - Boolean hasTmdbId = true; // Boolean | Optional filter by items that have a tmdb id or not. - Boolean hasTvdbId = true; // Boolean | Optional filter by items that have a tvdb id or not. + Boolean hasImdbId = true; // Boolean | Optional filter by items that have an IMDb id or not. + Boolean hasTmdbId = true; // Boolean | Optional filter by items that have a TMDb id or not. + Boolean hasTvdbId = true; // Boolean | Optional filter by items that have a TVDb id or not. Boolean isMovie = true; // Boolean | Optional filter for live tv movies. Boolean isSeries = true; // Boolean | Optional filter for live tv series. Boolean isNews = true; // Boolean | Optional filter for live tv news. @@ -71,15 +71,15 @@ public class Example { Integer limit = 56; // Integer | Optional. The maximum number of records to return. Boolean recursive = true; // Boolean | When searching within folders, this determines whether or not the search will be recursive. true/false. String searchTerm = "searchTerm_example"; // String | Optional. Filter based on a search term. - List sortOrder = Arrays.asList(); // List | Sort Order - Ascending,Descending. + List sortOrder = Arrays.asList(); // List | Sort Order - Ascending, Descending. UUID parentId = UUID.randomUUID(); // UUID | Specify this to localize the search to a specific item or folder. Omit to use the root. List fields = Arrays.asList(); // List | Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. List excludeItemTypes = Arrays.asList(); // List | Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. List filters = Arrays.asList(); // List | Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. Boolean isFavorite = true; // Boolean | Optional filter by items that are marked as favorite, or not. - List mediaTypes = Arrays.asList(); // List | Optional filter by MediaType. Allows multiple, comma delimited. + List mediaTypes = Arrays.asList(); // List | Optional filter by MediaType. Allows multiple, comma delimited. List imageTypes = Arrays.asList(); // List | Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. - List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. Boolean isPlayed = true; // Boolean | Optional filter by items that are played, or not. List genres = Arrays.asList(); // List | Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. List officialRatings = Arrays.asList(); // List | Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. @@ -137,14 +137,14 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| The user id. | [optional] | +| **userId** | **UUID**| The user id supplied as query parameter; this is required when not using an API key. | [optional] | | **maxOfficialRating** | **String**| Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). | [optional] | | **hasThemeSong** | **Boolean**| Optional filter by items with theme songs. | [optional] | | **hasThemeVideo** | **Boolean**| Optional filter by items with theme videos. | [optional] | | **hasSubtitles** | **Boolean**| Optional filter by items with subtitles. | [optional] | | **hasSpecialFeature** | **Boolean**| Optional filter by items with special features. | [optional] | | **hasTrailer** | **Boolean**| Optional filter by items with trailers. | [optional] | -| **adjacentTo** | **String**| Optional. Return items that are siblings of a supplied item. | [optional] | +| **adjacentTo** | **UUID**| Optional. Return items that are siblings of a supplied item. | [optional] | | **parentIndexNumber** | **Integer**| Optional filter by parent index number. | [optional] | | **hasParentalRating** | **Boolean**| Optional filter by items that have or do not have a parental rating. | [optional] | | **isHd** | **Boolean**| Optional filter by items that are HD or not. | [optional] | @@ -160,9 +160,9 @@ public class Example { | **minDateLastSavedForUser** | **OffsetDateTime**| Optional. The minimum last saved date for the current user. Format = ISO. | [optional] | | **maxPremiereDate** | **OffsetDateTime**| Optional. The maximum premiere date. Format = ISO. | [optional] | | **hasOverview** | **Boolean**| Optional filter by items that have an overview or not. | [optional] | -| **hasImdbId** | **Boolean**| Optional filter by items that have an imdb id or not. | [optional] | -| **hasTmdbId** | **Boolean**| Optional filter by items that have a tmdb id or not. | [optional] | -| **hasTvdbId** | **Boolean**| Optional filter by items that have a tvdb id or not. | [optional] | +| **hasImdbId** | **Boolean**| Optional filter by items that have an IMDb id or not. | [optional] | +| **hasTmdbId** | **Boolean**| Optional filter by items that have a TMDb id or not. | [optional] | +| **hasTvdbId** | **Boolean**| Optional filter by items that have a TVDb id or not. | [optional] | | **isMovie** | **Boolean**| Optional filter for live tv movies. | [optional] | | **isSeries** | **Boolean**| Optional filter for live tv series. | [optional] | | **isNews** | **Boolean**| Optional filter for live tv news. | [optional] | @@ -173,15 +173,15 @@ public class Example { | **limit** | **Integer**| Optional. The maximum number of records to return. | [optional] | | **recursive** | **Boolean**| When searching within folders, this determines whether or not the search will be recursive. true/false. | [optional] | | **searchTerm** | **String**| Optional. Filter based on a search term. | [optional] | -| **sortOrder** | [**List<SortOrder>**](SortOrder.md)| Sort Order - Ascending,Descending. | [optional] | +| **sortOrder** | [**List<SortOrder>**](SortOrder.md)| Sort Order - Ascending, Descending. | [optional] | | **parentId** | **UUID**| Specify this to localize the search to a specific item or folder. Omit to use the root. | [optional] | | **fields** | [**List<ItemFields>**](ItemFields.md)| Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. | [optional] | | **excludeItemTypes** | [**List<BaseItemKind>**](BaseItemKind.md)| Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. | [optional] | | **filters** | [**List<ItemFilter>**](ItemFilter.md)| Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. | [optional] | | **isFavorite** | **Boolean**| Optional filter by items that are marked as favorite, or not. | [optional] | -| **mediaTypes** | [**List<String>**](String.md)| Optional filter by MediaType. Allows multiple, comma delimited. | [optional] | +| **mediaTypes** | [**List<MediaType>**](MediaType.md)| Optional filter by MediaType. Allows multiple, comma delimited. | [optional] | | **imageTypes** | [**List<ImageType>**](ImageType.md)| Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. | [optional] | -| **sortBy** | [**List<String>**](String.md)| Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. | [optional] | +| **sortBy** | [**List<ItemSortBy>**](ItemSortBy.md)| Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. | [optional] | | **isPlayed** | **Boolean**| Optional filter by items that are played, or not. | [optional] | | **genres** | [**List<String>**](String.md)| Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. | [optional] | | **officialRatings** | [**List<String>**](String.md)| Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TranscodeReason.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TranscodeReason.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TranscodeReason.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TranscodeReason.md index f647122d3fe..7fb95b9f9ec 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TranscodeReason.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TranscodeReason.md @@ -55,5 +55,7 @@ * `VIDEO_RANGE_TYPE_NOT_SUPPORTED` (value: `"VideoRangeTypeNotSupported"`) +* `VIDEO_CODEC_TAG_NOT_SUPPORTED` (value: `"VideoCodecTagNotSupported"`) + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TranscodeSeekInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TranscodeSeekInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TranscodeSeekInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TranscodeSeekInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TranscodingInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TranscodingInfo.md new file mode 100644 index 00000000000..b5e93b3e781 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TranscodingInfo.md @@ -0,0 +1,33 @@ + + +# TranscodingInfo + +Class holding information on a runnning transcode. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**audioCodec** | **String** | Gets or sets the thread count used for encoding. | [optional] | +|**videoCodec** | **String** | Gets or sets the thread count used for encoding. | [optional] | +|**container** | **String** | Gets or sets the thread count used for encoding. | [optional] | +|**isVideoDirect** | **Boolean** | Gets or sets a value indicating whether the video is passed through. | [optional] | +|**isAudioDirect** | **Boolean** | Gets or sets a value indicating whether the audio is passed through. | [optional] | +|**bitrate** | **Integer** | Gets or sets the bitrate. | [optional] | +|**framerate** | **Float** | Gets or sets the framerate. | [optional] | +|**completionPercentage** | **Double** | Gets or sets the completion percentage. | [optional] | +|**width** | **Integer** | Gets or sets the video width. | [optional] | +|**height** | **Integer** | Gets or sets the video height. | [optional] | +|**audioChannels** | **Integer** | Gets or sets the audio channels. | [optional] | +|**hardwareAccelerationType** | **HardwareAccelerationType** | Gets or sets the hardware acceleration type. | [optional] | +|**transcodeReasons** | [**TranscodeReasonsEnum**](#TranscodeReasonsEnum) | Gets or sets the transcode reasons. | [optional] | + + + +## Enum: TranscodeReasonsEnum + +| Name | Value | +|---- | -----| + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TranscodingProfile.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TranscodingProfile.md new file mode 100644 index 00000000000..26af6355922 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TranscodingProfile.md @@ -0,0 +1,30 @@ + + +# TranscodingProfile + +A class for transcoding profile information. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**container** | **String** | Gets or sets the container. | [optional] | +|**type** | **DlnaProfileType** | Gets or sets the DLNA profile type. | [optional] | +|**videoCodec** | **String** | Gets or sets the video codec. | [optional] | +|**audioCodec** | **String** | Gets or sets the audio codec. | [optional] | +|**protocol** | **MediaStreamProtocol** | Media streaming protocol. Lowercase for backwards compatibility. | [optional] | +|**estimateContentLength** | **Boolean** | Gets or sets a value indicating whether the content length should be estimated. | [optional] | +|**enableMpegtsM2TsMode** | **Boolean** | Gets or sets a value indicating whether M2TS mode is enabled. | [optional] | +|**transcodeSeekInfo** | **TranscodeSeekInfo** | Gets or sets the transcoding seek info mode. | [optional] | +|**copyTimestamps** | **Boolean** | Gets or sets a value indicating whether timestamps should be copied. | [optional] | +|**context** | **EncodingContext** | Gets or sets the encoding context. | [optional] | +|**enableSubtitlesInManifest** | **Boolean** | Gets or sets a value indicating whether subtitles are allowed in the manifest. | [optional] | +|**maxAudioChannels** | **String** | Gets or sets the maximum audio channels. | [optional] | +|**minSegments** | **Integer** | Gets or sets the minimum amount of segments. | [optional] | +|**segmentLength** | **Integer** | Gets or sets the segment length. | [optional] | +|**breakOnNonKeyFrames** | **Boolean** | Gets or sets a value indicating whether breaking the video stream on non-keyframes is supported. | [optional] | +|**conditions** | [**List<ProfileCondition>**](ProfileCondition.md) | Gets or sets the profile conditions. | [optional] | +|**enableAudioVbrEncoding** | **Boolean** | Gets or sets a value indicating whether variable bitrate encoding is supported. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TransportStreamTimestamp.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TransportStreamTimestamp.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TransportStreamTimestamp.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TransportStreamTimestamp.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TrickplayApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TrickplayApi.md new file mode 100644 index 00000000000..2e620882687 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TrickplayApi.md @@ -0,0 +1,160 @@ +# TrickplayApi + +All URIs are relative to *http://localhost* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**getTrickplayHlsPlaylist**](TrickplayApi.md#getTrickplayHlsPlaylist) | **GET** /Videos/{itemId}/Trickplay/{width}/tiles.m3u8 | Gets an image tiles playlist for trickplay. | +| [**getTrickplayTileImage**](TrickplayApi.md#getTrickplayTileImage) | **GET** /Videos/{itemId}/Trickplay/{width}/{index}.jpg | Gets a trickplay tile image. | + + + +# **getTrickplayHlsPlaylist** +> File getTrickplayHlsPlaylist(itemId, width, mediaSourceId) + +Gets an image tiles playlist for trickplay. + +### Example +```java +// Import classes: +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.Configuration; +import org.openapitools.client.auth.*; +import org.openapitools.client.models.*; +import org.openapitools.client.api.TrickplayApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + + // Configure API key authorization: CustomAuthentication + ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); + CustomAuthentication.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //CustomAuthentication.setApiKeyPrefix("Token"); + + TrickplayApi apiInstance = new TrickplayApi(defaultClient); + UUID itemId = UUID.randomUUID(); // UUID | The item id. + Integer width = 56; // Integer | The width of a single tile. + UUID mediaSourceId = UUID.randomUUID(); // UUID | The media version id, if using an alternate version. + try { + File result = apiInstance.getTrickplayHlsPlaylist(itemId, width, mediaSourceId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling TrickplayApi#getTrickplayHlsPlaylist"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **itemId** | **UUID**| The item id. | | +| **width** | **Integer**| The width of a single tile. | | +| **mediaSourceId** | **UUID**| The media version id, if using an alternate version. | [optional] | + +### Return type + +[**File**](File.md) + +### Authorization + +[CustomAuthentication](../README.md#CustomAuthentication) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/x-mpegURL, application/json, application/json; profile=CamelCase, application/json; profile=PascalCase + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Tiles playlist returned. | - | +| **404** | Not Found | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | + + +# **getTrickplayTileImage** +> File getTrickplayTileImage(itemId, width, index, mediaSourceId) + +Gets a trickplay tile image. + +### Example +```java +// Import classes: +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.Configuration; +import org.openapitools.client.auth.*; +import org.openapitools.client.models.*; +import org.openapitools.client.api.TrickplayApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + + // Configure API key authorization: CustomAuthentication + ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); + CustomAuthentication.setApiKey("YOUR API KEY"); + // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) + //CustomAuthentication.setApiKeyPrefix("Token"); + + TrickplayApi apiInstance = new TrickplayApi(defaultClient); + UUID itemId = UUID.randomUUID(); // UUID | The item id. + Integer width = 56; // Integer | The width of a single tile. + Integer index = 56; // Integer | The index of the desired tile. + UUID mediaSourceId = UUID.randomUUID(); // UUID | The media version id, if using an alternate version. + try { + File result = apiInstance.getTrickplayTileImage(itemId, width, index, mediaSourceId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling TrickplayApi#getTrickplayTileImage"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **itemId** | **UUID**| The item id. | | +| **width** | **Integer**| The width of a single tile. | | +| **index** | **Integer**| The index of the desired tile. | | +| **mediaSourceId** | **UUID**| The media version id, if using an alternate version. | [optional] | + +### Return type + +[**File**](File.md) + +### Authorization + +[CustomAuthentication](../README.md#CustomAuthentication) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: image/*, application/json, application/json; profile=CamelCase, application/json; profile=PascalCase + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Tile image not found at specified index. | - | +| **404** | Not Found | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TrickplayInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TrickplayInfo.md new file mode 100644 index 00000000000..e187c4c7b03 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TrickplayInfo.md @@ -0,0 +1,20 @@ + + +# TrickplayInfo + +An entity representing the metadata for a group of trickplay tiles. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**width** | **Integer** | Gets or sets width of an individual thumbnail. | [optional] | +|**height** | **Integer** | Gets or sets height of an individual thumbnail. | [optional] | +|**tileWidth** | **Integer** | Gets or sets amount of thumbnails per row. | [optional] | +|**tileHeight** | **Integer** | Gets or sets amount of thumbnails per column. | [optional] | +|**thumbnailCount** | **Integer** | Gets or sets total amount of non-black thumbnails. | [optional] | +|**interval** | **Integer** | Gets or sets interval in milliseconds between each trickplay thumbnail. | [optional] | +|**bandwidth** | **Integer** | Gets or sets peak bandwith usage in bits per second. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TrickplayOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TrickplayOptions.md new file mode 100644 index 00000000000..4394331fe15 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TrickplayOptions.md @@ -0,0 +1,25 @@ + + +# TrickplayOptions + +Class TrickplayOptions. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**enableHwAcceleration** | **Boolean** | Gets or sets a value indicating whether or not to use HW acceleration. | [optional] | +|**enableHwEncoding** | **Boolean** | Gets or sets a value indicating whether or not to use HW accelerated MJPEG encoding. | [optional] | +|**enableKeyFrameOnlyExtraction** | **Boolean** | Gets or sets a value indicating whether to only extract key frames. Significantly faster, but is not compatible with all decoders and/or video files. | [optional] | +|**scanBehavior** | **TrickplayScanBehavior** | Gets or sets the behavior used by trickplay provider on library scan/update. | [optional] | +|**processPriority** | **ProcessPriorityClass** | Gets or sets the process priority for the ffmpeg process. | [optional] | +|**interval** | **Integer** | Gets or sets the interval, in ms, between each new trickplay image. | [optional] | +|**widthResolutions** | **List<Integer>** | Gets or sets the target width resolutions, in px, to generates preview images for. | [optional] | +|**tileWidth** | **Integer** | Gets or sets number of tile images to allow in X dimension. | [optional] | +|**tileHeight** | **Integer** | Gets or sets number of tile images to allow in Y dimension. | [optional] | +|**qscale** | **Integer** | Gets or sets the ffmpeg output quality level. | [optional] | +|**jpegQuality** | **Integer** | Gets or sets the jpeg quality to use for image tiles. | [optional] | +|**processThreads** | **Integer** | Gets or sets the number of threads to be used by ffmpeg. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TrickplayScanBehavior.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TrickplayScanBehavior.md new file mode 100644 index 00000000000..45a384f0227 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TrickplayScanBehavior.md @@ -0,0 +1,13 @@ + + +# TrickplayScanBehavior + +## Enum + + +* `BLOCKING` (value: `"Blocking"`) + +* `NON_BLOCKING` (value: `"NonBlocking"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TunerChannelMapping.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TunerChannelMapping.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TunerChannelMapping.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TunerChannelMapping.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TunerHostInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TunerHostInfo.md similarity index 73% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TunerHostInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TunerHostInfo.md index 99b7d6342cd..253a6d75a1a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TunerHostInfo.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TunerHostInfo.md @@ -14,10 +14,14 @@ |**friendlyName** | **String** | | [optional] | |**importFavoritesOnly** | **Boolean** | | [optional] | |**allowHWTranscoding** | **Boolean** | | [optional] | +|**allowFmp4TranscodingContainer** | **Boolean** | | [optional] | +|**allowStreamSharing** | **Boolean** | | [optional] | +|**fallbackMaxStreamingBitrate** | **Integer** | | [optional] | |**enableStreamLooping** | **Boolean** | | [optional] | |**source** | **String** | | [optional] | |**tunerCount** | **Integer** | | [optional] | |**userAgent** | **String** | | [optional] | +|**ignoreDts** | **Boolean** | | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TvShowsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TvShowsApi.md similarity index 90% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TvShowsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TvShowsApi.md index b23997afddc..2f3ca9eb491 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TvShowsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TvShowsApi.md @@ -1,6 +1,6 @@ # TvShowsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -29,7 +29,7 @@ import org.openapitools.client.api.TvShowsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -44,7 +44,7 @@ public class Example { Integer season = 56; // Integer | Optional filter by season number. UUID seasonId = UUID.randomUUID(); // UUID | Optional. Filter by season id. Boolean isMissing = true; // Boolean | Optional. Filter by items that are missing episodes or not. - String adjacentTo = "adjacentTo_example"; // String | Optional. Return items that are siblings of a supplied item. + UUID adjacentTo = UUID.randomUUID(); // UUID | Optional. Return items that are siblings of a supplied item. UUID startItemId = UUID.randomUUID(); // UUID | Optional. Skip through the list until a given item is found. Integer startIndex = 56; // Integer | Optional. The record index to start at. All items with a lower index will be dropped from the results. Integer limit = 56; // Integer | Optional. The maximum number of records to return. @@ -52,7 +52,7 @@ public class Example { Integer imageTypeLimit = 56; // Integer | Optional, the max number of images to return, per image type. List enableImageTypes = Arrays.asList(); // List | Optional. The image types to include in the output. Boolean enableUserData = true; // Boolean | Optional. Include user data. - String sortBy = "sortBy_example"; // String | Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + ItemSortBy sortBy = ItemSortBy.fromValue("Default"); // ItemSortBy | Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. try { BaseItemDtoQueryResult result = apiInstance.getEpisodes(seriesId, userId, fields, season, seasonId, isMissing, adjacentTo, startItemId, startIndex, limit, enableImages, imageTypeLimit, enableImageTypes, enableUserData, sortBy); System.out.println(result); @@ -77,7 +77,7 @@ public class Example { | **season** | **Integer**| Optional filter by season number. | [optional] | | **seasonId** | **UUID**| Optional. Filter by season id. | [optional] | | **isMissing** | **Boolean**| Optional. Filter by items that are missing episodes or not. | [optional] | -| **adjacentTo** | **String**| Optional. Return items that are siblings of a supplied item. | [optional] | +| **adjacentTo** | **UUID**| Optional. Return items that are siblings of a supplied item. | [optional] | | **startItemId** | **UUID**| Optional. Skip through the list until a given item is found. | [optional] | | **startIndex** | **Integer**| Optional. The record index to start at. All items with a lower index will be dropped from the results. | [optional] | | **limit** | **Integer**| Optional. The maximum number of records to return. | [optional] | @@ -85,7 +85,7 @@ public class Example { | **imageTypeLimit** | **Integer**| Optional, the max number of images to return, per image type. | [optional] | | **enableImageTypes** | [**List<ImageType>**](ImageType.md)| Optional. The image types to include in the output. | [optional] | | **enableUserData** | **Boolean**| Optional. Include user data. | [optional] | -| **sortBy** | **String**| Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. | [optional] | +| **sortBy** | **ItemSortBy**| Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. | [optional] [enum: Default, AiredEpisodeOrder, Album, AlbumArtist, Artist, DateCreated, OfficialRating, DatePlayed, PremiereDate, StartDate, SortName, Name, Random, Runtime, CommunityRating, ProductionYear, PlayCount, CriticRating, IsFolder, IsUnplayed, IsPlayed, SeriesSortName, VideoBitRate, AirTime, Studio, IsFavoriteOrLiked, DateLastContentAdded, SeriesDatePlayed, ParentIndexNumber, IndexNumber, SimilarityScore, SearchScore] | ### Return type @@ -110,7 +110,7 @@ public class Example { # **getNextUp** -> BaseItemDtoQueryResult getNextUp(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableRewatching) +> BaseItemDtoQueryResult getNextUp(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableResumable, enableRewatching) Gets a list of next up episodes. @@ -127,7 +127,7 @@ import org.openapitools.client.api.TvShowsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -140,7 +140,7 @@ public class Example { Integer startIndex = 56; // Integer | Optional. The record index to start at. All items with a lower index will be dropped from the results. Integer limit = 56; // Integer | Optional. The maximum number of records to return. List fields = Arrays.asList(); // List | Optional. Specify additional fields of information to return in the output. - String seriesId = "seriesId_example"; // String | Optional. Filter by series id. + UUID seriesId = UUID.randomUUID(); // UUID | Optional. Filter by series id. UUID parentId = UUID.randomUUID(); // UUID | Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. Boolean enableImages = true; // Boolean | Optional. Include image information in output. Integer imageTypeLimit = 56; // Integer | Optional. The max number of images to return, per image type. @@ -149,9 +149,10 @@ public class Example { OffsetDateTime nextUpDateCutoff = OffsetDateTime.now(); // OffsetDateTime | Optional. Starting date of shows to show in Next Up section. Boolean enableTotalRecordCount = true; // Boolean | Whether to enable the total records count. Defaults to true. Boolean disableFirstEpisode = false; // Boolean | Whether to disable sending the first episode in a series as next up. - Boolean enableRewatching = false; // Boolean | Whether to include watched episode in next up results. + Boolean enableResumable = true; // Boolean | Whether to include resumable episodes in next up results. + Boolean enableRewatching = false; // Boolean | Whether to include watched episodes in next up results. try { - BaseItemDtoQueryResult result = apiInstance.getNextUp(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableRewatching); + BaseItemDtoQueryResult result = apiInstance.getNextUp(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableResumable, enableRewatching); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling TvShowsApi#getNextUp"); @@ -172,7 +173,7 @@ public class Example { | **startIndex** | **Integer**| Optional. The record index to start at. All items with a lower index will be dropped from the results. | [optional] | | **limit** | **Integer**| Optional. The maximum number of records to return. | [optional] | | **fields** | [**List<ItemFields>**](ItemFields.md)| Optional. Specify additional fields of information to return in the output. | [optional] | -| **seriesId** | **String**| Optional. Filter by series id. | [optional] | +| **seriesId** | **UUID**| Optional. Filter by series id. | [optional] | | **parentId** | **UUID**| Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. | [optional] | | **enableImages** | **Boolean**| Optional. Include image information in output. | [optional] | | **imageTypeLimit** | **Integer**| Optional. The max number of images to return, per image type. | [optional] | @@ -181,7 +182,8 @@ public class Example { | **nextUpDateCutoff** | **OffsetDateTime**| Optional. Starting date of shows to show in Next Up section. | [optional] | | **enableTotalRecordCount** | **Boolean**| Whether to enable the total records count. Defaults to true. | [optional] [default to true] | | **disableFirstEpisode** | **Boolean**| Whether to disable sending the first episode in a series as next up. | [optional] [default to false] | -| **enableRewatching** | **Boolean**| Whether to include watched episode in next up results. | [optional] [default to false] | +| **enableResumable** | **Boolean**| Whether to include resumable episodes in next up results. | [optional] [default to true] | +| **enableRewatching** | **Boolean**| Whether to include watched episodes in next up results. | [optional] [default to false] | ### Return type @@ -222,7 +224,7 @@ import org.openapitools.client.api.TvShowsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -236,7 +238,7 @@ public class Example { List fields = Arrays.asList(); // List | Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. Boolean isSpecialSeason = true; // Boolean | Optional. Filter by special season. Boolean isMissing = true; // Boolean | Optional. Filter by items that are missing episodes or not. - String adjacentTo = "adjacentTo_example"; // String | Optional. Return items that are siblings of a supplied item. + UUID adjacentTo = UUID.randomUUID(); // UUID | Optional. Return items that are siblings of a supplied item. Boolean enableImages = true; // Boolean | Optional. Include image information in output. Integer imageTypeLimit = 56; // Integer | Optional. The max number of images to return, per image type. List enableImageTypes = Arrays.asList(); // List | Optional. The image types to include in the output. @@ -264,7 +266,7 @@ public class Example { | **fields** | [**List<ItemFields>**](ItemFields.md)| Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. | [optional] | | **isSpecialSeason** | **Boolean**| Optional. Filter by special season. | [optional] | | **isMissing** | **Boolean**| Optional. Filter by items that are missing episodes or not. | [optional] | -| **adjacentTo** | **String**| Optional. Return items that are siblings of a supplied item. | [optional] | +| **adjacentTo** | **UUID**| Optional. Return items that are siblings of a supplied item. | [optional] | | **enableImages** | **Boolean**| Optional. Include image information in output. | [optional] | | **imageTypeLimit** | **Integer**| Optional. The max number of images to return, per image type. | [optional] | | **enableImageTypes** | [**List<ImageType>**](ImageType.md)| Optional. The image types to include in the output. | [optional] | @@ -310,7 +312,7 @@ import org.openapitools.client.api.TvShowsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TypeOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TypeOptions.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TypeOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/TypeOptions.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UniversalAudioApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UniversalAudioApi.md similarity index 86% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UniversalAudioApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UniversalAudioApi.md index 597c7d081e2..e4cbe05006a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UniversalAudioApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UniversalAudioApi.md @@ -1,6 +1,6 @@ # UniversalAudioApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -10,7 +10,7 @@ All URIs are relative to *http://nuc.ehrendingen:8096* # **getUniversalAudioStream** -> File getUniversalAudioStream(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, breakOnNonKeyFrames, enableRedirection) +> File getUniversalAudioStream(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, enableAudioVbrEncoding, breakOnNonKeyFrames, enableRedirection) Gets an audio stream. @@ -27,7 +27,7 @@ import org.openapitools.client.api.UniversalAudioApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -48,14 +48,15 @@ public class Example { Integer audioBitRate = 56; // Integer | Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. Long startTimeTicks = 56L; // Long | Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. String transcodingContainer = "transcodingContainer_example"; // String | Optional. The container to transcode to. - String transcodingProtocol = "transcodingProtocol_example"; // String | Optional. The transcoding protocol. + MediaStreamProtocol transcodingProtocol = MediaStreamProtocol.fromValue("http"); // MediaStreamProtocol | Optional. The transcoding protocol. Integer maxAudioSampleRate = 56; // Integer | Optional. The maximum audio sample rate. Integer maxAudioBitDepth = 56; // Integer | Optional. The maximum audio bit depth. Boolean enableRemoteMedia = true; // Boolean | Optional. Whether to enable remote media. + Boolean enableAudioVbrEncoding = true; // Boolean | Optional. Whether to enable Audio Encoding. Boolean breakOnNonKeyFrames = false; // Boolean | Optional. Whether to break on non key frames. Boolean enableRedirection = true; // Boolean | Whether to enable redirection. Defaults to true. try { - File result = apiInstance.getUniversalAudioStream(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, breakOnNonKeyFrames, enableRedirection); + File result = apiInstance.getUniversalAudioStream(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, enableAudioVbrEncoding, breakOnNonKeyFrames, enableRedirection); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling UniversalAudioApi#getUniversalAudioStream"); @@ -84,10 +85,11 @@ public class Example { | **audioBitRate** | **Integer**| Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. | [optional] | | **startTimeTicks** | **Long**| Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. | [optional] | | **transcodingContainer** | **String**| Optional. The container to transcode to. | [optional] | -| **transcodingProtocol** | **String**| Optional. The transcoding protocol. | [optional] | +| **transcodingProtocol** | **MediaStreamProtocol**| Optional. The transcoding protocol. | [optional] [enum: http, hls] | | **maxAudioSampleRate** | **Integer**| Optional. The maximum audio sample rate. | [optional] | | **maxAudioBitDepth** | **Integer**| Optional. The maximum audio bit depth. | [optional] | | **enableRemoteMedia** | **Boolean**| Optional. Whether to enable remote media. | [optional] | +| **enableAudioVbrEncoding** | **Boolean**| Optional. Whether to enable Audio Encoding. | [optional] [default to true] | | **breakOnNonKeyFrames** | **Boolean**| Optional. Whether to break on non key frames. | [optional] [default to false] | | **enableRedirection** | **Boolean**| Whether to enable redirection. Defaults to true. | [optional] [default to true] | @@ -102,19 +104,20 @@ public class Example { ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: audio/* + - **Accept**: audio/*, application/json, application/json; profile=CamelCase, application/json; profile=PascalCase ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Audio stream returned. | - | | **302** | Redirected to remote audio stream. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | # **headUniversalAudioStream** -> File headUniversalAudioStream(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, breakOnNonKeyFrames, enableRedirection) +> File headUniversalAudioStream(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, enableAudioVbrEncoding, breakOnNonKeyFrames, enableRedirection) Gets an audio stream. @@ -131,7 +134,7 @@ import org.openapitools.client.api.UniversalAudioApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -152,14 +155,15 @@ public class Example { Integer audioBitRate = 56; // Integer | Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. Long startTimeTicks = 56L; // Long | Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. String transcodingContainer = "transcodingContainer_example"; // String | Optional. The container to transcode to. - String transcodingProtocol = "transcodingProtocol_example"; // String | Optional. The transcoding protocol. + MediaStreamProtocol transcodingProtocol = MediaStreamProtocol.fromValue("http"); // MediaStreamProtocol | Optional. The transcoding protocol. Integer maxAudioSampleRate = 56; // Integer | Optional. The maximum audio sample rate. Integer maxAudioBitDepth = 56; // Integer | Optional. The maximum audio bit depth. Boolean enableRemoteMedia = true; // Boolean | Optional. Whether to enable remote media. + Boolean enableAudioVbrEncoding = true; // Boolean | Optional. Whether to enable Audio Encoding. Boolean breakOnNonKeyFrames = false; // Boolean | Optional. Whether to break on non key frames. Boolean enableRedirection = true; // Boolean | Whether to enable redirection. Defaults to true. try { - File result = apiInstance.headUniversalAudioStream(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, breakOnNonKeyFrames, enableRedirection); + File result = apiInstance.headUniversalAudioStream(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, enableAudioVbrEncoding, breakOnNonKeyFrames, enableRedirection); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling UniversalAudioApi#headUniversalAudioStream"); @@ -188,10 +192,11 @@ public class Example { | **audioBitRate** | **Integer**| Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. | [optional] | | **startTimeTicks** | **Long**| Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. | [optional] | | **transcodingContainer** | **String**| Optional. The container to transcode to. | [optional] | -| **transcodingProtocol** | **String**| Optional. The transcoding protocol. | [optional] | +| **transcodingProtocol** | **MediaStreamProtocol**| Optional. The transcoding protocol. | [optional] [enum: http, hls] | | **maxAudioSampleRate** | **Integer**| Optional. The maximum audio sample rate. | [optional] | | **maxAudioBitDepth** | **Integer**| Optional. The maximum audio bit depth. | [optional] | | **enableRemoteMedia** | **Boolean**| Optional. Whether to enable remote media. | [optional] | +| **enableAudioVbrEncoding** | **Boolean**| Optional. Whether to enable Audio Encoding. | [optional] [default to true] | | **breakOnNonKeyFrames** | **Boolean**| Optional. Whether to break on non key frames. | [optional] [default to false] | | **enableRedirection** | **Boolean**| Whether to enable redirection. Defaults to true. | [optional] [default to true] | @@ -206,13 +211,14 @@ public class Example { ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: audio/* + - **Accept**: audio/*, application/json, application/json; profile=CamelCase, application/json; profile=PascalCase ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Audio stream returned. | - | | **302** | Redirected to remote audio stream. | - | +| **404** | Item not found. | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UnratedItem.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UnratedItem.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UnratedItem.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UnratedItem.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UpdateLibraryOptionsDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UpdateLibraryOptionsDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UpdateLibraryOptionsDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UpdateLibraryOptionsDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UpdateMediaPathRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UpdateMediaPathRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UpdateMediaPathRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UpdateMediaPathRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UpdatePlaylistDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UpdatePlaylistDto.md new file mode 100644 index 00000000000..29486e771e1 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UpdatePlaylistDto.md @@ -0,0 +1,17 @@ + + +# UpdatePlaylistDto + +Update existing playlist dto. Fields set to `null` will not be updated and keep their current values. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | Gets or sets the name of the new playlist. | [optional] | +|**ids** | **List<UUID>** | Gets or sets item ids of the playlist. | [optional] | +|**users** | [**List<PlaylistUserPermissions>**](PlaylistUserPermissions.md) | Gets or sets the playlist users. | [optional] | +|**isPublic** | **Boolean** | Gets or sets a value indicating whether the playlist is public. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UpdatePlaylistUserDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UpdatePlaylistUserDto.md new file mode 100644 index 00000000000..007db5552a0 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UpdatePlaylistUserDto.md @@ -0,0 +1,14 @@ + + +# UpdatePlaylistUserDto + +Update existing playlist user dto. Fields set to `null` will not be updated and keep their current values. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**canEdit** | **Boolean** | Gets or sets a value indicating whether the user can edit the playlist. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UpdateUserItemDataDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UpdateUserItemDataDto.md new file mode 100644 index 00000000000..76650f54ec3 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UpdateUserItemDataDto.md @@ -0,0 +1,24 @@ + + +# UpdateUserItemDataDto + +This is used by the api to get information about a item user data. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**rating** | **Double** | Gets or sets the rating. | [optional] | +|**playedPercentage** | **Double** | Gets or sets the played percentage. | [optional] | +|**unplayedItemCount** | **Integer** | Gets or sets the unplayed item count. | [optional] | +|**playbackPositionTicks** | **Long** | Gets or sets the playback position ticks. | [optional] | +|**playCount** | **Integer** | Gets or sets the play count. | [optional] | +|**isFavorite** | **Boolean** | Gets or sets a value indicating whether this instance is favorite. | [optional] | +|**likes** | **Boolean** | Gets or sets a value indicating whether this MediaBrowser.Model.Dto.UpdateUserItemDataDto is likes. | [optional] | +|**lastPlayedDate** | **OffsetDateTime** | Gets or sets the last played date. | [optional] | +|**played** | **Boolean** | Gets or sets a value indicating whether this MediaBrowser.Model.Dto.UserItemDataDto is played. | [optional] | +|**key** | **String** | Gets or sets the key. | [optional] | +|**itemId** | **String** | Gets or sets the item identifier. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UpdateUserPassword.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UpdateUserPassword.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UpdateUserPassword.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UpdateUserPassword.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UploadSubtitleDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UploadSubtitleDto.md similarity index 79% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UploadSubtitleDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UploadSubtitleDto.md index c721637bb0f..cf5e8ac337e 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UploadSubtitleDto.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UploadSubtitleDto.md @@ -11,6 +11,7 @@ Upload subtitles dto. |**language** | **String** | Gets or sets the subtitle language. | | |**format** | **String** | Gets or sets the subtitle format. | | |**isForced** | **Boolean** | Gets or sets a value indicating whether the subtitle is forced. | | +|**isHearingImpaired** | **Boolean** | Gets or sets a value indicating whether the subtitle is for hearing impaired. | | |**data** | **String** | Gets or sets the subtitle data. | | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserApi.md similarity index 81% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserApi.md index 1268f8be366..0b9f9e73311 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserApi.md @@ -1,10 +1,9 @@ # UserApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**authenticateUser**](UserApi.md#authenticateUser) | **POST** /Users/{userId}/Authenticate | Authenticates a user. | | [**authenticateUserByName**](UserApi.md#authenticateUserByName) | **POST** /Users/AuthenticateByName | Authenticates a user by name. | | [**authenticateWithQuickConnect**](UserApi.md#authenticateWithQuickConnect) | **POST** /Users/AuthenticateWithQuickConnect | Authenticates a user with quick connect. | | [**createUserByName**](UserApi.md#createUserByName) | **POST** /Users/New | Creates a user. | @@ -15,79 +14,12 @@ All URIs are relative to *http://nuc.ehrendingen:8096* | [**getPublicUsers**](UserApi.md#getPublicUsers) | **GET** /Users/Public | Gets a list of publicly visible users for display on a login screen. | | [**getUserById**](UserApi.md#getUserById) | **GET** /Users/{userId} | Gets a user by Id. | | [**getUsers**](UserApi.md#getUsers) | **GET** /Users | Gets a list of users. | -| [**updateUser**](UserApi.md#updateUser) | **POST** /Users/{userId} | Updates a user. | -| [**updateUserConfiguration**](UserApi.md#updateUserConfiguration) | **POST** /Users/{userId}/Configuration | Updates a user configuration. | -| [**updateUserEasyPassword**](UserApi.md#updateUserEasyPassword) | **POST** /Users/{userId}/EasyPassword | Updates a user's easy password. | -| [**updateUserPassword**](UserApi.md#updateUserPassword) | **POST** /Users/{userId}/Password | Updates a user's password. | +| [**updateUser**](UserApi.md#updateUser) | **POST** /Users | Updates a user. | +| [**updateUserConfiguration**](UserApi.md#updateUserConfiguration) | **POST** /Users/Configuration | Updates a user configuration. | +| [**updateUserPassword**](UserApi.md#updateUserPassword) | **POST** /Users/Password | Updates a user's password. | | [**updateUserPolicy**](UserApi.md#updateUserPolicy) | **POST** /Users/{userId}/Policy | Updates a user policy. | - -# **authenticateUser** -> AuthenticationResult authenticateUser(userId, pw, password) - -Authenticates a user. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.models.*; -import org.openapitools.client.api.UserApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - UserApi apiInstance = new UserApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | The user id. - String pw = "pw_example"; // String | The password as plain text. - String password = "password_example"; // String | The password sha1-hash. - try { - AuthenticationResult result = apiInstance.authenticateUser(userId, pw, password); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling UserApi#authenticateUser"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| The user id. | | -| **pw** | **String**| The password as plain text. | | -| **password** | **String**| The password sha1-hash. | [optional] | - -### Return type - -[**AuthenticationResult**](AuthenticationResult.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | User authenticated. | - | -| **403** | Sha1-hashed password only is not allowed. | - | -| **404** | User not found. | - | - # **authenticateUserByName** > AuthenticationResult authenticateUserByName(authenticateUserByName) @@ -106,7 +38,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); UserApi apiInstance = new UserApi(defaultClient); AuthenticateUserByName authenticateUserByName = new AuthenticateUserByName(); // AuthenticateUserByName | The M:Jellyfin.Api.Controllers.UserController.AuthenticateUserByName(Jellyfin.Api.Models.UserDtos.AuthenticateUserByName) request. @@ -166,7 +98,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); UserApi apiInstance = new UserApi(defaultClient); QuickConnectDto quickConnectDto = new QuickConnectDto(); // QuickConnectDto | The Jellyfin.Api.Models.UserDtos.QuickConnectDto request. @@ -228,7 +160,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -297,7 +229,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -365,7 +297,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); UserApi apiInstance = new UserApi(defaultClient); ForgotPasswordDto forgotPasswordDto = new ForgotPasswordDto(); // ForgotPasswordDto | The forgot password request containing the entered username. @@ -425,7 +357,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); UserApi apiInstance = new UserApi(defaultClient); ForgotPasswordPinDto forgotPasswordPinDto = new ForgotPasswordPinDto(); // ForgotPasswordPinDto | The forgot password pin request containing the entered pin. @@ -486,7 +418,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -551,7 +483,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); UserApi apiInstance = new UserApi(defaultClient); try { @@ -608,7 +540,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -678,7 +610,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -732,7 +664,7 @@ public class Example { # **updateUser** -> updateUser(userId, userDto) +> updateUser(userDto, userId) Updates a user. @@ -749,7 +681,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -758,10 +690,10 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); UserApi apiInstance = new UserApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | The user id. UserDto userDto = new UserDto(); // UserDto | The updated user model. + UUID userId = UUID.randomUUID(); // UUID | The user id. try { - apiInstance.updateUser(userId, userDto); + apiInstance.updateUser(userDto, userId); } catch (ApiException e) { System.err.println("Exception when calling UserApi#updateUser"); System.err.println("Status code: " + e.getCode()); @@ -777,8 +709,8 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| The user id. | | | **userDto** | [**UserDto**](UserDto.md)| The updated user model. | | +| **userId** | **UUID**| The user id. | [optional] | ### Return type @@ -803,7 +735,7 @@ null (empty response body) # **updateUserConfiguration** -> updateUserConfiguration(userId, userConfiguration) +> updateUserConfiguration(userConfiguration, userId) Updates a user configuration. @@ -820,7 +752,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -829,10 +761,10 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); UserApi apiInstance = new UserApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | The user id. UserConfiguration userConfiguration = new UserConfiguration(); // UserConfiguration | The new user configuration. + UUID userId = UUID.randomUUID(); // UUID | The user id. try { - apiInstance.updateUserConfiguration(userId, userConfiguration); + apiInstance.updateUserConfiguration(userConfiguration, userId); } catch (ApiException e) { System.err.println("Exception when calling UserApi#updateUserConfiguration"); System.err.println("Status code: " + e.getCode()); @@ -848,8 +780,8 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| The user id. | | | **userConfiguration** | [**UserConfiguration**](UserConfiguration.md)| The new user configuration. | | +| **userId** | **UUID**| The user id. | [optional] | ### Return type @@ -871,80 +803,9 @@ null (empty response body) | **403** | User configuration update forbidden. | - | | **401** | Unauthorized | - | - -# **updateUserEasyPassword** -> updateUserEasyPassword(userId, updateUserEasyPassword) - -Updates a user's easy password. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.UserApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - UserApi apiInstance = new UserApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | The user id. - UpdateUserEasyPassword updateUserEasyPassword = new UpdateUserEasyPassword(); // UpdateUserEasyPassword | The M:Jellyfin.Api.Controllers.UserController.UpdateUserEasyPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserEasyPassword) request. - try { - apiInstance.updateUserEasyPassword(userId, updateUserEasyPassword); - } catch (ApiException e) { - System.err.println("Exception when calling UserApi#updateUserEasyPassword"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| The user id. | | -| **updateUserEasyPassword** | [**UpdateUserEasyPassword**](UpdateUserEasyPassword.md)| The M:Jellyfin.Api.Controllers.UserController.UpdateUserEasyPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserEasyPassword) request. | | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: application/json, text/json, application/*+json - - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **204** | Password successfully reset. | - | -| **403** | User is not allowed to update the password. | - | -| **404** | User not found. | - | -| **401** | Unauthorized | - | - # **updateUserPassword** -> updateUserPassword(userId, updateUserPassword) +> updateUserPassword(updateUserPassword, userId) Updates a user's password. @@ -961,7 +822,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -970,10 +831,10 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); UserApi apiInstance = new UserApi(defaultClient); + UpdateUserPassword updateUserPassword = new UpdateUserPassword(); // UpdateUserPassword | The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Nullable{System.Guid},Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request. UUID userId = UUID.randomUUID(); // UUID | The user id. - UpdateUserPassword updateUserPassword = new UpdateUserPassword(); // UpdateUserPassword | The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request. try { - apiInstance.updateUserPassword(userId, updateUserPassword); + apiInstance.updateUserPassword(updateUserPassword, userId); } catch (ApiException e) { System.err.println("Exception when calling UserApi#updateUserPassword"); System.err.println("Status code: " + e.getCode()); @@ -989,8 +850,8 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| The user id. | | -| **updateUserPassword** | [**UpdateUserPassword**](UpdateUserPassword.md)| The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request. | | +| **updateUserPassword** | [**UpdateUserPassword**](UpdateUserPassword.md)| The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Nullable{System.Guid},Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request. | | +| **userId** | **UUID**| The user id. | [optional] | ### Return type @@ -1032,7 +893,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserConfiguration.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserConfiguration.md similarity index 74% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserConfiguration.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserConfiguration.md index 0c68107766b..b9568f1ab14 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserConfiguration.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserConfiguration.md @@ -12,17 +12,18 @@ Class UserConfiguration. |**playDefaultAudioTrack** | **Boolean** | Gets or sets a value indicating whether [play default audio track]. | [optional] | |**subtitleLanguagePreference** | **String** | Gets or sets the subtitle language preference. | [optional] | |**displayMissingEpisodes** | **Boolean** | | [optional] | -|**groupedFolders** | **List<String>** | | [optional] | +|**groupedFolders** | **List<UUID>** | | [optional] | |**subtitleMode** | **SubtitlePlaybackMode** | An enum representing a subtitle playback mode. | [optional] | |**displayCollectionsView** | **Boolean** | | [optional] | |**enableLocalPassword** | **Boolean** | | [optional] | -|**orderedViews** | **List<String>** | | [optional] | -|**latestItemsExcludes** | **List<String>** | | [optional] | -|**myMediaExcludes** | **List<String>** | | [optional] | +|**orderedViews** | **List<UUID>** | | [optional] | +|**latestItemsExcludes** | **List<UUID>** | | [optional] | +|**myMediaExcludes** | **List<UUID>** | | [optional] | |**hidePlayedInLatest** | **Boolean** | | [optional] | |**rememberAudioSelections** | **Boolean** | | [optional] | |**rememberSubtitleSelections** | **Boolean** | | [optional] | |**enableNextEpisodeAutoPlay** | **Boolean** | | [optional] | +|**castReceiverId** | **String** | Gets or sets the id of the selected cast receiver. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserDataChangeInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserDataChangeInfo.md new file mode 100644 index 00000000000..29edf67e738 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserDataChangeInfo.md @@ -0,0 +1,15 @@ + + +# UserDataChangeInfo + +Class UserDataChangeInfo. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**userId** | **UUID** | Gets or sets the user id. | [optional] | +|**userDataList** | [**List<UserItemDataDto>**](UserItemDataDto.md) | Gets or sets the user data list. | [optional] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserDataChangedMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserDataChangedMessage.md new file mode 100644 index 00000000000..57b9a446359 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserDataChangedMessage.md @@ -0,0 +1,16 @@ + + +# UserDataChangedMessage + +User data changed message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**UserDataChangeInfo**](UserDataChangeInfo.md) | Class UserDataChangeInfo. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserDeletedMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserDeletedMessage.md new file mode 100644 index 00000000000..f173c29403f --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserDeletedMessage.md @@ -0,0 +1,16 @@ + + +# UserDeletedMessage + +User deleted message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | **UUID** | Gets or sets the data. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UserDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UserDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserItemDataDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserItemDataDto.md similarity index 93% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserItemDataDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserItemDataDto.md index f5a79b89ab2..38962862288 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserItemDataDto.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserItemDataDto.md @@ -18,7 +18,7 @@ Class UserItemDataDto. |**lastPlayedDate** | **OffsetDateTime** | Gets or sets the last played date. | [optional] | |**played** | **Boolean** | Gets or sets a value indicating whether this MediaBrowser.Model.Dto.UserItemDataDto is played. | [optional] | |**key** | **String** | Gets or sets the key. | [optional] | -|**itemId** | **String** | Gets or sets the item identifier. | [optional] | +|**itemId** | **UUID** | Gets or sets the item identifier. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UserLibraryApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserLibraryApi.md similarity index 89% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UserLibraryApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserLibraryApi.md index 11d8fb0477b..7a46683d593 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UserLibraryApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserLibraryApi.md @@ -1,24 +1,24 @@ # UserLibraryApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**deleteUserItemRating**](UserLibraryApi.md#deleteUserItemRating) | **DELETE** /Users/{userId}/Items/{itemId}/Rating | Deletes a user's saved personal rating for an item. | -| [**getIntros**](UserLibraryApi.md#getIntros) | **GET** /Users/{userId}/Items/{itemId}/Intros | Gets intros to play before the main media item plays. | -| [**getItem**](UserLibraryApi.md#getItem) | **GET** /Users/{userId}/Items/{itemId} | Gets an item from a user's library. | -| [**getLatestMedia**](UserLibraryApi.md#getLatestMedia) | **GET** /Users/{userId}/Items/Latest | Gets latest media. | -| [**getLocalTrailers**](UserLibraryApi.md#getLocalTrailers) | **GET** /Users/{userId}/Items/{itemId}/LocalTrailers | Gets local trailers for an item. | -| [**getRootFolder**](UserLibraryApi.md#getRootFolder) | **GET** /Users/{userId}/Items/Root | Gets the root folder from a user's library. | -| [**getSpecialFeatures**](UserLibraryApi.md#getSpecialFeatures) | **GET** /Users/{userId}/Items/{itemId}/SpecialFeatures | Gets special features for an item. | -| [**markFavoriteItem**](UserLibraryApi.md#markFavoriteItem) | **POST** /Users/{userId}/FavoriteItems/{itemId} | Marks an item as a favorite. | -| [**unmarkFavoriteItem**](UserLibraryApi.md#unmarkFavoriteItem) | **DELETE** /Users/{userId}/FavoriteItems/{itemId} | Unmarks item as a favorite. | -| [**updateUserItemRating**](UserLibraryApi.md#updateUserItemRating) | **POST** /Users/{userId}/Items/{itemId}/Rating | Updates a user's rating for an item. | +| [**deleteUserItemRating**](UserLibraryApi.md#deleteUserItemRating) | **DELETE** /UserItems/{itemId}/Rating | Deletes a user's saved personal rating for an item. | +| [**getIntros**](UserLibraryApi.md#getIntros) | **GET** /Items/{itemId}/Intros | Gets intros to play before the main media item plays. | +| [**getItem**](UserLibraryApi.md#getItem) | **GET** /Items/{itemId} | Gets an item from a user's library. | +| [**getLatestMedia**](UserLibraryApi.md#getLatestMedia) | **GET** /Items/Latest | Gets latest media. | +| [**getLocalTrailers**](UserLibraryApi.md#getLocalTrailers) | **GET** /Items/{itemId}/LocalTrailers | Gets local trailers for an item. | +| [**getRootFolder**](UserLibraryApi.md#getRootFolder) | **GET** /Items/Root | Gets the root folder from a user's library. | +| [**getSpecialFeatures**](UserLibraryApi.md#getSpecialFeatures) | **GET** /Items/{itemId}/SpecialFeatures | Gets special features for an item. | +| [**markFavoriteItem**](UserLibraryApi.md#markFavoriteItem) | **POST** /UserFavoriteItems/{itemId} | Marks an item as a favorite. | +| [**unmarkFavoriteItem**](UserLibraryApi.md#unmarkFavoriteItem) | **DELETE** /UserFavoriteItems/{itemId} | Unmarks item as a favorite. | +| [**updateUserItemRating**](UserLibraryApi.md#updateUserItemRating) | **POST** /UserItems/{itemId}/Rating | Updates a user's rating for an item. | # **deleteUserItemRating** -> UserItemDataDto deleteUserItemRating(userId, itemId) +> UserItemDataDto deleteUserItemRating(itemId, userId) Deletes a user's saved personal rating for an item. @@ -35,7 +35,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -44,10 +44,10 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); UserLibraryApi apiInstance = new UserLibraryApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | User id. UUID itemId = UUID.randomUUID(); // UUID | Item id. + UUID userId = UUID.randomUUID(); // UUID | User id. try { - UserItemDataDto result = apiInstance.deleteUserItemRating(userId, itemId); + UserItemDataDto result = apiInstance.deleteUserItemRating(itemId, userId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling UserLibraryApi#deleteUserItemRating"); @@ -64,8 +64,8 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | | **itemId** | **UUID**| Item id. | | +| **userId** | **UUID**| User id. | [optional] | ### Return type @@ -89,7 +89,7 @@ public class Example { # **getIntros** -> BaseItemDtoQueryResult getIntros(userId, itemId) +> BaseItemDtoQueryResult getIntros(itemId, userId) Gets intros to play before the main media item plays. @@ -106,7 +106,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -115,10 +115,10 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); UserLibraryApi apiInstance = new UserLibraryApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | User id. UUID itemId = UUID.randomUUID(); // UUID | Item id. + UUID userId = UUID.randomUUID(); // UUID | User id. try { - BaseItemDtoQueryResult result = apiInstance.getIntros(userId, itemId); + BaseItemDtoQueryResult result = apiInstance.getIntros(itemId, userId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling UserLibraryApi#getIntros"); @@ -135,8 +135,8 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | | **itemId** | **UUID**| Item id. | | +| **userId** | **UUID**| User id. | [optional] | ### Return type @@ -160,7 +160,7 @@ public class Example { # **getItem** -> BaseItemDto getItem(userId, itemId) +> BaseItemDto getItem(itemId, userId) Gets an item from a user's library. @@ -177,7 +177,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -186,10 +186,10 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); UserLibraryApi apiInstance = new UserLibraryApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | User id. UUID itemId = UUID.randomUUID(); // UUID | Item id. + UUID userId = UUID.randomUUID(); // UUID | User id. try { - BaseItemDto result = apiInstance.getItem(userId, itemId); + BaseItemDto result = apiInstance.getItem(itemId, userId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling UserLibraryApi#getItem"); @@ -206,8 +206,8 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | | **itemId** | **UUID**| Item id. | | +| **userId** | **UUID**| User id. | [optional] | ### Return type @@ -248,7 +248,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -286,7 +286,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | +| **userId** | **UUID**| User id. | [optional] | | **parentId** | **UUID**| Specify this to localize the search to a specific item or folder. Omit to use the root. | [optional] | | **fields** | [**List<ItemFields>**](ItemFields.md)| Optional. Specify additional fields of information to return in the output. | [optional] | | **includeItemTypes** | [**List<BaseItemKind>**](BaseItemKind.md)| Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. | [optional] | @@ -320,7 +320,7 @@ public class Example { # **getLocalTrailers** -> List<BaseItemDto> getLocalTrailers(userId, itemId) +> List<BaseItemDto> getLocalTrailers(itemId, userId) Gets local trailers for an item. @@ -337,7 +337,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -346,10 +346,10 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); UserLibraryApi apiInstance = new UserLibraryApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | User id. UUID itemId = UUID.randomUUID(); // UUID | Item id. + UUID userId = UUID.randomUUID(); // UUID | User id. try { - List result = apiInstance.getLocalTrailers(userId, itemId); + List result = apiInstance.getLocalTrailers(itemId, userId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling UserLibraryApi#getLocalTrailers"); @@ -366,8 +366,8 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | | **itemId** | **UUID**| Item id. | | +| **userId** | **UUID**| User id. | [optional] | ### Return type @@ -408,7 +408,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -436,7 +436,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | +| **userId** | **UUID**| User id. | [optional] | ### Return type @@ -460,7 +460,7 @@ public class Example { # **getSpecialFeatures** -> List<BaseItemDto> getSpecialFeatures(userId, itemId) +> List<BaseItemDto> getSpecialFeatures(itemId, userId) Gets special features for an item. @@ -477,7 +477,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -486,10 +486,10 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); UserLibraryApi apiInstance = new UserLibraryApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | User id. UUID itemId = UUID.randomUUID(); // UUID | Item id. + UUID userId = UUID.randomUUID(); // UUID | User id. try { - List result = apiInstance.getSpecialFeatures(userId, itemId); + List result = apiInstance.getSpecialFeatures(itemId, userId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling UserLibraryApi#getSpecialFeatures"); @@ -506,8 +506,8 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | | **itemId** | **UUID**| Item id. | | +| **userId** | **UUID**| User id. | [optional] | ### Return type @@ -531,7 +531,7 @@ public class Example { # **markFavoriteItem** -> UserItemDataDto markFavoriteItem(userId, itemId) +> UserItemDataDto markFavoriteItem(itemId, userId) Marks an item as a favorite. @@ -548,7 +548,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -557,10 +557,10 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); UserLibraryApi apiInstance = new UserLibraryApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | User id. UUID itemId = UUID.randomUUID(); // UUID | Item id. + UUID userId = UUID.randomUUID(); // UUID | User id. try { - UserItemDataDto result = apiInstance.markFavoriteItem(userId, itemId); + UserItemDataDto result = apiInstance.markFavoriteItem(itemId, userId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling UserLibraryApi#markFavoriteItem"); @@ -577,8 +577,8 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | | **itemId** | **UUID**| Item id. | | +| **userId** | **UUID**| User id. | [optional] | ### Return type @@ -602,7 +602,7 @@ public class Example { # **unmarkFavoriteItem** -> UserItemDataDto unmarkFavoriteItem(userId, itemId) +> UserItemDataDto unmarkFavoriteItem(itemId, userId) Unmarks item as a favorite. @@ -619,7 +619,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -628,10 +628,10 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); UserLibraryApi apiInstance = new UserLibraryApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | User id. UUID itemId = UUID.randomUUID(); // UUID | Item id. + UUID userId = UUID.randomUUID(); // UUID | User id. try { - UserItemDataDto result = apiInstance.unmarkFavoriteItem(userId, itemId); + UserItemDataDto result = apiInstance.unmarkFavoriteItem(itemId, userId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling UserLibraryApi#unmarkFavoriteItem"); @@ -648,8 +648,8 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | | **itemId** | **UUID**| Item id. | | +| **userId** | **UUID**| User id. | [optional] | ### Return type @@ -673,7 +673,7 @@ public class Example { # **updateUserItemRating** -> UserItemDataDto updateUserItemRating(userId, itemId, likes) +> UserItemDataDto updateUserItemRating(itemId, userId, likes) Updates a user's rating for an item. @@ -690,7 +690,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -699,11 +699,11 @@ public class Example { //CustomAuthentication.setApiKeyPrefix("Token"); UserLibraryApi apiInstance = new UserLibraryApi(defaultClient); - UUID userId = UUID.randomUUID(); // UUID | User id. UUID itemId = UUID.randomUUID(); // UUID | Item id. - Boolean likes = true; // Boolean | Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Guid,System.Guid,System.Nullable{System.Boolean}) is likes. + UUID userId = UUID.randomUUID(); // UUID | User id. + Boolean likes = true; // Boolean | Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Nullable{System.Guid},System.Guid,System.Nullable{System.Boolean}) is likes. try { - UserItemDataDto result = apiInstance.updateUserItemRating(userId, itemId, likes); + UserItemDataDto result = apiInstance.updateUserItemRating(itemId, userId, likes); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling UserLibraryApi#updateUserItemRating"); @@ -720,9 +720,9 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | | **itemId** | **UUID**| Item id. | | -| **likes** | **Boolean**| Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Guid,System.Guid,System.Nullable{System.Boolean}) is likes. | [optional] | +| **userId** | **UUID**| User id. | [optional] | +| **likes** | **Boolean**| Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Nullable{System.Guid},System.Guid,System.Nullable{System.Boolean}) is likes. | [optional] | ### Return type diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserPolicy.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserPolicy.md similarity index 80% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserPolicy.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserPolicy.md index c2af1ec0670..8b39a7c40cf 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserPolicy.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserPolicy.md @@ -9,9 +9,13 @@ |------------ | ------------- | ------------- | -------------| |**isAdministrator** | **Boolean** | Gets or sets a value indicating whether this instance is administrator. | [optional] | |**isHidden** | **Boolean** | Gets or sets a value indicating whether this instance is hidden. | [optional] | +|**enableCollectionManagement** | **Boolean** | Gets or sets a value indicating whether this instance can manage collections. | [optional] | +|**enableSubtitleManagement** | **Boolean** | Gets or sets a value indicating whether this instance can manage subtitles. | [optional] | +|**enableLyricManagement** | **Boolean** | Gets or sets a value indicating whether this user can manage lyrics. | [optional] | |**isDisabled** | **Boolean** | Gets or sets a value indicating whether this instance is disabled. | [optional] | |**maxParentalRating** | **Integer** | Gets or sets the max parental rating. | [optional] | |**blockedTags** | **List<String>** | | [optional] | +|**allowedTags** | **List<String>** | | [optional] | |**enableUserPreferenceAccess** | **Boolean** | | [optional] | |**accessSchedules** | [**List<AccessSchedule>**](AccessSchedule.md) | | [optional] | |**blockUnratedItems** | **List<UnratedItem>** | | [optional] | @@ -43,9 +47,9 @@ |**blockedMediaFolders** | **List<UUID>** | | [optional] | |**blockedChannels** | **List<UUID>** | | [optional] | |**remoteClientBitrateLimit** | **Integer** | | [optional] | -|**authenticationProviderId** | **String** | | [optional] | -|**passwordResetProviderId** | **String** | | [optional] | -|**syncPlayAccess** | **SyncPlayUserAccessType** | Gets or sets a value indicating what SyncPlay features the user can access. | [optional] | +|**authenticationProviderId** | **String** | | | +|**passwordResetProviderId** | **String** | | | +|**syncPlayAccess** | **SyncPlayUserAccessType** | Enum SyncPlayUserAccessType. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserUpdatedMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserUpdatedMessage.md new file mode 100644 index 00000000000..34c2c09496e --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserUpdatedMessage.md @@ -0,0 +1,16 @@ + + +# UserUpdatedMessage + +User updated message. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**UserDto**](UserDto.md) | Class UserDto. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserViewsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserViewsApi.md similarity index 90% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserViewsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserViewsApi.md index f34b1a6de03..2573b00f16c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserViewsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UserViewsApi.md @@ -1,11 +1,11 @@ # UserViewsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**getGroupingOptions**](UserViewsApi.md#getGroupingOptions) | **GET** /Users/{userId}/GroupingOptions | Get user view grouping options. | -| [**getUserViews**](UserViewsApi.md#getUserViews) | **GET** /Users/{userId}/Views | Get user views. | +| [**getGroupingOptions**](UserViewsApi.md#getGroupingOptions) | **GET** /UserViews/GroupingOptions | Get user view grouping options. | +| [**getUserViews**](UserViewsApi.md#getUserViews) | **GET** /UserViews | Get user views. | @@ -27,7 +27,7 @@ import org.openapitools.client.api.UserViewsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -55,7 +55,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | +| **userId** | **UUID**| User id. | [optional] | ### Return type @@ -97,7 +97,7 @@ import org.openapitools.client.api.UserViewsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -108,7 +108,7 @@ public class Example { UserViewsApi apiInstance = new UserViewsApi(defaultClient); UUID userId = UUID.randomUUID(); // UUID | User id. Boolean includeExternalContent = true; // Boolean | Whether or not to include external views such as channels or live tv. - List presetViews = Arrays.asList(); // List | Preset views. + List presetViews = Arrays.asList(); // List | Preset views. Boolean includeHidden = false; // Boolean | Whether or not to include hidden content. try { BaseItemDtoQueryResult result = apiInstance.getUserViews(userId, includeExternalContent, presetViews, includeHidden); @@ -128,9 +128,9 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **userId** | **UUID**| User id. | | +| **userId** | **UUID**| User id. | [optional] | | **includeExternalContent** | **Boolean**| Whether or not to include external views such as channels or live tv. | [optional] | -| **presetViews** | [**List<String>**](String.md)| Preset views. | [optional] | +| **presetViews** | [**List<CollectionType>**](CollectionType.md)| Preset views. | [optional] | | **includeHidden** | **Boolean**| Whether or not to include hidden content. | [optional] [default to false] | ### Return type diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UtcTimeResponse.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UtcTimeResponse.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UtcTimeResponse.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/UtcTimeResponse.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ValidatePathDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ValidatePathDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ValidatePathDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/ValidatePathDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/VersionInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/VersionInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/VersionInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/VersionInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/Video3DFormat.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/Video3DFormat.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/Video3DFormat.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/Video3DFormat.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/VideoAttachmentsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/VideoAttachmentsApi.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/VideoAttachmentsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/VideoAttachmentsApi.md index 19d25d21607..db36ace28fd 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/VideoAttachmentsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/VideoAttachmentsApi.md @@ -1,6 +1,6 @@ # VideoAttachmentsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -25,7 +25,7 @@ import org.openapitools.client.api.VideoAttachmentsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); VideoAttachmentsApi apiInstance = new VideoAttachmentsApi(defaultClient); UUID videoId = UUID.randomUUID(); // UUID | Video ID. diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/VideoRange.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/VideoRange.md new file mode 100644 index 00000000000..9eb81665d4e --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/VideoRange.md @@ -0,0 +1,15 @@ + + +# VideoRange + +## Enum + + +* `UNKNOWN` (value: `"Unknown"`) + +* `SDR` (value: `"SDR"`) + +* `HDR` (value: `"HDR"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/VideoRangeType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/VideoRangeType.md new file mode 100644 index 00000000000..51b7eeee44e --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/VideoRangeType.md @@ -0,0 +1,27 @@ + + +# VideoRangeType + +## Enum + + +* `UNKNOWN` (value: `"Unknown"`) + +* `SDR` (value: `"SDR"`) + +* `HDR10` (value: `"HDR10"`) + +* `HLG` (value: `"HLG"`) + +* `DOVI` (value: `"DOVI"`) + +* `DOVI_WITH_HDR10` (value: `"DOVIWithHDR10"`) + +* `DOVI_WITH_HLG` (value: `"DOVIWithHLG"`) + +* `DOVI_WITH_SDR` (value: `"DOVIWithSDR"`) + +* `HDR10_PLUS` (value: `"HDR10Plus"`) + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/VideoType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/VideoType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/VideoType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/VideoType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/VideosApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/VideosApi.md similarity index 93% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/VideosApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/VideosApi.md index 66480af8518..af919f42eaf 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/VideosApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/VideosApi.md @@ -1,6 +1,6 @@ # VideosApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -32,7 +32,7 @@ import org.openapitools.client.api.VideosApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -101,7 +101,7 @@ import org.openapitools.client.api.VideosApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -155,7 +155,7 @@ public class Example { # **getVideoStream** -> File getVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions) +> File getVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding) Gets a video stream. @@ -171,7 +171,7 @@ import org.openapitools.client.api.VideosApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); VideosApi apiInstance = new VideosApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | The item id. @@ -186,7 +186,7 @@ public class Example { Integer minSegments = 56; // Integer | The minimum number of segments. String mediaSourceId = "mediaSourceId_example"; // String | The media version id, if playing an alternate version. String deviceId = "deviceId_example"; // String | The device id of the client requesting. Used to stop encoding processes when needed. - String audioCodec = "audioCodec_example"; // String | Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + String audioCodec = "audioCodec_example"; // String | Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Boolean enableAutoStreamCopy = true; // Boolean | Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. Boolean allowVideoStreamCopy = true; // Boolean | Whether or not to allow copying of the video stream url. Boolean allowAudioStreamCopy = true; // Boolean | Whether or not to allow copying of the audio stream url. @@ -218,15 +218,16 @@ public class Example { Integer cpuCoreLimit = 56; // Integer | Optional. The limit of how many cpu cores to use. String liveStreamId = "liveStreamId_example"; // String | The live stream id. Boolean enableMpegtsM2TsMode = true; // Boolean | Optional. Whether to enable the MpegtsM2Ts mode. - String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. + String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. String subtitleCodec = "subtitleCodec_example"; // String | Optional. Specify a subtitle codec to encode to. String transcodeReasons = "transcodeReasons_example"; // String | Optional. The transcoding reason. Integer audioStreamIndex = 56; // Integer | Optional. The index of the audio stream to use. If omitted the first audio stream will be used. Integer videoStreamIndex = 56; // Integer | Optional. The index of the video stream to use. If omitted the first video stream will be used. EncodingContext context = EncodingContext.fromValue("Streaming"); // EncodingContext | Optional. The MediaBrowser.Model.Dlna.EncodingContext. Map streamOptions = new HashMap(); // Map | Optional. The streaming options. + Boolean enableAudioVbrEncoding = true; // Boolean | Optional. Whether to enable Audio Encoding. try { - File result = apiInstance.getVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + File result = apiInstance.getVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling VideosApi#getVideoStream"); @@ -255,7 +256,7 @@ public class Example { | **minSegments** | **Integer**| The minimum number of segments. | [optional] | | **mediaSourceId** | **String**| The media version id, if playing an alternate version. | [optional] | | **deviceId** | **String**| The device id of the client requesting. Used to stop encoding processes when needed. | [optional] | -| **audioCodec** | **String**| Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. | [optional] | +| **audioCodec** | **String**| Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. | [optional] | | **enableAutoStreamCopy** | **Boolean**| Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. | [optional] | | **allowVideoStreamCopy** | **Boolean**| Whether or not to allow copying of the video stream url. | [optional] | | **allowAudioStreamCopy** | **Boolean**| Whether or not to allow copying of the audio stream url. | [optional] | @@ -277,7 +278,7 @@ public class Example { | **maxHeight** | **Integer**| Optional. The maximum vertical resolution of the encoded video. | [optional] | | **videoBitRate** | **Integer**| Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. | [optional] | | **subtitleStreamIndex** | **Integer**| Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. | [optional] | -| **subtitleMethod** | [**SubtitleDeliveryMethod**](.md)| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | +| **subtitleMethod** | **SubtitleDeliveryMethod**| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | | **maxRefFrames** | **Integer**| Optional. | [optional] | | **maxVideoBitDepth** | **Integer**| Optional. The maximum video bit depth. | [optional] | | **requireAvc** | **Boolean**| Optional. Whether to require avc. | [optional] | @@ -287,13 +288,14 @@ public class Example { | **cpuCoreLimit** | **Integer**| Optional. The limit of how many cpu cores to use. | [optional] | | **liveStreamId** | **String**| The live stream id. | [optional] | | **enableMpegtsM2TsMode** | **Boolean**| Optional. Whether to enable the MpegtsM2Ts mode. | [optional] | -| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. | [optional] | +| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. | [optional] | | **subtitleCodec** | **String**| Optional. Specify a subtitle codec to encode to. | [optional] | | **transcodeReasons** | **String**| Optional. The transcoding reason. | [optional] | | **audioStreamIndex** | **Integer**| Optional. The index of the audio stream to use. If omitted the first audio stream will be used. | [optional] | | **videoStreamIndex** | **Integer**| Optional. The index of the video stream to use. If omitted the first video stream will be used. | [optional] | -| **context** | [**EncodingContext**](.md)| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | +| **context** | **EncodingContext**| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | | **streamOptions** | [**Map<String, String>**](String.md)| Optional. The streaming options. | [optional] | +| **enableAudioVbrEncoding** | **Boolean**| Optional. Whether to enable Audio Encoding. | [optional] [default to true] | ### Return type @@ -315,7 +317,7 @@ No authorization required # **getVideoStreamByContainer** -> File getVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions) +> File getVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding) Gets a video stream. @@ -331,7 +333,7 @@ import org.openapitools.client.api.VideosApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); VideosApi apiInstance = new VideosApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | The item id. @@ -346,7 +348,7 @@ public class Example { Integer minSegments = 56; // Integer | The minimum number of segments. String mediaSourceId = "mediaSourceId_example"; // String | The media version id, if playing an alternate version. String deviceId = "deviceId_example"; // String | The device id of the client requesting. Used to stop encoding processes when needed. - String audioCodec = "audioCodec_example"; // String | Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + String audioCodec = "audioCodec_example"; // String | Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Boolean enableAutoStreamCopy = true; // Boolean | Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. Boolean allowVideoStreamCopy = true; // Boolean | Whether or not to allow copying of the video stream url. Boolean allowAudioStreamCopy = true; // Boolean | Whether or not to allow copying of the audio stream url. @@ -378,15 +380,16 @@ public class Example { Integer cpuCoreLimit = 56; // Integer | Optional. The limit of how many cpu cores to use. String liveStreamId = "liveStreamId_example"; // String | The live stream id. Boolean enableMpegtsM2TsMode = true; // Boolean | Optional. Whether to enable the MpegtsM2Ts mode. - String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. + String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. String subtitleCodec = "subtitleCodec_example"; // String | Optional. Specify a subtitle codec to encode to. String transcodeReasons = "transcodeReasons_example"; // String | Optional. The transcoding reason. Integer audioStreamIndex = 56; // Integer | Optional. The index of the audio stream to use. If omitted the first audio stream will be used. Integer videoStreamIndex = 56; // Integer | Optional. The index of the video stream to use. If omitted the first video stream will be used. EncodingContext context = EncodingContext.fromValue("Streaming"); // EncodingContext | Optional. The MediaBrowser.Model.Dlna.EncodingContext. Map streamOptions = new HashMap(); // Map | Optional. The streaming options. + Boolean enableAudioVbrEncoding = true; // Boolean | Optional. Whether to enable Audio Encoding. try { - File result = apiInstance.getVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + File result = apiInstance.getVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling VideosApi#getVideoStreamByContainer"); @@ -415,7 +418,7 @@ public class Example { | **minSegments** | **Integer**| The minimum number of segments. | [optional] | | **mediaSourceId** | **String**| The media version id, if playing an alternate version. | [optional] | | **deviceId** | **String**| The device id of the client requesting. Used to stop encoding processes when needed. | [optional] | -| **audioCodec** | **String**| Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. | [optional] | +| **audioCodec** | **String**| Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. | [optional] | | **enableAutoStreamCopy** | **Boolean**| Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. | [optional] | | **allowVideoStreamCopy** | **Boolean**| Whether or not to allow copying of the video stream url. | [optional] | | **allowAudioStreamCopy** | **Boolean**| Whether or not to allow copying of the audio stream url. | [optional] | @@ -437,7 +440,7 @@ public class Example { | **maxHeight** | **Integer**| Optional. The maximum vertical resolution of the encoded video. | [optional] | | **videoBitRate** | **Integer**| Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. | [optional] | | **subtitleStreamIndex** | **Integer**| Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. | [optional] | -| **subtitleMethod** | [**SubtitleDeliveryMethod**](.md)| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | +| **subtitleMethod** | **SubtitleDeliveryMethod**| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | | **maxRefFrames** | **Integer**| Optional. | [optional] | | **maxVideoBitDepth** | **Integer**| Optional. The maximum video bit depth. | [optional] | | **requireAvc** | **Boolean**| Optional. Whether to require avc. | [optional] | @@ -447,13 +450,14 @@ public class Example { | **cpuCoreLimit** | **Integer**| Optional. The limit of how many cpu cores to use. | [optional] | | **liveStreamId** | **String**| The live stream id. | [optional] | | **enableMpegtsM2TsMode** | **Boolean**| Optional. Whether to enable the MpegtsM2Ts mode. | [optional] | -| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. | [optional] | +| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. | [optional] | | **subtitleCodec** | **String**| Optional. Specify a subtitle codec to encode to. | [optional] | | **transcodeReasons** | **String**| Optional. The transcoding reason. | [optional] | | **audioStreamIndex** | **Integer**| Optional. The index of the audio stream to use. If omitted the first audio stream will be used. | [optional] | | **videoStreamIndex** | **Integer**| Optional. The index of the video stream to use. If omitted the first video stream will be used. | [optional] | -| **context** | [**EncodingContext**](.md)| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | +| **context** | **EncodingContext**| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | | **streamOptions** | [**Map<String, String>**](String.md)| Optional. The streaming options. | [optional] | +| **enableAudioVbrEncoding** | **Boolean**| Optional. Whether to enable Audio Encoding. | [optional] [default to true] | ### Return type @@ -475,7 +479,7 @@ No authorization required # **headVideoStream** -> File headVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions) +> File headVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding) Gets a video stream. @@ -491,7 +495,7 @@ import org.openapitools.client.api.VideosApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); VideosApi apiInstance = new VideosApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | The item id. @@ -506,7 +510,7 @@ public class Example { Integer minSegments = 56; // Integer | The minimum number of segments. String mediaSourceId = "mediaSourceId_example"; // String | The media version id, if playing an alternate version. String deviceId = "deviceId_example"; // String | The device id of the client requesting. Used to stop encoding processes when needed. - String audioCodec = "audioCodec_example"; // String | Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + String audioCodec = "audioCodec_example"; // String | Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Boolean enableAutoStreamCopy = true; // Boolean | Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. Boolean allowVideoStreamCopy = true; // Boolean | Whether or not to allow copying of the video stream url. Boolean allowAudioStreamCopy = true; // Boolean | Whether or not to allow copying of the audio stream url. @@ -538,15 +542,16 @@ public class Example { Integer cpuCoreLimit = 56; // Integer | Optional. The limit of how many cpu cores to use. String liveStreamId = "liveStreamId_example"; // String | The live stream id. Boolean enableMpegtsM2TsMode = true; // Boolean | Optional. Whether to enable the MpegtsM2Ts mode. - String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. + String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. String subtitleCodec = "subtitleCodec_example"; // String | Optional. Specify a subtitle codec to encode to. String transcodeReasons = "transcodeReasons_example"; // String | Optional. The transcoding reason. Integer audioStreamIndex = 56; // Integer | Optional. The index of the audio stream to use. If omitted the first audio stream will be used. Integer videoStreamIndex = 56; // Integer | Optional. The index of the video stream to use. If omitted the first video stream will be used. EncodingContext context = EncodingContext.fromValue("Streaming"); // EncodingContext | Optional. The MediaBrowser.Model.Dlna.EncodingContext. Map streamOptions = new HashMap(); // Map | Optional. The streaming options. + Boolean enableAudioVbrEncoding = true; // Boolean | Optional. Whether to enable Audio Encoding. try { - File result = apiInstance.headVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + File result = apiInstance.headVideoStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling VideosApi#headVideoStream"); @@ -575,7 +580,7 @@ public class Example { | **minSegments** | **Integer**| The minimum number of segments. | [optional] | | **mediaSourceId** | **String**| The media version id, if playing an alternate version. | [optional] | | **deviceId** | **String**| The device id of the client requesting. Used to stop encoding processes when needed. | [optional] | -| **audioCodec** | **String**| Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. | [optional] | +| **audioCodec** | **String**| Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. | [optional] | | **enableAutoStreamCopy** | **Boolean**| Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. | [optional] | | **allowVideoStreamCopy** | **Boolean**| Whether or not to allow copying of the video stream url. | [optional] | | **allowAudioStreamCopy** | **Boolean**| Whether or not to allow copying of the audio stream url. | [optional] | @@ -597,7 +602,7 @@ public class Example { | **maxHeight** | **Integer**| Optional. The maximum vertical resolution of the encoded video. | [optional] | | **videoBitRate** | **Integer**| Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. | [optional] | | **subtitleStreamIndex** | **Integer**| Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. | [optional] | -| **subtitleMethod** | [**SubtitleDeliveryMethod**](.md)| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | +| **subtitleMethod** | **SubtitleDeliveryMethod**| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | | **maxRefFrames** | **Integer**| Optional. | [optional] | | **maxVideoBitDepth** | **Integer**| Optional. The maximum video bit depth. | [optional] | | **requireAvc** | **Boolean**| Optional. Whether to require avc. | [optional] | @@ -607,13 +612,14 @@ public class Example { | **cpuCoreLimit** | **Integer**| Optional. The limit of how many cpu cores to use. | [optional] | | **liveStreamId** | **String**| The live stream id. | [optional] | | **enableMpegtsM2TsMode** | **Boolean**| Optional. Whether to enable the MpegtsM2Ts mode. | [optional] | -| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. | [optional] | +| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. | [optional] | | **subtitleCodec** | **String**| Optional. Specify a subtitle codec to encode to. | [optional] | | **transcodeReasons** | **String**| Optional. The transcoding reason. | [optional] | | **audioStreamIndex** | **Integer**| Optional. The index of the audio stream to use. If omitted the first audio stream will be used. | [optional] | | **videoStreamIndex** | **Integer**| Optional. The index of the video stream to use. If omitted the first video stream will be used. | [optional] | -| **context** | [**EncodingContext**](.md)| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | +| **context** | **EncodingContext**| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | | **streamOptions** | [**Map<String, String>**](String.md)| Optional. The streaming options. | [optional] | +| **enableAudioVbrEncoding** | **Boolean**| Optional. Whether to enable Audio Encoding. | [optional] [default to true] | ### Return type @@ -635,7 +641,7 @@ No authorization required # **headVideoStreamByContainer** -> File headVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions) +> File headVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding) Gets a video stream. @@ -651,7 +657,7 @@ import org.openapitools.client.api.VideosApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); VideosApi apiInstance = new VideosApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | The item id. @@ -666,7 +672,7 @@ public class Example { Integer minSegments = 56; // Integer | The minimum number of segments. String mediaSourceId = "mediaSourceId_example"; // String | The media version id, if playing an alternate version. String deviceId = "deviceId_example"; // String | The device id of the client requesting. Used to stop encoding processes when needed. - String audioCodec = "audioCodec_example"; // String | Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + String audioCodec = "audioCodec_example"; // String | Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Boolean enableAutoStreamCopy = true; // Boolean | Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. Boolean allowVideoStreamCopy = true; // Boolean | Whether or not to allow copying of the video stream url. Boolean allowAudioStreamCopy = true; // Boolean | Whether or not to allow copying of the audio stream url. @@ -698,15 +704,16 @@ public class Example { Integer cpuCoreLimit = 56; // Integer | Optional. The limit of how many cpu cores to use. String liveStreamId = "liveStreamId_example"; // String | The live stream id. Boolean enableMpegtsM2TsMode = true; // Boolean | Optional. Whether to enable the MpegtsM2Ts mode. - String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. + String videoCodec = "videoCodec_example"; // String | Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. String subtitleCodec = "subtitleCodec_example"; // String | Optional. Specify a subtitle codec to encode to. String transcodeReasons = "transcodeReasons_example"; // String | Optional. The transcoding reason. Integer audioStreamIndex = 56; // Integer | Optional. The index of the audio stream to use. If omitted the first audio stream will be used. Integer videoStreamIndex = 56; // Integer | Optional. The index of the video stream to use. If omitted the first video stream will be used. EncodingContext context = EncodingContext.fromValue("Streaming"); // EncodingContext | Optional. The MediaBrowser.Model.Dlna.EncodingContext. Map streamOptions = new HashMap(); // Map | Optional. The streaming options. + Boolean enableAudioVbrEncoding = true; // Boolean | Optional. Whether to enable Audio Encoding. try { - File result = apiInstance.headVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + File result = apiInstance.headVideoStreamByContainer(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling VideosApi#headVideoStreamByContainer"); @@ -735,7 +742,7 @@ public class Example { | **minSegments** | **Integer**| The minimum number of segments. | [optional] | | **mediaSourceId** | **String**| The media version id, if playing an alternate version. | [optional] | | **deviceId** | **String**| The device id of the client requesting. Used to stop encoding processes when needed. | [optional] | -| **audioCodec** | **String**| Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. | [optional] | +| **audioCodec** | **String**| Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. | [optional] | | **enableAutoStreamCopy** | **Boolean**| Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. | [optional] | | **allowVideoStreamCopy** | **Boolean**| Whether or not to allow copying of the video stream url. | [optional] | | **allowAudioStreamCopy** | **Boolean**| Whether or not to allow copying of the audio stream url. | [optional] | @@ -757,7 +764,7 @@ public class Example { | **maxHeight** | **Integer**| Optional. The maximum vertical resolution of the encoded video. | [optional] | | **videoBitRate** | **Integer**| Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. | [optional] | | **subtitleStreamIndex** | **Integer**| Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. | [optional] | -| **subtitleMethod** | [**SubtitleDeliveryMethod**](.md)| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | +| **subtitleMethod** | **SubtitleDeliveryMethod**| Optional. Specify the subtitle delivery method. | [optional] [enum: Encode, Embed, External, Hls, Drop] | | **maxRefFrames** | **Integer**| Optional. | [optional] | | **maxVideoBitDepth** | **Integer**| Optional. The maximum video bit depth. | [optional] | | **requireAvc** | **Boolean**| Optional. Whether to require avc. | [optional] | @@ -767,13 +774,14 @@ public class Example { | **cpuCoreLimit** | **Integer**| Optional. The limit of how many cpu cores to use. | [optional] | | **liveStreamId** | **String**| The live stream id. | [optional] | | **enableMpegtsM2TsMode** | **Boolean**| Optional. Whether to enable the MpegtsM2Ts mode. | [optional] | -| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. | [optional] | +| **videoCodec** | **String**| Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. | [optional] | | **subtitleCodec** | **String**| Optional. Specify a subtitle codec to encode to. | [optional] | | **transcodeReasons** | **String**| Optional. The transcoding reason. | [optional] | | **audioStreamIndex** | **Integer**| Optional. The index of the audio stream to use. If omitted the first audio stream will be used. | [optional] | | **videoStreamIndex** | **Integer**| Optional. The index of the video stream to use. If omitted the first video stream will be used. | [optional] | -| **context** | [**EncodingContext**](.md)| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | +| **context** | **EncodingContext**| Optional. The MediaBrowser.Model.Dlna.EncodingContext. | [optional] [enum: Streaming, Static] | | **streamOptions** | [**Map<String, String>**](String.md)| Optional. The streaming options. | [optional] | +| **enableAudioVbrEncoding** | **Boolean**| Optional. Whether to enable Audio Encoding. | [optional] [default to true] | ### Return type @@ -812,7 +820,7 @@ import org.openapitools.client.api.VideosApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/VirtualFolderInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/VirtualFolderInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/VirtualFolderInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/VirtualFolderInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/WakeOnLanInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/WakeOnLanInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/WakeOnLanInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/WakeOnLanInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/WebSocketMessage.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/WebSocketMessage.md new file mode 100644 index 00000000000..22697dd752d --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/WebSocketMessage.md @@ -0,0 +1,16 @@ + + +# WebSocketMessage + +Represents the possible websocket types + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**UserDto**](UserDto.md) | Class UserDto. | [optional] | +|**messageId** | **UUID** | Gets or sets the message id. | [optional] | +|**messageType** | **SessionMessageType** | The different kinds of messages that are used in the WebSocket api. | [optional] [readonly] | + + + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/XbmcMetadataOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/XbmcMetadataOptions.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/XbmcMetadataOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/XbmcMetadataOptions.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/YearsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/YearsApi.md similarity index 88% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/YearsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/YearsApi.md index f197f7bec3a..d58f84d0ae5 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/YearsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/docs/YearsApi.md @@ -1,6 +1,6 @@ # YearsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -27,7 +27,7 @@ import org.openapitools.client.api.YearsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -99,7 +99,7 @@ import org.openapitools.client.api.YearsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -115,8 +115,8 @@ public class Example { List fields = Arrays.asList(); // List | Optional. Specify additional fields of information to return in the output. List excludeItemTypes = Arrays.asList(); // List | Optional. If specified, results will be excluded based on item type. This allows multiple, comma delimited. List includeItemTypes = Arrays.asList(); // List | Optional. If specified, results will be included based on item type. This allows multiple, comma delimited. - List mediaTypes = Arrays.asList(); // List | Optional. Filter by MediaType. Allows multiple, comma delimited. - List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + List mediaTypes = Arrays.asList(); // List | Optional. Filter by MediaType. Allows multiple, comma delimited. + List sortBy = Arrays.asList(); // List | Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. Boolean enableUserData = true; // Boolean | Optional. Include user data. Integer imageTypeLimit = 56; // Integer | Optional. The max number of images to return, per image type. List enableImageTypes = Arrays.asList(); // List | Optional. The image types to include in the output. @@ -148,8 +148,8 @@ public class Example { | **fields** | [**List<ItemFields>**](ItemFields.md)| Optional. Specify additional fields of information to return in the output. | [optional] | | **excludeItemTypes** | [**List<BaseItemKind>**](BaseItemKind.md)| Optional. If specified, results will be excluded based on item type. This allows multiple, comma delimited. | [optional] | | **includeItemTypes** | [**List<BaseItemKind>**](BaseItemKind.md)| Optional. If specified, results will be included based on item type. This allows multiple, comma delimited. | [optional] | -| **mediaTypes** | [**List<String>**](String.md)| Optional. Filter by MediaType. Allows multiple, comma delimited. | [optional] | -| **sortBy** | [**List<String>**](String.md)| Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. | [optional] | +| **mediaTypes** | [**List<MediaType>**](MediaType.md)| Optional. Filter by MediaType. Allows multiple, comma delimited. | [optional] | +| **sortBy** | [**List<ItemSortBy>**](ItemSortBy.md)| Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. | [optional] | | **enableUserData** | **Boolean**| Optional. Include user data. | [optional] | | **imageTypeLimit** | **Integer**| Optional. The max number of images to return, per image type. | [optional] | | **enableImageTypes** | [**List<ImageType>**](ImageType.md)| Optional. The image types to include in the output. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ActivityLogApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ActivityLogApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ActivityLogApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ActivityLogApi.java index 36fd7ce0cca..1ce0d18b260 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ActivityLogApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ActivityLogApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ApiKeyApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ApiKeyApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ApiKeyApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ApiKeyApi.java index 5492feda972..493f7810066 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ApiKeyApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ApiKeyApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ArtistsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ArtistsApi.java similarity index 91% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ArtistsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ArtistsApi.java index e99b0c9c38a..a448dde4536 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ArtistsApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ArtistsApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,6 +33,8 @@ import org.openapitools.client.model.BaseItemKind; import org.openapitools.client.model.ImageType; import org.openapitools.client.model.ItemFields; import org.openapitools.client.model.ItemFilter; +import org.openapitools.client.model.ItemSortBy; +import org.openapitools.client.model.MediaType; import org.openapitools.client.model.SortOrder; import java.util.UUID; @@ -125,7 +127,7 @@ public class ArtistsApi { 403 Forbidden - */ - public okhttp3.Call getAlbumArtistsCall(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAlbumArtistsCall(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -300,7 +302,7 @@ public class ArtistsApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getAlbumArtistsValidateBeforeCall(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAlbumArtistsValidateBeforeCall(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { return getAlbumArtistsCall(minCommunityRating, startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, _callback); } @@ -351,7 +353,7 @@ public class ArtistsApi { 403 Forbidden - */ - public BaseItemDtoQueryResult getAlbumArtists(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount) throws ApiException { + public BaseItemDtoQueryResult getAlbumArtists(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount) throws ApiException { ApiResponse localVarResp = getAlbumArtistsWithHttpInfo(minCommunityRating, startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount); return localVarResp.getData(); } @@ -402,7 +404,7 @@ public class ArtistsApi { 403 Forbidden - */ - public ApiResponse getAlbumArtistsWithHttpInfo(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount) throws ApiException { + public ApiResponse getAlbumArtistsWithHttpInfo(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount) throws ApiException { okhttp3.Call localVarCall = getAlbumArtistsValidateBeforeCall(minCommunityRating, startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -455,7 +457,7 @@ public class ArtistsApi { 403 Forbidden - */ - public okhttp3.Call getAlbumArtistsAsync(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAlbumArtistsAsync(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getAlbumArtistsValidateBeforeCall(minCommunityRating, startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -653,7 +655,7 @@ public class ArtistsApi { 403 Forbidden - */ - public okhttp3.Call getArtistsCall(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getArtistsCall(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -828,7 +830,7 @@ public class ArtistsApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getArtistsValidateBeforeCall(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getArtistsValidateBeforeCall(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { return getArtistsCall(minCommunityRating, startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, _callback); } @@ -879,7 +881,7 @@ public class ArtistsApi { 403 Forbidden - */ - public BaseItemDtoQueryResult getArtists(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount) throws ApiException { + public BaseItemDtoQueryResult getArtists(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount) throws ApiException { ApiResponse localVarResp = getArtistsWithHttpInfo(minCommunityRating, startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount); return localVarResp.getData(); } @@ -930,7 +932,7 @@ public class ArtistsApi { 403 Forbidden - */ - public ApiResponse getArtistsWithHttpInfo(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount) throws ApiException { + public ApiResponse getArtistsWithHttpInfo(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount) throws ApiException { okhttp3.Call localVarCall = getArtistsValidateBeforeCall(minCommunityRating, startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -983,7 +985,7 @@ public class ArtistsApi { 403 Forbidden - */ - public okhttp3.Call getArtistsAsync(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getArtistsAsync(Double minCommunityRating, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List genres, List genreIds, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List studioIds, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getArtistsValidateBeforeCall(minCommunityRating, startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/AudioApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/AudioApi.java similarity index 94% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/AudioApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/AudioApi.java index 22d705d880e..e2beb10fd3c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/AudioApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/AudioApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -89,7 +89,7 @@ public class AudioApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -119,13 +119,14 @@ public class AudioApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -136,7 +137,7 @@ public class AudioApi { 200 Audio stream returned. - */ - public okhttp3.Call getAudioStreamCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAudioStreamCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -354,6 +355,10 @@ public class AudioApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("streamOptions", streamOptions)); } + if (enableAudioVbrEncoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAudioVbrEncoding", enableAudioVbrEncoding)); + } + final String[] localVarAccepts = { "audio/*" }; @@ -374,13 +379,13 @@ public class AudioApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getAudioStreamValidateBeforeCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAudioStreamValidateBeforeCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getAudioStream(Async)"); } - return getAudioStreamCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + return getAudioStreamCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); } @@ -399,7 +404,7 @@ public class AudioApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -429,13 +434,14 @@ public class AudioApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -445,8 +451,8 @@ public class AudioApi { 200 Audio stream returned. - */ - public File getAudioStream(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - ApiResponse localVarResp = getAudioStreamWithHttpInfo(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + public File getAudioStream(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + ApiResponse localVarResp = getAudioStreamWithHttpInfo(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); return localVarResp.getData(); } @@ -465,7 +471,7 @@ public class AudioApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -495,13 +501,14 @@ public class AudioApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -511,8 +518,8 @@ public class AudioApi { 200 Audio stream returned. - */ - public ApiResponse getAudioStreamWithHttpInfo(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - okhttp3.Call localVarCall = getAudioStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, null); + public ApiResponse getAudioStreamWithHttpInfo(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + okhttp3.Call localVarCall = getAudioStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -532,7 +539,7 @@ public class AudioApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -562,13 +569,14 @@ public class AudioApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -579,9 +587,9 @@ public class AudioApi { 200 Audio stream returned. - */ - public okhttp3.Call getAudioStreamAsync(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAudioStreamAsync(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getAudioStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + okhttp3.Call localVarCall = getAudioStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -596,11 +604,11 @@ public class AudioApi { * @param deviceProfileId Optional. The dlna device profile id to utilize. (optional) * @param playSessionId The play session id. (optional) * @param segmentContainer The segment container. (optional) - * @param segmentLength The segment lenght. (optional) + * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -630,13 +638,14 @@ public class AudioApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -647,7 +656,7 @@ public class AudioApi { 200 Audio stream returned. - */ - public okhttp3.Call getAudioStreamByContainerCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAudioStreamByContainerCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -862,6 +871,10 @@ public class AudioApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("streamOptions", streamOptions)); } + if (enableAudioVbrEncoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAudioVbrEncoding", enableAudioVbrEncoding)); + } + final String[] localVarAccepts = { "audio/*" }; @@ -882,7 +895,7 @@ public class AudioApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getAudioStreamByContainerValidateBeforeCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getAudioStreamByContainerValidateBeforeCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getAudioStreamByContainer(Async)"); @@ -893,7 +906,7 @@ public class AudioApi { throw new ApiException("Missing the required parameter 'container' when calling getAudioStreamByContainer(Async)"); } - return getAudioStreamByContainerCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + return getAudioStreamByContainerCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); } @@ -908,11 +921,11 @@ public class AudioApi { * @param deviceProfileId Optional. The dlna device profile id to utilize. (optional) * @param playSessionId The play session id. (optional) * @param segmentContainer The segment container. (optional) - * @param segmentLength The segment lenght. (optional) + * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -942,13 +955,14 @@ public class AudioApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -958,8 +972,8 @@ public class AudioApi { 200 Audio stream returned. - */ - public File getAudioStreamByContainer(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - ApiResponse localVarResp = getAudioStreamByContainerWithHttpInfo(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + public File getAudioStreamByContainer(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + ApiResponse localVarResp = getAudioStreamByContainerWithHttpInfo(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); return localVarResp.getData(); } @@ -974,11 +988,11 @@ public class AudioApi { * @param deviceProfileId Optional. The dlna device profile id to utilize. (optional) * @param playSessionId The play session id. (optional) * @param segmentContainer The segment container. (optional) - * @param segmentLength The segment lenght. (optional) + * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1008,13 +1022,14 @@ public class AudioApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1024,8 +1039,8 @@ public class AudioApi { 200 Audio stream returned. - */ - public ApiResponse getAudioStreamByContainerWithHttpInfo(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - okhttp3.Call localVarCall = getAudioStreamByContainerValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, null); + public ApiResponse getAudioStreamByContainerWithHttpInfo(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + okhttp3.Call localVarCall = getAudioStreamByContainerValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1041,11 +1056,11 @@ public class AudioApi { * @param deviceProfileId Optional. The dlna device profile id to utilize. (optional) * @param playSessionId The play session id. (optional) * @param segmentContainer The segment container. (optional) - * @param segmentLength The segment lenght. (optional) + * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1075,13 +1090,14 @@ public class AudioApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1092,9 +1108,9 @@ public class AudioApi { 200 Audio stream returned. - */ - public okhttp3.Call getAudioStreamByContainerAsync(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getAudioStreamByContainerAsync(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getAudioStreamByContainerValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + okhttp3.Call localVarCall = getAudioStreamByContainerValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -1113,7 +1129,7 @@ public class AudioApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1143,13 +1159,14 @@ public class AudioApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1160,7 +1177,7 @@ public class AudioApi { 200 Audio stream returned. - */ - public okhttp3.Call headAudioStreamCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headAudioStreamCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1378,6 +1395,10 @@ public class AudioApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("streamOptions", streamOptions)); } + if (enableAudioVbrEncoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAudioVbrEncoding", enableAudioVbrEncoding)); + } + final String[] localVarAccepts = { "audio/*" }; @@ -1398,13 +1419,13 @@ public class AudioApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headAudioStreamValidateBeforeCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + private okhttp3.Call headAudioStreamValidateBeforeCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling headAudioStream(Async)"); } - return headAudioStreamCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + return headAudioStreamCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); } @@ -1423,7 +1444,7 @@ public class AudioApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1453,13 +1474,14 @@ public class AudioApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1469,8 +1491,8 @@ public class AudioApi { 200 Audio stream returned. - */ - public File headAudioStream(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - ApiResponse localVarResp = headAudioStreamWithHttpInfo(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + public File headAudioStream(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + ApiResponse localVarResp = headAudioStreamWithHttpInfo(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); return localVarResp.getData(); } @@ -1489,7 +1511,7 @@ public class AudioApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1519,13 +1541,14 @@ public class AudioApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1535,8 +1558,8 @@ public class AudioApi { 200 Audio stream returned. - */ - public ApiResponse headAudioStreamWithHttpInfo(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - okhttp3.Call localVarCall = headAudioStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, null); + public ApiResponse headAudioStreamWithHttpInfo(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + okhttp3.Call localVarCall = headAudioStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1556,7 +1579,7 @@ public class AudioApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1586,13 +1609,14 @@ public class AudioApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1603,9 +1627,9 @@ public class AudioApi { 200 Audio stream returned. - */ - public okhttp3.Call headAudioStreamAsync(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headAudioStreamAsync(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headAudioStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + okhttp3.Call localVarCall = headAudioStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -1620,11 +1644,11 @@ public class AudioApi { * @param deviceProfileId Optional. The dlna device profile id to utilize. (optional) * @param playSessionId The play session id. (optional) * @param segmentContainer The segment container. (optional) - * @param segmentLength The segment lenght. (optional) + * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1654,13 +1678,14 @@ public class AudioApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1671,7 +1696,7 @@ public class AudioApi { 200 Audio stream returned. - */ - public okhttp3.Call headAudioStreamByContainerCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headAudioStreamByContainerCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1886,6 +1911,10 @@ public class AudioApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("streamOptions", streamOptions)); } + if (enableAudioVbrEncoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAudioVbrEncoding", enableAudioVbrEncoding)); + } + final String[] localVarAccepts = { "audio/*" }; @@ -1906,7 +1935,7 @@ public class AudioApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headAudioStreamByContainerValidateBeforeCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + private okhttp3.Call headAudioStreamByContainerValidateBeforeCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling headAudioStreamByContainer(Async)"); @@ -1917,7 +1946,7 @@ public class AudioApi { throw new ApiException("Missing the required parameter 'container' when calling headAudioStreamByContainer(Async)"); } - return headAudioStreamByContainerCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + return headAudioStreamByContainerCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); } @@ -1932,11 +1961,11 @@ public class AudioApi { * @param deviceProfileId Optional. The dlna device profile id to utilize. (optional) * @param playSessionId The play session id. (optional) * @param segmentContainer The segment container. (optional) - * @param segmentLength The segment lenght. (optional) + * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1966,13 +1995,14 @@ public class AudioApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1982,8 +2012,8 @@ public class AudioApi { 200 Audio stream returned. - */ - public File headAudioStreamByContainer(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - ApiResponse localVarResp = headAudioStreamByContainerWithHttpInfo(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + public File headAudioStreamByContainer(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + ApiResponse localVarResp = headAudioStreamByContainerWithHttpInfo(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); return localVarResp.getData(); } @@ -1998,11 +2028,11 @@ public class AudioApi { * @param deviceProfileId Optional. The dlna device profile id to utilize. (optional) * @param playSessionId The play session id. (optional) * @param segmentContainer The segment container. (optional) - * @param segmentLength The segment lenght. (optional) + * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -2032,13 +2062,14 @@ public class AudioApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2048,8 +2079,8 @@ public class AudioApi { 200 Audio stream returned. - */ - public ApiResponse headAudioStreamByContainerWithHttpInfo(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - okhttp3.Call localVarCall = headAudioStreamByContainerValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, null); + public ApiResponse headAudioStreamByContainerWithHttpInfo(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + okhttp3.Call localVarCall = headAudioStreamByContainerValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2065,11 +2096,11 @@ public class AudioApi { * @param deviceProfileId Optional. The dlna device profile id to utilize. (optional) * @param playSessionId The play session id. (optional) * @param segmentContainer The segment container. (optional) - * @param segmentLength The segment lenght. (optional) + * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -2099,13 +2130,14 @@ public class AudioApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2116,9 +2148,9 @@ public class AudioApi { 200 Audio stream returned. - */ - public okhttp3.Call headAudioStreamByContainerAsync(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headAudioStreamByContainerAsync(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headAudioStreamByContainerValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + okhttp3.Call localVarCall = headAudioStreamByContainerValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/BrandingApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/BrandingApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/BrandingApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/BrandingApi.java index 324fc93d836..20fcb6ae921 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/BrandingApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/BrandingApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ChannelsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ChannelsApi.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ChannelsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ChannelsApi.java index af6dfb548d1..082233dd393 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ChannelsApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ChannelsApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -31,6 +31,7 @@ import org.openapitools.client.model.BaseItemDtoQueryResult; import org.openapitools.client.model.ChannelFeatures; import org.openapitools.client.model.ItemFields; import org.openapitools.client.model.ItemFilter; +import org.openapitools.client.model.ItemSortBy; import org.openapitools.client.model.SortOrder; import java.util.UUID; @@ -364,7 +365,7 @@ public class ChannelsApi { 403 Forbidden - */ - public okhttp3.Call getChannelItemsCall(UUID channelId, UUID folderId, UUID userId, Integer startIndex, Integer limit, List sortOrder, List filters, List sortBy, List fields, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getChannelItemsCall(UUID channelId, UUID folderId, UUID userId, Integer startIndex, Integer limit, List sortOrder, List filters, List sortBy, List fields, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -444,7 +445,7 @@ public class ChannelsApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getChannelItemsValidateBeforeCall(UUID channelId, UUID folderId, UUID userId, Integer startIndex, Integer limit, List sortOrder, List filters, List sortBy, List fields, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getChannelItemsValidateBeforeCall(UUID channelId, UUID folderId, UUID userId, Integer startIndex, Integer limit, List sortOrder, List filters, List sortBy, List fields, final ApiCallback _callback) throws ApiException { // verify the required parameter 'channelId' is set if (channelId == null) { throw new ApiException("Missing the required parameter 'channelId' when calling getChannelItems(Async)"); @@ -477,7 +478,7 @@ public class ChannelsApi { 403 Forbidden - */ - public BaseItemDtoQueryResult getChannelItems(UUID channelId, UUID folderId, UUID userId, Integer startIndex, Integer limit, List sortOrder, List filters, List sortBy, List fields) throws ApiException { + public BaseItemDtoQueryResult getChannelItems(UUID channelId, UUID folderId, UUID userId, Integer startIndex, Integer limit, List sortOrder, List filters, List sortBy, List fields) throws ApiException { ApiResponse localVarResp = getChannelItemsWithHttpInfo(channelId, folderId, userId, startIndex, limit, sortOrder, filters, sortBy, fields); return localVarResp.getData(); } @@ -505,7 +506,7 @@ public class ChannelsApi { 403 Forbidden - */ - public ApiResponse getChannelItemsWithHttpInfo(UUID channelId, UUID folderId, UUID userId, Integer startIndex, Integer limit, List sortOrder, List filters, List sortBy, List fields) throws ApiException { + public ApiResponse getChannelItemsWithHttpInfo(UUID channelId, UUID folderId, UUID userId, Integer startIndex, Integer limit, List sortOrder, List filters, List sortBy, List fields) throws ApiException { okhttp3.Call localVarCall = getChannelItemsValidateBeforeCall(channelId, folderId, userId, startIndex, limit, sortOrder, filters, sortBy, fields, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -535,7 +536,7 @@ public class ChannelsApi { 403 Forbidden - */ - public okhttp3.Call getChannelItemsAsync(UUID channelId, UUID folderId, UUID userId, Integer startIndex, Integer limit, List sortOrder, List filters, List sortBy, List fields, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getChannelItemsAsync(UUID channelId, UUID folderId, UUID userId, Integer startIndex, Integer limit, List sortOrder, List filters, List sortBy, List fields, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getChannelItemsValidateBeforeCall(channelId, folderId, userId, startIndex, limit, sortOrder, filters, sortBy, fields, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ClientLogApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ClientLogApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ClientLogApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ClientLogApi.java index e1e0b0fe196..517d35e44ca 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ClientLogApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ClientLogApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/CollectionApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/CollectionApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/CollectionApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/CollectionApi.java index 838fb831cde..c4a9ec8fd37 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/CollectionApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/CollectionApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ConfigurationApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ConfigurationApi.java similarity index 83% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ConfigurationApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ConfigurationApi.java index 9845e07679f..0a9dfe092c2 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ConfigurationApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ConfigurationApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -28,7 +28,6 @@ import java.io.IOException; import java.io.File; -import org.openapitools.client.model.MediaEncoderPathDto; import org.openapitools.client.model.MetadataOptions; import org.openapitools.client.model.ServerConfiguration; @@ -596,147 +595,6 @@ public class ConfigurationApi { localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } - /** - * Build call for updateMediaEncoderPath - * @param mediaEncoderPathDto Media encoder path form body. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Media encoder path updated. -
401 Unauthorized -
403 Forbidden -
- * @deprecated - */ - @Deprecated - public okhttp3.Call updateMediaEncoderPathCall(MediaEncoderPathDto mediaEncoderPathDto, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = mediaEncoderPathDto; - - // create path and map variables - String localVarPath = "/System/MediaEncoder/Path"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json", - "text/json", - "application/*+json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @Deprecated - @SuppressWarnings("rawtypes") - private okhttp3.Call updateMediaEncoderPathValidateBeforeCall(MediaEncoderPathDto mediaEncoderPathDto, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'mediaEncoderPathDto' is set - if (mediaEncoderPathDto == null) { - throw new ApiException("Missing the required parameter 'mediaEncoderPathDto' when calling updateMediaEncoderPath(Async)"); - } - - return updateMediaEncoderPathCall(mediaEncoderPathDto, _callback); - - } - - /** - * Updates the path to the media encoder. - * - * @param mediaEncoderPathDto Media encoder path form body. (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Media encoder path updated. -
401 Unauthorized -
403 Forbidden -
- * @deprecated - */ - @Deprecated - public void updateMediaEncoderPath(MediaEncoderPathDto mediaEncoderPathDto) throws ApiException { - updateMediaEncoderPathWithHttpInfo(mediaEncoderPathDto); - } - - /** - * Updates the path to the media encoder. - * - * @param mediaEncoderPathDto Media encoder path form body. (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Media encoder path updated. -
401 Unauthorized -
403 Forbidden -
- * @deprecated - */ - @Deprecated - public ApiResponse updateMediaEncoderPathWithHttpInfo(MediaEncoderPathDto mediaEncoderPathDto) throws ApiException { - okhttp3.Call localVarCall = updateMediaEncoderPathValidateBeforeCall(mediaEncoderPathDto, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * Updates the path to the media encoder. (asynchronously) - * - * @param mediaEncoderPathDto Media encoder path form body. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Media encoder path updated. -
401 Unauthorized -
403 Forbidden -
- * @deprecated - */ - @Deprecated - public okhttp3.Call updateMediaEncoderPathAsync(MediaEncoderPathDto mediaEncoderPathDto, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = updateMediaEncoderPathValidateBeforeCall(mediaEncoderPathDto, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } /** * Build call for updateNamedConfiguration * @param key Configuration key. (required) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/DashboardApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/DashboardApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/DashboardApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/DashboardApi.java index 18d60672811..5afd35e0c6f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/DashboardApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/DashboardApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/DevicesApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/DevicesApi.java similarity index 91% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/DevicesApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/DevicesApi.java index f54bdc62243..b42a54729a7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/DevicesApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/DevicesApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -27,9 +27,8 @@ import com.google.gson.reflect.TypeToken; import java.io.IOException; -import org.openapitools.client.model.DeviceInfo; -import org.openapitools.client.model.DeviceInfoQueryResult; -import org.openapitools.client.model.DeviceOptions; +import org.openapitools.client.model.DeviceInfoDto; +import org.openapitools.client.model.DeviceInfoDtoQueryResult; import org.openapitools.client.model.DeviceOptionsDto; import org.openapitools.client.model.ProblemDetails; import java.util.UUID; @@ -298,7 +297,7 @@ public class DevicesApi { * Get info for a device. * * @param id Device Id. (required) - * @return DeviceInfo + * @return DeviceInfoDto * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -310,8 +309,8 @@ public class DevicesApi {
403 Forbidden -
*/ - public DeviceInfo getDeviceInfo(String id) throws ApiException { - ApiResponse localVarResp = getDeviceInfoWithHttpInfo(id); + public DeviceInfoDto getDeviceInfo(String id) throws ApiException { + ApiResponse localVarResp = getDeviceInfoWithHttpInfo(id); return localVarResp.getData(); } @@ -319,7 +318,7 @@ public class DevicesApi { * Get info for a device. * * @param id Device Id. (required) - * @return ApiResponse<DeviceInfo> + * @return ApiResponse<DeviceInfoDto> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -331,9 +330,9 @@ public class DevicesApi {
403 Forbidden -
*/ - public ApiResponse getDeviceInfoWithHttpInfo(String id) throws ApiException { + public ApiResponse getDeviceInfoWithHttpInfo(String id) throws ApiException { okhttp3.Call localVarCall = getDeviceInfoValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -354,10 +353,10 @@ public class DevicesApi { 403 Forbidden - */ - public okhttp3.Call getDeviceInfoAsync(String id, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getDeviceInfoAsync(String id, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getDeviceInfoValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } @@ -442,7 +441,7 @@ public class DevicesApi { * Get options for a device. * * @param id Device Id. (required) - * @return DeviceOptions + * @return DeviceOptionsDto * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -454,8 +453,8 @@ public class DevicesApi {
403 Forbidden -
*/ - public DeviceOptions getDeviceOptions(String id) throws ApiException { - ApiResponse localVarResp = getDeviceOptionsWithHttpInfo(id); + public DeviceOptionsDto getDeviceOptions(String id) throws ApiException { + ApiResponse localVarResp = getDeviceOptionsWithHttpInfo(id); return localVarResp.getData(); } @@ -463,7 +462,7 @@ public class DevicesApi { * Get options for a device. * * @param id Device Id. (required) - * @return ApiResponse<DeviceOptions> + * @return ApiResponse<DeviceOptionsDto> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -475,9 +474,9 @@ public class DevicesApi {
403 Forbidden -
*/ - public ApiResponse getDeviceOptionsWithHttpInfo(String id) throws ApiException { + public ApiResponse getDeviceOptionsWithHttpInfo(String id) throws ApiException { okhttp3.Call localVarCall = getDeviceOptionsValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -498,16 +497,15 @@ public class DevicesApi { 403 Forbidden - */ - public okhttp3.Call getDeviceOptionsAsync(String id, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getDeviceOptionsAsync(String id, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getDeviceOptionsValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for getDevices - * @param supportsSync Gets or sets a value indicating whether [supports synchronize]. (optional) * @param userId Gets or sets the user identifier. (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -521,7 +519,7 @@ public class DevicesApi { 403 Forbidden - */ - public okhttp3.Call getDevicesCall(Boolean supportsSync, UUID userId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getDevicesCall(UUID userId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -546,10 +544,6 @@ public class DevicesApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (supportsSync != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("supportsSync", supportsSync)); - } - if (userId != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); } @@ -576,17 +570,16 @@ public class DevicesApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getDevicesValidateBeforeCall(Boolean supportsSync, UUID userId, final ApiCallback _callback) throws ApiException { - return getDevicesCall(supportsSync, userId, _callback); + private okhttp3.Call getDevicesValidateBeforeCall(UUID userId, final ApiCallback _callback) throws ApiException { + return getDevicesCall(userId, _callback); } /** * Get Devices. * - * @param supportsSync Gets or sets a value indicating whether [supports synchronize]. (optional) * @param userId Gets or sets the user identifier. (optional) - * @return DeviceInfoQueryResult + * @return DeviceInfoDtoQueryResult * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -597,17 +590,16 @@ public class DevicesApi {
403 Forbidden -
*/ - public DeviceInfoQueryResult getDevices(Boolean supportsSync, UUID userId) throws ApiException { - ApiResponse localVarResp = getDevicesWithHttpInfo(supportsSync, userId); + public DeviceInfoDtoQueryResult getDevices(UUID userId) throws ApiException { + ApiResponse localVarResp = getDevicesWithHttpInfo(userId); return localVarResp.getData(); } /** * Get Devices. * - * @param supportsSync Gets or sets a value indicating whether [supports synchronize]. (optional) * @param userId Gets or sets the user identifier. (optional) - * @return ApiResponse<DeviceInfoQueryResult> + * @return ApiResponse<DeviceInfoDtoQueryResult> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -618,16 +610,15 @@ public class DevicesApi {
403 Forbidden -
*/ - public ApiResponse getDevicesWithHttpInfo(Boolean supportsSync, UUID userId) throws ApiException { - okhttp3.Call localVarCall = getDevicesValidateBeforeCall(supportsSync, userId, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDevicesWithHttpInfo(UUID userId) throws ApiException { + okhttp3.Call localVarCall = getDevicesValidateBeforeCall(userId, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** * Get Devices. (asynchronously) * - * @param supportsSync Gets or sets a value indicating whether [supports synchronize]. (optional) * @param userId Gets or sets the user identifier. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -641,10 +632,10 @@ public class DevicesApi { 403 Forbidden - */ - public okhttp3.Call getDevicesAsync(Boolean supportsSync, UUID userId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getDevicesAsync(UUID userId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getDevicesValidateBeforeCall(supportsSync, userId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = getDevicesValidateBeforeCall(userId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/DisplayPreferencesApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/DisplayPreferencesApi.java similarity index 87% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/DisplayPreferencesApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/DisplayPreferencesApi.java index f1a6c560d7b..68dc3b5c96c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/DisplayPreferencesApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/DisplayPreferencesApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -76,8 +76,8 @@ public class DisplayPreferencesApi { /** * Build call for getDisplayPreferences * @param displayPreferencesId Display preferences id. (required) - * @param userId User id. (required) * @param client Client. (required) + * @param userId User id. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -90,7 +90,7 @@ public class DisplayPreferencesApi { 403 Forbidden - */ - public okhttp3.Call getDisplayPreferencesCall(String displayPreferencesId, UUID userId, String client, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getDisplayPreferencesCall(String displayPreferencesId, String client, UUID userId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -146,23 +146,18 @@ public class DisplayPreferencesApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getDisplayPreferencesValidateBeforeCall(String displayPreferencesId, UUID userId, String client, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getDisplayPreferencesValidateBeforeCall(String displayPreferencesId, String client, UUID userId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'displayPreferencesId' is set if (displayPreferencesId == null) { throw new ApiException("Missing the required parameter 'displayPreferencesId' when calling getDisplayPreferences(Async)"); } - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getDisplayPreferences(Async)"); - } - // verify the required parameter 'client' is set if (client == null) { throw new ApiException("Missing the required parameter 'client' when calling getDisplayPreferences(Async)"); } - return getDisplayPreferencesCall(displayPreferencesId, userId, client, _callback); + return getDisplayPreferencesCall(displayPreferencesId, client, userId, _callback); } @@ -170,8 +165,8 @@ public class DisplayPreferencesApi { * Get Display Preferences. * * @param displayPreferencesId Display preferences id. (required) - * @param userId User id. (required) * @param client Client. (required) + * @param userId User id. (optional) * @return DisplayPreferencesDto * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -183,8 +178,8 @@ public class DisplayPreferencesApi { 403 Forbidden - */ - public DisplayPreferencesDto getDisplayPreferences(String displayPreferencesId, UUID userId, String client) throws ApiException { - ApiResponse localVarResp = getDisplayPreferencesWithHttpInfo(displayPreferencesId, userId, client); + public DisplayPreferencesDto getDisplayPreferences(String displayPreferencesId, String client, UUID userId) throws ApiException { + ApiResponse localVarResp = getDisplayPreferencesWithHttpInfo(displayPreferencesId, client, userId); return localVarResp.getData(); } @@ -192,8 +187,8 @@ public class DisplayPreferencesApi { * Get Display Preferences. * * @param displayPreferencesId Display preferences id. (required) - * @param userId User id. (required) * @param client Client. (required) + * @param userId User id. (optional) * @return ApiResponse<DisplayPreferencesDto> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -205,8 +200,8 @@ public class DisplayPreferencesApi { 403 Forbidden - */ - public ApiResponse getDisplayPreferencesWithHttpInfo(String displayPreferencesId, UUID userId, String client) throws ApiException { - okhttp3.Call localVarCall = getDisplayPreferencesValidateBeforeCall(displayPreferencesId, userId, client, null); + public ApiResponse getDisplayPreferencesWithHttpInfo(String displayPreferencesId, String client, UUID userId) throws ApiException { + okhttp3.Call localVarCall = getDisplayPreferencesValidateBeforeCall(displayPreferencesId, client, userId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -215,8 +210,8 @@ public class DisplayPreferencesApi { * Get Display Preferences. (asynchronously) * * @param displayPreferencesId Display preferences id. (required) - * @param userId User id. (required) * @param client Client. (required) + * @param userId User id. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -229,9 +224,9 @@ public class DisplayPreferencesApi { 403 Forbidden - */ - public okhttp3.Call getDisplayPreferencesAsync(String displayPreferencesId, UUID userId, String client, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getDisplayPreferencesAsync(String displayPreferencesId, String client, UUID userId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getDisplayPreferencesValidateBeforeCall(displayPreferencesId, userId, client, _callback); + okhttp3.Call localVarCall = getDisplayPreferencesValidateBeforeCall(displayPreferencesId, client, userId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -239,9 +234,9 @@ public class DisplayPreferencesApi { /** * Build call for updateDisplayPreferences * @param displayPreferencesId Display preferences id. (required) - * @param userId User Id. (required) * @param client Client. (required) * @param displayPreferencesDto New Display Preferences object. (required) + * @param userId User Id. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -254,7 +249,7 @@ public class DisplayPreferencesApi { 403 Forbidden - */ - public okhttp3.Call updateDisplayPreferencesCall(String displayPreferencesId, UUID userId, String client, DisplayPreferencesDto displayPreferencesDto, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateDisplayPreferencesCall(String displayPreferencesId, String client, DisplayPreferencesDto displayPreferencesDto, UUID userId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -310,17 +305,12 @@ public class DisplayPreferencesApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call updateDisplayPreferencesValidateBeforeCall(String displayPreferencesId, UUID userId, String client, DisplayPreferencesDto displayPreferencesDto, final ApiCallback _callback) throws ApiException { + private okhttp3.Call updateDisplayPreferencesValidateBeforeCall(String displayPreferencesId, String client, DisplayPreferencesDto displayPreferencesDto, UUID userId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'displayPreferencesId' is set if (displayPreferencesId == null) { throw new ApiException("Missing the required parameter 'displayPreferencesId' when calling updateDisplayPreferences(Async)"); } - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling updateDisplayPreferences(Async)"); - } - // verify the required parameter 'client' is set if (client == null) { throw new ApiException("Missing the required parameter 'client' when calling updateDisplayPreferences(Async)"); @@ -331,7 +321,7 @@ public class DisplayPreferencesApi { throw new ApiException("Missing the required parameter 'displayPreferencesDto' when calling updateDisplayPreferences(Async)"); } - return updateDisplayPreferencesCall(displayPreferencesId, userId, client, displayPreferencesDto, _callback); + return updateDisplayPreferencesCall(displayPreferencesId, client, displayPreferencesDto, userId, _callback); } @@ -339,9 +329,9 @@ public class DisplayPreferencesApi { * Update Display Preferences. * * @param displayPreferencesId Display preferences id. (required) - * @param userId User Id. (required) * @param client Client. (required) * @param displayPreferencesDto New Display Preferences object. (required) + * @param userId User Id. (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -352,17 +342,17 @@ public class DisplayPreferencesApi {
403 Forbidden -
*/ - public void updateDisplayPreferences(String displayPreferencesId, UUID userId, String client, DisplayPreferencesDto displayPreferencesDto) throws ApiException { - updateDisplayPreferencesWithHttpInfo(displayPreferencesId, userId, client, displayPreferencesDto); + public void updateDisplayPreferences(String displayPreferencesId, String client, DisplayPreferencesDto displayPreferencesDto, UUID userId) throws ApiException { + updateDisplayPreferencesWithHttpInfo(displayPreferencesId, client, displayPreferencesDto, userId); } /** * Update Display Preferences. * * @param displayPreferencesId Display preferences id. (required) - * @param userId User Id. (required) * @param client Client. (required) * @param displayPreferencesDto New Display Preferences object. (required) + * @param userId User Id. (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -374,8 +364,8 @@ public class DisplayPreferencesApi { 403 Forbidden - */ - public ApiResponse updateDisplayPreferencesWithHttpInfo(String displayPreferencesId, UUID userId, String client, DisplayPreferencesDto displayPreferencesDto) throws ApiException { - okhttp3.Call localVarCall = updateDisplayPreferencesValidateBeforeCall(displayPreferencesId, userId, client, displayPreferencesDto, null); + public ApiResponse updateDisplayPreferencesWithHttpInfo(String displayPreferencesId, String client, DisplayPreferencesDto displayPreferencesDto, UUID userId) throws ApiException { + okhttp3.Call localVarCall = updateDisplayPreferencesValidateBeforeCall(displayPreferencesId, client, displayPreferencesDto, userId, null); return localVarApiClient.execute(localVarCall); } @@ -383,9 +373,9 @@ public class DisplayPreferencesApi { * Update Display Preferences. (asynchronously) * * @param displayPreferencesId Display preferences id. (required) - * @param userId User Id. (required) * @param client Client. (required) * @param displayPreferencesDto New Display Preferences object. (required) + * @param userId User Id. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -398,9 +388,9 @@ public class DisplayPreferencesApi { 403 Forbidden - */ - public okhttp3.Call updateDisplayPreferencesAsync(String displayPreferencesId, UUID userId, String client, DisplayPreferencesDto displayPreferencesDto, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateDisplayPreferencesAsync(String displayPreferencesId, String client, DisplayPreferencesDto displayPreferencesDto, UUID userId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = updateDisplayPreferencesValidateBeforeCall(displayPreferencesId, userId, client, displayPreferencesDto, _callback); + okhttp3.Call localVarCall = updateDisplayPreferencesValidateBeforeCall(displayPreferencesId, client, displayPreferencesDto, userId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/DynamicHlsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/DynamicHlsApi.java similarity index 94% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/DynamicHlsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/DynamicHlsApi.java index 82d3165de4b..c9a2ed67d0e 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/DynamicHlsApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/DynamicHlsApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -93,7 +93,7 @@ public class DynamicHlsApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -124,13 +124,14 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -143,7 +144,7 @@ public class DynamicHlsApi { 403 Forbidden - */ - public okhttp3.Call getHlsAudioSegmentCall(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getHlsAudioSegmentCall(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -372,6 +373,10 @@ public class DynamicHlsApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("streamOptions", streamOptions)); } + if (enableAudioVbrEncoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAudioVbrEncoding", enableAudioVbrEncoding)); + } + final String[] localVarAccepts = { "audio/*" }; @@ -392,7 +397,7 @@ public class DynamicHlsApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getHlsAudioSegmentValidateBeforeCall(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getHlsAudioSegmentValidateBeforeCall(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getHlsAudioSegment(Async)"); @@ -423,7 +428,7 @@ public class DynamicHlsApi { throw new ApiException("Missing the required parameter 'actualSegmentLengthTicks' when calling getHlsAudioSegment(Async)"); } - return getHlsAudioSegmentCall(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + return getHlsAudioSegmentCall(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); } @@ -446,7 +451,7 @@ public class DynamicHlsApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -477,13 +482,14 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -495,8 +501,8 @@ public class DynamicHlsApi { 403 Forbidden - */ - public File getHlsAudioSegment(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - ApiResponse localVarResp = getHlsAudioSegmentWithHttpInfo(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + public File getHlsAudioSegment(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + ApiResponse localVarResp = getHlsAudioSegmentWithHttpInfo(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); return localVarResp.getData(); } @@ -519,7 +525,7 @@ public class DynamicHlsApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -550,13 +556,14 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -568,8 +575,8 @@ public class DynamicHlsApi { 403 Forbidden - */ - public ApiResponse getHlsAudioSegmentWithHttpInfo(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - okhttp3.Call localVarCall = getHlsAudioSegmentValidateBeforeCall(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, null); + public ApiResponse getHlsAudioSegmentWithHttpInfo(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + okhttp3.Call localVarCall = getHlsAudioSegmentValidateBeforeCall(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -593,7 +600,7 @@ public class DynamicHlsApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -624,13 +631,14 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -643,9 +651,9 @@ public class DynamicHlsApi { 403 Forbidden - */ - public okhttp3.Call getHlsAudioSegmentAsync(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getHlsAudioSegmentAsync(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getHlsAudioSegmentValidateBeforeCall(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + okhttp3.Call localVarCall = getHlsAudioSegmentValidateBeforeCall(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -668,7 +676,7 @@ public class DynamicHlsApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -700,13 +708,15 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -719,7 +729,7 @@ public class DynamicHlsApi { 403 Forbidden - */ - public okhttp3.Call getHlsVideoSegmentCall(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getHlsVideoSegmentCall(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -952,6 +962,14 @@ public class DynamicHlsApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("streamOptions", streamOptions)); } + if (enableAudioVbrEncoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAudioVbrEncoding", enableAudioVbrEncoding)); + } + + if (alwaysBurnInSubtitleWhenTranscoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("alwaysBurnInSubtitleWhenTranscoding", alwaysBurnInSubtitleWhenTranscoding)); + } + final String[] localVarAccepts = { "video/*" }; @@ -972,7 +990,7 @@ public class DynamicHlsApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getHlsVideoSegmentValidateBeforeCall(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getHlsVideoSegmentValidateBeforeCall(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getHlsVideoSegment(Async)"); @@ -1003,7 +1021,7 @@ public class DynamicHlsApi { throw new ApiException("Missing the required parameter 'actualSegmentLengthTicks' when calling getHlsVideoSegment(Async)"); } - return getHlsVideoSegmentCall(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + return getHlsVideoSegmentCall(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, _callback); } @@ -1026,7 +1044,7 @@ public class DynamicHlsApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1058,13 +1076,15 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1076,8 +1096,8 @@ public class DynamicHlsApi { 403 Forbidden - */ - public File getHlsVideoSegment(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - ApiResponse localVarResp = getHlsVideoSegmentWithHttpInfo(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + public File getHlsVideoSegment(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding) throws ApiException { + ApiResponse localVarResp = getHlsVideoSegmentWithHttpInfo(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding); return localVarResp.getData(); } @@ -1100,7 +1120,7 @@ public class DynamicHlsApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1132,13 +1152,15 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1150,8 +1172,8 @@ public class DynamicHlsApi { 403 Forbidden - */ - public ApiResponse getHlsVideoSegmentWithHttpInfo(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - okhttp3.Call localVarCall = getHlsVideoSegmentValidateBeforeCall(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, null); + public ApiResponse getHlsVideoSegmentWithHttpInfo(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding) throws ApiException { + okhttp3.Call localVarCall = getHlsVideoSegmentValidateBeforeCall(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1175,7 +1197,7 @@ public class DynamicHlsApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1207,13 +1229,15 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1226,9 +1250,9 @@ public class DynamicHlsApi { 403 Forbidden - */ - public okhttp3.Call getHlsVideoSegmentAsync(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getHlsVideoSegmentAsync(UUID itemId, String playlistId, Integer segmentId, String container, Long runtimeTicks, Long actualSegmentLengthTicks, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getHlsVideoSegmentValidateBeforeCall(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + okhttp3.Call localVarCall = getHlsVideoSegmentValidateBeforeCall(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -1243,11 +1267,11 @@ public class DynamicHlsApi { * @param deviceProfileId Optional. The dlna device profile id to utilize. (optional) * @param playSessionId The play session id. (optional) * @param segmentContainer The segment container. (optional) - * @param segmentLength The segment lenght. (optional) + * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1277,7 +1301,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -1287,6 +1311,8 @@ public class DynamicHlsApi { * @param maxWidth Optional. The max width. (optional) * @param maxHeight Optional. The max height. (optional) * @param enableSubtitlesInManifest Optional. Whether to enable subtitles in the manifest. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1299,7 +1325,7 @@ public class DynamicHlsApi { 403 Forbidden - */ - public okhttp3.Call getLiveHlsStreamCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Integer maxWidth, Integer maxHeight, Boolean enableSubtitlesInManifest, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLiveHlsStreamCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Integer maxWidth, Integer maxHeight, Boolean enableSubtitlesInManifest, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1529,6 +1555,14 @@ public class DynamicHlsApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableSubtitlesInManifest", enableSubtitlesInManifest)); } + if (enableAudioVbrEncoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAudioVbrEncoding", enableAudioVbrEncoding)); + } + + if (alwaysBurnInSubtitleWhenTranscoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("alwaysBurnInSubtitleWhenTranscoding", alwaysBurnInSubtitleWhenTranscoding)); + } + final String[] localVarAccepts = { "application/x-mpegURL" }; @@ -1549,13 +1583,13 @@ public class DynamicHlsApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getLiveHlsStreamValidateBeforeCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Integer maxWidth, Integer maxHeight, Boolean enableSubtitlesInManifest, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getLiveHlsStreamValidateBeforeCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Integer maxWidth, Integer maxHeight, Boolean enableSubtitlesInManifest, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getLiveHlsStream(Async)"); } - return getLiveHlsStreamCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, _callback); + return getLiveHlsStreamCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, _callback); } @@ -1570,11 +1604,11 @@ public class DynamicHlsApi { * @param deviceProfileId Optional. The dlna device profile id to utilize. (optional) * @param playSessionId The play session id. (optional) * @param segmentContainer The segment container. (optional) - * @param segmentLength The segment lenght. (optional) + * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1604,7 +1638,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -1614,6 +1648,8 @@ public class DynamicHlsApi { * @param maxWidth Optional. The max width. (optional) * @param maxHeight Optional. The max height. (optional) * @param enableSubtitlesInManifest Optional. Whether to enable subtitles in the manifest. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1625,8 +1661,8 @@ public class DynamicHlsApi { 403 Forbidden - */ - public File getLiveHlsStream(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Integer maxWidth, Integer maxHeight, Boolean enableSubtitlesInManifest) throws ApiException { - ApiResponse localVarResp = getLiveHlsStreamWithHttpInfo(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest); + public File getLiveHlsStream(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Integer maxWidth, Integer maxHeight, Boolean enableSubtitlesInManifest, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding) throws ApiException { + ApiResponse localVarResp = getLiveHlsStreamWithHttpInfo(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding); return localVarResp.getData(); } @@ -1641,11 +1677,11 @@ public class DynamicHlsApi { * @param deviceProfileId Optional. The dlna device profile id to utilize. (optional) * @param playSessionId The play session id. (optional) * @param segmentContainer The segment container. (optional) - * @param segmentLength The segment lenght. (optional) + * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1675,7 +1711,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -1685,6 +1721,8 @@ public class DynamicHlsApi { * @param maxWidth Optional. The max width. (optional) * @param maxHeight Optional. The max height. (optional) * @param enableSubtitlesInManifest Optional. Whether to enable subtitles in the manifest. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1696,8 +1734,8 @@ public class DynamicHlsApi { 403 Forbidden - */ - public ApiResponse getLiveHlsStreamWithHttpInfo(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Integer maxWidth, Integer maxHeight, Boolean enableSubtitlesInManifest) throws ApiException { - okhttp3.Call localVarCall = getLiveHlsStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, null); + public ApiResponse getLiveHlsStreamWithHttpInfo(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Integer maxWidth, Integer maxHeight, Boolean enableSubtitlesInManifest, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding) throws ApiException { + okhttp3.Call localVarCall = getLiveHlsStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1713,11 +1751,11 @@ public class DynamicHlsApi { * @param deviceProfileId Optional. The dlna device profile id to utilize. (optional) * @param playSessionId The play session id. (optional) * @param segmentContainer The segment container. (optional) - * @param segmentLength The segment lenght. (optional) + * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1747,7 +1785,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -1757,6 +1795,8 @@ public class DynamicHlsApi { * @param maxWidth Optional. The max width. (optional) * @param maxHeight Optional. The max height. (optional) * @param enableSubtitlesInManifest Optional. Whether to enable subtitles in the manifest. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1769,9 +1809,9 @@ public class DynamicHlsApi { 403 Forbidden - */ - public okhttp3.Call getLiveHlsStreamAsync(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Integer maxWidth, Integer maxHeight, Boolean enableSubtitlesInManifest, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLiveHlsStreamAsync(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Integer maxWidth, Integer maxHeight, Boolean enableSubtitlesInManifest, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getLiveHlsStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, _callback); + okhttp3.Call localVarCall = getLiveHlsStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -1789,7 +1829,7 @@ public class DynamicHlsApi { * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1820,7 +1860,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -1828,6 +1868,7 @@ public class DynamicHlsApi { * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. (optional, default to true) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1840,7 +1881,7 @@ public class DynamicHlsApi { 403 Forbidden - */ - public okhttp3.Call getMasterHlsAudioPlaylistCall(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getMasterHlsAudioPlaylistCall(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2062,6 +2103,10 @@ public class DynamicHlsApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAdaptiveBitrateStreaming", enableAdaptiveBitrateStreaming)); } + if (enableAudioVbrEncoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAudioVbrEncoding", enableAudioVbrEncoding)); + } + final String[] localVarAccepts = { "application/x-mpegURL" }; @@ -2082,7 +2127,7 @@ public class DynamicHlsApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getMasterHlsAudioPlaylistValidateBeforeCall(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getMasterHlsAudioPlaylistValidateBeforeCall(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getMasterHlsAudioPlaylist(Async)"); @@ -2093,7 +2138,7 @@ public class DynamicHlsApi { throw new ApiException("Missing the required parameter 'mediaSourceId' when calling getMasterHlsAudioPlaylist(Async)"); } - return getMasterHlsAudioPlaylistCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, _callback); + return getMasterHlsAudioPlaylistCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableAudioVbrEncoding, _callback); } @@ -2111,7 +2156,7 @@ public class DynamicHlsApi { * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -2142,7 +2187,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -2150,6 +2195,7 @@ public class DynamicHlsApi { * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. (optional, default to true) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2161,8 +2207,8 @@ public class DynamicHlsApi { 403 Forbidden - */ - public File getMasterHlsAudioPlaylist(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming) throws ApiException { - ApiResponse localVarResp = getMasterHlsAudioPlaylistWithHttpInfo(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming); + public File getMasterHlsAudioPlaylist(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableAudioVbrEncoding) throws ApiException { + ApiResponse localVarResp = getMasterHlsAudioPlaylistWithHttpInfo(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableAudioVbrEncoding); return localVarResp.getData(); } @@ -2180,7 +2226,7 @@ public class DynamicHlsApi { * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -2211,7 +2257,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -2219,6 +2265,7 @@ public class DynamicHlsApi { * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. (optional, default to true) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2230,8 +2277,8 @@ public class DynamicHlsApi { 403 Forbidden - */ - public ApiResponse getMasterHlsAudioPlaylistWithHttpInfo(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming) throws ApiException { - okhttp3.Call localVarCall = getMasterHlsAudioPlaylistValidateBeforeCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, null); + public ApiResponse getMasterHlsAudioPlaylistWithHttpInfo(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableAudioVbrEncoding) throws ApiException { + okhttp3.Call localVarCall = getMasterHlsAudioPlaylistValidateBeforeCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableAudioVbrEncoding, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2250,7 +2297,7 @@ public class DynamicHlsApi { * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -2281,7 +2328,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -2289,6 +2336,7 @@ public class DynamicHlsApi { * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. (optional, default to true) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2301,9 +2349,9 @@ public class DynamicHlsApi { 403 Forbidden - */ - public okhttp3.Call getMasterHlsAudioPlaylistAsync(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getMasterHlsAudioPlaylistAsync(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getMasterHlsAudioPlaylistValidateBeforeCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, _callback); + okhttp3.Call localVarCall = getMasterHlsAudioPlaylistValidateBeforeCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableAudioVbrEncoding, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -2321,7 +2369,7 @@ public class DynamicHlsApi { * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -2353,7 +2401,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -2361,6 +2409,9 @@ public class DynamicHlsApi { * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. (optional, default to true) + * @param enableTrickplay Enable trickplay image playlists being added to master playlist. (optional, default to true) + * @param enableAudioVbrEncoding Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2373,7 +2424,7 @@ public class DynamicHlsApi { 403 Forbidden - */ - public okhttp3.Call getMasterHlsVideoPlaylistCall(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getMasterHlsVideoPlaylistCall(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableTrickplay, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2599,6 +2650,18 @@ public class DynamicHlsApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAdaptiveBitrateStreaming", enableAdaptiveBitrateStreaming)); } + if (enableTrickplay != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableTrickplay", enableTrickplay)); + } + + if (enableAudioVbrEncoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAudioVbrEncoding", enableAudioVbrEncoding)); + } + + if (alwaysBurnInSubtitleWhenTranscoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("alwaysBurnInSubtitleWhenTranscoding", alwaysBurnInSubtitleWhenTranscoding)); + } + final String[] localVarAccepts = { "application/x-mpegURL" }; @@ -2619,7 +2682,7 @@ public class DynamicHlsApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getMasterHlsVideoPlaylistValidateBeforeCall(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getMasterHlsVideoPlaylistValidateBeforeCall(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableTrickplay, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getMasterHlsVideoPlaylist(Async)"); @@ -2630,7 +2693,7 @@ public class DynamicHlsApi { throw new ApiException("Missing the required parameter 'mediaSourceId' when calling getMasterHlsVideoPlaylist(Async)"); } - return getMasterHlsVideoPlaylistCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, _callback); + return getMasterHlsVideoPlaylistCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, _callback); } @@ -2648,7 +2711,7 @@ public class DynamicHlsApi { * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -2680,7 +2743,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -2688,6 +2751,9 @@ public class DynamicHlsApi { * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. (optional, default to true) + * @param enableTrickplay Enable trickplay image playlists being added to master playlist. (optional, default to true) + * @param enableAudioVbrEncoding Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2699,8 +2765,8 @@ public class DynamicHlsApi { 403 Forbidden - */ - public File getMasterHlsVideoPlaylist(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming) throws ApiException { - ApiResponse localVarResp = getMasterHlsVideoPlaylistWithHttpInfo(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming); + public File getMasterHlsVideoPlaylist(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableTrickplay, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding) throws ApiException { + ApiResponse localVarResp = getMasterHlsVideoPlaylistWithHttpInfo(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding); return localVarResp.getData(); } @@ -2718,7 +2784,7 @@ public class DynamicHlsApi { * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -2750,7 +2816,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -2758,6 +2824,9 @@ public class DynamicHlsApi { * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. (optional, default to true) + * @param enableTrickplay Enable trickplay image playlists being added to master playlist. (optional, default to true) + * @param enableAudioVbrEncoding Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2769,8 +2838,8 @@ public class DynamicHlsApi { 403 Forbidden - */ - public ApiResponse getMasterHlsVideoPlaylistWithHttpInfo(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming) throws ApiException { - okhttp3.Call localVarCall = getMasterHlsVideoPlaylistValidateBeforeCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, null); + public ApiResponse getMasterHlsVideoPlaylistWithHttpInfo(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableTrickplay, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding) throws ApiException { + okhttp3.Call localVarCall = getMasterHlsVideoPlaylistValidateBeforeCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2789,7 +2858,7 @@ public class DynamicHlsApi { * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -2821,7 +2890,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -2829,6 +2898,9 @@ public class DynamicHlsApi { * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. (optional, default to true) + * @param enableTrickplay Enable trickplay image playlists being added to master playlist. (optional, default to true) + * @param enableAudioVbrEncoding Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2841,9 +2913,9 @@ public class DynamicHlsApi { 403 Forbidden - */ - public okhttp3.Call getMasterHlsVideoPlaylistAsync(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getMasterHlsVideoPlaylistAsync(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableTrickplay, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getMasterHlsVideoPlaylistValidateBeforeCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, _callback); + okhttp3.Call localVarCall = getMasterHlsVideoPlaylistValidateBeforeCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -2861,7 +2933,7 @@ public class DynamicHlsApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -2892,13 +2964,14 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2911,7 +2984,7 @@ public class DynamicHlsApi { 403 Forbidden - */ - public okhttp3.Call getVariantHlsAudioPlaylistCall(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getVariantHlsAudioPlaylistCall(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -3129,6 +3202,10 @@ public class DynamicHlsApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("streamOptions", streamOptions)); } + if (enableAudioVbrEncoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAudioVbrEncoding", enableAudioVbrEncoding)); + } + final String[] localVarAccepts = { "application/x-mpegURL" }; @@ -3149,13 +3226,13 @@ public class DynamicHlsApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getVariantHlsAudioPlaylistValidateBeforeCall(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getVariantHlsAudioPlaylistValidateBeforeCall(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getVariantHlsAudioPlaylist(Async)"); } - return getVariantHlsAudioPlaylistCall(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + return getVariantHlsAudioPlaylistCall(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); } @@ -3173,7 +3250,7 @@ public class DynamicHlsApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -3204,13 +3281,14 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3222,8 +3300,8 @@ public class DynamicHlsApi { 403 Forbidden - */ - public File getVariantHlsAudioPlaylist(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - ApiResponse localVarResp = getVariantHlsAudioPlaylistWithHttpInfo(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + public File getVariantHlsAudioPlaylist(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + ApiResponse localVarResp = getVariantHlsAudioPlaylistWithHttpInfo(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); return localVarResp.getData(); } @@ -3241,7 +3319,7 @@ public class DynamicHlsApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -3272,13 +3350,14 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3290,8 +3369,8 @@ public class DynamicHlsApi { 403 Forbidden - */ - public ApiResponse getVariantHlsAudioPlaylistWithHttpInfo(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - okhttp3.Call localVarCall = getVariantHlsAudioPlaylistValidateBeforeCall(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, null); + public ApiResponse getVariantHlsAudioPlaylistWithHttpInfo(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + okhttp3.Call localVarCall = getVariantHlsAudioPlaylistValidateBeforeCall(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -3310,7 +3389,7 @@ public class DynamicHlsApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -3341,13 +3420,14 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -3360,9 +3440,9 @@ public class DynamicHlsApi { 403 Forbidden - */ - public okhttp3.Call getVariantHlsAudioPlaylistAsync(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getVariantHlsAudioPlaylistAsync(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getVariantHlsAudioPlaylistValidateBeforeCall(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + okhttp3.Call localVarCall = getVariantHlsAudioPlaylistValidateBeforeCall(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -3380,7 +3460,7 @@ public class DynamicHlsApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -3412,13 +3492,15 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -3431,7 +3513,7 @@ public class DynamicHlsApi { 403 Forbidden - */ - public okhttp3.Call getVariantHlsVideoPlaylistCall(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getVariantHlsVideoPlaylistCall(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -3653,6 +3735,14 @@ public class DynamicHlsApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("streamOptions", streamOptions)); } + if (enableAudioVbrEncoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAudioVbrEncoding", enableAudioVbrEncoding)); + } + + if (alwaysBurnInSubtitleWhenTranscoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("alwaysBurnInSubtitleWhenTranscoding", alwaysBurnInSubtitleWhenTranscoding)); + } + final String[] localVarAccepts = { "application/x-mpegURL" }; @@ -3673,13 +3763,13 @@ public class DynamicHlsApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getVariantHlsVideoPlaylistValidateBeforeCall(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getVariantHlsVideoPlaylistValidateBeforeCall(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getVariantHlsVideoPlaylist(Async)"); } - return getVariantHlsVideoPlaylistCall(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + return getVariantHlsVideoPlaylistCall(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, _callback); } @@ -3697,7 +3787,7 @@ public class DynamicHlsApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -3729,13 +3819,15 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3747,8 +3839,8 @@ public class DynamicHlsApi { 403 Forbidden - */ - public File getVariantHlsVideoPlaylist(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - ApiResponse localVarResp = getVariantHlsVideoPlaylistWithHttpInfo(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + public File getVariantHlsVideoPlaylist(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding) throws ApiException { + ApiResponse localVarResp = getVariantHlsVideoPlaylistWithHttpInfo(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding); return localVarResp.getData(); } @@ -3766,7 +3858,7 @@ public class DynamicHlsApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -3798,13 +3890,15 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3816,8 +3910,8 @@ public class DynamicHlsApi { 403 Forbidden - */ - public ApiResponse getVariantHlsVideoPlaylistWithHttpInfo(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - okhttp3.Call localVarCall = getVariantHlsVideoPlaylistValidateBeforeCall(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, null); + public ApiResponse getVariantHlsVideoPlaylistWithHttpInfo(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding) throws ApiException { + okhttp3.Call localVarCall = getVariantHlsVideoPlaylistValidateBeforeCall(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -3836,7 +3930,7 @@ public class DynamicHlsApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -3868,13 +3962,15 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -3887,9 +3983,9 @@ public class DynamicHlsApi { 403 Forbidden - */ - public okhttp3.Call getVariantHlsVideoPlaylistAsync(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getVariantHlsVideoPlaylistAsync(UUID itemId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getVariantHlsVideoPlaylistValidateBeforeCall(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + okhttp3.Call localVarCall = getVariantHlsVideoPlaylistValidateBeforeCall(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -3907,7 +4003,7 @@ public class DynamicHlsApi { * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -3938,7 +4034,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -3946,6 +4042,7 @@ public class DynamicHlsApi { * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. (optional, default to true) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -3958,7 +4055,7 @@ public class DynamicHlsApi { 403 Forbidden - */ - public okhttp3.Call headMasterHlsAudioPlaylistCall(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headMasterHlsAudioPlaylistCall(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -4180,6 +4277,10 @@ public class DynamicHlsApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAdaptiveBitrateStreaming", enableAdaptiveBitrateStreaming)); } + if (enableAudioVbrEncoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAudioVbrEncoding", enableAudioVbrEncoding)); + } + final String[] localVarAccepts = { "application/x-mpegURL" }; @@ -4200,7 +4301,7 @@ public class DynamicHlsApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headMasterHlsAudioPlaylistValidateBeforeCall(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, final ApiCallback _callback) throws ApiException { + private okhttp3.Call headMasterHlsAudioPlaylistValidateBeforeCall(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling headMasterHlsAudioPlaylist(Async)"); @@ -4211,7 +4312,7 @@ public class DynamicHlsApi { throw new ApiException("Missing the required parameter 'mediaSourceId' when calling headMasterHlsAudioPlaylist(Async)"); } - return headMasterHlsAudioPlaylistCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, _callback); + return headMasterHlsAudioPlaylistCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableAudioVbrEncoding, _callback); } @@ -4229,7 +4330,7 @@ public class DynamicHlsApi { * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -4260,7 +4361,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -4268,6 +4369,7 @@ public class DynamicHlsApi { * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. (optional, default to true) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -4279,8 +4381,8 @@ public class DynamicHlsApi { 403 Forbidden - */ - public File headMasterHlsAudioPlaylist(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming) throws ApiException { - ApiResponse localVarResp = headMasterHlsAudioPlaylistWithHttpInfo(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming); + public File headMasterHlsAudioPlaylist(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableAudioVbrEncoding) throws ApiException { + ApiResponse localVarResp = headMasterHlsAudioPlaylistWithHttpInfo(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableAudioVbrEncoding); return localVarResp.getData(); } @@ -4298,7 +4400,7 @@ public class DynamicHlsApi { * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -4329,7 +4431,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -4337,6 +4439,7 @@ public class DynamicHlsApi { * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. (optional, default to true) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -4348,8 +4451,8 @@ public class DynamicHlsApi { 403 Forbidden - */ - public ApiResponse headMasterHlsAudioPlaylistWithHttpInfo(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming) throws ApiException { - okhttp3.Call localVarCall = headMasterHlsAudioPlaylistValidateBeforeCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, null); + public ApiResponse headMasterHlsAudioPlaylistWithHttpInfo(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableAudioVbrEncoding) throws ApiException { + okhttp3.Call localVarCall = headMasterHlsAudioPlaylistValidateBeforeCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableAudioVbrEncoding, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -4368,7 +4471,7 @@ public class DynamicHlsApi { * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -4399,7 +4502,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -4407,6 +4510,7 @@ public class DynamicHlsApi { * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. (optional, default to true) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -4419,9 +4523,9 @@ public class DynamicHlsApi { 403 Forbidden - */ - public okhttp3.Call headMasterHlsAudioPlaylistAsync(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headMasterHlsAudioPlaylistAsync(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer maxStreamingBitrate, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headMasterHlsAudioPlaylistValidateBeforeCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, _callback); + okhttp3.Call localVarCall = headMasterHlsAudioPlaylistValidateBeforeCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableAudioVbrEncoding, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -4439,7 +4543,7 @@ public class DynamicHlsApi { * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -4471,7 +4575,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -4479,6 +4583,9 @@ public class DynamicHlsApi { * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. (optional, default to true) + * @param enableTrickplay Enable trickplay image playlists being added to master playlist. (optional, default to true) + * @param enableAudioVbrEncoding Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -4491,7 +4598,7 @@ public class DynamicHlsApi { 403 Forbidden - */ - public okhttp3.Call headMasterHlsVideoPlaylistCall(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headMasterHlsVideoPlaylistCall(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableTrickplay, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -4717,6 +4824,18 @@ public class DynamicHlsApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAdaptiveBitrateStreaming", enableAdaptiveBitrateStreaming)); } + if (enableTrickplay != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableTrickplay", enableTrickplay)); + } + + if (enableAudioVbrEncoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAudioVbrEncoding", enableAudioVbrEncoding)); + } + + if (alwaysBurnInSubtitleWhenTranscoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("alwaysBurnInSubtitleWhenTranscoding", alwaysBurnInSubtitleWhenTranscoding)); + } + final String[] localVarAccepts = { "application/x-mpegURL" }; @@ -4737,7 +4856,7 @@ public class DynamicHlsApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headMasterHlsVideoPlaylistValidateBeforeCall(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, final ApiCallback _callback) throws ApiException { + private okhttp3.Call headMasterHlsVideoPlaylistValidateBeforeCall(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableTrickplay, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling headMasterHlsVideoPlaylist(Async)"); @@ -4748,7 +4867,7 @@ public class DynamicHlsApi { throw new ApiException("Missing the required parameter 'mediaSourceId' when calling headMasterHlsVideoPlaylist(Async)"); } - return headMasterHlsVideoPlaylistCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, _callback); + return headMasterHlsVideoPlaylistCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, _callback); } @@ -4766,7 +4885,7 @@ public class DynamicHlsApi { * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -4798,7 +4917,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -4806,6 +4925,9 @@ public class DynamicHlsApi { * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. (optional, default to true) + * @param enableTrickplay Enable trickplay image playlists being added to master playlist. (optional, default to true) + * @param enableAudioVbrEncoding Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -4817,8 +4939,8 @@ public class DynamicHlsApi { 403 Forbidden - */ - public File headMasterHlsVideoPlaylist(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming) throws ApiException { - ApiResponse localVarResp = headMasterHlsVideoPlaylistWithHttpInfo(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming); + public File headMasterHlsVideoPlaylist(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableTrickplay, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding) throws ApiException { + ApiResponse localVarResp = headMasterHlsVideoPlaylistWithHttpInfo(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding); return localVarResp.getData(); } @@ -4836,7 +4958,7 @@ public class DynamicHlsApi { * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -4868,7 +4990,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -4876,6 +4998,9 @@ public class DynamicHlsApi { * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. (optional, default to true) + * @param enableTrickplay Enable trickplay image playlists being added to master playlist. (optional, default to true) + * @param enableAudioVbrEncoding Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -4887,8 +5012,8 @@ public class DynamicHlsApi { 403 Forbidden - */ - public ApiResponse headMasterHlsVideoPlaylistWithHttpInfo(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming) throws ApiException { - okhttp3.Call localVarCall = headMasterHlsVideoPlaylistValidateBeforeCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, null); + public ApiResponse headMasterHlsVideoPlaylistWithHttpInfo(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableTrickplay, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding) throws ApiException { + okhttp3.Call localVarCall = headMasterHlsVideoPlaylistValidateBeforeCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -4907,7 +5032,7 @@ public class DynamicHlsApi { * @param segmentLength The segment length. (optional) * @param minSegments The minimum number of segments. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -4939,7 +5064,7 @@ public class DynamicHlsApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) @@ -4947,6 +5072,9 @@ public class DynamicHlsApi { * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) * @param enableAdaptiveBitrateStreaming Enable adaptive bitrate streaming. (optional, default to true) + * @param enableTrickplay Enable trickplay image playlists being added to master playlist. (optional, default to true) + * @param enableAudioVbrEncoding Whether to enable Audio Encoding. (optional, default to true) + * @param alwaysBurnInSubtitleWhenTranscoding Whether to always burn in subtitles when transcoding. (optional, default to false) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -4959,9 +5087,9 @@ public class DynamicHlsApi { 403 Forbidden - */ - public okhttp3.Call headMasterHlsVideoPlaylistAsync(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headMasterHlsVideoPlaylistAsync(UUID itemId, String mediaSourceId, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAdaptiveBitrateStreaming, Boolean enableTrickplay, Boolean enableAudioVbrEncoding, Boolean alwaysBurnInSubtitleWhenTranscoding, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headMasterHlsVideoPlaylistValidateBeforeCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, _callback); + okhttp3.Call localVarCall = headMasterHlsVideoPlaylistValidateBeforeCall(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/EnvironmentApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/EnvironmentApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/EnvironmentApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/EnvironmentApi.java index f631e6e8b20..65be9e3c4c0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/EnvironmentApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/EnvironmentApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/FilterApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/FilterApi.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/FilterApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/FilterApi.java index 5b63f1643a5..5a46131af33 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/FilterApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/FilterApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -28,6 +28,7 @@ import java.io.IOException; import org.openapitools.client.model.BaseItemKind; +import org.openapitools.client.model.MediaType; import org.openapitools.client.model.QueryFilters; import org.openapitools.client.model.QueryFiltersLegacy; import java.util.UUID; @@ -300,7 +301,7 @@ public class FilterApi { 403 Forbidden - */ - public okhttp3.Call getQueryFiltersLegacyCall(UUID userId, UUID parentId, List includeItemTypes, List mediaTypes, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getQueryFiltersLegacyCall(UUID userId, UUID parentId, List includeItemTypes, List mediaTypes, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -363,7 +364,7 @@ public class FilterApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getQueryFiltersLegacyValidateBeforeCall(UUID userId, UUID parentId, List includeItemTypes, List mediaTypes, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getQueryFiltersLegacyValidateBeforeCall(UUID userId, UUID parentId, List includeItemTypes, List mediaTypes, final ApiCallback _callback) throws ApiException { return getQueryFiltersLegacyCall(userId, parentId, includeItemTypes, mediaTypes, _callback); } @@ -386,7 +387,7 @@ public class FilterApi { 403 Forbidden - */ - public QueryFiltersLegacy getQueryFiltersLegacy(UUID userId, UUID parentId, List includeItemTypes, List mediaTypes) throws ApiException { + public QueryFiltersLegacy getQueryFiltersLegacy(UUID userId, UUID parentId, List includeItemTypes, List mediaTypes) throws ApiException { ApiResponse localVarResp = getQueryFiltersLegacyWithHttpInfo(userId, parentId, includeItemTypes, mediaTypes); return localVarResp.getData(); } @@ -409,7 +410,7 @@ public class FilterApi { 403 Forbidden - */ - public ApiResponse getQueryFiltersLegacyWithHttpInfo(UUID userId, UUID parentId, List includeItemTypes, List mediaTypes) throws ApiException { + public ApiResponse getQueryFiltersLegacyWithHttpInfo(UUID userId, UUID parentId, List includeItemTypes, List mediaTypes) throws ApiException { okhttp3.Call localVarCall = getQueryFiltersLegacyValidateBeforeCall(userId, parentId, includeItemTypes, mediaTypes, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -434,7 +435,7 @@ public class FilterApi { 403 Forbidden - */ - public okhttp3.Call getQueryFiltersLegacyAsync(UUID userId, UUID parentId, List includeItemTypes, List mediaTypes, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getQueryFiltersLegacyAsync(UUID userId, UUID parentId, List includeItemTypes, List mediaTypes, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getQueryFiltersLegacyValidateBeforeCall(userId, parentId, includeItemTypes, mediaTypes, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/GenresApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/GenresApi.java similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/GenresApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/GenresApi.java index dacca0bb2c6..850d9147ea3 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/GenresApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/GenresApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,6 +32,7 @@ import org.openapitools.client.model.BaseItemDtoQueryResult; import org.openapitools.client.model.BaseItemKind; import org.openapitools.client.model.ImageType; import org.openapitools.client.model.ItemFields; +import org.openapitools.client.model.ItemSortBy; import org.openapitools.client.model.SortOrder; import java.util.UUID; @@ -255,7 +256,7 @@ public class GenresApi { 403 Forbidden - */ - public okhttp3.Call getGenresCall(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getGenresCall(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -374,7 +375,7 @@ public class GenresApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getGenresValidateBeforeCall(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getGenresValidateBeforeCall(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { return getGenresCall(startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, _callback); } @@ -411,7 +412,7 @@ public class GenresApi { 403 Forbidden - */ - public BaseItemDtoQueryResult getGenres(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount) throws ApiException { + public BaseItemDtoQueryResult getGenres(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount) throws ApiException { ApiResponse localVarResp = getGenresWithHttpInfo(startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount); return localVarResp.getData(); } @@ -448,7 +449,7 @@ public class GenresApi { 403 Forbidden - */ - public ApiResponse getGenresWithHttpInfo(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount) throws ApiException { + public ApiResponse getGenresWithHttpInfo(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount) throws ApiException { okhttp3.Call localVarCall = getGenresValidateBeforeCall(startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -487,7 +488,7 @@ public class GenresApi { 403 Forbidden - */ - public okhttp3.Call getGenresAsync(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getGenresAsync(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getGenresValidateBeforeCall(startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/HlsSegmentApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/HlsSegmentApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/HlsSegmentApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/HlsSegmentApi.java index e7a878a7884..07eba2044cc 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/HlsSegmentApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/HlsSegmentApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ImageApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ImageApi.java similarity index 77% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ImageApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ImageApi.java index e9d845a9ca6..a5fb3bbe2df 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ImageApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ImageApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -511,9 +511,7 @@ public class ImageApi { } /** * Build call for deleteUserImage - * @param userId User Id. (required) - * @param imageType (Unused) Image type. (required) - * @param index (Unused) Image index. (optional) + * @param userId User Id. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -526,7 +524,7 @@ public class ImageApi { 401 Unauthorized - */ - public okhttp3.Call deleteUserImageCall(UUID userId, ImageType imageType, Integer index, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteUserImageCall(UUID userId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -543,9 +541,7 @@ public class ImageApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/Images/{imageType}" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) - .replace("{" + "imageType" + "}", localVarApiClient.escapeString(imageType.toString())); + String localVarPath = "/UserImage"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -553,8 +549,8 @@ public class ImageApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (index != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("index", index)); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); } final String[] localVarAccepts = { @@ -579,27 +575,15 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteUserImageValidateBeforeCall(UUID userId, ImageType imageType, Integer index, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling deleteUserImage(Async)"); - } - - // verify the required parameter 'imageType' is set - if (imageType == null) { - throw new ApiException("Missing the required parameter 'imageType' when calling deleteUserImage(Async)"); - } - - return deleteUserImageCall(userId, imageType, index, _callback); + private okhttp3.Call deleteUserImageValidateBeforeCall(UUID userId, final ApiCallback _callback) throws ApiException { + return deleteUserImageCall(userId, _callback); } /** * Delete the user's image. * - * @param userId User Id. (required) - * @param imageType (Unused) Image type. (required) - * @param index (Unused) Image index. (optional) + * @param userId User Id. (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -610,16 +594,14 @@ public class ImageApi {
401 Unauthorized -
*/ - public void deleteUserImage(UUID userId, ImageType imageType, Integer index) throws ApiException { - deleteUserImageWithHttpInfo(userId, imageType, index); + public void deleteUserImage(UUID userId) throws ApiException { + deleteUserImageWithHttpInfo(userId); } /** * Delete the user's image. * - * @param userId User Id. (required) - * @param imageType (Unused) Image type. (required) - * @param index (Unused) Image index. (optional) + * @param userId User Id. (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -631,17 +613,15 @@ public class ImageApi { 401 Unauthorized - */ - public ApiResponse deleteUserImageWithHttpInfo(UUID userId, ImageType imageType, Integer index) throws ApiException { - okhttp3.Call localVarCall = deleteUserImageValidateBeforeCall(userId, imageType, index, null); + public ApiResponse deleteUserImageWithHttpInfo(UUID userId) throws ApiException { + okhttp3.Call localVarCall = deleteUserImageValidateBeforeCall(userId, null); return localVarApiClient.execute(localVarCall); } /** * Delete the user's image. (asynchronously) * - * @param userId User Id. (required) - * @param imageType (Unused) Image type. (required) - * @param index (Unused) Image index. (optional) + * @param userId User Id. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -654,162 +634,9 @@ public class ImageApi { 401 Unauthorized - */ - public okhttp3.Call deleteUserImageAsync(UUID userId, ImageType imageType, Integer index, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteUserImageAsync(UUID userId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteUserImageValidateBeforeCall(userId, imageType, index, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for deleteUserImageByIndex - * @param userId User Id. (required) - * @param imageType (Unused) Image type. (required) - * @param index (Unused) Image index. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Image deleted. -
403 User does not have permission to delete the image. -
401 Unauthorized -
- */ - public okhttp3.Call deleteUserImageByIndexCall(UUID userId, ImageType imageType, Integer index, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Users/{userId}/Images/{imageType}/{index}" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) - .replace("{" + "imageType" + "}", localVarApiClient.escapeString(imageType.toString())) - .replace("{" + "index" + "}", localVarApiClient.escapeString(index.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteUserImageByIndexValidateBeforeCall(UUID userId, ImageType imageType, Integer index, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling deleteUserImageByIndex(Async)"); - } - - // verify the required parameter 'imageType' is set - if (imageType == null) { - throw new ApiException("Missing the required parameter 'imageType' when calling deleteUserImageByIndex(Async)"); - } - - // verify the required parameter 'index' is set - if (index == null) { - throw new ApiException("Missing the required parameter 'index' when calling deleteUserImageByIndex(Async)"); - } - - return deleteUserImageByIndexCall(userId, imageType, index, _callback); - - } - - /** - * Delete the user's image. - * - * @param userId User Id. (required) - * @param imageType (Unused) Image type. (required) - * @param index (Unused) Image index. (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Image deleted. -
403 User does not have permission to delete the image. -
401 Unauthorized -
- */ - public void deleteUserImageByIndex(UUID userId, ImageType imageType, Integer index) throws ApiException { - deleteUserImageByIndexWithHttpInfo(userId, imageType, index); - } - - /** - * Delete the user's image. - * - * @param userId User Id. (required) - * @param imageType (Unused) Image type. (required) - * @param index (Unused) Image index. (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Image deleted. -
403 User does not have permission to delete the image. -
401 Unauthorized -
- */ - public ApiResponse deleteUserImageByIndexWithHttpInfo(UUID userId, ImageType imageType, Integer index) throws ApiException { - okhttp3.Call localVarCall = deleteUserImageByIndexValidateBeforeCall(userId, imageType, index, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * Delete the user's image. (asynchronously) - * - * @param userId User Id. (required) - * @param imageType (Unused) Image type. (required) - * @param index (Unused) Image index. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Image deleted. -
403 User does not have permission to delete the image. -
401 Unauthorized -
- */ - public okhttp3.Call deleteUserImageByIndexAsync(UUID userId, ImageType imageType, Integer index, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteUserImageByIndexValidateBeforeCall(userId, imageType, index, _callback); + okhttp3.Call localVarCall = deleteUserImageValidateBeforeCall(userId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } @@ -829,8 +656,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -845,7 +670,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getArtistImageCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getArtistImageCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -917,14 +742,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -960,7 +777,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getArtistImageValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getArtistImageValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling getArtistImage(Async)"); @@ -976,7 +793,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageIndex' when calling getArtistImage(Async)"); } - return getArtistImageCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + return getArtistImageCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); } @@ -997,8 +814,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -1012,8 +827,8 @@ public class ImageApi { 404 Item not found. - */ - public File getArtistImage(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - ApiResponse localVarResp = getArtistImageWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + public File getArtistImage(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + ApiResponse localVarResp = getArtistImageWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); return localVarResp.getData(); } @@ -1034,8 +849,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -1049,8 +862,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse getArtistImageWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - okhttp3.Call localVarCall = getArtistImageValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, null); + public ApiResponse getArtistImageWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + okhttp3.Call localVarCall = getArtistImageValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1072,8 +885,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -1088,9 +899,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getArtistImageAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getArtistImageAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getArtistImageValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + okhttp3.Call localVarCall = getArtistImageValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -1110,8 +921,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -1127,7 +936,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getGenreImageCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getGenreImageCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1198,14 +1007,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -1245,7 +1046,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getGenreImageValidateBeforeCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getGenreImageValidateBeforeCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling getGenreImage(Async)"); @@ -1256,7 +1057,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageType' when calling getGenreImage(Async)"); } - return getGenreImageCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + return getGenreImageCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); } @@ -1276,8 +1077,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -1292,8 +1091,8 @@ public class ImageApi { 404 Item not found. - */ - public File getGenreImage(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - ApiResponse localVarResp = getGenreImageWithHttpInfo(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + public File getGenreImage(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + ApiResponse localVarResp = getGenreImageWithHttpInfo(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); return localVarResp.getData(); } @@ -1313,8 +1112,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -1329,8 +1126,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse getGenreImageWithHttpInfo(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - okhttp3.Call localVarCall = getGenreImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, null); + public ApiResponse getGenreImageWithHttpInfo(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + okhttp3.Call localVarCall = getGenreImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1351,8 +1148,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -1368,9 +1163,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getGenreImageAsync(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getGenreImageAsync(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getGenreImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + okhttp3.Call localVarCall = getGenreImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -1391,8 +1186,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -1407,7 +1200,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getGenreImageByIndexCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getGenreImageByIndexCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1479,14 +1272,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -1522,7 +1307,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getGenreImageByIndexValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getGenreImageByIndexValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling getGenreImageByIndex(Async)"); @@ -1538,7 +1323,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageIndex' when calling getGenreImageByIndex(Async)"); } - return getGenreImageByIndexCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + return getGenreImageByIndexCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); } @@ -1559,8 +1344,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -1574,8 +1357,8 @@ public class ImageApi { 404 Item not found. - */ - public File getGenreImageByIndex(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - ApiResponse localVarResp = getGenreImageByIndexWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + public File getGenreImageByIndex(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + ApiResponse localVarResp = getGenreImageByIndexWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); return localVarResp.getData(); } @@ -1596,8 +1379,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -1611,8 +1392,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse getGenreImageByIndexWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - okhttp3.Call localVarCall = getGenreImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, null); + public ApiResponse getGenreImageByIndexWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + okhttp3.Call localVarCall = getGenreImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1634,8 +1415,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -1650,9 +1429,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getGenreImageByIndexAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getGenreImageByIndexAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getGenreImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + okhttp3.Call localVarCall = getGenreImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -1669,9 +1448,7 @@ public class ImageApi { * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) * @param unplayedCount Optional. Unplayed count overlay to render. (optional) * @param blur Optional. Blur image. (optional) @@ -1689,7 +1466,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getItemImageCall(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getItemImageCall(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1748,18 +1525,10 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("tag", tag)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - if (format != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("format", format)); } - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (percentPlayed != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("percentPlayed", percentPlayed)); } @@ -1807,7 +1576,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getItemImageValidateBeforeCall(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getItemImageValidateBeforeCall(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getItemImage(Async)"); @@ -1818,7 +1587,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageType' when calling getItemImage(Async)"); } - return getItemImageCall(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + return getItemImageCall(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, _callback); } @@ -1835,9 +1604,7 @@ public class ImageApi { * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) * @param unplayedCount Optional. Unplayed count overlay to render. (optional) * @param blur Optional. Blur image. (optional) @@ -1854,8 +1621,8 @@ public class ImageApi { 404 Item not found. - */ - public File getItemImage(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - ApiResponse localVarResp = getItemImageWithHttpInfo(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex); + public File getItemImage(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + ApiResponse localVarResp = getItemImageWithHttpInfo(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex); return localVarResp.getData(); } @@ -1872,9 +1639,7 @@ public class ImageApi { * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) * @param unplayedCount Optional. Unplayed count overlay to render. (optional) * @param blur Optional. Blur image. (optional) @@ -1891,8 +1656,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse getItemImageWithHttpInfo(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - okhttp3.Call localVarCall = getItemImageValidateBeforeCall(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, null); + public ApiResponse getItemImageWithHttpInfo(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + okhttp3.Call localVarCall = getItemImageValidateBeforeCall(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1910,9 +1675,7 @@ public class ImageApi { * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) * @param unplayedCount Optional. Unplayed count overlay to render. (optional) * @param blur Optional. Blur image. (optional) @@ -1930,9 +1693,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getItemImageAsync(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getItemImageAsync(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getItemImageValidateBeforeCall(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + okhttp3.Call localVarCall = getItemImageValidateBeforeCall(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -1953,8 +1716,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -1969,7 +1730,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getItemImage2Call(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getItemImage2Call(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2023,14 +1784,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -2066,7 +1819,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getItemImage2ValidateBeforeCall(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getItemImage2ValidateBeforeCall(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getItemImage2(Async)"); @@ -2112,7 +1865,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageIndex' when calling getItemImage2(Async)"); } - return getItemImage2Call(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + return getItemImage2Call(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); } @@ -2133,8 +1886,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -2148,8 +1899,8 @@ public class ImageApi { 404 Item not found. - */ - public File getItemImage2(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - ApiResponse localVarResp = getItemImage2WithHttpInfo(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + public File getItemImage2(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + ApiResponse localVarResp = getItemImage2WithHttpInfo(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); return localVarResp.getData(); } @@ -2170,8 +1921,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -2185,8 +1934,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse getItemImage2WithHttpInfo(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - okhttp3.Call localVarCall = getItemImage2ValidateBeforeCall(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, null); + public ApiResponse getItemImage2WithHttpInfo(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + okhttp3.Call localVarCall = getItemImage2ValidateBeforeCall(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2208,8 +1957,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -2224,9 +1971,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getItemImage2Async(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getItemImage2Async(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getItemImage2ValidateBeforeCall(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + okhttp3.Call localVarCall = getItemImage2ValidateBeforeCall(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -2244,9 +1991,7 @@ public class ImageApi { * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) * @param unplayedCount Optional. Unplayed count overlay to render. (optional) * @param blur Optional. Blur image. (optional) @@ -2263,7 +2008,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getItemImageByIndexCall(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getItemImageByIndexCall(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2323,18 +2068,10 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("tag", tag)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - if (format != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("format", format)); } - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (percentPlayed != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("percentPlayed", percentPlayed)); } @@ -2378,7 +2115,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getItemImageByIndexValidateBeforeCall(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getItemImageByIndexValidateBeforeCall(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getItemImageByIndex(Async)"); @@ -2394,7 +2131,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageIndex' when calling getItemImageByIndex(Async)"); } - return getItemImageByIndexCall(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, _callback); + return getItemImageByIndexCall(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, _callback); } @@ -2412,9 +2149,7 @@ public class ImageApi { * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) * @param unplayedCount Optional. Unplayed count overlay to render. (optional) * @param blur Optional. Blur image. (optional) @@ -2430,8 +2165,8 @@ public class ImageApi { 404 Item not found. - */ - public File getItemImageByIndex(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - ApiResponse localVarResp = getItemImageByIndexWithHttpInfo(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer); + public File getItemImageByIndex(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + ApiResponse localVarResp = getItemImageByIndexWithHttpInfo(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer); return localVarResp.getData(); } @@ -2449,9 +2184,7 @@ public class ImageApi { * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) * @param unplayedCount Optional. Unplayed count overlay to render. (optional) * @param blur Optional. Blur image. (optional) @@ -2467,8 +2200,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse getItemImageByIndexWithHttpInfo(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - okhttp3.Call localVarCall = getItemImageByIndexValidateBeforeCall(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, null); + public ApiResponse getItemImageByIndexWithHttpInfo(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + okhttp3.Call localVarCall = getItemImageByIndexValidateBeforeCall(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2487,9 +2220,7 @@ public class ImageApi { * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) * @param unplayedCount Optional. Unplayed count overlay to render. (optional) * @param blur Optional. Blur image. (optional) @@ -2506,9 +2237,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getItemImageByIndexAsync(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getItemImageByIndexAsync(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getItemImageByIndexValidateBeforeCall(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, _callback); + okhttp3.Call localVarCall = getItemImageByIndexValidateBeforeCall(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -2669,8 +2400,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -2686,7 +2415,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getMusicGenreImageCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getMusicGenreImageCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2757,14 +2486,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -2804,7 +2525,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getMusicGenreImageValidateBeforeCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getMusicGenreImageValidateBeforeCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling getMusicGenreImage(Async)"); @@ -2815,7 +2536,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageType' when calling getMusicGenreImage(Async)"); } - return getMusicGenreImageCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + return getMusicGenreImageCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); } @@ -2835,8 +2556,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -2851,8 +2570,8 @@ public class ImageApi { 404 Item not found. - */ - public File getMusicGenreImage(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - ApiResponse localVarResp = getMusicGenreImageWithHttpInfo(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + public File getMusicGenreImage(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + ApiResponse localVarResp = getMusicGenreImageWithHttpInfo(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); return localVarResp.getData(); } @@ -2872,8 +2591,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -2888,8 +2605,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse getMusicGenreImageWithHttpInfo(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - okhttp3.Call localVarCall = getMusicGenreImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, null); + public ApiResponse getMusicGenreImageWithHttpInfo(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + okhttp3.Call localVarCall = getMusicGenreImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2910,8 +2627,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -2927,9 +2642,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getMusicGenreImageAsync(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getMusicGenreImageAsync(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getMusicGenreImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + okhttp3.Call localVarCall = getMusicGenreImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -2950,8 +2665,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -2966,7 +2679,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getMusicGenreImageByIndexCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getMusicGenreImageByIndexCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -3038,14 +2751,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -3081,7 +2786,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getMusicGenreImageByIndexValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getMusicGenreImageByIndexValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling getMusicGenreImageByIndex(Async)"); @@ -3097,7 +2802,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageIndex' when calling getMusicGenreImageByIndex(Async)"); } - return getMusicGenreImageByIndexCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + return getMusicGenreImageByIndexCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); } @@ -3118,8 +2823,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -3133,8 +2836,8 @@ public class ImageApi { 404 Item not found. - */ - public File getMusicGenreImageByIndex(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - ApiResponse localVarResp = getMusicGenreImageByIndexWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + public File getMusicGenreImageByIndex(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + ApiResponse localVarResp = getMusicGenreImageByIndexWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); return localVarResp.getData(); } @@ -3155,8 +2858,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -3170,8 +2871,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse getMusicGenreImageByIndexWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - okhttp3.Call localVarCall = getMusicGenreImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, null); + public ApiResponse getMusicGenreImageByIndexWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + okhttp3.Call localVarCall = getMusicGenreImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -3193,8 +2894,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -3209,9 +2908,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getMusicGenreImageByIndexAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getMusicGenreImageByIndexAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getMusicGenreImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + okhttp3.Call localVarCall = getMusicGenreImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -3231,8 +2930,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -3248,7 +2945,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getPersonImageCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getPersonImageCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -3319,14 +3016,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -3366,7 +3055,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getPersonImageValidateBeforeCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getPersonImageValidateBeforeCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling getPersonImage(Async)"); @@ -3377,7 +3066,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageType' when calling getPersonImage(Async)"); } - return getPersonImageCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + return getPersonImageCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); } @@ -3397,8 +3086,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -3413,8 +3100,8 @@ public class ImageApi { 404 Item not found. - */ - public File getPersonImage(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - ApiResponse localVarResp = getPersonImageWithHttpInfo(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + public File getPersonImage(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + ApiResponse localVarResp = getPersonImageWithHttpInfo(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); return localVarResp.getData(); } @@ -3434,8 +3121,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -3450,8 +3135,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse getPersonImageWithHttpInfo(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - okhttp3.Call localVarCall = getPersonImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, null); + public ApiResponse getPersonImageWithHttpInfo(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + okhttp3.Call localVarCall = getPersonImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -3472,8 +3157,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -3489,9 +3172,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getPersonImageAsync(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getPersonImageAsync(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getPersonImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + okhttp3.Call localVarCall = getPersonImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -3512,8 +3195,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -3528,7 +3209,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getPersonImageByIndexCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getPersonImageByIndexCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -3600,14 +3281,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -3643,7 +3316,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getPersonImageByIndexValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getPersonImageByIndexValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling getPersonImageByIndex(Async)"); @@ -3659,7 +3332,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageIndex' when calling getPersonImageByIndex(Async)"); } - return getPersonImageByIndexCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + return getPersonImageByIndexCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); } @@ -3680,8 +3353,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -3695,8 +3366,8 @@ public class ImageApi { 404 Item not found. - */ - public File getPersonImageByIndex(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - ApiResponse localVarResp = getPersonImageByIndexWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + public File getPersonImageByIndex(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + ApiResponse localVarResp = getPersonImageByIndexWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); return localVarResp.getData(); } @@ -3717,8 +3388,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -3732,8 +3401,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse getPersonImageByIndexWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - okhttp3.Call localVarCall = getPersonImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, null); + public ApiResponse getPersonImageByIndexWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + okhttp3.Call localVarCall = getPersonImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -3755,8 +3424,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -3771,9 +3438,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getPersonImageByIndexAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getPersonImageByIndexAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getPersonImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + okhttp3.Call localVarCall = getPersonImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -4006,8 +3673,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -4023,7 +3688,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getStudioImageCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getStudioImageCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -4094,14 +3759,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -4141,7 +3798,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getStudioImageValidateBeforeCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getStudioImageValidateBeforeCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling getStudioImage(Async)"); @@ -4152,7 +3809,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageType' when calling getStudioImage(Async)"); } - return getStudioImageCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + return getStudioImageCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); } @@ -4172,8 +3829,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -4188,8 +3843,8 @@ public class ImageApi { 404 Item not found. - */ - public File getStudioImage(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - ApiResponse localVarResp = getStudioImageWithHttpInfo(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + public File getStudioImage(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + ApiResponse localVarResp = getStudioImageWithHttpInfo(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); return localVarResp.getData(); } @@ -4209,8 +3864,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -4225,8 +3878,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse getStudioImageWithHttpInfo(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - okhttp3.Call localVarCall = getStudioImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, null); + public ApiResponse getStudioImageWithHttpInfo(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + okhttp3.Call localVarCall = getStudioImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -4247,8 +3900,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -4264,9 +3915,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getStudioImageAsync(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getStudioImageAsync(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getStudioImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + okhttp3.Call localVarCall = getStudioImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -4287,8 +3938,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -4303,7 +3952,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getStudioImageByIndexCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getStudioImageByIndexCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -4375,14 +4024,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -4418,7 +4059,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getStudioImageByIndexValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getStudioImageByIndexValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling getStudioImageByIndex(Async)"); @@ -4434,7 +4075,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageIndex' when calling getStudioImageByIndex(Async)"); } - return getStudioImageByIndexCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + return getStudioImageByIndexCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); } @@ -4455,8 +4096,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -4470,8 +4109,8 @@ public class ImageApi { 404 Item not found. - */ - public File getStudioImageByIndex(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - ApiResponse localVarResp = getStudioImageByIndexWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + public File getStudioImageByIndex(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + ApiResponse localVarResp = getStudioImageByIndexWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); return localVarResp.getData(); } @@ -4492,8 +4131,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -4507,8 +4144,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse getStudioImageByIndexWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - okhttp3.Call localVarCall = getStudioImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, null); + public ApiResponse getStudioImageByIndexWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + okhttp3.Call localVarCall = getStudioImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -4530,8 +4167,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -4546,17 +4181,16 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call getStudioImageByIndexAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getStudioImageByIndexAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getStudioImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + okhttp3.Call localVarCall = getStudioImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for getUserImage - * @param userId User id. (required) - * @param imageType Image type. (required) + * @param userId User id. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) * @param format Determines the output format of the image - original,gif,jpg,png. (optional) * @param maxWidth The maximum image width to return. (optional) @@ -4568,8 +4202,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -4582,10 +4214,11 @@ public class ImageApi { Response Details Status Code Description Response Headers 200 Image stream returned. - + 400 User id not provided. - 404 Item not found. - */ - public okhttp3.Call getUserImageCall(UUID userId, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUserImageCall(UUID userId, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -4602,9 +4235,7 @@ public class ImageApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/Images/{imageType}" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) - .replace("{" + "imageType" + "}", localVarApiClient.escapeString(imageType.toString())); + String localVarPath = "/UserImage"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -4612,6 +4243,10 @@ public class ImageApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + if (tag != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("tag", tag)); } @@ -4656,14 +4291,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -4703,26 +4330,15 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getUserImageValidateBeforeCall(UUID userId, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getUserImage(Async)"); - } - - // verify the required parameter 'imageType' is set - if (imageType == null) { - throw new ApiException("Missing the required parameter 'imageType' when calling getUserImage(Async)"); - } - - return getUserImageCall(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + private okhttp3.Call getUserImageValidateBeforeCall(UUID userId, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + return getUserImageCall(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); } /** * Get user profile image. * - * @param userId User id. (required) - * @param imageType Image type. (required) + * @param userId User id. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) * @param format Determines the output format of the image - original,gif,jpg,png. (optional) * @param maxWidth The maximum image width to return. (optional) @@ -4734,8 +4350,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -4747,19 +4361,19 @@ public class ImageApi { Response Details Status Code Description Response Headers 200 Image stream returned. - + 400 User id not provided. - 404 Item not found. - */ - public File getUserImage(UUID userId, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - ApiResponse localVarResp = getUserImageWithHttpInfo(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + public File getUserImage(UUID userId, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + ApiResponse localVarResp = getUserImageWithHttpInfo(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); return localVarResp.getData(); } /** * Get user profile image. * - * @param userId User id. (required) - * @param imageType Image type. (required) + * @param userId User id. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) * @param format Determines the output format of the image - original,gif,jpg,png. (optional) * @param maxWidth The maximum image width to return. (optional) @@ -4771,8 +4385,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -4784,11 +4396,12 @@ public class ImageApi { Response Details Status Code Description Response Headers 200 Image stream returned. - + 400 User id not provided. - 404 Item not found. - */ - public ApiResponse getUserImageWithHttpInfo(UUID userId, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - okhttp3.Call localVarCall = getUserImageValidateBeforeCall(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, null); + public ApiResponse getUserImageWithHttpInfo(UUID userId, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + okhttp3.Call localVarCall = getUserImageValidateBeforeCall(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -4796,8 +4409,7 @@ public class ImageApi { /** * Get user profile image. (asynchronously) * - * @param userId User id. (required) - * @param imageType Image type. (required) + * @param userId User id. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) * @param format Determines the output format of the image - original,gif,jpg,png. (optional) * @param maxWidth The maximum image width to return. (optional) @@ -4809,8 +4421,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -4823,294 +4433,13 @@ public class ImageApi { Response Details Status Code Description Response Headers 200 Image stream returned. - + 400 User id not provided. - 404 Item not found. - */ - public okhttp3.Call getUserImageAsync(UUID userId, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUserImageAsync(UUID userId, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getUserImageValidateBeforeCall(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getUserImageByIndex - * @param userId User id. (required) - * @param imageType Image type. (required) - * @param imageIndex Image index. (required) - * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param format Determines the output format of the image - original,gif,jpg,png. (optional) - * @param maxWidth The maximum image width to return. (optional) - * @param maxHeight The maximum image height to return. (optional) - * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) - * @param unplayedCount Optional. Unplayed count overlay to render. (optional) - * @param width The fixed image width to return. (optional) - * @param height The fixed image height to return. (optional) - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) - * @param fillWidth Width of box to fill. (optional) - * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) - * @param blur Optional. Blur image. (optional) - * @param backgroundColor Optional. Apply a background color for transparent images. (optional) - * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream returned. -
404 Item not found. -
- */ - public okhttp3.Call getUserImageByIndexCall(UUID userId, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Users/{userId}/Images/{imageType}/{imageIndex}" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) - .replace("{" + "imageType" + "}", localVarApiClient.escapeString(imageType.toString())) - .replace("{" + "imageIndex" + "}", localVarApiClient.escapeString(imageIndex.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (tag != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("tag", tag)); - } - - if (format != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("format", format)); - } - - if (maxWidth != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxWidth", maxWidth)); - } - - if (maxHeight != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxHeight", maxHeight)); - } - - if (percentPlayed != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("percentPlayed", percentPlayed)); - } - - if (unplayedCount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("unplayedCount", unplayedCount)); - } - - if (width != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("width", width)); - } - - if (height != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("height", height)); - } - - if (quality != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("quality", quality)); - } - - if (fillWidth != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillWidth", fillWidth)); - } - - if (fillHeight != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); - } - - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - - if (blur != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); - } - - if (backgroundColor != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("backgroundColor", backgroundColor)); - } - - if (foregroundLayer != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("foregroundLayer", foregroundLayer)); - } - - final String[] localVarAccepts = { - "image/*", - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getUserImageByIndexValidateBeforeCall(UUID userId, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getUserImageByIndex(Async)"); - } - - // verify the required parameter 'imageType' is set - if (imageType == null) { - throw new ApiException("Missing the required parameter 'imageType' when calling getUserImageByIndex(Async)"); - } - - // verify the required parameter 'imageIndex' is set - if (imageIndex == null) { - throw new ApiException("Missing the required parameter 'imageIndex' when calling getUserImageByIndex(Async)"); - } - - return getUserImageByIndexCall(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); - - } - - /** - * Get user profile image. - * - * @param userId User id. (required) - * @param imageType Image type. (required) - * @param imageIndex Image index. (required) - * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param format Determines the output format of the image - original,gif,jpg,png. (optional) - * @param maxWidth The maximum image width to return. (optional) - * @param maxHeight The maximum image height to return. (optional) - * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) - * @param unplayedCount Optional. Unplayed count overlay to render. (optional) - * @param width The fixed image width to return. (optional) - * @param height The fixed image height to return. (optional) - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) - * @param fillWidth Width of box to fill. (optional) - * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) - * @param blur Optional. Blur image. (optional) - * @param backgroundColor Optional. Apply a background color for transparent images. (optional) - * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream returned. -
404 Item not found. -
- */ - public File getUserImageByIndex(UUID userId, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - ApiResponse localVarResp = getUserImageByIndexWithHttpInfo(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); - return localVarResp.getData(); - } - - /** - * Get user profile image. - * - * @param userId User id. (required) - * @param imageType Image type. (required) - * @param imageIndex Image index. (required) - * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param format Determines the output format of the image - original,gif,jpg,png. (optional) - * @param maxWidth The maximum image width to return. (optional) - * @param maxHeight The maximum image height to return. (optional) - * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) - * @param unplayedCount Optional. Unplayed count overlay to render. (optional) - * @param width The fixed image width to return. (optional) - * @param height The fixed image height to return. (optional) - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) - * @param fillWidth Width of box to fill. (optional) - * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) - * @param blur Optional. Blur image. (optional) - * @param backgroundColor Optional. Apply a background color for transparent images. (optional) - * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream returned. -
404 Item not found. -
- */ - public ApiResponse getUserImageByIndexWithHttpInfo(UUID userId, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - okhttp3.Call localVarCall = getUserImageByIndexValidateBeforeCall(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get user profile image. (asynchronously) - * - * @param userId User id. (required) - * @param imageType Image type. (required) - * @param imageIndex Image index. (required) - * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param format Determines the output format of the image - original,gif,jpg,png. (optional) - * @param maxWidth The maximum image width to return. (optional) - * @param maxHeight The maximum image height to return. (optional) - * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) - * @param unplayedCount Optional. Unplayed count overlay to render. (optional) - * @param width The fixed image width to return. (optional) - * @param height The fixed image height to return. (optional) - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) - * @param fillWidth Width of box to fill. (optional) - * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) - * @param blur Optional. Blur image. (optional) - * @param backgroundColor Optional. Apply a background color for transparent images. (optional) - * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream returned. -
404 Item not found. -
- */ - public okhttp3.Call getUserImageByIndexAsync(UUID userId, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getUserImageByIndexValidateBeforeCall(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + okhttp3.Call localVarCall = getUserImageValidateBeforeCall(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -5131,8 +4460,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -5147,7 +4474,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headArtistImageCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headArtistImageCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -5219,14 +4546,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -5262,7 +4581,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headArtistImageValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + private okhttp3.Call headArtistImageValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling headArtistImage(Async)"); @@ -5278,7 +4597,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageIndex' when calling headArtistImage(Async)"); } - return headArtistImageCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + return headArtistImageCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); } @@ -5299,8 +4618,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -5314,8 +4631,8 @@ public class ImageApi { 404 Item not found. - */ - public File headArtistImage(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - ApiResponse localVarResp = headArtistImageWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + public File headArtistImage(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + ApiResponse localVarResp = headArtistImageWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); return localVarResp.getData(); } @@ -5336,8 +4653,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -5351,8 +4666,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse headArtistImageWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - okhttp3.Call localVarCall = headArtistImageValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, null); + public ApiResponse headArtistImageWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + okhttp3.Call localVarCall = headArtistImageValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -5374,8 +4689,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -5390,9 +4703,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headArtistImageAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headArtistImageAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headArtistImageValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + okhttp3.Call localVarCall = headArtistImageValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -5412,8 +4725,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -5429,7 +4740,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headGenreImageCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headGenreImageCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -5500,14 +4811,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -5547,7 +4850,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headGenreImageValidateBeforeCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + private okhttp3.Call headGenreImageValidateBeforeCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling headGenreImage(Async)"); @@ -5558,7 +4861,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageType' when calling headGenreImage(Async)"); } - return headGenreImageCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + return headGenreImageCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); } @@ -5578,8 +4881,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -5594,8 +4895,8 @@ public class ImageApi { 404 Item not found. - */ - public File headGenreImage(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - ApiResponse localVarResp = headGenreImageWithHttpInfo(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + public File headGenreImage(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + ApiResponse localVarResp = headGenreImageWithHttpInfo(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); return localVarResp.getData(); } @@ -5615,8 +4916,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -5631,8 +4930,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse headGenreImageWithHttpInfo(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - okhttp3.Call localVarCall = headGenreImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, null); + public ApiResponse headGenreImageWithHttpInfo(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + okhttp3.Call localVarCall = headGenreImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -5653,8 +4952,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -5670,9 +4967,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headGenreImageAsync(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headGenreImageAsync(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headGenreImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + okhttp3.Call localVarCall = headGenreImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -5693,8 +4990,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -5709,7 +5004,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headGenreImageByIndexCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headGenreImageByIndexCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -5781,14 +5076,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -5824,7 +5111,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headGenreImageByIndexValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + private okhttp3.Call headGenreImageByIndexValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling headGenreImageByIndex(Async)"); @@ -5840,7 +5127,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageIndex' when calling headGenreImageByIndex(Async)"); } - return headGenreImageByIndexCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + return headGenreImageByIndexCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); } @@ -5861,8 +5148,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -5876,8 +5161,8 @@ public class ImageApi { 404 Item not found. - */ - public File headGenreImageByIndex(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - ApiResponse localVarResp = headGenreImageByIndexWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + public File headGenreImageByIndex(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + ApiResponse localVarResp = headGenreImageByIndexWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); return localVarResp.getData(); } @@ -5898,8 +5183,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -5913,8 +5196,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse headGenreImageByIndexWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - okhttp3.Call localVarCall = headGenreImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, null); + public ApiResponse headGenreImageByIndexWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + okhttp3.Call localVarCall = headGenreImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -5936,8 +5219,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -5952,9 +5233,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headGenreImageByIndexAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headGenreImageByIndexAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headGenreImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + okhttp3.Call localVarCall = headGenreImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -5971,9 +5252,7 @@ public class ImageApi { * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) * @param unplayedCount Optional. Unplayed count overlay to render. (optional) * @param blur Optional. Blur image. (optional) @@ -5991,7 +5270,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headItemImageCall(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headItemImageCall(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -6050,18 +5329,10 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("tag", tag)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - if (format != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("format", format)); } - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (percentPlayed != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("percentPlayed", percentPlayed)); } @@ -6109,7 +5380,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headItemImageValidateBeforeCall(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + private okhttp3.Call headItemImageValidateBeforeCall(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling headItemImage(Async)"); @@ -6120,7 +5391,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageType' when calling headItemImage(Async)"); } - return headItemImageCall(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + return headItemImageCall(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, _callback); } @@ -6137,9 +5408,7 @@ public class ImageApi { * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) * @param unplayedCount Optional. Unplayed count overlay to render. (optional) * @param blur Optional. Blur image. (optional) @@ -6156,8 +5425,8 @@ public class ImageApi { 404 Item not found. - */ - public File headItemImage(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - ApiResponse localVarResp = headItemImageWithHttpInfo(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex); + public File headItemImage(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + ApiResponse localVarResp = headItemImageWithHttpInfo(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex); return localVarResp.getData(); } @@ -6174,9 +5443,7 @@ public class ImageApi { * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) * @param unplayedCount Optional. Unplayed count overlay to render. (optional) * @param blur Optional. Blur image. (optional) @@ -6193,8 +5460,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse headItemImageWithHttpInfo(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - okhttp3.Call localVarCall = headItemImageValidateBeforeCall(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, null); + public ApiResponse headItemImageWithHttpInfo(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + okhttp3.Call localVarCall = headItemImageValidateBeforeCall(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -6212,9 +5479,7 @@ public class ImageApi { * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) * @param unplayedCount Optional. Unplayed count overlay to render. (optional) * @param blur Optional. Blur image. (optional) @@ -6232,9 +5497,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headItemImageAsync(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headItemImageAsync(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headItemImageValidateBeforeCall(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + okhttp3.Call localVarCall = headItemImageValidateBeforeCall(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -6255,8 +5520,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -6271,7 +5534,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headItemImage2Call(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headItemImage2Call(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -6325,14 +5588,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -6368,7 +5623,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headItemImage2ValidateBeforeCall(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + private okhttp3.Call headItemImage2ValidateBeforeCall(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling headItemImage2(Async)"); @@ -6414,7 +5669,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageIndex' when calling headItemImage2(Async)"); } - return headItemImage2Call(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + return headItemImage2Call(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); } @@ -6435,8 +5690,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -6450,8 +5703,8 @@ public class ImageApi { 404 Item not found. - */ - public File headItemImage2(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - ApiResponse localVarResp = headItemImage2WithHttpInfo(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + public File headItemImage2(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + ApiResponse localVarResp = headItemImage2WithHttpInfo(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); return localVarResp.getData(); } @@ -6472,8 +5725,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -6487,8 +5738,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse headItemImage2WithHttpInfo(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - okhttp3.Call localVarCall = headItemImage2ValidateBeforeCall(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, null); + public ApiResponse headItemImage2WithHttpInfo(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + okhttp3.Call localVarCall = headItemImage2ValidateBeforeCall(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -6510,8 +5761,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -6526,9 +5775,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headItemImage2Async(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headItemImage2Async(UUID itemId, ImageType imageType, Integer maxWidth, Integer maxHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer imageIndex, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headItemImage2ValidateBeforeCall(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + okhttp3.Call localVarCall = headItemImage2ValidateBeforeCall(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -6546,9 +5795,7 @@ public class ImageApi { * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) * @param unplayedCount Optional. Unplayed count overlay to render. (optional) * @param blur Optional. Blur image. (optional) @@ -6565,7 +5812,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headItemImageByIndexCall(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headItemImageByIndexCall(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -6625,18 +5872,10 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("tag", tag)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - if (format != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("format", format)); } - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (percentPlayed != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("percentPlayed", percentPlayed)); } @@ -6680,7 +5919,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headItemImageByIndexValidateBeforeCall(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + private okhttp3.Call headItemImageByIndexValidateBeforeCall(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling headItemImageByIndex(Async)"); @@ -6696,7 +5935,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageIndex' when calling headItemImageByIndex(Async)"); } - return headItemImageByIndexCall(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, _callback); + return headItemImageByIndexCall(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, _callback); } @@ -6714,9 +5953,7 @@ public class ImageApi { * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) * @param unplayedCount Optional. Unplayed count overlay to render. (optional) * @param blur Optional. Blur image. (optional) @@ -6732,8 +5969,8 @@ public class ImageApi { 404 Item not found. - */ - public File headItemImageByIndex(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - ApiResponse localVarResp = headItemImageByIndexWithHttpInfo(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer); + public File headItemImageByIndex(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + ApiResponse localVarResp = headItemImageByIndexWithHttpInfo(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer); return localVarResp.getData(); } @@ -6751,9 +5988,7 @@ public class ImageApi { * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) * @param unplayedCount Optional. Unplayed count overlay to render. (optional) * @param blur Optional. Blur image. (optional) @@ -6769,8 +6004,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse headItemImageByIndexWithHttpInfo(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - okhttp3.Call localVarCall = headItemImageByIndexValidateBeforeCall(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, null); + public ApiResponse headItemImageByIndexWithHttpInfo(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + okhttp3.Call localVarCall = headItemImageByIndexValidateBeforeCall(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -6789,9 +6024,7 @@ public class ImageApi { * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) * @param format Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) * @param unplayedCount Optional. Unplayed count overlay to render. (optional) * @param blur Optional. Blur image. (optional) @@ -6808,9 +6041,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headItemImageByIndexAsync(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, Boolean cropWhitespace, ImageFormat format, Boolean addPlayedIndicator, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headItemImageByIndexAsync(UUID itemId, ImageType imageType, Integer imageIndex, Integer maxWidth, Integer maxHeight, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, String tag, ImageFormat format, Double percentPlayed, Integer unplayedCount, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headItemImageByIndexValidateBeforeCall(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, _callback); + okhttp3.Call localVarCall = headItemImageByIndexValidateBeforeCall(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -6830,8 +6063,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -6847,7 +6078,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headMusicGenreImageCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headMusicGenreImageCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -6918,14 +6149,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -6965,7 +6188,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headMusicGenreImageValidateBeforeCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + private okhttp3.Call headMusicGenreImageValidateBeforeCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling headMusicGenreImage(Async)"); @@ -6976,7 +6199,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageType' when calling headMusicGenreImage(Async)"); } - return headMusicGenreImageCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + return headMusicGenreImageCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); } @@ -6996,8 +6219,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -7012,8 +6233,8 @@ public class ImageApi { 404 Item not found. - */ - public File headMusicGenreImage(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - ApiResponse localVarResp = headMusicGenreImageWithHttpInfo(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + public File headMusicGenreImage(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + ApiResponse localVarResp = headMusicGenreImageWithHttpInfo(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); return localVarResp.getData(); } @@ -7033,8 +6254,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -7049,8 +6268,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse headMusicGenreImageWithHttpInfo(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - okhttp3.Call localVarCall = headMusicGenreImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, null); + public ApiResponse headMusicGenreImageWithHttpInfo(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + okhttp3.Call localVarCall = headMusicGenreImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -7071,8 +6290,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -7088,9 +6305,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headMusicGenreImageAsync(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headMusicGenreImageAsync(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headMusicGenreImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + okhttp3.Call localVarCall = headMusicGenreImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -7111,8 +6328,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -7127,7 +6342,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headMusicGenreImageByIndexCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headMusicGenreImageByIndexCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -7199,14 +6414,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -7242,7 +6449,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headMusicGenreImageByIndexValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + private okhttp3.Call headMusicGenreImageByIndexValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling headMusicGenreImageByIndex(Async)"); @@ -7258,7 +6465,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageIndex' when calling headMusicGenreImageByIndex(Async)"); } - return headMusicGenreImageByIndexCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + return headMusicGenreImageByIndexCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); } @@ -7279,8 +6486,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -7294,8 +6499,8 @@ public class ImageApi { 404 Item not found. - */ - public File headMusicGenreImageByIndex(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - ApiResponse localVarResp = headMusicGenreImageByIndexWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + public File headMusicGenreImageByIndex(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + ApiResponse localVarResp = headMusicGenreImageByIndexWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); return localVarResp.getData(); } @@ -7316,8 +6521,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -7331,8 +6534,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse headMusicGenreImageByIndexWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - okhttp3.Call localVarCall = headMusicGenreImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, null); + public ApiResponse headMusicGenreImageByIndexWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + okhttp3.Call localVarCall = headMusicGenreImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -7354,8 +6557,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -7370,9 +6571,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headMusicGenreImageByIndexAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headMusicGenreImageByIndexAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headMusicGenreImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + okhttp3.Call localVarCall = headMusicGenreImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -7392,8 +6593,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -7409,7 +6608,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headPersonImageCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headPersonImageCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -7480,14 +6679,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -7527,7 +6718,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headPersonImageValidateBeforeCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + private okhttp3.Call headPersonImageValidateBeforeCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling headPersonImage(Async)"); @@ -7538,7 +6729,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageType' when calling headPersonImage(Async)"); } - return headPersonImageCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + return headPersonImageCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); } @@ -7558,8 +6749,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -7574,8 +6763,8 @@ public class ImageApi { 404 Item not found. - */ - public File headPersonImage(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - ApiResponse localVarResp = headPersonImageWithHttpInfo(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + public File headPersonImage(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + ApiResponse localVarResp = headPersonImageWithHttpInfo(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); return localVarResp.getData(); } @@ -7595,8 +6784,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -7611,8 +6798,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse headPersonImageWithHttpInfo(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - okhttp3.Call localVarCall = headPersonImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, null); + public ApiResponse headPersonImageWithHttpInfo(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + okhttp3.Call localVarCall = headPersonImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -7633,8 +6820,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -7650,9 +6835,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headPersonImageAsync(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headPersonImageAsync(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headPersonImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + okhttp3.Call localVarCall = headPersonImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -7673,8 +6858,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -7689,7 +6872,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headPersonImageByIndexCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headPersonImageByIndexCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -7761,14 +6944,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -7804,7 +6979,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headPersonImageByIndexValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + private okhttp3.Call headPersonImageByIndexValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling headPersonImageByIndex(Async)"); @@ -7820,7 +6995,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageIndex' when calling headPersonImageByIndex(Async)"); } - return headPersonImageByIndexCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + return headPersonImageByIndexCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); } @@ -7841,8 +7016,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -7856,8 +7029,8 @@ public class ImageApi { 404 Item not found. - */ - public File headPersonImageByIndex(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - ApiResponse localVarResp = headPersonImageByIndexWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + public File headPersonImageByIndex(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + ApiResponse localVarResp = headPersonImageByIndexWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); return localVarResp.getData(); } @@ -7878,8 +7051,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -7893,8 +7064,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse headPersonImageByIndexWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - okhttp3.Call localVarCall = headPersonImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, null); + public ApiResponse headPersonImageByIndexWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + okhttp3.Call localVarCall = headPersonImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -7916,8 +7087,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -7932,9 +7101,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headPersonImageByIndexAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headPersonImageByIndexAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headPersonImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + okhttp3.Call localVarCall = headPersonImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -7954,8 +7123,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -7971,7 +7138,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headStudioImageCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headStudioImageCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -8042,14 +7209,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -8089,7 +7248,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headStudioImageValidateBeforeCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + private okhttp3.Call headStudioImageValidateBeforeCall(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling headStudioImage(Async)"); @@ -8100,7 +7259,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageType' when calling headStudioImage(Async)"); } - return headStudioImageCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + return headStudioImageCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); } @@ -8120,8 +7279,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -8136,8 +7293,8 @@ public class ImageApi { 404 Item not found. - */ - public File headStudioImage(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - ApiResponse localVarResp = headStudioImageWithHttpInfo(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + public File headStudioImage(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + ApiResponse localVarResp = headStudioImageWithHttpInfo(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); return localVarResp.getData(); } @@ -8157,8 +7314,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -8173,8 +7328,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse headStudioImageWithHttpInfo(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - okhttp3.Call localVarCall = headStudioImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, null); + public ApiResponse headStudioImageWithHttpInfo(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + okhttp3.Call localVarCall = headStudioImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -8195,8 +7350,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -8212,9 +7365,9 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headStudioImageAsync(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headStudioImageAsync(String name, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headStudioImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + okhttp3.Call localVarCall = headStudioImageValidateBeforeCall(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -8235,8 +7388,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -8251,7 +7402,7 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headStudioImageByIndexCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headStudioImageByIndexCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -8323,14 +7474,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -8366,7 +7509,7 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headStudioImageByIndexValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + private okhttp3.Call headStudioImageByIndexValidateBeforeCall(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { // verify the required parameter 'name' is set if (name == null) { throw new ApiException("Missing the required parameter 'name' when calling headStudioImageByIndex(Async)"); @@ -8382,7 +7525,7 @@ public class ImageApi { throw new ApiException("Missing the required parameter 'imageIndex' when calling headStudioImageByIndex(Async)"); } - return headStudioImageByIndexCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + return headStudioImageByIndexCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); } @@ -8403,8 +7546,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -8418,8 +7559,8 @@ public class ImageApi { 404 Item not found. - */ - public File headStudioImageByIndex(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - ApiResponse localVarResp = headStudioImageByIndexWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); + public File headStudioImageByIndex(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + ApiResponse localVarResp = headStudioImageByIndexWithHttpInfo(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer); return localVarResp.getData(); } @@ -8440,8 +7581,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -8455,8 +7594,8 @@ public class ImageApi { 404 Item not found. - */ - public ApiResponse headStudioImageByIndexWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - okhttp3.Call localVarCall = headStudioImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, null); + public ApiResponse headStudioImageByIndexWithHttpInfo(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { + okhttp3.Call localVarCall = headStudioImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -8478,8 +7617,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -8494,17 +7631,16 @@ public class ImageApi { 404 Item not found. - */ - public okhttp3.Call headStudioImageByIndexAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headStudioImageByIndexAsync(String name, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headStudioImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + okhttp3.Call localVarCall = headStudioImageByIndexValidateBeforeCall(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for headUserImage - * @param userId User id. (required) - * @param imageType Image type. (required) + * @param userId User id. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) * @param format Determines the output format of the image - original,gif,jpg,png. (optional) * @param maxWidth The maximum image width to return. (optional) @@ -8516,8 +7652,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -8530,10 +7664,11 @@ public class ImageApi { Response Details Status Code Description Response Headers 200 Image stream returned. - + 400 User id not provided. - 404 Item not found. - */ - public okhttp3.Call headUserImageCall(UUID userId, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headUserImageCall(UUID userId, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -8550,9 +7685,7 @@ public class ImageApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/Images/{imageType}" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) - .replace("{" + "imageType" + "}", localVarApiClient.escapeString(imageType.toString())); + String localVarPath = "/UserImage"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -8560,6 +7693,10 @@ public class ImageApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + if (tag != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("tag", tag)); } @@ -8604,14 +7741,6 @@ public class ImageApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); } - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - if (blur != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); } @@ -8651,26 +7780,15 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headUserImageValidateBeforeCall(UUID userId, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling headUserImage(Async)"); - } - - // verify the required parameter 'imageType' is set - if (imageType == null) { - throw new ApiException("Missing the required parameter 'imageType' when calling headUserImage(Async)"); - } - - return headUserImageCall(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); + private okhttp3.Call headUserImageValidateBeforeCall(UUID userId, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + return headUserImageCall(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); } /** * Get user profile image. * - * @param userId User id. (required) - * @param imageType Image type. (required) + * @param userId User id. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) * @param format Determines the output format of the image - original,gif,jpg,png. (optional) * @param maxWidth The maximum image width to return. (optional) @@ -8682,8 +7800,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -8695,19 +7811,19 @@ public class ImageApi { Response Details Status Code Description Response Headers 200 Image stream returned. - + 400 User id not provided. - 404 Item not found. - */ - public File headUserImage(UUID userId, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - ApiResponse localVarResp = headUserImageWithHttpInfo(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex); + public File headUserImage(UUID userId, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + ApiResponse localVarResp = headUserImageWithHttpInfo(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex); return localVarResp.getData(); } /** * Get user profile image. * - * @param userId User id. (required) - * @param imageType Image type. (required) + * @param userId User id. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) * @param format Determines the output format of the image - original,gif,jpg,png. (optional) * @param maxWidth The maximum image width to return. (optional) @@ -8719,8 +7835,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -8732,11 +7846,12 @@ public class ImageApi { Response Details Status Code Description Response Headers 200 Image stream returned. - + 400 User id not provided. - 404 Item not found. - */ - public ApiResponse headUserImageWithHttpInfo(UUID userId, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { - okhttp3.Call localVarCall = headUserImageValidateBeforeCall(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, null); + public ApiResponse headUserImageWithHttpInfo(UUID userId, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex) throws ApiException { + okhttp3.Call localVarCall = headUserImageValidateBeforeCall(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -8744,8 +7859,7 @@ public class ImageApi { /** * Get user profile image. (asynchronously) * - * @param userId User id. (required) - * @param imageType Image type. (required) + * @param userId User id. (optional) * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) * @param format Determines the output format of the image - original,gif,jpg,png. (optional) * @param maxWidth The maximum image width to return. (optional) @@ -8757,8 +7871,6 @@ public class ImageApi { * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) * @param fillWidth Width of box to fill. (optional) * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) * @param blur Optional. Blur image. (optional) * @param backgroundColor Optional. Apply a background color for transparent images. (optional) * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) @@ -8771,303 +7883,20 @@ public class ImageApi { Response Details Status Code Description Response Headers 200 Image stream returned. - + 400 User id not provided. - 404 Item not found. - */ - public okhttp3.Call headUserImageAsync(UUID userId, ImageType imageType, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headUserImageAsync(UUID userId, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Integer blur, String backgroundColor, String foregroundLayer, Integer imageIndex, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headUserImageValidateBeforeCall(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for headUserImageByIndex - * @param userId User id. (required) - * @param imageType Image type. (required) - * @param imageIndex Image index. (required) - * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param format Determines the output format of the image - original,gif,jpg,png. (optional) - * @param maxWidth The maximum image width to return. (optional) - * @param maxHeight The maximum image height to return. (optional) - * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) - * @param unplayedCount Optional. Unplayed count overlay to render. (optional) - * @param width The fixed image width to return. (optional) - * @param height The fixed image height to return. (optional) - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) - * @param fillWidth Width of box to fill. (optional) - * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) - * @param blur Optional. Blur image. (optional) - * @param backgroundColor Optional. Apply a background color for transparent images. (optional) - * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream returned. -
404 Item not found. -
- */ - public okhttp3.Call headUserImageByIndexCall(UUID userId, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Users/{userId}/Images/{imageType}/{imageIndex}" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) - .replace("{" + "imageType" + "}", localVarApiClient.escapeString(imageType.toString())) - .replace("{" + "imageIndex" + "}", localVarApiClient.escapeString(imageIndex.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (tag != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("tag", tag)); - } - - if (format != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("format", format)); - } - - if (maxWidth != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxWidth", maxWidth)); - } - - if (maxHeight != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxHeight", maxHeight)); - } - - if (percentPlayed != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("percentPlayed", percentPlayed)); - } - - if (unplayedCount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("unplayedCount", unplayedCount)); - } - - if (width != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("width", width)); - } - - if (height != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("height", height)); - } - - if (quality != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("quality", quality)); - } - - if (fillWidth != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillWidth", fillWidth)); - } - - if (fillHeight != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fillHeight", fillHeight)); - } - - if (cropWhitespace != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("cropWhitespace", cropWhitespace)); - } - - if (addPlayedIndicator != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("addPlayedIndicator", addPlayedIndicator)); - } - - if (blur != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("blur", blur)); - } - - if (backgroundColor != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("backgroundColor", backgroundColor)); - } - - if (foregroundLayer != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("foregroundLayer", foregroundLayer)); - } - - final String[] localVarAccepts = { - "image/*", - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(basePath, localVarPath, "HEAD", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call headUserImageByIndexValidateBeforeCall(UUID userId, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling headUserImageByIndex(Async)"); - } - - // verify the required parameter 'imageType' is set - if (imageType == null) { - throw new ApiException("Missing the required parameter 'imageType' when calling headUserImageByIndex(Async)"); - } - - // verify the required parameter 'imageIndex' is set - if (imageIndex == null) { - throw new ApiException("Missing the required parameter 'imageIndex' when calling headUserImageByIndex(Async)"); - } - - return headUserImageByIndexCall(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); - - } - - /** - * Get user profile image. - * - * @param userId User id. (required) - * @param imageType Image type. (required) - * @param imageIndex Image index. (required) - * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param format Determines the output format of the image - original,gif,jpg,png. (optional) - * @param maxWidth The maximum image width to return. (optional) - * @param maxHeight The maximum image height to return. (optional) - * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) - * @param unplayedCount Optional. Unplayed count overlay to render. (optional) - * @param width The fixed image width to return. (optional) - * @param height The fixed image height to return. (optional) - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) - * @param fillWidth Width of box to fill. (optional) - * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) - * @param blur Optional. Blur image. (optional) - * @param backgroundColor Optional. Apply a background color for transparent images. (optional) - * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream returned. -
404 Item not found. -
- */ - public File headUserImageByIndex(UUID userId, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - ApiResponse localVarResp = headUserImageByIndexWithHttpInfo(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer); - return localVarResp.getData(); - } - - /** - * Get user profile image. - * - * @param userId User id. (required) - * @param imageType Image type. (required) - * @param imageIndex Image index. (required) - * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param format Determines the output format of the image - original,gif,jpg,png. (optional) - * @param maxWidth The maximum image width to return. (optional) - * @param maxHeight The maximum image height to return. (optional) - * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) - * @param unplayedCount Optional. Unplayed count overlay to render. (optional) - * @param width The fixed image width to return. (optional) - * @param height The fixed image height to return. (optional) - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) - * @param fillWidth Width of box to fill. (optional) - * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) - * @param blur Optional. Blur image. (optional) - * @param backgroundColor Optional. Apply a background color for transparent images. (optional) - * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream returned. -
404 Item not found. -
- */ - public ApiResponse headUserImageByIndexWithHttpInfo(UUID userId, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer) throws ApiException { - okhttp3.Call localVarCall = headUserImageByIndexValidateBeforeCall(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get user profile image. (asynchronously) - * - * @param userId User id. (required) - * @param imageType Image type. (required) - * @param imageIndex Image index. (required) - * @param tag Optional. Supply the cache tag from the item object to receive strong caching headers. (optional) - * @param format Determines the output format of the image - original,gif,jpg,png. (optional) - * @param maxWidth The maximum image width to return. (optional) - * @param maxHeight The maximum image height to return. (optional) - * @param percentPlayed Optional. Percent to render for the percent played overlay. (optional) - * @param unplayedCount Optional. Unplayed count overlay to render. (optional) - * @param width The fixed image width to return. (optional) - * @param height The fixed image height to return. (optional) - * @param quality Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. (optional) - * @param fillWidth Width of box to fill. (optional) - * @param fillHeight Height of box to fill. (optional) - * @param cropWhitespace Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. (optional) - * @param addPlayedIndicator Optional. Add a played indicator. (optional) - * @param blur Optional. Blur image. (optional) - * @param backgroundColor Optional. Apply a background color for transparent images. (optional) - * @param foregroundLayer Optional. Apply a foreground layer on top of the image. (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream returned. -
404 Item not found. -
- */ - public okhttp3.Call headUserImageByIndexAsync(UUID userId, ImageType imageType, Integer imageIndex, String tag, ImageFormat format, Integer maxWidth, Integer maxHeight, Double percentPlayed, Integer unplayedCount, Integer width, Integer height, Integer quality, Integer fillWidth, Integer fillHeight, Boolean cropWhitespace, Boolean addPlayedIndicator, Integer blur, String backgroundColor, String foregroundLayer, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = headUserImageByIndexValidateBeforeCall(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, _callback); + okhttp3.Call localVarCall = headUserImageValidateBeforeCall(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for postUserImage - * @param userId User Id. (required) - * @param imageType (Unused) Image type. (required) - * @param index (Unused) Image index. (optional) + * @param userId User Id. (optional) * @param body (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -9077,11 +7906,13 @@ public class ImageApi { Response Details Status Code Description Response Headers 204 Image updated. - + 400 Bad Request - 403 User does not have permission to delete the image. - + 404 Item not found. - 401 Unauthorized - */ - public okhttp3.Call postUserImageCall(UUID userId, ImageType imageType, Integer index, File body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call postUserImageCall(UUID userId, File body, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -9098,9 +7929,7 @@ public class ImageApi { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/Users/{userId}/Images/{imageType}" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) - .replace("{" + "imageType" + "}", localVarApiClient.escapeString(imageType.toString())); + String localVarPath = "/UserImage"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -9108,8 +7937,8 @@ public class ImageApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (index != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("index", index)); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); } final String[] localVarAccepts = { @@ -9135,27 +7964,15 @@ public class ImageApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call postUserImageValidateBeforeCall(UUID userId, ImageType imageType, Integer index, File body, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling postUserImage(Async)"); - } - - // verify the required parameter 'imageType' is set - if (imageType == null) { - throw new ApiException("Missing the required parameter 'imageType' when calling postUserImage(Async)"); - } - - return postUserImageCall(userId, imageType, index, body, _callback); + private okhttp3.Call postUserImageValidateBeforeCall(UUID userId, File body, final ApiCallback _callback) throws ApiException { + return postUserImageCall(userId, body, _callback); } /** * Sets the user image. * - * @param userId User Id. (required) - * @param imageType (Unused) Image type. (required) - * @param index (Unused) Image index. (optional) + * @param userId User Id. (optional) * @param body (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -9163,20 +7980,20 @@ public class ImageApi { Response Details Status Code Description Response Headers 204 Image updated. - + 400 Bad Request - 403 User does not have permission to delete the image. - + 404 Item not found. - 401 Unauthorized - */ - public void postUserImage(UUID userId, ImageType imageType, Integer index, File body) throws ApiException { - postUserImageWithHttpInfo(userId, imageType, index, body); + public void postUserImage(UUID userId, File body) throws ApiException { + postUserImageWithHttpInfo(userId, body); } /** * Sets the user image. * - * @param userId User Id. (required) - * @param imageType (Unused) Image type. (required) - * @param index (Unused) Image index. (optional) + * @param userId User Id. (optional) * @param body (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -9185,21 +8002,21 @@ public class ImageApi { Response Details Status Code Description Response Headers 204 Image updated. - + 400 Bad Request - 403 User does not have permission to delete the image. - + 404 Item not found. - 401 Unauthorized - */ - public ApiResponse postUserImageWithHttpInfo(UUID userId, ImageType imageType, Integer index, File body) throws ApiException { - okhttp3.Call localVarCall = postUserImageValidateBeforeCall(userId, imageType, index, body, null); + public ApiResponse postUserImageWithHttpInfo(UUID userId, File body) throws ApiException { + okhttp3.Call localVarCall = postUserImageValidateBeforeCall(userId, body, null); return localVarApiClient.execute(localVarCall); } /** * Sets the user image. (asynchronously) * - * @param userId User Id. (required) - * @param imageType (Unused) Image type. (required) - * @param index (Unused) Image index. (optional) + * @param userId User Id. (optional) * @param body (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -9209,171 +8026,15 @@ public class ImageApi { Response Details Status Code Description Response Headers 204 Image updated. - + 400 Bad Request - 403 User does not have permission to delete the image. - + 404 Item not found. - 401 Unauthorized - */ - public okhttp3.Call postUserImageAsync(UUID userId, ImageType imageType, Integer index, File body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call postUserImageAsync(UUID userId, File body, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = postUserImageValidateBeforeCall(userId, imageType, index, body, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for postUserImageByIndex - * @param userId User Id. (required) - * @param imageType (Unused) Image type. (required) - * @param index (Unused) Image index. (required) - * @param body (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Image updated. -
403 User does not have permission to delete the image. -
401 Unauthorized -
- */ - public okhttp3.Call postUserImageByIndexCall(UUID userId, ImageType imageType, Integer index, File body, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/Users/{userId}/Images/{imageType}/{index}" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) - .replace("{" + "imageType" + "}", localVarApiClient.escapeString(imageType.toString())) - .replace("{" + "index" + "}", localVarApiClient.escapeString(index.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "image/*" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call postUserImageByIndexValidateBeforeCall(UUID userId, ImageType imageType, Integer index, File body, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling postUserImageByIndex(Async)"); - } - - // verify the required parameter 'imageType' is set - if (imageType == null) { - throw new ApiException("Missing the required parameter 'imageType' when calling postUserImageByIndex(Async)"); - } - - // verify the required parameter 'index' is set - if (index == null) { - throw new ApiException("Missing the required parameter 'index' when calling postUserImageByIndex(Async)"); - } - - return postUserImageByIndexCall(userId, imageType, index, body, _callback); - - } - - /** - * Sets the user image. - * - * @param userId User Id. (required) - * @param imageType (Unused) Image type. (required) - * @param index (Unused) Image index. (required) - * @param body (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Image updated. -
403 User does not have permission to delete the image. -
401 Unauthorized -
- */ - public void postUserImageByIndex(UUID userId, ImageType imageType, Integer index, File body) throws ApiException { - postUserImageByIndexWithHttpInfo(userId, imageType, index, body); - } - - /** - * Sets the user image. - * - * @param userId User Id. (required) - * @param imageType (Unused) Image type. (required) - * @param index (Unused) Image index. (required) - * @param body (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Image updated. -
403 User does not have permission to delete the image. -
401 Unauthorized -
- */ - public ApiResponse postUserImageByIndexWithHttpInfo(UUID userId, ImageType imageType, Integer index, File body) throws ApiException { - okhttp3.Call localVarCall = postUserImageByIndexValidateBeforeCall(userId, imageType, index, body, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * Sets the user image. (asynchronously) - * - * @param userId User Id. (required) - * @param imageType (Unused) Image type. (required) - * @param index (Unused) Image index. (required) - * @param body (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Image updated. -
403 User does not have permission to delete the image. -
401 Unauthorized -
- */ - public okhttp3.Call postUserImageByIndexAsync(UUID userId, ImageType imageType, Integer index, File body, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = postUserImageByIndexValidateBeforeCall(userId, imageType, index, body, _callback); + okhttp3.Call localVarCall = postUserImageValidateBeforeCall(userId, body, _callback); localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } @@ -9390,6 +8051,7 @@ public class ImageApi { Response Details Status Code Description Response Headers 204 Image saved. - + 400 Bad Request - 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -9472,6 +8134,7 @@ public class ImageApi { Response Details Status Code Description Response Headers 204 Image saved. - + 400 Bad Request - 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -9494,6 +8157,7 @@ public class ImageApi { Response Details Status Code Description Response Headers 204 Image saved. - + 400 Bad Request - 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -9518,6 +8182,7 @@ public class ImageApi { Response Details Status Code Description Response Headers 204 Image saved. - + 400 Bad Request - 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -9543,6 +8208,7 @@ public class ImageApi { Response Details Status Code Description Response Headers 204 Image saved. - + 400 Bad Request - 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -9632,6 +8298,7 @@ public class ImageApi { Response Details Status Code Description Response Headers 204 Image saved. - + 400 Bad Request - 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -9655,6 +8322,7 @@ public class ImageApi { Response Details Status Code Description Response Headers 204 Image saved. - + 400 Bad Request - 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -9680,6 +8348,7 @@ public class ImageApi { Response Details Status Code Description Response Headers 204 Image saved. - + 400 Bad Request - 404 Item not found. - 401 Unauthorized - 403 Forbidden - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/InstantMixApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/InstantMixApi.java similarity index 87% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/InstantMixApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/InstantMixApi.java index 2a709a64f02..fd00aa5459f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/InstantMixApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/InstantMixApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,6 +30,7 @@ import java.io.IOException; import org.openapitools.client.model.BaseItemDtoQueryResult; import org.openapitools.client.model.ImageType; import org.openapitools.client.model.ItemFields; +import org.openapitools.client.model.ProblemDetails; import java.util.UUID; import java.lang.reflect.Type; @@ -77,7 +78,7 @@ public class InstantMixApi { /** * Build call for getInstantMixFromAlbum - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -93,11 +94,12 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call getInstantMixFromAlbumCall(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getInstantMixFromAlbumCall(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -114,8 +116,8 @@ public class InstantMixApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Albums/{id}/InstantMix" - .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + String localVarPath = "/Albums/{itemId}/InstantMix" + .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -173,20 +175,20 @@ public class InstantMixApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getInstantMixFromAlbumValidateBeforeCall(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'id' is set - if (id == null) { - throw new ApiException("Missing the required parameter 'id' when calling getInstantMixFromAlbum(Async)"); + private okhttp3.Call getInstantMixFromAlbumValidateBeforeCall(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'itemId' is set + if (itemId == null) { + throw new ApiException("Missing the required parameter 'itemId' when calling getInstantMixFromAlbum(Async)"); } - return getInstantMixFromAlbumCall(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); + return getInstantMixFromAlbumCall(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); } /** * Creates an instant playlist based on a given album. * - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -201,19 +203,20 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public BaseItemDtoQueryResult getInstantMixFromAlbum(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { - ApiResponse localVarResp = getInstantMixFromAlbumWithHttpInfo(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); + public BaseItemDtoQueryResult getInstantMixFromAlbum(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { + ApiResponse localVarResp = getInstantMixFromAlbumWithHttpInfo(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); return localVarResp.getData(); } /** * Creates an instant playlist based on a given album. * - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -228,12 +231,13 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public ApiResponse getInstantMixFromAlbumWithHttpInfo(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { - okhttp3.Call localVarCall = getInstantMixFromAlbumValidateBeforeCall(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, null); + public ApiResponse getInstantMixFromAlbumWithHttpInfo(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { + okhttp3.Call localVarCall = getInstantMixFromAlbumValidateBeforeCall(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -241,7 +245,7 @@ public class InstantMixApi { /** * Creates an instant playlist based on a given album. (asynchronously) * - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -257,20 +261,21 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call getInstantMixFromAlbumAsync(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getInstantMixFromAlbumAsync(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getInstantMixFromAlbumValidateBeforeCall(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); + okhttp3.Call localVarCall = getInstantMixFromAlbumValidateBeforeCall(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for getInstantMixFromArtists - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -286,11 +291,12 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call getInstantMixFromArtistsCall(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getInstantMixFromArtistsCall(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -307,8 +313,8 @@ public class InstantMixApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Artists/{id}/InstantMix" - .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + String localVarPath = "/Artists/{itemId}/InstantMix" + .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -366,20 +372,20 @@ public class InstantMixApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getInstantMixFromArtistsValidateBeforeCall(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'id' is set - if (id == null) { - throw new ApiException("Missing the required parameter 'id' when calling getInstantMixFromArtists(Async)"); + private okhttp3.Call getInstantMixFromArtistsValidateBeforeCall(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'itemId' is set + if (itemId == null) { + throw new ApiException("Missing the required parameter 'itemId' when calling getInstantMixFromArtists(Async)"); } - return getInstantMixFromArtistsCall(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); + return getInstantMixFromArtistsCall(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); } /** * Creates an instant playlist based on a given artist. * - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -394,19 +400,20 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public BaseItemDtoQueryResult getInstantMixFromArtists(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { - ApiResponse localVarResp = getInstantMixFromArtistsWithHttpInfo(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); + public BaseItemDtoQueryResult getInstantMixFromArtists(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { + ApiResponse localVarResp = getInstantMixFromArtistsWithHttpInfo(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); return localVarResp.getData(); } /** * Creates an instant playlist based on a given artist. * - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -421,12 +428,13 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public ApiResponse getInstantMixFromArtistsWithHttpInfo(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { - okhttp3.Call localVarCall = getInstantMixFromArtistsValidateBeforeCall(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, null); + public ApiResponse getInstantMixFromArtistsWithHttpInfo(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { + okhttp3.Call localVarCall = getInstantMixFromArtistsValidateBeforeCall(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -434,7 +442,7 @@ public class InstantMixApi { /** * Creates an instant playlist based on a given artist. (asynchronously) * - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -450,13 +458,14 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call getInstantMixFromArtistsAsync(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getInstantMixFromArtistsAsync(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getInstantMixFromArtistsValidateBeforeCall(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); + okhttp3.Call localVarCall = getInstantMixFromArtistsValidateBeforeCall(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -479,6 +488,7 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -593,6 +603,7 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -622,6 +633,7 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -653,6 +665,7 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -668,7 +681,7 @@ public class InstantMixApi { } /** * Build call for getInstantMixFromItem - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -684,11 +697,12 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call getInstantMixFromItemCall(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getInstantMixFromItemCall(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -705,8 +719,8 @@ public class InstantMixApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Items/{id}/InstantMix" - .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + String localVarPath = "/Items/{itemId}/InstantMix" + .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -764,20 +778,20 @@ public class InstantMixApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getInstantMixFromItemValidateBeforeCall(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'id' is set - if (id == null) { - throw new ApiException("Missing the required parameter 'id' when calling getInstantMixFromItem(Async)"); + private okhttp3.Call getInstantMixFromItemValidateBeforeCall(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'itemId' is set + if (itemId == null) { + throw new ApiException("Missing the required parameter 'itemId' when calling getInstantMixFromItem(Async)"); } - return getInstantMixFromItemCall(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); + return getInstantMixFromItemCall(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); } /** * Creates an instant playlist based on a given item. * - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -792,19 +806,20 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public BaseItemDtoQueryResult getInstantMixFromItem(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { - ApiResponse localVarResp = getInstantMixFromItemWithHttpInfo(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); + public BaseItemDtoQueryResult getInstantMixFromItem(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { + ApiResponse localVarResp = getInstantMixFromItemWithHttpInfo(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); return localVarResp.getData(); } /** * Creates an instant playlist based on a given item. * - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -819,12 +834,13 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public ApiResponse getInstantMixFromItemWithHttpInfo(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { - okhttp3.Call localVarCall = getInstantMixFromItemValidateBeforeCall(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, null); + public ApiResponse getInstantMixFromItemWithHttpInfo(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { + okhttp3.Call localVarCall = getInstantMixFromItemValidateBeforeCall(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -832,7 +848,7 @@ public class InstantMixApi { /** * Creates an instant playlist based on a given item. (asynchronously) * - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -848,13 +864,14 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call getInstantMixFromItemAsync(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getInstantMixFromItemAsync(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getInstantMixFromItemValidateBeforeCall(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); + okhttp3.Call localVarCall = getInstantMixFromItemValidateBeforeCall(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -877,6 +894,7 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -988,6 +1006,7 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -1015,6 +1034,7 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -1044,6 +1064,7 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -1250,7 +1271,7 @@ public class InstantMixApi { } /** * Build call for getInstantMixFromPlaylist - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -1266,11 +1287,12 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call getInstantMixFromPlaylistCall(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getInstantMixFromPlaylistCall(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1287,8 +1309,8 @@ public class InstantMixApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Playlists/{id}/InstantMix" - .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + String localVarPath = "/Playlists/{itemId}/InstantMix" + .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1346,20 +1368,20 @@ public class InstantMixApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getInstantMixFromPlaylistValidateBeforeCall(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'id' is set - if (id == null) { - throw new ApiException("Missing the required parameter 'id' when calling getInstantMixFromPlaylist(Async)"); + private okhttp3.Call getInstantMixFromPlaylistValidateBeforeCall(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'itemId' is set + if (itemId == null) { + throw new ApiException("Missing the required parameter 'itemId' when calling getInstantMixFromPlaylist(Async)"); } - return getInstantMixFromPlaylistCall(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); + return getInstantMixFromPlaylistCall(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); } /** * Creates an instant playlist based on a given playlist. * - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -1374,19 +1396,20 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public BaseItemDtoQueryResult getInstantMixFromPlaylist(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { - ApiResponse localVarResp = getInstantMixFromPlaylistWithHttpInfo(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); + public BaseItemDtoQueryResult getInstantMixFromPlaylist(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { + ApiResponse localVarResp = getInstantMixFromPlaylistWithHttpInfo(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); return localVarResp.getData(); } /** * Creates an instant playlist based on a given playlist. * - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -1401,12 +1424,13 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public ApiResponse getInstantMixFromPlaylistWithHttpInfo(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { - okhttp3.Call localVarCall = getInstantMixFromPlaylistValidateBeforeCall(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, null); + public ApiResponse getInstantMixFromPlaylistWithHttpInfo(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { + okhttp3.Call localVarCall = getInstantMixFromPlaylistValidateBeforeCall(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1414,7 +1438,7 @@ public class InstantMixApi { /** * Creates an instant playlist based on a given playlist. (asynchronously) * - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -1430,20 +1454,21 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call getInstantMixFromPlaylistAsync(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getInstantMixFromPlaylistAsync(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getInstantMixFromPlaylistValidateBeforeCall(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); + okhttp3.Call localVarCall = getInstantMixFromPlaylistValidateBeforeCall(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for getInstantMixFromSong - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -1459,11 +1484,12 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call getInstantMixFromSongCall(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getInstantMixFromSongCall(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1480,8 +1506,8 @@ public class InstantMixApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Songs/{id}/InstantMix" - .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + String localVarPath = "/Songs/{itemId}/InstantMix" + .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1539,20 +1565,20 @@ public class InstantMixApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getInstantMixFromSongValidateBeforeCall(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'id' is set - if (id == null) { - throw new ApiException("Missing the required parameter 'id' when calling getInstantMixFromSong(Async)"); + private okhttp3.Call getInstantMixFromSongValidateBeforeCall(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'itemId' is set + if (itemId == null) { + throw new ApiException("Missing the required parameter 'itemId' when calling getInstantMixFromSong(Async)"); } - return getInstantMixFromSongCall(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); + return getInstantMixFromSongCall(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); } /** * Creates an instant playlist based on a given song. * - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -1567,19 +1593,20 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public BaseItemDtoQueryResult getInstantMixFromSong(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { - ApiResponse localVarResp = getInstantMixFromSongWithHttpInfo(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); + public BaseItemDtoQueryResult getInstantMixFromSong(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { + ApiResponse localVarResp = getInstantMixFromSongWithHttpInfo(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); return localVarResp.getData(); } /** * Creates an instant playlist based on a given song. * - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -1594,12 +1621,13 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public ApiResponse getInstantMixFromSongWithHttpInfo(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { - okhttp3.Call localVarCall = getInstantMixFromSongValidateBeforeCall(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, null); + public ApiResponse getInstantMixFromSongWithHttpInfo(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { + okhttp3.Call localVarCall = getInstantMixFromSongValidateBeforeCall(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1607,7 +1635,7 @@ public class InstantMixApi { /** * Creates an instant playlist based on a given song. (asynchronously) * - * @param id The item id. (required) + * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) @@ -1623,13 +1651,14 @@ public class InstantMixApi { Response Details Status Code Description Response Headers 200 Instant playlist returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call getInstantMixFromSongAsync(UUID id, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getInstantMixFromSongAsync(UUID itemId, UUID userId, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getInstantMixFromSongValidateBeforeCall(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); + okhttp3.Call localVarCall = getInstantMixFromSongValidateBeforeCall(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ItemLookupApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ItemLookupApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ItemLookupApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ItemLookupApi.java index 68f01d0c536..b15800f4530 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ItemLookupApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ItemLookupApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -97,6 +97,7 @@ public class ItemLookupApi { Response Details Status Code Description Response Headers 204 Item metadata refreshed. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -132,6 +133,9 @@ public class ItemLookupApi { } final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -180,6 +184,7 @@ public class ItemLookupApi { Response Details Status Code Description Response Headers 204 Item metadata refreshed. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -201,6 +206,7 @@ public class ItemLookupApi { Response Details Status Code Description Response Headers 204 Item metadata refreshed. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -224,6 +230,7 @@ public class ItemLookupApi { Response Details Status Code Description Response Headers 204 Item metadata refreshed. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ItemRefreshApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ItemRefreshApi.java similarity index 87% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ItemRefreshApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ItemRefreshApi.java index 5664f54bc72..67a7b24f6c6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ItemRefreshApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ItemRefreshApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -81,6 +81,7 @@ public class ItemRefreshApi { * @param imageRefreshMode (Optional) Specifies the image refresh mode. (optional, default to None) * @param replaceAllMetadata (Optional) Determines if metadata should be replaced. Only applicable if mode is FullRefresh. (optional, default to false) * @param replaceAllImages (Optional) Determines if images should be replaced. Only applicable if mode is FullRefresh. (optional, default to false) + * @param regenerateTrickplay (Optional) Determines if trickplay images should be replaced. Only applicable if mode is FullRefresh. (optional, default to false) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -94,7 +95,7 @@ public class ItemRefreshApi { 403 Forbidden - */ - public okhttp3.Call refreshItemCall(UUID itemId, MetadataRefreshMode metadataRefreshMode, MetadataRefreshMode imageRefreshMode, Boolean replaceAllMetadata, Boolean replaceAllImages, final ApiCallback _callback) throws ApiException { + public okhttp3.Call refreshItemCall(UUID itemId, MetadataRefreshMode metadataRefreshMode, MetadataRefreshMode imageRefreshMode, Boolean replaceAllMetadata, Boolean replaceAllImages, Boolean regenerateTrickplay, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -136,6 +137,10 @@ public class ItemRefreshApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("replaceAllImages", replaceAllImages)); } + if (regenerateTrickplay != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("regenerateTrickplay", regenerateTrickplay)); + } + final String[] localVarAccepts = { "application/json", "application/json; profile=CamelCase", @@ -158,13 +163,13 @@ public class ItemRefreshApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call refreshItemValidateBeforeCall(UUID itemId, MetadataRefreshMode metadataRefreshMode, MetadataRefreshMode imageRefreshMode, Boolean replaceAllMetadata, Boolean replaceAllImages, final ApiCallback _callback) throws ApiException { + private okhttp3.Call refreshItemValidateBeforeCall(UUID itemId, MetadataRefreshMode metadataRefreshMode, MetadataRefreshMode imageRefreshMode, Boolean replaceAllMetadata, Boolean replaceAllImages, Boolean regenerateTrickplay, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling refreshItem(Async)"); } - return refreshItemCall(itemId, metadataRefreshMode, imageRefreshMode, replaceAllMetadata, replaceAllImages, _callback); + return refreshItemCall(itemId, metadataRefreshMode, imageRefreshMode, replaceAllMetadata, replaceAllImages, regenerateTrickplay, _callback); } @@ -176,6 +181,7 @@ public class ItemRefreshApi { * @param imageRefreshMode (Optional) Specifies the image refresh mode. (optional, default to None) * @param replaceAllMetadata (Optional) Determines if metadata should be replaced. Only applicable if mode is FullRefresh. (optional, default to false) * @param replaceAllImages (Optional) Determines if images should be replaced. Only applicable if mode is FullRefresh. (optional, default to false) + * @param regenerateTrickplay (Optional) Determines if trickplay images should be replaced. Only applicable if mode is FullRefresh. (optional, default to false) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -187,8 +193,8 @@ public class ItemRefreshApi {
403 Forbidden -
*/ - public void refreshItem(UUID itemId, MetadataRefreshMode metadataRefreshMode, MetadataRefreshMode imageRefreshMode, Boolean replaceAllMetadata, Boolean replaceAllImages) throws ApiException { - refreshItemWithHttpInfo(itemId, metadataRefreshMode, imageRefreshMode, replaceAllMetadata, replaceAllImages); + public void refreshItem(UUID itemId, MetadataRefreshMode metadataRefreshMode, MetadataRefreshMode imageRefreshMode, Boolean replaceAllMetadata, Boolean replaceAllImages, Boolean regenerateTrickplay) throws ApiException { + refreshItemWithHttpInfo(itemId, metadataRefreshMode, imageRefreshMode, replaceAllMetadata, replaceAllImages, regenerateTrickplay); } /** @@ -199,6 +205,7 @@ public class ItemRefreshApi { * @param imageRefreshMode (Optional) Specifies the image refresh mode. (optional, default to None) * @param replaceAllMetadata (Optional) Determines if metadata should be replaced. Only applicable if mode is FullRefresh. (optional, default to false) * @param replaceAllImages (Optional) Determines if images should be replaced. Only applicable if mode is FullRefresh. (optional, default to false) + * @param regenerateTrickplay (Optional) Determines if trickplay images should be replaced. Only applicable if mode is FullRefresh. (optional, default to false) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -211,8 +218,8 @@ public class ItemRefreshApi { 403 Forbidden - */ - public ApiResponse refreshItemWithHttpInfo(UUID itemId, MetadataRefreshMode metadataRefreshMode, MetadataRefreshMode imageRefreshMode, Boolean replaceAllMetadata, Boolean replaceAllImages) throws ApiException { - okhttp3.Call localVarCall = refreshItemValidateBeforeCall(itemId, metadataRefreshMode, imageRefreshMode, replaceAllMetadata, replaceAllImages, null); + public ApiResponse refreshItemWithHttpInfo(UUID itemId, MetadataRefreshMode metadataRefreshMode, MetadataRefreshMode imageRefreshMode, Boolean replaceAllMetadata, Boolean replaceAllImages, Boolean regenerateTrickplay) throws ApiException { + okhttp3.Call localVarCall = refreshItemValidateBeforeCall(itemId, metadataRefreshMode, imageRefreshMode, replaceAllMetadata, replaceAllImages, regenerateTrickplay, null); return localVarApiClient.execute(localVarCall); } @@ -224,6 +231,7 @@ public class ItemRefreshApi { * @param imageRefreshMode (Optional) Specifies the image refresh mode. (optional, default to None) * @param replaceAllMetadata (Optional) Determines if metadata should be replaced. Only applicable if mode is FullRefresh. (optional, default to false) * @param replaceAllImages (Optional) Determines if images should be replaced. Only applicable if mode is FullRefresh. (optional, default to false) + * @param regenerateTrickplay (Optional) Determines if trickplay images should be replaced. Only applicable if mode is FullRefresh. (optional, default to false) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -237,9 +245,9 @@ public class ItemRefreshApi { 403 Forbidden - */ - public okhttp3.Call refreshItemAsync(UUID itemId, MetadataRefreshMode metadataRefreshMode, MetadataRefreshMode imageRefreshMode, Boolean replaceAllMetadata, Boolean replaceAllImages, final ApiCallback _callback) throws ApiException { + public okhttp3.Call refreshItemAsync(UUID itemId, MetadataRefreshMode metadataRefreshMode, MetadataRefreshMode imageRefreshMode, Boolean replaceAllMetadata, Boolean replaceAllImages, Boolean regenerateTrickplay, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = refreshItemValidateBeforeCall(itemId, metadataRefreshMode, imageRefreshMode, replaceAllMetadata, replaceAllImages, _callback); + okhttp3.Call localVarCall = refreshItemValidateBeforeCall(itemId, metadataRefreshMode, imageRefreshMode, replaceAllMetadata, replaceAllImages, regenerateTrickplay, _callback); localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ItemUpdateApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ItemUpdateApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ItemUpdateApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ItemUpdateApi.java index bd785561f09..486d46020a0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ItemUpdateApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ItemUpdateApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ItemsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ItemsApi.java new file mode 100644 index 00000000000..313a71338a0 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ItemsApi.java @@ -0,0 +1,1462 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.api; + +import org.openapitools.client.ApiCallback; +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.ApiResponse; +import org.openapitools.client.Configuration; +import org.openapitools.client.Pair; +import org.openapitools.client.ProgressRequestBody; +import org.openapitools.client.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import org.openapitools.client.model.BaseItemDtoQueryResult; +import org.openapitools.client.model.BaseItemKind; +import org.openapitools.client.model.ImageType; +import org.openapitools.client.model.ItemFields; +import org.openapitools.client.model.ItemFilter; +import org.openapitools.client.model.ItemSortBy; +import org.openapitools.client.model.LocationType; +import org.openapitools.client.model.MediaType; +import java.time.OffsetDateTime; +import org.openapitools.client.model.ProblemDetails; +import org.openapitools.client.model.SeriesStatus; +import org.openapitools.client.model.SortOrder; +import java.util.UUID; +import org.openapitools.client.model.UpdateUserItemDataDto; +import org.openapitools.client.model.UserItemDataDto; +import org.openapitools.client.model.VideoType; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class ItemsApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public ItemsApi() { + this(Configuration.getDefaultApiClient()); + } + + public ItemsApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for getItemUserData + * @param itemId The item id. (required) + * @param userId The user id. (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 return item user data. -
404 Item is not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call getItemUserDataCall(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/UserItems/{itemId}/UserData" + .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getItemUserDataValidateBeforeCall(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'itemId' is set + if (itemId == null) { + throw new ApiException("Missing the required parameter 'itemId' when calling getItemUserData(Async)"); + } + + return getItemUserDataCall(itemId, userId, _callback); + + } + + /** + * Get Item User Data. + * + * @param itemId The item id. (required) + * @param userId The user id. (optional) + * @return UserItemDataDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 return item user data. -
404 Item is not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public UserItemDataDto getItemUserData(UUID itemId, UUID userId) throws ApiException { + ApiResponse localVarResp = getItemUserDataWithHttpInfo(itemId, userId); + return localVarResp.getData(); + } + + /** + * Get Item User Data. + * + * @param itemId The item id. (required) + * @param userId The user id. (optional) + * @return ApiResponse<UserItemDataDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 return item user data. -
404 Item is not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public ApiResponse getItemUserDataWithHttpInfo(UUID itemId, UUID userId) throws ApiException { + okhttp3.Call localVarCall = getItemUserDataValidateBeforeCall(itemId, userId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Item User Data. (asynchronously) + * + * @param itemId The item id. (required) + * @param userId The user id. (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 return item user data. -
404 Item is not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call getItemUserDataAsync(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getItemUserDataValidateBeforeCall(itemId, userId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getItems + * @param userId The user id supplied as query parameter; this is required when not using an API key. (optional) + * @param maxOfficialRating Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). (optional) + * @param hasThemeSong Optional filter by items with theme songs. (optional) + * @param hasThemeVideo Optional filter by items with theme videos. (optional) + * @param hasSubtitles Optional filter by items with subtitles. (optional) + * @param hasSpecialFeature Optional filter by items with special features. (optional) + * @param hasTrailer Optional filter by items with trailers. (optional) + * @param adjacentTo Optional. Return items that are siblings of a supplied item. (optional) + * @param indexNumber Optional filter by index number. (optional) + * @param parentIndexNumber Optional filter by parent index number. (optional) + * @param hasParentalRating Optional filter by items that have or do not have a parental rating. (optional) + * @param isHd Optional filter by items that are HD or not. (optional) + * @param is4K Optional filter by items that are 4K or not. (optional) + * @param locationTypes Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. (optional) + * @param excludeLocationTypes Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. (optional) + * @param isMissing Optional filter by items that are missing episodes or not. (optional) + * @param isUnaired Optional filter by items that are unaired episodes or not. (optional) + * @param minCommunityRating Optional filter by minimum community rating. (optional) + * @param minCriticRating Optional filter by minimum critic rating. (optional) + * @param minPremiereDate Optional. The minimum premiere date. Format = ISO. (optional) + * @param minDateLastSaved Optional. The minimum last saved date. Format = ISO. (optional) + * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. Format = ISO. (optional) + * @param maxPremiereDate Optional. The maximum premiere date. Format = ISO. (optional) + * @param hasOverview Optional filter by items that have an overview or not. (optional) + * @param hasImdbId Optional filter by items that have an IMDb id or not. (optional) + * @param hasTmdbId Optional filter by items that have a TMDb id or not. (optional) + * @param hasTvdbId Optional filter by items that have a TVDb id or not. (optional) + * @param isMovie Optional filter for live tv movies. (optional) + * @param isSeries Optional filter for live tv series. (optional) + * @param isNews Optional filter for live tv news. (optional) + * @param isKids Optional filter for live tv kids. (optional) + * @param isSports Optional filter for live tv sports. (optional) + * @param excludeItemIds Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. (optional) + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) + * @param limit Optional. The maximum number of records to return. (optional) + * @param recursive When searching within folders, this determines whether or not the search will be recursive. true/false. (optional) + * @param searchTerm Optional. Filter based on a search term. (optional) + * @param sortOrder Sort Order - Ascending, Descending. (optional) + * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) + * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) + * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) + * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) + * @param filters Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. (optional) + * @param isFavorite Optional filter by items that are marked as favorite, or not. (optional) + * @param mediaTypes Optional filter by MediaType. Allows multiple, comma delimited. (optional) + * @param imageTypes Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. (optional) + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) + * @param isPlayed Optional filter by items that are played, or not. (optional) + * @param genres Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. (optional) + * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. (optional) + * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. (optional) + * @param years Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. (optional) + * @param enableUserData Optional, include user data. (optional) + * @param imageTypeLimit Optional, the max number of images to return, per image type. (optional) + * @param enableImageTypes Optional. The image types to include in the output. (optional) + * @param person Optional. If specified, results will be filtered to include only those containing the specified person. (optional) + * @param personIds Optional. If specified, results will be filtered to include only those containing the specified person id. (optional) + * @param personTypes Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. (optional) + * @param studios Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. (optional) + * @param artists Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. (optional) + * @param excludeArtistIds Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. (optional) + * @param artistIds Optional. If specified, results will be filtered to include only those containing the specified artist id. (optional) + * @param albumArtistIds Optional. If specified, results will be filtered to include only those containing the specified album artist id. (optional) + * @param contributingArtistIds Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. (optional) + * @param albums Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. (optional) + * @param albumIds Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. (optional) + * @param ids Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. (optional) + * @param videoTypes Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. (optional) + * @param minOfficialRating Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). (optional) + * @param isLocked Optional filter by items that are locked. (optional) + * @param isPlaceHolder Optional filter by items that are placeholders. (optional) + * @param hasOfficialRating Optional filter by items that have official ratings. (optional) + * @param collapseBoxSetItems Whether or not to hide items behind their boxsets. (optional) + * @param minWidth Optional. Filter by the minimum width of the item. (optional) + * @param minHeight Optional. Filter by the minimum height of the item. (optional) + * @param maxWidth Optional. Filter by the maximum width of the item. (optional) + * @param maxHeight Optional. Filter by the maximum height of the item. (optional) + * @param is3D Optional filter by items that are 3D, or not. (optional) + * @param seriesStatus Optional filter by Series Status. Allows multiple, comma delimited. (optional) + * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater than a given input string. (optional) + * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input string. (optional) + * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input string. (optional) + * @param studioIds Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. (optional) + * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. (optional) + * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) + * @param enableImages Optional, include image information in output. (optional, default to true) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call getItemsCall(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, UUID adjacentTo, Integer indexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/Items"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + + if (maxOfficialRating != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxOfficialRating", maxOfficialRating)); + } + + if (hasThemeSong != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasThemeSong", hasThemeSong)); + } + + if (hasThemeVideo != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasThemeVideo", hasThemeVideo)); + } + + if (hasSubtitles != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasSubtitles", hasSubtitles)); + } + + if (hasSpecialFeature != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasSpecialFeature", hasSpecialFeature)); + } + + if (hasTrailer != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTrailer", hasTrailer)); + } + + if (adjacentTo != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("adjacentTo", adjacentTo)); + } + + if (indexNumber != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("indexNumber", indexNumber)); + } + + if (parentIndexNumber != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("parentIndexNumber", parentIndexNumber)); + } + + if (hasParentalRating != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasParentalRating", hasParentalRating)); + } + + if (isHd != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("isHd", isHd)); + } + + if (is4K != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("is4K", is4K)); + } + + if (locationTypes != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "locationTypes", locationTypes)); + } + + if (excludeLocationTypes != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "excludeLocationTypes", excludeLocationTypes)); + } + + if (isMissing != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("isMissing", isMissing)); + } + + if (isUnaired != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("isUnaired", isUnaired)); + } + + if (minCommunityRating != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("minCommunityRating", minCommunityRating)); + } + + if (minCriticRating != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("minCriticRating", minCriticRating)); + } + + if (minPremiereDate != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("minPremiereDate", minPremiereDate)); + } + + if (minDateLastSaved != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("minDateLastSaved", minDateLastSaved)); + } + + if (minDateLastSavedForUser != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("minDateLastSavedForUser", minDateLastSavedForUser)); + } + + if (maxPremiereDate != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxPremiereDate", maxPremiereDate)); + } + + if (hasOverview != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasOverview", hasOverview)); + } + + if (hasImdbId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasImdbId", hasImdbId)); + } + + if (hasTmdbId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTmdbId", hasTmdbId)); + } + + if (hasTvdbId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTvdbId", hasTvdbId)); + } + + if (isMovie != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("isMovie", isMovie)); + } + + if (isSeries != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("isSeries", isSeries)); + } + + if (isNews != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("isNews", isNews)); + } + + if (isKids != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("isKids", isKids)); + } + + if (isSports != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("isSports", isSports)); + } + + if (excludeItemIds != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "excludeItemIds", excludeItemIds)); + } + + if (startIndex != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("startIndex", startIndex)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (recursive != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("recursive", recursive)); + } + + if (searchTerm != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchTerm", searchTerm)); + } + + if (sortOrder != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "sortOrder", sortOrder)); + } + + if (parentId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("parentId", parentId)); + } + + if (fields != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "fields", fields)); + } + + if (excludeItemTypes != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "excludeItemTypes", excludeItemTypes)); + } + + if (includeItemTypes != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "includeItemTypes", includeItemTypes)); + } + + if (filters != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "filters", filters)); + } + + if (isFavorite != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("isFavorite", isFavorite)); + } + + if (mediaTypes != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "mediaTypes", mediaTypes)); + } + + if (imageTypes != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "imageTypes", imageTypes)); + } + + if (sortBy != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "sortBy", sortBy)); + } + + if (isPlayed != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("isPlayed", isPlayed)); + } + + if (genres != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "genres", genres)); + } + + if (officialRatings != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "officialRatings", officialRatings)); + } + + if (tags != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "tags", tags)); + } + + if (years != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "years", years)); + } + + if (enableUserData != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableUserData", enableUserData)); + } + + if (imageTypeLimit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("imageTypeLimit", imageTypeLimit)); + } + + if (enableImageTypes != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "enableImageTypes", enableImageTypes)); + } + + if (person != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("person", person)); + } + + if (personIds != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "personIds", personIds)); + } + + if (personTypes != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "personTypes", personTypes)); + } + + if (studios != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "studios", studios)); + } + + if (artists != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "artists", artists)); + } + + if (excludeArtistIds != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "excludeArtistIds", excludeArtistIds)); + } + + if (artistIds != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "artistIds", artistIds)); + } + + if (albumArtistIds != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "albumArtistIds", albumArtistIds)); + } + + if (contributingArtistIds != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "contributingArtistIds", contributingArtistIds)); + } + + if (albums != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "albums", albums)); + } + + if (albumIds != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "albumIds", albumIds)); + } + + if (ids != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "ids", ids)); + } + + if (videoTypes != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "videoTypes", videoTypes)); + } + + if (minOfficialRating != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("minOfficialRating", minOfficialRating)); + } + + if (isLocked != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("isLocked", isLocked)); + } + + if (isPlaceHolder != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("isPlaceHolder", isPlaceHolder)); + } + + if (hasOfficialRating != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasOfficialRating", hasOfficialRating)); + } + + if (collapseBoxSetItems != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("collapseBoxSetItems", collapseBoxSetItems)); + } + + if (minWidth != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("minWidth", minWidth)); + } + + if (minHeight != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("minHeight", minHeight)); + } + + if (maxWidth != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxWidth", maxWidth)); + } + + if (maxHeight != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxHeight", maxHeight)); + } + + if (is3D != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("is3D", is3D)); + } + + if (seriesStatus != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "seriesStatus", seriesStatus)); + } + + if (nameStartsWithOrGreater != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameStartsWithOrGreater", nameStartsWithOrGreater)); + } + + if (nameStartsWith != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameStartsWith", nameStartsWith)); + } + + if (nameLessThan != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameLessThan", nameLessThan)); + } + + if (studioIds != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "studioIds", studioIds)); + } + + if (genreIds != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "genreIds", genreIds)); + } + + if (enableTotalRecordCount != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableTotalRecordCount", enableTotalRecordCount)); + } + + if (enableImages != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableImages", enableImages)); + } + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getItemsValidateBeforeCall(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, UUID adjacentTo, Integer indexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages, final ApiCallback _callback) throws ApiException { + return getItemsCall(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, indexNumber, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, _callback); + + } + + /** + * Gets items based on a query. + * + * @param userId The user id supplied as query parameter; this is required when not using an API key. (optional) + * @param maxOfficialRating Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). (optional) + * @param hasThemeSong Optional filter by items with theme songs. (optional) + * @param hasThemeVideo Optional filter by items with theme videos. (optional) + * @param hasSubtitles Optional filter by items with subtitles. (optional) + * @param hasSpecialFeature Optional filter by items with special features. (optional) + * @param hasTrailer Optional filter by items with trailers. (optional) + * @param adjacentTo Optional. Return items that are siblings of a supplied item. (optional) + * @param indexNumber Optional filter by index number. (optional) + * @param parentIndexNumber Optional filter by parent index number. (optional) + * @param hasParentalRating Optional filter by items that have or do not have a parental rating. (optional) + * @param isHd Optional filter by items that are HD or not. (optional) + * @param is4K Optional filter by items that are 4K or not. (optional) + * @param locationTypes Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. (optional) + * @param excludeLocationTypes Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. (optional) + * @param isMissing Optional filter by items that are missing episodes or not. (optional) + * @param isUnaired Optional filter by items that are unaired episodes or not. (optional) + * @param minCommunityRating Optional filter by minimum community rating. (optional) + * @param minCriticRating Optional filter by minimum critic rating. (optional) + * @param minPremiereDate Optional. The minimum premiere date. Format = ISO. (optional) + * @param minDateLastSaved Optional. The minimum last saved date. Format = ISO. (optional) + * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. Format = ISO. (optional) + * @param maxPremiereDate Optional. The maximum premiere date. Format = ISO. (optional) + * @param hasOverview Optional filter by items that have an overview or not. (optional) + * @param hasImdbId Optional filter by items that have an IMDb id or not. (optional) + * @param hasTmdbId Optional filter by items that have a TMDb id or not. (optional) + * @param hasTvdbId Optional filter by items that have a TVDb id or not. (optional) + * @param isMovie Optional filter for live tv movies. (optional) + * @param isSeries Optional filter for live tv series. (optional) + * @param isNews Optional filter for live tv news. (optional) + * @param isKids Optional filter for live tv kids. (optional) + * @param isSports Optional filter for live tv sports. (optional) + * @param excludeItemIds Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. (optional) + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) + * @param limit Optional. The maximum number of records to return. (optional) + * @param recursive When searching within folders, this determines whether or not the search will be recursive. true/false. (optional) + * @param searchTerm Optional. Filter based on a search term. (optional) + * @param sortOrder Sort Order - Ascending, Descending. (optional) + * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) + * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) + * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) + * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) + * @param filters Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. (optional) + * @param isFavorite Optional filter by items that are marked as favorite, or not. (optional) + * @param mediaTypes Optional filter by MediaType. Allows multiple, comma delimited. (optional) + * @param imageTypes Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. (optional) + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) + * @param isPlayed Optional filter by items that are played, or not. (optional) + * @param genres Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. (optional) + * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. (optional) + * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. (optional) + * @param years Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. (optional) + * @param enableUserData Optional, include user data. (optional) + * @param imageTypeLimit Optional, the max number of images to return, per image type. (optional) + * @param enableImageTypes Optional. The image types to include in the output. (optional) + * @param person Optional. If specified, results will be filtered to include only those containing the specified person. (optional) + * @param personIds Optional. If specified, results will be filtered to include only those containing the specified person id. (optional) + * @param personTypes Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. (optional) + * @param studios Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. (optional) + * @param artists Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. (optional) + * @param excludeArtistIds Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. (optional) + * @param artistIds Optional. If specified, results will be filtered to include only those containing the specified artist id. (optional) + * @param albumArtistIds Optional. If specified, results will be filtered to include only those containing the specified album artist id. (optional) + * @param contributingArtistIds Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. (optional) + * @param albums Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. (optional) + * @param albumIds Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. (optional) + * @param ids Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. (optional) + * @param videoTypes Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. (optional) + * @param minOfficialRating Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). (optional) + * @param isLocked Optional filter by items that are locked. (optional) + * @param isPlaceHolder Optional filter by items that are placeholders. (optional) + * @param hasOfficialRating Optional filter by items that have official ratings. (optional) + * @param collapseBoxSetItems Whether or not to hide items behind their boxsets. (optional) + * @param minWidth Optional. Filter by the minimum width of the item. (optional) + * @param minHeight Optional. Filter by the minimum height of the item. (optional) + * @param maxWidth Optional. Filter by the maximum width of the item. (optional) + * @param maxHeight Optional. Filter by the maximum height of the item. (optional) + * @param is3D Optional filter by items that are 3D, or not. (optional) + * @param seriesStatus Optional filter by Series Status. Allows multiple, comma delimited. (optional) + * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater than a given input string. (optional) + * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input string. (optional) + * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input string. (optional) + * @param studioIds Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. (optional) + * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. (optional) + * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) + * @param enableImages Optional, include image information in output. (optional, default to true) + * @return BaseItemDtoQueryResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
+ */ + public BaseItemDtoQueryResult getItems(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, UUID adjacentTo, Integer indexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages) throws ApiException { + ApiResponse localVarResp = getItemsWithHttpInfo(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, indexNumber, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages); + return localVarResp.getData(); + } + + /** + * Gets items based on a query. + * + * @param userId The user id supplied as query parameter; this is required when not using an API key. (optional) + * @param maxOfficialRating Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). (optional) + * @param hasThemeSong Optional filter by items with theme songs. (optional) + * @param hasThemeVideo Optional filter by items with theme videos. (optional) + * @param hasSubtitles Optional filter by items with subtitles. (optional) + * @param hasSpecialFeature Optional filter by items with special features. (optional) + * @param hasTrailer Optional filter by items with trailers. (optional) + * @param adjacentTo Optional. Return items that are siblings of a supplied item. (optional) + * @param indexNumber Optional filter by index number. (optional) + * @param parentIndexNumber Optional filter by parent index number. (optional) + * @param hasParentalRating Optional filter by items that have or do not have a parental rating. (optional) + * @param isHd Optional filter by items that are HD or not. (optional) + * @param is4K Optional filter by items that are 4K or not. (optional) + * @param locationTypes Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. (optional) + * @param excludeLocationTypes Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. (optional) + * @param isMissing Optional filter by items that are missing episodes or not. (optional) + * @param isUnaired Optional filter by items that are unaired episodes or not. (optional) + * @param minCommunityRating Optional filter by minimum community rating. (optional) + * @param minCriticRating Optional filter by minimum critic rating. (optional) + * @param minPremiereDate Optional. The minimum premiere date. Format = ISO. (optional) + * @param minDateLastSaved Optional. The minimum last saved date. Format = ISO. (optional) + * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. Format = ISO. (optional) + * @param maxPremiereDate Optional. The maximum premiere date. Format = ISO. (optional) + * @param hasOverview Optional filter by items that have an overview or not. (optional) + * @param hasImdbId Optional filter by items that have an IMDb id or not. (optional) + * @param hasTmdbId Optional filter by items that have a TMDb id or not. (optional) + * @param hasTvdbId Optional filter by items that have a TVDb id or not. (optional) + * @param isMovie Optional filter for live tv movies. (optional) + * @param isSeries Optional filter for live tv series. (optional) + * @param isNews Optional filter for live tv news. (optional) + * @param isKids Optional filter for live tv kids. (optional) + * @param isSports Optional filter for live tv sports. (optional) + * @param excludeItemIds Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. (optional) + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) + * @param limit Optional. The maximum number of records to return. (optional) + * @param recursive When searching within folders, this determines whether or not the search will be recursive. true/false. (optional) + * @param searchTerm Optional. Filter based on a search term. (optional) + * @param sortOrder Sort Order - Ascending, Descending. (optional) + * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) + * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) + * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) + * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) + * @param filters Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. (optional) + * @param isFavorite Optional filter by items that are marked as favorite, or not. (optional) + * @param mediaTypes Optional filter by MediaType. Allows multiple, comma delimited. (optional) + * @param imageTypes Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. (optional) + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) + * @param isPlayed Optional filter by items that are played, or not. (optional) + * @param genres Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. (optional) + * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. (optional) + * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. (optional) + * @param years Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. (optional) + * @param enableUserData Optional, include user data. (optional) + * @param imageTypeLimit Optional, the max number of images to return, per image type. (optional) + * @param enableImageTypes Optional. The image types to include in the output. (optional) + * @param person Optional. If specified, results will be filtered to include only those containing the specified person. (optional) + * @param personIds Optional. If specified, results will be filtered to include only those containing the specified person id. (optional) + * @param personTypes Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. (optional) + * @param studios Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. (optional) + * @param artists Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. (optional) + * @param excludeArtistIds Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. (optional) + * @param artistIds Optional. If specified, results will be filtered to include only those containing the specified artist id. (optional) + * @param albumArtistIds Optional. If specified, results will be filtered to include only those containing the specified album artist id. (optional) + * @param contributingArtistIds Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. (optional) + * @param albums Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. (optional) + * @param albumIds Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. (optional) + * @param ids Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. (optional) + * @param videoTypes Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. (optional) + * @param minOfficialRating Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). (optional) + * @param isLocked Optional filter by items that are locked. (optional) + * @param isPlaceHolder Optional filter by items that are placeholders. (optional) + * @param hasOfficialRating Optional filter by items that have official ratings. (optional) + * @param collapseBoxSetItems Whether or not to hide items behind their boxsets. (optional) + * @param minWidth Optional. Filter by the minimum width of the item. (optional) + * @param minHeight Optional. Filter by the minimum height of the item. (optional) + * @param maxWidth Optional. Filter by the maximum width of the item. (optional) + * @param maxHeight Optional. Filter by the maximum height of the item. (optional) + * @param is3D Optional filter by items that are 3D, or not. (optional) + * @param seriesStatus Optional filter by Series Status. Allows multiple, comma delimited. (optional) + * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater than a given input string. (optional) + * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input string. (optional) + * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input string. (optional) + * @param studioIds Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. (optional) + * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. (optional) + * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) + * @param enableImages Optional, include image information in output. (optional, default to true) + * @return ApiResponse<BaseItemDtoQueryResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
+ */ + public ApiResponse getItemsWithHttpInfo(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, UUID adjacentTo, Integer indexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages) throws ApiException { + okhttp3.Call localVarCall = getItemsValidateBeforeCall(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, indexNumber, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Gets items based on a query. (asynchronously) + * + * @param userId The user id supplied as query parameter; this is required when not using an API key. (optional) + * @param maxOfficialRating Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). (optional) + * @param hasThemeSong Optional filter by items with theme songs. (optional) + * @param hasThemeVideo Optional filter by items with theme videos. (optional) + * @param hasSubtitles Optional filter by items with subtitles. (optional) + * @param hasSpecialFeature Optional filter by items with special features. (optional) + * @param hasTrailer Optional filter by items with trailers. (optional) + * @param adjacentTo Optional. Return items that are siblings of a supplied item. (optional) + * @param indexNumber Optional filter by index number. (optional) + * @param parentIndexNumber Optional filter by parent index number. (optional) + * @param hasParentalRating Optional filter by items that have or do not have a parental rating. (optional) + * @param isHd Optional filter by items that are HD or not. (optional) + * @param is4K Optional filter by items that are 4K or not. (optional) + * @param locationTypes Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. (optional) + * @param excludeLocationTypes Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. (optional) + * @param isMissing Optional filter by items that are missing episodes or not. (optional) + * @param isUnaired Optional filter by items that are unaired episodes or not. (optional) + * @param minCommunityRating Optional filter by minimum community rating. (optional) + * @param minCriticRating Optional filter by minimum critic rating. (optional) + * @param minPremiereDate Optional. The minimum premiere date. Format = ISO. (optional) + * @param minDateLastSaved Optional. The minimum last saved date. Format = ISO. (optional) + * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. Format = ISO. (optional) + * @param maxPremiereDate Optional. The maximum premiere date. Format = ISO. (optional) + * @param hasOverview Optional filter by items that have an overview or not. (optional) + * @param hasImdbId Optional filter by items that have an IMDb id or not. (optional) + * @param hasTmdbId Optional filter by items that have a TMDb id or not. (optional) + * @param hasTvdbId Optional filter by items that have a TVDb id or not. (optional) + * @param isMovie Optional filter for live tv movies. (optional) + * @param isSeries Optional filter for live tv series. (optional) + * @param isNews Optional filter for live tv news. (optional) + * @param isKids Optional filter for live tv kids. (optional) + * @param isSports Optional filter for live tv sports. (optional) + * @param excludeItemIds Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. (optional) + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) + * @param limit Optional. The maximum number of records to return. (optional) + * @param recursive When searching within folders, this determines whether or not the search will be recursive. true/false. (optional) + * @param searchTerm Optional. Filter based on a search term. (optional) + * @param sortOrder Sort Order - Ascending, Descending. (optional) + * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) + * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) + * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) + * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) + * @param filters Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. (optional) + * @param isFavorite Optional filter by items that are marked as favorite, or not. (optional) + * @param mediaTypes Optional filter by MediaType. Allows multiple, comma delimited. (optional) + * @param imageTypes Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. (optional) + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) + * @param isPlayed Optional filter by items that are played, or not. (optional) + * @param genres Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. (optional) + * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. (optional) + * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. (optional) + * @param years Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. (optional) + * @param enableUserData Optional, include user data. (optional) + * @param imageTypeLimit Optional, the max number of images to return, per image type. (optional) + * @param enableImageTypes Optional. The image types to include in the output. (optional) + * @param person Optional. If specified, results will be filtered to include only those containing the specified person. (optional) + * @param personIds Optional. If specified, results will be filtered to include only those containing the specified person id. (optional) + * @param personTypes Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. (optional) + * @param studios Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. (optional) + * @param artists Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. (optional) + * @param excludeArtistIds Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. (optional) + * @param artistIds Optional. If specified, results will be filtered to include only those containing the specified artist id. (optional) + * @param albumArtistIds Optional. If specified, results will be filtered to include only those containing the specified album artist id. (optional) + * @param contributingArtistIds Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. (optional) + * @param albums Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. (optional) + * @param albumIds Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. (optional) + * @param ids Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. (optional) + * @param videoTypes Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. (optional) + * @param minOfficialRating Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). (optional) + * @param isLocked Optional filter by items that are locked. (optional) + * @param isPlaceHolder Optional filter by items that are placeholders. (optional) + * @param hasOfficialRating Optional filter by items that have official ratings. (optional) + * @param collapseBoxSetItems Whether or not to hide items behind their boxsets. (optional) + * @param minWidth Optional. Filter by the minimum width of the item. (optional) + * @param minHeight Optional. Filter by the minimum height of the item. (optional) + * @param maxWidth Optional. Filter by the maximum width of the item. (optional) + * @param maxHeight Optional. Filter by the maximum height of the item. (optional) + * @param is3D Optional filter by items that are 3D, or not. (optional) + * @param seriesStatus Optional filter by Series Status. Allows multiple, comma delimited. (optional) + * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater than a given input string. (optional) + * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input string. (optional) + * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input string. (optional) + * @param studioIds Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. (optional) + * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. (optional) + * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) + * @param enableImages Optional, include image information in output. (optional, default to true) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call getItemsAsync(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, UUID adjacentTo, Integer indexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getItemsValidateBeforeCall(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, indexNumber, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getResumeItems + * @param userId The user id. (optional) + * @param startIndex The start index. (optional) + * @param limit The item limit. (optional) + * @param searchTerm The search term. (optional) + * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) + * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) + * @param mediaTypes Optional. Filter by MediaType. Allows multiple, comma delimited. (optional) + * @param enableUserData Optional. Include user data. (optional) + * @param imageTypeLimit Optional. The max number of images to return, per image type. (optional) + * @param enableImageTypes Optional. The image types to include in the output. (optional) + * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) + * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) + * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) + * @param enableImages Optional. Include image information in output. (optional, default to true) + * @param excludeActiveSessions Optional. Whether to exclude the currently active sessions. (optional, default to false) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 Items returned. -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call getResumeItemsCall(UUID userId, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List mediaTypes, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, List excludeItemTypes, List includeItemTypes, Boolean enableTotalRecordCount, Boolean enableImages, Boolean excludeActiveSessions, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/UserItems/Resume"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + + if (startIndex != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("startIndex", startIndex)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (searchTerm != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchTerm", searchTerm)); + } + + if (parentId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("parentId", parentId)); + } + + if (fields != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "fields", fields)); + } + + if (mediaTypes != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "mediaTypes", mediaTypes)); + } + + if (enableUserData != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableUserData", enableUserData)); + } + + if (imageTypeLimit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("imageTypeLimit", imageTypeLimit)); + } + + if (enableImageTypes != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "enableImageTypes", enableImageTypes)); + } + + if (excludeItemTypes != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "excludeItemTypes", excludeItemTypes)); + } + + if (includeItemTypes != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "includeItemTypes", includeItemTypes)); + } + + if (enableTotalRecordCount != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableTotalRecordCount", enableTotalRecordCount)); + } + + if (enableImages != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableImages", enableImages)); + } + + if (excludeActiveSessions != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludeActiveSessions", excludeActiveSessions)); + } + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getResumeItemsValidateBeforeCall(UUID userId, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List mediaTypes, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, List excludeItemTypes, List includeItemTypes, Boolean enableTotalRecordCount, Boolean enableImages, Boolean excludeActiveSessions, final ApiCallback _callback) throws ApiException { + return getResumeItemsCall(userId, startIndex, limit, searchTerm, parentId, fields, mediaTypes, enableUserData, imageTypeLimit, enableImageTypes, excludeItemTypes, includeItemTypes, enableTotalRecordCount, enableImages, excludeActiveSessions, _callback); + + } + + /** + * Gets items based on a query. + * + * @param userId The user id. (optional) + * @param startIndex The start index. (optional) + * @param limit The item limit. (optional) + * @param searchTerm The search term. (optional) + * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) + * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) + * @param mediaTypes Optional. Filter by MediaType. Allows multiple, comma delimited. (optional) + * @param enableUserData Optional. Include user data. (optional) + * @param imageTypeLimit Optional. The max number of images to return, per image type. (optional) + * @param enableImageTypes Optional. The image types to include in the output. (optional) + * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) + * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) + * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) + * @param enableImages Optional. Include image information in output. (optional, default to true) + * @param excludeActiveSessions Optional. Whether to exclude the currently active sessions. (optional, default to false) + * @return BaseItemDtoQueryResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 Items returned. -
401 Unauthorized -
403 Forbidden -
+ */ + public BaseItemDtoQueryResult getResumeItems(UUID userId, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List mediaTypes, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, List excludeItemTypes, List includeItemTypes, Boolean enableTotalRecordCount, Boolean enableImages, Boolean excludeActiveSessions) throws ApiException { + ApiResponse localVarResp = getResumeItemsWithHttpInfo(userId, startIndex, limit, searchTerm, parentId, fields, mediaTypes, enableUserData, imageTypeLimit, enableImageTypes, excludeItemTypes, includeItemTypes, enableTotalRecordCount, enableImages, excludeActiveSessions); + return localVarResp.getData(); + } + + /** + * Gets items based on a query. + * + * @param userId The user id. (optional) + * @param startIndex The start index. (optional) + * @param limit The item limit. (optional) + * @param searchTerm The search term. (optional) + * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) + * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) + * @param mediaTypes Optional. Filter by MediaType. Allows multiple, comma delimited. (optional) + * @param enableUserData Optional. Include user data. (optional) + * @param imageTypeLimit Optional. The max number of images to return, per image type. (optional) + * @param enableImageTypes Optional. The image types to include in the output. (optional) + * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) + * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) + * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) + * @param enableImages Optional. Include image information in output. (optional, default to true) + * @param excludeActiveSessions Optional. Whether to exclude the currently active sessions. (optional, default to false) + * @return ApiResponse<BaseItemDtoQueryResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 Items returned. -
401 Unauthorized -
403 Forbidden -
+ */ + public ApiResponse getResumeItemsWithHttpInfo(UUID userId, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List mediaTypes, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, List excludeItemTypes, List includeItemTypes, Boolean enableTotalRecordCount, Boolean enableImages, Boolean excludeActiveSessions) throws ApiException { + okhttp3.Call localVarCall = getResumeItemsValidateBeforeCall(userId, startIndex, limit, searchTerm, parentId, fields, mediaTypes, enableUserData, imageTypeLimit, enableImageTypes, excludeItemTypes, includeItemTypes, enableTotalRecordCount, enableImages, excludeActiveSessions, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Gets items based on a query. (asynchronously) + * + * @param userId The user id. (optional) + * @param startIndex The start index. (optional) + * @param limit The item limit. (optional) + * @param searchTerm The search term. (optional) + * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) + * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) + * @param mediaTypes Optional. Filter by MediaType. Allows multiple, comma delimited. (optional) + * @param enableUserData Optional. Include user data. (optional) + * @param imageTypeLimit Optional. The max number of images to return, per image type. (optional) + * @param enableImageTypes Optional. The image types to include in the output. (optional) + * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) + * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) + * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) + * @param enableImages Optional. Include image information in output. (optional, default to true) + * @param excludeActiveSessions Optional. Whether to exclude the currently active sessions. (optional, default to false) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 Items returned. -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call getResumeItemsAsync(UUID userId, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List mediaTypes, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, List excludeItemTypes, List includeItemTypes, Boolean enableTotalRecordCount, Boolean enableImages, Boolean excludeActiveSessions, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getResumeItemsValidateBeforeCall(userId, startIndex, limit, searchTerm, parentId, fields, mediaTypes, enableUserData, imageTypeLimit, enableImageTypes, excludeItemTypes, includeItemTypes, enableTotalRecordCount, enableImages, excludeActiveSessions, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for updateItemUserData + * @param itemId The item id. (required) + * @param updateUserItemDataDto New user data object. (required) + * @param userId The user id. (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 return updated user item data. -
404 Item is not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call updateItemUserDataCall(UUID itemId, UpdateUserItemDataDto updateUserItemDataDto, UUID userId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = updateUserItemDataDto; + + // create path and map variables + String localVarPath = "/UserItems/{itemId}/UserData" + .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json", + "text/json", + "application/*+json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call updateItemUserDataValidateBeforeCall(UUID itemId, UpdateUserItemDataDto updateUserItemDataDto, UUID userId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'itemId' is set + if (itemId == null) { + throw new ApiException("Missing the required parameter 'itemId' when calling updateItemUserData(Async)"); + } + + // verify the required parameter 'updateUserItemDataDto' is set + if (updateUserItemDataDto == null) { + throw new ApiException("Missing the required parameter 'updateUserItemDataDto' when calling updateItemUserData(Async)"); + } + + return updateItemUserDataCall(itemId, updateUserItemDataDto, userId, _callback); + + } + + /** + * Update Item User Data. + * + * @param itemId The item id. (required) + * @param updateUserItemDataDto New user data object. (required) + * @param userId The user id. (optional) + * @return UserItemDataDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 return updated user item data. -
404 Item is not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public UserItemDataDto updateItemUserData(UUID itemId, UpdateUserItemDataDto updateUserItemDataDto, UUID userId) throws ApiException { + ApiResponse localVarResp = updateItemUserDataWithHttpInfo(itemId, updateUserItemDataDto, userId); + return localVarResp.getData(); + } + + /** + * Update Item User Data. + * + * @param itemId The item id. (required) + * @param updateUserItemDataDto New user data object. (required) + * @param userId The user id. (optional) + * @return ApiResponse<UserItemDataDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 return updated user item data. -
404 Item is not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public ApiResponse updateItemUserDataWithHttpInfo(UUID itemId, UpdateUserItemDataDto updateUserItemDataDto, UUID userId) throws ApiException { + okhttp3.Call localVarCall = updateItemUserDataValidateBeforeCall(itemId, updateUserItemDataDto, userId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Update Item User Data. (asynchronously) + * + * @param itemId The item id. (required) + * @param updateUserItemDataDto New user data object. (required) + * @param userId The user id. (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 return updated user item data. -
404 Item is not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call updateItemUserDataAsync(UUID itemId, UpdateUserItemDataDto updateUserItemDataDto, UUID userId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = updateItemUserDataValidateBeforeCall(itemId, updateUserItemDataDto, userId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/LibraryApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/LibraryApi.java similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/LibraryApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/LibraryApi.java index b4e3aaaa4b6..8a30040a193 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/LibraryApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/LibraryApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,12 +30,15 @@ import java.io.IOException; import org.openapitools.client.model.AllThemeMediaResult; import org.openapitools.client.model.BaseItemDto; import org.openapitools.client.model.BaseItemDtoQueryResult; +import org.openapitools.client.model.CollectionType; import java.io.File; import org.openapitools.client.model.ItemCounts; import org.openapitools.client.model.ItemFields; +import org.openapitools.client.model.ItemSortBy; import org.openapitools.client.model.LibraryOptionsResultDto; import org.openapitools.client.model.MediaUpdateInfoDto; import org.openapitools.client.model.ProblemDetails; +import org.openapitools.client.model.SortOrder; import org.openapitools.client.model.ThemeMediaResult; import java.util.UUID; @@ -94,6 +97,7 @@ public class LibraryApi { Status Code Description Response Headers 204 Item deleted. - 401 Unauthorized access. - + 404 Item not found. - 403 Forbidden - */ @@ -166,6 +170,7 @@ public class LibraryApi { Status Code Description Response Headers 204 Item deleted. - 401 Unauthorized access. - + 404 Item not found. - 403 Forbidden - */ @@ -185,6 +190,7 @@ public class LibraryApi { Status Code Description Response Headers 204 Item deleted. - 401 Unauthorized access. - + 404 Item not found. - 403 Forbidden - */ @@ -206,6 +212,7 @@ public class LibraryApi { Status Code Description Response Headers 204 Item deleted. - 401 Unauthorized access. - + 404 Item not found. - 403 Forbidden - */ @@ -227,6 +234,7 @@ public class LibraryApi { Status Code Description Response Headers 204 Items deleted. - 401 Unauthorized access. - + 404 Not Found - 403 Forbidden - */ @@ -297,6 +305,7 @@ public class LibraryApi { Status Code Description Response Headers 204 Items deleted. - 401 Unauthorized access. - + 404 Not Found - 403 Forbidden - */ @@ -316,6 +325,7 @@ public class LibraryApi { Status Code Description Response Headers 204 Items deleted. - 401 Unauthorized access. - + 404 Not Found - 403 Forbidden - */ @@ -337,6 +347,7 @@ public class LibraryApi { Status Code Description Response Headers 204 Items deleted. - 401 Unauthorized access. - + 404 Not Found - 403 Forbidden - */ @@ -1086,7 +1097,7 @@ public class LibraryApi { 403 Forbidden - */ - public okhttp3.Call getLibraryOptionsInfoCall(String libraryContentType, Boolean isNewLibrary, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLibraryOptionsInfoCall(CollectionType libraryContentType, Boolean isNewLibrary, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1141,7 +1152,7 @@ public class LibraryApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getLibraryOptionsInfoValidateBeforeCall(String libraryContentType, Boolean isNewLibrary, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getLibraryOptionsInfoValidateBeforeCall(CollectionType libraryContentType, Boolean isNewLibrary, final ApiCallback _callback) throws ApiException { return getLibraryOptionsInfoCall(libraryContentType, isNewLibrary, _callback); } @@ -1162,7 +1173,7 @@ public class LibraryApi { 403 Forbidden - */ - public LibraryOptionsResultDto getLibraryOptionsInfo(String libraryContentType, Boolean isNewLibrary) throws ApiException { + public LibraryOptionsResultDto getLibraryOptionsInfo(CollectionType libraryContentType, Boolean isNewLibrary) throws ApiException { ApiResponse localVarResp = getLibraryOptionsInfoWithHttpInfo(libraryContentType, isNewLibrary); return localVarResp.getData(); } @@ -1183,7 +1194,7 @@ public class LibraryApi { 403 Forbidden - */ - public ApiResponse getLibraryOptionsInfoWithHttpInfo(String libraryContentType, Boolean isNewLibrary) throws ApiException { + public ApiResponse getLibraryOptionsInfoWithHttpInfo(CollectionType libraryContentType, Boolean isNewLibrary) throws ApiException { okhttp3.Call localVarCall = getLibraryOptionsInfoValidateBeforeCall(libraryContentType, isNewLibrary, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -1206,7 +1217,7 @@ public class LibraryApi { 403 Forbidden - */ - public okhttp3.Call getLibraryOptionsInfoAsync(String libraryContentType, Boolean isNewLibrary, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLibraryOptionsInfoAsync(CollectionType libraryContentType, Boolean isNewLibrary, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getLibraryOptionsInfoValidateBeforeCall(libraryContentType, isNewLibrary, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -2494,6 +2505,8 @@ public class LibraryApi { * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param inheritFromParent Optional. Determines whether or not parent items should be searched for theme media. (optional, default to false) + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) + * @param sortOrder Optional. Sort Order - Ascending, Descending. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2507,7 +2520,7 @@ public class LibraryApi { 403 Forbidden - */ - public okhttp3.Call getThemeMediaCall(UUID itemId, UUID userId, Boolean inheritFromParent, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getThemeMediaCall(UUID itemId, UUID userId, Boolean inheritFromParent, List sortBy, List sortOrder, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2541,6 +2554,14 @@ public class LibraryApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("inheritFromParent", inheritFromParent)); } + if (sortBy != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "sortBy", sortBy)); + } + + if (sortOrder != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "sortOrder", sortOrder)); + } + final String[] localVarAccepts = { "application/json", "application/json; profile=CamelCase", @@ -2563,13 +2584,13 @@ public class LibraryApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getThemeMediaValidateBeforeCall(UUID itemId, UUID userId, Boolean inheritFromParent, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getThemeMediaValidateBeforeCall(UUID itemId, UUID userId, Boolean inheritFromParent, List sortBy, List sortOrder, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getThemeMedia(Async)"); } - return getThemeMediaCall(itemId, userId, inheritFromParent, _callback); + return getThemeMediaCall(itemId, userId, inheritFromParent, sortBy, sortOrder, _callback); } @@ -2579,6 +2600,8 @@ public class LibraryApi { * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param inheritFromParent Optional. Determines whether or not parent items should be searched for theme media. (optional, default to false) + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) + * @param sortOrder Optional. Sort Order - Ascending, Descending. (optional) * @return AllThemeMediaResult * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2591,8 +2614,8 @@ public class LibraryApi { 403 Forbidden - */ - public AllThemeMediaResult getThemeMedia(UUID itemId, UUID userId, Boolean inheritFromParent) throws ApiException { - ApiResponse localVarResp = getThemeMediaWithHttpInfo(itemId, userId, inheritFromParent); + public AllThemeMediaResult getThemeMedia(UUID itemId, UUID userId, Boolean inheritFromParent, List sortBy, List sortOrder) throws ApiException { + ApiResponse localVarResp = getThemeMediaWithHttpInfo(itemId, userId, inheritFromParent, sortBy, sortOrder); return localVarResp.getData(); } @@ -2602,6 +2625,8 @@ public class LibraryApi { * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param inheritFromParent Optional. Determines whether or not parent items should be searched for theme media. (optional, default to false) + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) + * @param sortOrder Optional. Sort Order - Ascending, Descending. (optional) * @return ApiResponse<AllThemeMediaResult> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2614,8 +2639,8 @@ public class LibraryApi { 403 Forbidden - */ - public ApiResponse getThemeMediaWithHttpInfo(UUID itemId, UUID userId, Boolean inheritFromParent) throws ApiException { - okhttp3.Call localVarCall = getThemeMediaValidateBeforeCall(itemId, userId, inheritFromParent, null); + public ApiResponse getThemeMediaWithHttpInfo(UUID itemId, UUID userId, Boolean inheritFromParent, List sortBy, List sortOrder) throws ApiException { + okhttp3.Call localVarCall = getThemeMediaValidateBeforeCall(itemId, userId, inheritFromParent, sortBy, sortOrder, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2626,6 +2651,8 @@ public class LibraryApi { * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param inheritFromParent Optional. Determines whether or not parent items should be searched for theme media. (optional, default to false) + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) + * @param sortOrder Optional. Sort Order - Ascending, Descending. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2639,9 +2666,9 @@ public class LibraryApi { 403 Forbidden - */ - public okhttp3.Call getThemeMediaAsync(UUID itemId, UUID userId, Boolean inheritFromParent, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getThemeMediaAsync(UUID itemId, UUID userId, Boolean inheritFromParent, List sortBy, List sortOrder, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getThemeMediaValidateBeforeCall(itemId, userId, inheritFromParent, _callback); + okhttp3.Call localVarCall = getThemeMediaValidateBeforeCall(itemId, userId, inheritFromParent, sortBy, sortOrder, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -2651,6 +2678,8 @@ public class LibraryApi { * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param inheritFromParent Optional. Determines whether or not parent items should be searched for theme media. (optional, default to false) + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) + * @param sortOrder Optional. Sort Order - Ascending, Descending. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2664,7 +2693,7 @@ public class LibraryApi { 403 Forbidden - */ - public okhttp3.Call getThemeSongsCall(UUID itemId, UUID userId, Boolean inheritFromParent, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getThemeSongsCall(UUID itemId, UUID userId, Boolean inheritFromParent, List sortBy, List sortOrder, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2698,6 +2727,14 @@ public class LibraryApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("inheritFromParent", inheritFromParent)); } + if (sortBy != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "sortBy", sortBy)); + } + + if (sortOrder != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "sortOrder", sortOrder)); + } + final String[] localVarAccepts = { "application/json", "application/json; profile=CamelCase", @@ -2720,13 +2757,13 @@ public class LibraryApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getThemeSongsValidateBeforeCall(UUID itemId, UUID userId, Boolean inheritFromParent, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getThemeSongsValidateBeforeCall(UUID itemId, UUID userId, Boolean inheritFromParent, List sortBy, List sortOrder, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getThemeSongs(Async)"); } - return getThemeSongsCall(itemId, userId, inheritFromParent, _callback); + return getThemeSongsCall(itemId, userId, inheritFromParent, sortBy, sortOrder, _callback); } @@ -2736,6 +2773,8 @@ public class LibraryApi { * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param inheritFromParent Optional. Determines whether or not parent items should be searched for theme media. (optional, default to false) + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) + * @param sortOrder Optional. Sort Order - Ascending, Descending. (optional) * @return ThemeMediaResult * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2748,8 +2787,8 @@ public class LibraryApi { 403 Forbidden - */ - public ThemeMediaResult getThemeSongs(UUID itemId, UUID userId, Boolean inheritFromParent) throws ApiException { - ApiResponse localVarResp = getThemeSongsWithHttpInfo(itemId, userId, inheritFromParent); + public ThemeMediaResult getThemeSongs(UUID itemId, UUID userId, Boolean inheritFromParent, List sortBy, List sortOrder) throws ApiException { + ApiResponse localVarResp = getThemeSongsWithHttpInfo(itemId, userId, inheritFromParent, sortBy, sortOrder); return localVarResp.getData(); } @@ -2759,6 +2798,8 @@ public class LibraryApi { * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param inheritFromParent Optional. Determines whether or not parent items should be searched for theme media. (optional, default to false) + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) + * @param sortOrder Optional. Sort Order - Ascending, Descending. (optional) * @return ApiResponse<ThemeMediaResult> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2771,8 +2812,8 @@ public class LibraryApi { 403 Forbidden - */ - public ApiResponse getThemeSongsWithHttpInfo(UUID itemId, UUID userId, Boolean inheritFromParent) throws ApiException { - okhttp3.Call localVarCall = getThemeSongsValidateBeforeCall(itemId, userId, inheritFromParent, null); + public ApiResponse getThemeSongsWithHttpInfo(UUID itemId, UUID userId, Boolean inheritFromParent, List sortBy, List sortOrder) throws ApiException { + okhttp3.Call localVarCall = getThemeSongsValidateBeforeCall(itemId, userId, inheritFromParent, sortBy, sortOrder, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2783,6 +2824,8 @@ public class LibraryApi { * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param inheritFromParent Optional. Determines whether or not parent items should be searched for theme media. (optional, default to false) + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) + * @param sortOrder Optional. Sort Order - Ascending, Descending. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2796,9 +2839,9 @@ public class LibraryApi { 403 Forbidden - */ - public okhttp3.Call getThemeSongsAsync(UUID itemId, UUID userId, Boolean inheritFromParent, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getThemeSongsAsync(UUID itemId, UUID userId, Boolean inheritFromParent, List sortBy, List sortOrder, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getThemeSongsValidateBeforeCall(itemId, userId, inheritFromParent, _callback); + okhttp3.Call localVarCall = getThemeSongsValidateBeforeCall(itemId, userId, inheritFromParent, sortBy, sortOrder, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -2808,6 +2851,8 @@ public class LibraryApi { * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param inheritFromParent Optional. Determines whether or not parent items should be searched for theme media. (optional, default to false) + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) + * @param sortOrder Optional. Sort Order - Ascending, Descending. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2821,7 +2866,7 @@ public class LibraryApi { 403 Forbidden - */ - public okhttp3.Call getThemeVideosCall(UUID itemId, UUID userId, Boolean inheritFromParent, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getThemeVideosCall(UUID itemId, UUID userId, Boolean inheritFromParent, List sortBy, List sortOrder, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2855,6 +2900,14 @@ public class LibraryApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("inheritFromParent", inheritFromParent)); } + if (sortBy != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "sortBy", sortBy)); + } + + if (sortOrder != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "sortOrder", sortOrder)); + } + final String[] localVarAccepts = { "application/json", "application/json; profile=CamelCase", @@ -2877,13 +2930,13 @@ public class LibraryApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getThemeVideosValidateBeforeCall(UUID itemId, UUID userId, Boolean inheritFromParent, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getThemeVideosValidateBeforeCall(UUID itemId, UUID userId, Boolean inheritFromParent, List sortBy, List sortOrder, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getThemeVideos(Async)"); } - return getThemeVideosCall(itemId, userId, inheritFromParent, _callback); + return getThemeVideosCall(itemId, userId, inheritFromParent, sortBy, sortOrder, _callback); } @@ -2893,6 +2946,8 @@ public class LibraryApi { * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param inheritFromParent Optional. Determines whether or not parent items should be searched for theme media. (optional, default to false) + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) + * @param sortOrder Optional. Sort Order - Ascending, Descending. (optional) * @return ThemeMediaResult * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2905,8 +2960,8 @@ public class LibraryApi { 403 Forbidden - */ - public ThemeMediaResult getThemeVideos(UUID itemId, UUID userId, Boolean inheritFromParent) throws ApiException { - ApiResponse localVarResp = getThemeVideosWithHttpInfo(itemId, userId, inheritFromParent); + public ThemeMediaResult getThemeVideos(UUID itemId, UUID userId, Boolean inheritFromParent, List sortBy, List sortOrder) throws ApiException { + ApiResponse localVarResp = getThemeVideosWithHttpInfo(itemId, userId, inheritFromParent, sortBy, sortOrder); return localVarResp.getData(); } @@ -2916,6 +2971,8 @@ public class LibraryApi { * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param inheritFromParent Optional. Determines whether or not parent items should be searched for theme media. (optional, default to false) + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) + * @param sortOrder Optional. Sort Order - Ascending, Descending. (optional) * @return ApiResponse<ThemeMediaResult> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2928,8 +2985,8 @@ public class LibraryApi { 403 Forbidden - */ - public ApiResponse getThemeVideosWithHttpInfo(UUID itemId, UUID userId, Boolean inheritFromParent) throws ApiException { - okhttp3.Call localVarCall = getThemeVideosValidateBeforeCall(itemId, userId, inheritFromParent, null); + public ApiResponse getThemeVideosWithHttpInfo(UUID itemId, UUID userId, Boolean inheritFromParent, List sortBy, List sortOrder) throws ApiException { + okhttp3.Call localVarCall = getThemeVideosValidateBeforeCall(itemId, userId, inheritFromParent, sortBy, sortOrder, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2940,6 +2997,8 @@ public class LibraryApi { * @param itemId The item id. (required) * @param userId Optional. Filter by user id, and attach user data. (optional) * @param inheritFromParent Optional. Determines whether or not parent items should be searched for theme media. (optional, default to false) + * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) + * @param sortOrder Optional. Sort Order - Ascending, Descending. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2953,9 +3012,9 @@ public class LibraryApi { 403 Forbidden - */ - public okhttp3.Call getThemeVideosAsync(UUID itemId, UUID userId, Boolean inheritFromParent, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getThemeVideosAsync(UUID itemId, UUID userId, Boolean inheritFromParent, List sortBy, List sortOrder, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getThemeVideosValidateBeforeCall(itemId, userId, inheritFromParent, _callback); + okhttp3.Call localVarCall = getThemeVideosValidateBeforeCall(itemId, userId, inheritFromParent, sortBy, sortOrder, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/LibraryStructureApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/LibraryStructureApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/LibraryStructureApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/LibraryStructureApi.java index 8afc657d3fe..e752320ebcd 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/LibraryStructureApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/LibraryStructureApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -950,6 +950,7 @@ public class LibraryStructureApi { Response Details Status Code Description Response Headers 204 Library updated. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -980,6 +981,9 @@ public class LibraryStructureApi { Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -1016,6 +1020,7 @@ public class LibraryStructureApi { Response Details Status Code Description Response Headers 204 Library updated. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -1035,6 +1040,7 @@ public class LibraryStructureApi { Response Details Status Code Description Response Headers 204 Library updated. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -1056,6 +1062,7 @@ public class LibraryStructureApi { Response Details Status Code Description Response Headers 204 Library updated. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/LiveTvApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/LiveTvApi.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/LiveTvApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/LiveTvApi.java index fe7e7966fdc..b5ed28684e4 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/LiveTvApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/LiveTvApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -36,6 +36,7 @@ import org.openapitools.client.model.GetProgramsDto; import org.openapitools.client.model.GuideInfo; import org.openapitools.client.model.ImageType; import org.openapitools.client.model.ItemFields; +import org.openapitools.client.model.ItemSortBy; import org.openapitools.client.model.ListingsProviderInfo; import org.openapitools.client.model.LiveTvInfo; import org.openapitools.client.model.NameIdPair; @@ -1576,6 +1577,7 @@ public class LiveTvApi { Response Details Status Code Description Response Headers 200 Live tv channel returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -1654,6 +1656,7 @@ public class LiveTvApi { Response Details Status Code Description Response Headers 200 Live tv channel returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -1675,6 +1678,7 @@ public class LiveTvApi { Response Details Status Code Description Response Headers 200 Live tv channel returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -1698,6 +1702,7 @@ public class LiveTvApi { Response Details Status Code Description Response Headers 200 Live tv channel returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -2705,7 +2710,7 @@ public class LiveTvApi { 403 Forbidden - */ - public okhttp3.Call getLiveTvChannelsCall(ChannelType type, UUID userId, Integer startIndex, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer limit, Boolean isFavorite, Boolean isLiked, Boolean isDisliked, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, List fields, Boolean enableUserData, List sortBy, SortOrder sortOrder, Boolean enableFavoriteSorting, Boolean addCurrentProgram, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLiveTvChannelsCall(ChannelType type, UUID userId, Integer startIndex, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer limit, Boolean isFavorite, Boolean isLiked, Boolean isDisliked, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, List fields, Boolean enableUserData, List sortBy, SortOrder sortOrder, Boolean enableFavoriteSorting, Boolean addCurrentProgram, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2836,7 +2841,7 @@ public class LiveTvApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getLiveTvChannelsValidateBeforeCall(ChannelType type, UUID userId, Integer startIndex, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer limit, Boolean isFavorite, Boolean isLiked, Boolean isDisliked, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, List fields, Boolean enableUserData, List sortBy, SortOrder sortOrder, Boolean enableFavoriteSorting, Boolean addCurrentProgram, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getLiveTvChannelsValidateBeforeCall(ChannelType type, UUID userId, Integer startIndex, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer limit, Boolean isFavorite, Boolean isLiked, Boolean isDisliked, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, List fields, Boolean enableUserData, List sortBy, SortOrder sortOrder, Boolean enableFavoriteSorting, Boolean addCurrentProgram, final ApiCallback _callback) throws ApiException { return getLiveTvChannelsCall(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, _callback); } @@ -2876,7 +2881,7 @@ public class LiveTvApi { 403 Forbidden - */ - public BaseItemDtoQueryResult getLiveTvChannels(ChannelType type, UUID userId, Integer startIndex, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer limit, Boolean isFavorite, Boolean isLiked, Boolean isDisliked, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, List fields, Boolean enableUserData, List sortBy, SortOrder sortOrder, Boolean enableFavoriteSorting, Boolean addCurrentProgram) throws ApiException { + public BaseItemDtoQueryResult getLiveTvChannels(ChannelType type, UUID userId, Integer startIndex, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer limit, Boolean isFavorite, Boolean isLiked, Boolean isDisliked, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, List fields, Boolean enableUserData, List sortBy, SortOrder sortOrder, Boolean enableFavoriteSorting, Boolean addCurrentProgram) throws ApiException { ApiResponse localVarResp = getLiveTvChannelsWithHttpInfo(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram); return localVarResp.getData(); } @@ -2916,7 +2921,7 @@ public class LiveTvApi { 403 Forbidden - */ - public ApiResponse getLiveTvChannelsWithHttpInfo(ChannelType type, UUID userId, Integer startIndex, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer limit, Boolean isFavorite, Boolean isLiked, Boolean isDisliked, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, List fields, Boolean enableUserData, List sortBy, SortOrder sortOrder, Boolean enableFavoriteSorting, Boolean addCurrentProgram) throws ApiException { + public ApiResponse getLiveTvChannelsWithHttpInfo(ChannelType type, UUID userId, Integer startIndex, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer limit, Boolean isFavorite, Boolean isLiked, Boolean isDisliked, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, List fields, Boolean enableUserData, List sortBy, SortOrder sortOrder, Boolean enableFavoriteSorting, Boolean addCurrentProgram) throws ApiException { okhttp3.Call localVarCall = getLiveTvChannelsValidateBeforeCall(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -2958,7 +2963,7 @@ public class LiveTvApi { 403 Forbidden - */ - public okhttp3.Call getLiveTvChannelsAsync(ChannelType type, UUID userId, Integer startIndex, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer limit, Boolean isFavorite, Boolean isLiked, Boolean isDisliked, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, List fields, Boolean enableUserData, List sortBy, SortOrder sortOrder, Boolean enableFavoriteSorting, Boolean addCurrentProgram, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLiveTvChannelsAsync(ChannelType type, UUID userId, Integer startIndex, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer limit, Boolean isFavorite, Boolean isLiked, Boolean isDisliked, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, List fields, Boolean enableUserData, List sortBy, SortOrder sortOrder, Boolean enableFavoriteSorting, Boolean addCurrentProgram, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getLiveTvChannelsValidateBeforeCall(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -3133,7 +3138,7 @@ public class LiveTvApi { 403 Forbidden - */ - public okhttp3.Call getLiveTvProgramsCall(List channelIds, UUID userId, OffsetDateTime minStartDate, Boolean hasAired, Boolean isAiring, OffsetDateTime maxStartDate, OffsetDateTime minEndDate, OffsetDateTime maxEndDate, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer startIndex, Integer limit, List sortBy, List sortOrder, List genres, List genreIds, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, String seriesTimerId, UUID librarySeriesId, List fields, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLiveTvProgramsCall(List channelIds, UUID userId, OffsetDateTime minStartDate, Boolean hasAired, Boolean isAiring, OffsetDateTime maxStartDate, OffsetDateTime minEndDate, OffsetDateTime maxEndDate, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer startIndex, Integer limit, List sortBy, List sortOrder, List genres, List genreIds, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, String seriesTimerId, UUID librarySeriesId, List fields, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -3288,7 +3293,7 @@ public class LiveTvApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getLiveTvProgramsValidateBeforeCall(List channelIds, UUID userId, OffsetDateTime minStartDate, Boolean hasAired, Boolean isAiring, OffsetDateTime maxStartDate, OffsetDateTime minEndDate, OffsetDateTime maxEndDate, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer startIndex, Integer limit, List sortBy, List sortOrder, List genres, List genreIds, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, String seriesTimerId, UUID librarySeriesId, List fields, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getLiveTvProgramsValidateBeforeCall(List channelIds, UUID userId, OffsetDateTime minStartDate, Boolean hasAired, Boolean isAiring, OffsetDateTime maxStartDate, OffsetDateTime minEndDate, OffsetDateTime maxEndDate, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer startIndex, Integer limit, List sortBy, List sortOrder, List genres, List genreIds, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, String seriesTimerId, UUID librarySeriesId, List fields, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { return getLiveTvProgramsCall(channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, _callback); } @@ -3334,7 +3339,7 @@ public class LiveTvApi { 403 Forbidden - */ - public BaseItemDtoQueryResult getLiveTvPrograms(List channelIds, UUID userId, OffsetDateTime minStartDate, Boolean hasAired, Boolean isAiring, OffsetDateTime maxStartDate, OffsetDateTime minEndDate, OffsetDateTime maxEndDate, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer startIndex, Integer limit, List sortBy, List sortOrder, List genres, List genreIds, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, String seriesTimerId, UUID librarySeriesId, List fields, Boolean enableTotalRecordCount) throws ApiException { + public BaseItemDtoQueryResult getLiveTvPrograms(List channelIds, UUID userId, OffsetDateTime minStartDate, Boolean hasAired, Boolean isAiring, OffsetDateTime maxStartDate, OffsetDateTime minEndDate, OffsetDateTime maxEndDate, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer startIndex, Integer limit, List sortBy, List sortOrder, List genres, List genreIds, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, String seriesTimerId, UUID librarySeriesId, List fields, Boolean enableTotalRecordCount) throws ApiException { ApiResponse localVarResp = getLiveTvProgramsWithHttpInfo(channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount); return localVarResp.getData(); } @@ -3380,7 +3385,7 @@ public class LiveTvApi { 403 Forbidden - */ - public ApiResponse getLiveTvProgramsWithHttpInfo(List channelIds, UUID userId, OffsetDateTime minStartDate, Boolean hasAired, Boolean isAiring, OffsetDateTime maxStartDate, OffsetDateTime minEndDate, OffsetDateTime maxEndDate, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer startIndex, Integer limit, List sortBy, List sortOrder, List genres, List genreIds, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, String seriesTimerId, UUID librarySeriesId, List fields, Boolean enableTotalRecordCount) throws ApiException { + public ApiResponse getLiveTvProgramsWithHttpInfo(List channelIds, UUID userId, OffsetDateTime minStartDate, Boolean hasAired, Boolean isAiring, OffsetDateTime maxStartDate, OffsetDateTime minEndDate, OffsetDateTime maxEndDate, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer startIndex, Integer limit, List sortBy, List sortOrder, List genres, List genreIds, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, String seriesTimerId, UUID librarySeriesId, List fields, Boolean enableTotalRecordCount) throws ApiException { okhttp3.Call localVarCall = getLiveTvProgramsValidateBeforeCall(channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -3428,7 +3433,7 @@ public class LiveTvApi { 403 Forbidden - */ - public okhttp3.Call getLiveTvProgramsAsync(List channelIds, UUID userId, OffsetDateTime minStartDate, Boolean hasAired, Boolean isAiring, OffsetDateTime maxStartDate, OffsetDateTime minEndDate, OffsetDateTime maxEndDate, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer startIndex, Integer limit, List sortBy, List sortOrder, List genres, List genreIds, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, String seriesTimerId, UUID librarySeriesId, List fields, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLiveTvProgramsAsync(List channelIds, UUID userId, OffsetDateTime minStartDate, Boolean hasAired, Boolean isAiring, OffsetDateTime maxStartDate, OffsetDateTime minEndDate, OffsetDateTime maxEndDate, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Integer startIndex, Integer limit, List sortBy, List sortOrder, List genres, List genreIds, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, String seriesTimerId, UUID librarySeriesId, List fields, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getLiveTvProgramsValidateBeforeCall(channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -3981,6 +3986,7 @@ public class LiveTvApi { Response Details Status Code Description Response Headers 200 Recording returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -4059,6 +4065,7 @@ public class LiveTvApi { Response Details Status Code Description Response Headers 200 Recording returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -4080,6 +4087,7 @@ public class LiveTvApi { Response Details Status Code Description Response Headers 200 Recording returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -4103,6 +4111,7 @@ public class LiveTvApi { Response Details Status Code Description Response Headers 200 Recording returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/LocalizationApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/LocalizationApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/LocalizationApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/LocalizationApi.java index 45e2497047e..94a8d0ef4bc 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/LocalizationApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/LocalizationApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/DlnaApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/LyricsApi.java similarity index 61% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/DlnaApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/LyricsApi.java index d75621c2ef9..619fd7a4710 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/DlnaApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/LyricsApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -27,9 +27,11 @@ import com.google.gson.reflect.TypeToken; import java.io.IOException; -import org.openapitools.client.model.DeviceProfile; -import org.openapitools.client.model.DeviceProfileInfo; +import java.io.File; +import org.openapitools.client.model.LyricDto; import org.openapitools.client.model.ProblemDetails; +import org.openapitools.client.model.RemoteLyricInfoDto; +import java.util.UUID; import java.lang.reflect.Type; import java.util.ArrayList; @@ -37,16 +39,16 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -public class DlnaApi { +public class LyricsApi { private ApiClient localVarApiClient; private int localHostIndex; private String localCustomBaseUrl; - public DlnaApi() { + public LyricsApi() { this(Configuration.getDefaultApiClient()); } - public DlnaApi(ApiClient apiClient) { + public LyricsApi(ApiClient apiClient) { this.localVarApiClient = apiClient; } @@ -75,8 +77,8 @@ public class DlnaApi { } /** - * Build call for createProfile - * @param deviceProfile Device profile. (optional) + * Build call for deleteLyrics + * @param itemId The item id. (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -84,140 +86,13 @@ public class DlnaApi { - + +
Response Details
Status Code Description Response Headers
204 Device profile created. -
204 Lyric deleted. -
404 Item not found. -
401 Unauthorized -
403 Forbidden -
*/ - public okhttp3.Call createProfileCall(DeviceProfile deviceProfile, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = deviceProfile; - - // create path and map variables - String localVarPath = "/Dlna/Profiles"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json", - "text/json", - "application/*+json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createProfileValidateBeforeCall(DeviceProfile deviceProfile, final ApiCallback _callback) throws ApiException { - return createProfileCall(deviceProfile, _callback); - - } - - /** - * Creates a profile. - * - * @param deviceProfile Device profile. (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Device profile created. -
401 Unauthorized -
403 Forbidden -
- */ - public void createProfile(DeviceProfile deviceProfile) throws ApiException { - createProfileWithHttpInfo(deviceProfile); - } - - /** - * Creates a profile. - * - * @param deviceProfile Device profile. (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Device profile created. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse createProfileWithHttpInfo(DeviceProfile deviceProfile) throws ApiException { - okhttp3.Call localVarCall = createProfileValidateBeforeCall(deviceProfile, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * Creates a profile. (asynchronously) - * - * @param deviceProfile Device profile. (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Device profile created. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call createProfileAsync(DeviceProfile deviceProfile, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createProfileValidateBeforeCall(deviceProfile, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for deleteProfile - * @param profileId Profile id. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
204 Device profile deleted. -
404 Device profile not found. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call deleteProfileCall(String profileId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteLyricsCall(UUID itemId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -234,8 +109,8 @@ public class DlnaApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Dlna/Profiles/{profileId}" - .replace("{" + "profileId" + "}", localVarApiClient.escapeString(profileId.toString())); + String localVarPath = "/Audio/{itemId}/Lyrics" + .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -265,60 +140,60 @@ public class DlnaApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteProfileValidateBeforeCall(String profileId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'profileId' is set - if (profileId == null) { - throw new ApiException("Missing the required parameter 'profileId' when calling deleteProfile(Async)"); + private okhttp3.Call deleteLyricsValidateBeforeCall(UUID itemId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'itemId' is set + if (itemId == null) { + throw new ApiException("Missing the required parameter 'itemId' when calling deleteLyrics(Async)"); } - return deleteProfileCall(profileId, _callback); + return deleteLyricsCall(itemId, _callback); } /** - * Deletes a profile. + * Deletes an external lyric file. * - * @param profileId Profile id. (required) + * @param itemId The item id. (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - - + +
Response Details
Status Code Description Response Headers
204 Device profile deleted. -
404 Device profile not found. -
204 Lyric deleted. -
404 Item not found. -
401 Unauthorized -
403 Forbidden -
*/ - public void deleteProfile(String profileId) throws ApiException { - deleteProfileWithHttpInfo(profileId); + public void deleteLyrics(UUID itemId) throws ApiException { + deleteLyricsWithHttpInfo(itemId); } /** - * Deletes a profile. + * Deletes an external lyric file. * - * @param profileId Profile id. (required) + * @param itemId The item id. (required) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - - + +
Response Details
Status Code Description Response Headers
204 Device profile deleted. -
404 Device profile not found. -
204 Lyric deleted. -
404 Item not found. -
401 Unauthorized -
403 Forbidden -
*/ - public ApiResponse deleteProfileWithHttpInfo(String profileId) throws ApiException { - okhttp3.Call localVarCall = deleteProfileValidateBeforeCall(profileId, null); + public ApiResponse deleteLyricsWithHttpInfo(UUID itemId) throws ApiException { + okhttp3.Call localVarCall = deleteLyricsValidateBeforeCall(itemId, null); return localVarApiClient.execute(localVarCall); } /** - * Deletes a profile. (asynchronously) + * Deletes an external lyric file. (asynchronously) * - * @param profileId Profile id. (required) + * @param itemId The item id. (required) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -326,20 +201,22 @@ public class DlnaApi { - - + +
Response Details
Status Code Description Response Headers
204 Device profile deleted. -
404 Device profile not found. -
204 Lyric deleted. -
404 Item not found. -
401 Unauthorized -
403 Forbidden -
*/ - public okhttp3.Call deleteProfileAsync(String profileId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteLyricsAsync(UUID itemId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteProfileValidateBeforeCall(profileId, _callback); + okhttp3.Call localVarCall = deleteLyricsValidateBeforeCall(itemId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } /** - * Build call for getDefaultProfile + * Build call for downloadRemoteLyrics + * @param itemId The item id. (required) + * @param lyricId The lyric id. (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -347,12 +224,13 @@ public class DlnaApi { - + +
Response Details
Status Code Description Response Headers
200 Default device profile returned. -
200 Lyric downloaded. -
404 Item not found. -
401 Unauthorized -
403 Forbidden -
*/ - public okhttp3.Call getDefaultProfileCall(final ApiCallback _callback) throws ApiException { + public okhttp3.Call downloadRemoteLyricsCall(UUID itemId, String lyricId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -369,7 +247,9 @@ public class DlnaApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Dlna/Profiles/Default"; + String localVarPath = "/Audio/{itemId}/RemoteSearch/Lyrics/{lyricId}" + .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())) + .replace("{" + "lyricId" + "}", localVarApiClient.escapeString(lyricId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -394,470 +274,76 @@ public class DlnaApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getDefaultProfileValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return getDefaultProfileCall(_callback); - - } - - /** - * Gets the default profile. - * - * @return DeviceProfile - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Default device profile returned. -
401 Unauthorized -
403 Forbidden -
- */ - public DeviceProfile getDefaultProfile() throws ApiException { - ApiResponse localVarResp = getDefaultProfileWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * Gets the default profile. - * - * @return ApiResponse<DeviceProfile> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Default device profile returned. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getDefaultProfileWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getDefaultProfileValidateBeforeCall(null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets the default profile. (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Default device profile returned. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getDefaultProfileAsync(final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getDefaultProfileValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getProfile - * @param profileId Profile Id. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Device profile returned. -
404 Device profile not found. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getProfileCall(String profileId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Dlna/Profiles/{profileId}" - .replace("{" + "profileId" + "}", localVarApiClient.escapeString(profileId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getProfileValidateBeforeCall(String profileId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'profileId' is set - if (profileId == null) { - throw new ApiException("Missing the required parameter 'profileId' when calling getProfile(Async)"); - } - - return getProfileCall(profileId, _callback); - - } - - /** - * Gets a single profile. - * - * @param profileId Profile Id. (required) - * @return DeviceProfile - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Device profile returned. -
404 Device profile not found. -
401 Unauthorized -
403 Forbidden -
- */ - public DeviceProfile getProfile(String profileId) throws ApiException { - ApiResponse localVarResp = getProfileWithHttpInfo(profileId); - return localVarResp.getData(); - } - - /** - * Gets a single profile. - * - * @param profileId Profile Id. (required) - * @return ApiResponse<DeviceProfile> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Device profile returned. -
404 Device profile not found. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getProfileWithHttpInfo(String profileId) throws ApiException { - okhttp3.Call localVarCall = getProfileValidateBeforeCall(profileId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets a single profile. (asynchronously) - * - * @param profileId Profile Id. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Device profile returned. -
404 Device profile not found. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getProfileAsync(String profileId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getProfileValidateBeforeCall(profileId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getProfileInfos - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Device profile infos returned. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getProfileInfosCall(final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Dlna/ProfileInfos"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getProfileInfosValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return getProfileInfosCall(_callback); - - } - - /** - * Get profile infos. - * - * @return List<DeviceProfileInfo> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Device profile infos returned. -
401 Unauthorized -
403 Forbidden -
- */ - public List getProfileInfos() throws ApiException { - ApiResponse> localVarResp = getProfileInfosWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * Get profile infos. - * - * @return ApiResponse<List<DeviceProfileInfo>> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Device profile infos returned. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse> getProfileInfosWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getProfileInfosValidateBeforeCall(null); - Type localVarReturnType = new TypeToken>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get profile infos. (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Device profile infos returned. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getProfileInfosAsync(final ApiCallback> _callback) throws ApiException { - - okhttp3.Call localVarCall = getProfileInfosValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for updateProfile - * @param profileId Profile id. (required) - * @param deviceProfile Device profile. (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
204 Device profile updated. -
404 Device profile not found. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call updateProfileCall(String profileId, DeviceProfile deviceProfile, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = deviceProfile; - - // create path and map variables - String localVarPath = "/Dlna/Profiles/{profileId}" - .replace("{" + "profileId" + "}", localVarApiClient.escapeString(profileId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json", - "text/json", - "application/*+json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call updateProfileValidateBeforeCall(String profileId, DeviceProfile deviceProfile, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'profileId' is set - if (profileId == null) { - throw new ApiException("Missing the required parameter 'profileId' when calling updateProfile(Async)"); + private okhttp3.Call downloadRemoteLyricsValidateBeforeCall(UUID itemId, String lyricId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'itemId' is set + if (itemId == null) { + throw new ApiException("Missing the required parameter 'itemId' when calling downloadRemoteLyrics(Async)"); } - return updateProfileCall(profileId, deviceProfile, _callback); + // verify the required parameter 'lyricId' is set + if (lyricId == null) { + throw new ApiException("Missing the required parameter 'lyricId' when calling downloadRemoteLyrics(Async)"); + } + + return downloadRemoteLyricsCall(itemId, lyricId, _callback); } /** - * Updates a profile. + * Downloads a remote lyric. * - * @param profileId Profile id. (required) - * @param deviceProfile Device profile. (optional) + * @param itemId The item id. (required) + * @param lyricId The lyric id. (required) + * @return LyricDto * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - - + +
Response Details
Status Code Description Response Headers
204 Device profile updated. -
404 Device profile not found. -
200 Lyric downloaded. -
404 Item not found. -
401 Unauthorized -
403 Forbidden -
*/ - public void updateProfile(String profileId, DeviceProfile deviceProfile) throws ApiException { - updateProfileWithHttpInfo(profileId, deviceProfile); + public LyricDto downloadRemoteLyrics(UUID itemId, String lyricId) throws ApiException { + ApiResponse localVarResp = downloadRemoteLyricsWithHttpInfo(itemId, lyricId); + return localVarResp.getData(); } /** - * Updates a profile. + * Downloads a remote lyric. * - * @param profileId Profile id. (required) - * @param deviceProfile Device profile. (optional) - * @return ApiResponse<Void> + * @param itemId The item id. (required) + * @param lyricId The lyric id. (required) + * @return ApiResponse<LyricDto> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - - + +
Response Details
Status Code Description Response Headers
204 Device profile updated. -
404 Device profile not found. -
200 Lyric downloaded. -
404 Item not found. -
401 Unauthorized -
403 Forbidden -
*/ - public ApiResponse updateProfileWithHttpInfo(String profileId, DeviceProfile deviceProfile) throws ApiException { - okhttp3.Call localVarCall = updateProfileValidateBeforeCall(profileId, deviceProfile, null); - return localVarApiClient.execute(localVarCall); + public ApiResponse downloadRemoteLyricsWithHttpInfo(UUID itemId, String lyricId) throws ApiException { + okhttp3.Call localVarCall = downloadRemoteLyricsValidateBeforeCall(itemId, lyricId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Updates a profile. (asynchronously) + * Downloads a remote lyric. (asynchronously) * - * @param profileId Profile id. (required) - * @param deviceProfile Device profile. (optional) + * @param itemId The item id. (required) + * @param lyricId The lyric id. (required) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -865,16 +351,603 @@ public class DlnaApi { - - + +
Response Details
Status Code Description Response Headers
204 Device profile updated. -
404 Device profile not found. -
200 Lyric downloaded. -
404 Item not found. -
401 Unauthorized -
403 Forbidden -
*/ - public okhttp3.Call updateProfileAsync(String profileId, DeviceProfile deviceProfile, final ApiCallback _callback) throws ApiException { + public okhttp3.Call downloadRemoteLyricsAsync(UUID itemId, String lyricId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = updateProfileValidateBeforeCall(profileId, deviceProfile, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); + okhttp3.Call localVarCall = downloadRemoteLyricsValidateBeforeCall(itemId, lyricId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getLyrics + * @param itemId Item id. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Lyrics returned. -
404 Something went wrong. No Lyrics will be returned. -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call getLyricsCall(UUID itemId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/Audio/{itemId}/Lyrics" + .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getLyricsValidateBeforeCall(UUID itemId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'itemId' is set + if (itemId == null) { + throw new ApiException("Missing the required parameter 'itemId' when calling getLyrics(Async)"); + } + + return getLyricsCall(itemId, _callback); + + } + + /** + * Gets an item's lyrics. + * + * @param itemId Item id. (required) + * @return LyricDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Lyrics returned. -
404 Something went wrong. No Lyrics will be returned. -
401 Unauthorized -
403 Forbidden -
+ */ + public LyricDto getLyrics(UUID itemId) throws ApiException { + ApiResponse localVarResp = getLyricsWithHttpInfo(itemId); + return localVarResp.getData(); + } + + /** + * Gets an item's lyrics. + * + * @param itemId Item id. (required) + * @return ApiResponse<LyricDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Lyrics returned. -
404 Something went wrong. No Lyrics will be returned. -
401 Unauthorized -
403 Forbidden -
+ */ + public ApiResponse getLyricsWithHttpInfo(UUID itemId) throws ApiException { + okhttp3.Call localVarCall = getLyricsValidateBeforeCall(itemId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Gets an item's lyrics. (asynchronously) + * + * @param itemId Item id. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Lyrics returned. -
404 Something went wrong. No Lyrics will be returned. -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call getLyricsAsync(UUID itemId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getLyricsValidateBeforeCall(itemId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getRemoteLyrics + * @param lyricId The remote provider item id. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 File returned. -
404 Lyric not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call getRemoteLyricsCall(String lyricId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/Providers/Lyrics/{lyricId}" + .replace("{" + "lyricId" + "}", localVarApiClient.escapeString(lyricId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getRemoteLyricsValidateBeforeCall(String lyricId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'lyricId' is set + if (lyricId == null) { + throw new ApiException("Missing the required parameter 'lyricId' when calling getRemoteLyrics(Async)"); + } + + return getRemoteLyricsCall(lyricId, _callback); + + } + + /** + * Gets the remote lyrics. + * + * @param lyricId The remote provider item id. (required) + * @return LyricDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 File returned. -
404 Lyric not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public LyricDto getRemoteLyrics(String lyricId) throws ApiException { + ApiResponse localVarResp = getRemoteLyricsWithHttpInfo(lyricId); + return localVarResp.getData(); + } + + /** + * Gets the remote lyrics. + * + * @param lyricId The remote provider item id. (required) + * @return ApiResponse<LyricDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 File returned. -
404 Lyric not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public ApiResponse getRemoteLyricsWithHttpInfo(String lyricId) throws ApiException { + okhttp3.Call localVarCall = getRemoteLyricsValidateBeforeCall(lyricId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Gets the remote lyrics. (asynchronously) + * + * @param lyricId The remote provider item id. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 File returned. -
404 Lyric not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call getRemoteLyricsAsync(String lyricId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getRemoteLyricsValidateBeforeCall(lyricId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for searchRemoteLyrics + * @param itemId The item id. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Lyrics retrieved. -
404 Item not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call searchRemoteLyricsCall(UUID itemId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/Audio/{itemId}/RemoteSearch/Lyrics" + .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call searchRemoteLyricsValidateBeforeCall(UUID itemId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'itemId' is set + if (itemId == null) { + throw new ApiException("Missing the required parameter 'itemId' when calling searchRemoteLyrics(Async)"); + } + + return searchRemoteLyricsCall(itemId, _callback); + + } + + /** + * Search remote lyrics. + * + * @param itemId The item id. (required) + * @return List<RemoteLyricInfoDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Lyrics retrieved. -
404 Item not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public List searchRemoteLyrics(UUID itemId) throws ApiException { + ApiResponse> localVarResp = searchRemoteLyricsWithHttpInfo(itemId); + return localVarResp.getData(); + } + + /** + * Search remote lyrics. + * + * @param itemId The item id. (required) + * @return ApiResponse<List<RemoteLyricInfoDto>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Lyrics retrieved. -
404 Item not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public ApiResponse> searchRemoteLyricsWithHttpInfo(UUID itemId) throws ApiException { + okhttp3.Call localVarCall = searchRemoteLyricsValidateBeforeCall(itemId, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Search remote lyrics. (asynchronously) + * + * @param itemId The item id. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Lyrics retrieved. -
404 Item not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call searchRemoteLyricsAsync(UUID itemId, final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = searchRemoteLyricsValidateBeforeCall(itemId, _callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for uploadLyrics + * @param itemId The item the lyric belongs to. (required) + * @param fileName Name of the file being uploaded. (required) + * @param body (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + + +
Response Details
Status Code Description Response Headers
200 Lyrics uploaded. -
400 Error processing upload. -
404 Item not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call uploadLyricsCall(UUID itemId, String fileName, File body, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/Audio/{itemId}/Lyrics" + .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (fileName != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("fileName", fileName)); + } + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "text/plain" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call uploadLyricsValidateBeforeCall(UUID itemId, String fileName, File body, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'itemId' is set + if (itemId == null) { + throw new ApiException("Missing the required parameter 'itemId' when calling uploadLyrics(Async)"); + } + + // verify the required parameter 'fileName' is set + if (fileName == null) { + throw new ApiException("Missing the required parameter 'fileName' when calling uploadLyrics(Async)"); + } + + return uploadLyricsCall(itemId, fileName, body, _callback); + + } + + /** + * Upload an external lyric file. + * + * @param itemId The item the lyric belongs to. (required) + * @param fileName Name of the file being uploaded. (required) + * @param body (optional) + * @return LyricDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + +
Response Details
Status Code Description Response Headers
200 Lyrics uploaded. -
400 Error processing upload. -
404 Item not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public LyricDto uploadLyrics(UUID itemId, String fileName, File body) throws ApiException { + ApiResponse localVarResp = uploadLyricsWithHttpInfo(itemId, fileName, body); + return localVarResp.getData(); + } + + /** + * Upload an external lyric file. + * + * @param itemId The item the lyric belongs to. (required) + * @param fileName Name of the file being uploaded. (required) + * @param body (optional) + * @return ApiResponse<LyricDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + +
Response Details
Status Code Description Response Headers
200 Lyrics uploaded. -
400 Error processing upload. -
404 Item not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public ApiResponse uploadLyricsWithHttpInfo(UUID itemId, String fileName, File body) throws ApiException { + okhttp3.Call localVarCall = uploadLyricsValidateBeforeCall(itemId, fileName, body, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Upload an external lyric file. (asynchronously) + * + * @param itemId The item the lyric belongs to. (required) + * @param fileName Name of the file being uploaded. (required) + * @param body (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + + +
Response Details
Status Code Description Response Headers
200 Lyrics uploaded. -
400 Error processing upload. -
404 Item not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call uploadLyricsAsync(UUID itemId, String fileName, File body, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = uploadLyricsValidateBeforeCall(itemId, fileName, body, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/MediaInfoApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/MediaInfoApi.java similarity index 94% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/MediaInfoApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/MediaInfoApi.java index 058bd4fd19b..f13602cd661 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/MediaInfoApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/MediaInfoApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,6 +32,7 @@ import org.openapitools.client.model.LiveStreamResponse; import org.openapitools.client.model.OpenLiveStreamDto; import org.openapitools.client.model.PlaybackInfoDto; import org.openapitools.client.model.PlaybackInfoResponse; +import org.openapitools.client.model.ProblemDetails; import java.util.UUID; import java.lang.reflect.Type; @@ -346,7 +347,7 @@ public class MediaInfoApi { /** * Build call for getPlaybackInfo * @param itemId The item id. (required) - * @param userId The user id. (required) + * @param userId The user id. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -355,6 +356,7 @@ public class MediaInfoApi { Response Details Status Code Description Response Headers 200 Playback info returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -417,11 +419,6 @@ public class MediaInfoApi { throw new ApiException("Missing the required parameter 'itemId' when calling getPlaybackInfo(Async)"); } - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getPlaybackInfo(Async)"); - } - return getPlaybackInfoCall(itemId, userId, _callback); } @@ -430,7 +427,7 @@ public class MediaInfoApi { * Gets live playback media info for an item. * * @param itemId The item id. (required) - * @param userId The user id. (required) + * @param userId The user id. (optional) * @return PlaybackInfoResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -438,6 +435,7 @@ public class MediaInfoApi { Response Details Status Code Description Response Headers 200 Playback info returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -451,7 +449,7 @@ public class MediaInfoApi { * Gets live playback media info for an item. * * @param itemId The item id. (required) - * @param userId The user id. (required) + * @param userId The user id. (optional) * @return ApiResponse<PlaybackInfoResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -459,6 +457,7 @@ public class MediaInfoApi { Response Details Status Code Description Response Headers 200 Playback info returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -473,7 +472,7 @@ public class MediaInfoApi { * Gets live playback media info for an item. (asynchronously) * * @param itemId The item id. (required) - * @param userId The user id. (required) + * @param userId The user id. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -482,6 +481,7 @@ public class MediaInfoApi { Response Details Status Code Description Response Headers 200 Playback info returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -519,6 +519,7 @@ public class MediaInfoApi { Response Details Status Code Description Response Headers 200 Playback info returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -666,6 +667,7 @@ public class MediaInfoApi { Response Details Status Code Description Response Headers 200 Playback info returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -701,6 +703,7 @@ public class MediaInfoApi { Response Details Status Code Description Response Headers 200 Playback info returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -738,6 +741,7 @@ public class MediaInfoApi { Response Details Status Code Description Response Headers 200 Playback info returned. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -762,6 +766,7 @@ public class MediaInfoApi { * @param itemId The item id. (optional) * @param enableDirectPlay Whether to enable direct play. Default: true. (optional) * @param enableDirectStream Whether to enable direct stream. Default: true. (optional) + * @param alwaysBurnInSubtitleWhenTranscoding Always burn-in subtitle when transcoding. (optional) * @param openLiveStreamDto The open live stream dto. (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -775,7 +780,7 @@ public class MediaInfoApi { 403 Forbidden - */ - public okhttp3.Call openLiveStreamCall(String openToken, UUID userId, String playSessionId, Integer maxStreamingBitrate, Long startTimeTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer maxAudioChannels, UUID itemId, Boolean enableDirectPlay, Boolean enableDirectStream, OpenLiveStreamDto openLiveStreamDto, final ApiCallback _callback) throws ApiException { + public okhttp3.Call openLiveStreamCall(String openToken, UUID userId, String playSessionId, Integer maxStreamingBitrate, Long startTimeTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer maxAudioChannels, UUID itemId, Boolean enableDirectPlay, Boolean enableDirectStream, Boolean alwaysBurnInSubtitleWhenTranscoding, OpenLiveStreamDto openLiveStreamDto, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -844,6 +849,10 @@ public class MediaInfoApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableDirectStream", enableDirectStream)); } + if (alwaysBurnInSubtitleWhenTranscoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("alwaysBurnInSubtitleWhenTranscoding", alwaysBurnInSubtitleWhenTranscoding)); + } + final String[] localVarAccepts = { "application/json", "application/json; profile=CamelCase", @@ -869,8 +878,8 @@ public class MediaInfoApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call openLiveStreamValidateBeforeCall(String openToken, UUID userId, String playSessionId, Integer maxStreamingBitrate, Long startTimeTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer maxAudioChannels, UUID itemId, Boolean enableDirectPlay, Boolean enableDirectStream, OpenLiveStreamDto openLiveStreamDto, final ApiCallback _callback) throws ApiException { - return openLiveStreamCall(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, openLiveStreamDto, _callback); + private okhttp3.Call openLiveStreamValidateBeforeCall(String openToken, UUID userId, String playSessionId, Integer maxStreamingBitrate, Long startTimeTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer maxAudioChannels, UUID itemId, Boolean enableDirectPlay, Boolean enableDirectStream, Boolean alwaysBurnInSubtitleWhenTranscoding, OpenLiveStreamDto openLiveStreamDto, final ApiCallback _callback) throws ApiException { + return openLiveStreamCall(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, alwaysBurnInSubtitleWhenTranscoding, openLiveStreamDto, _callback); } @@ -888,6 +897,7 @@ public class MediaInfoApi { * @param itemId The item id. (optional) * @param enableDirectPlay Whether to enable direct play. Default: true. (optional) * @param enableDirectStream Whether to enable direct stream. Default: true. (optional) + * @param alwaysBurnInSubtitleWhenTranscoding Always burn-in subtitle when transcoding. (optional) * @param openLiveStreamDto The open live stream dto. (optional) * @return LiveStreamResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -900,8 +910,8 @@ public class MediaInfoApi { 403 Forbidden - */ - public LiveStreamResponse openLiveStream(String openToken, UUID userId, String playSessionId, Integer maxStreamingBitrate, Long startTimeTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer maxAudioChannels, UUID itemId, Boolean enableDirectPlay, Boolean enableDirectStream, OpenLiveStreamDto openLiveStreamDto) throws ApiException { - ApiResponse localVarResp = openLiveStreamWithHttpInfo(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, openLiveStreamDto); + public LiveStreamResponse openLiveStream(String openToken, UUID userId, String playSessionId, Integer maxStreamingBitrate, Long startTimeTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer maxAudioChannels, UUID itemId, Boolean enableDirectPlay, Boolean enableDirectStream, Boolean alwaysBurnInSubtitleWhenTranscoding, OpenLiveStreamDto openLiveStreamDto) throws ApiException { + ApiResponse localVarResp = openLiveStreamWithHttpInfo(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, alwaysBurnInSubtitleWhenTranscoding, openLiveStreamDto); return localVarResp.getData(); } @@ -919,6 +929,7 @@ public class MediaInfoApi { * @param itemId The item id. (optional) * @param enableDirectPlay Whether to enable direct play. Default: true. (optional) * @param enableDirectStream Whether to enable direct stream. Default: true. (optional) + * @param alwaysBurnInSubtitleWhenTranscoding Always burn-in subtitle when transcoding. (optional) * @param openLiveStreamDto The open live stream dto. (optional) * @return ApiResponse<LiveStreamResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -931,8 +942,8 @@ public class MediaInfoApi { 403 Forbidden - */ - public ApiResponse openLiveStreamWithHttpInfo(String openToken, UUID userId, String playSessionId, Integer maxStreamingBitrate, Long startTimeTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer maxAudioChannels, UUID itemId, Boolean enableDirectPlay, Boolean enableDirectStream, OpenLiveStreamDto openLiveStreamDto) throws ApiException { - okhttp3.Call localVarCall = openLiveStreamValidateBeforeCall(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, openLiveStreamDto, null); + public ApiResponse openLiveStreamWithHttpInfo(String openToken, UUID userId, String playSessionId, Integer maxStreamingBitrate, Long startTimeTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer maxAudioChannels, UUID itemId, Boolean enableDirectPlay, Boolean enableDirectStream, Boolean alwaysBurnInSubtitleWhenTranscoding, OpenLiveStreamDto openLiveStreamDto) throws ApiException { + okhttp3.Call localVarCall = openLiveStreamValidateBeforeCall(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, alwaysBurnInSubtitleWhenTranscoding, openLiveStreamDto, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -951,6 +962,7 @@ public class MediaInfoApi { * @param itemId The item id. (optional) * @param enableDirectPlay Whether to enable direct play. Default: true. (optional) * @param enableDirectStream Whether to enable direct stream. Default: true. (optional) + * @param alwaysBurnInSubtitleWhenTranscoding Always burn-in subtitle when transcoding. (optional) * @param openLiveStreamDto The open live stream dto. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -964,9 +976,9 @@ public class MediaInfoApi { 403 Forbidden - */ - public okhttp3.Call openLiveStreamAsync(String openToken, UUID userId, String playSessionId, Integer maxStreamingBitrate, Long startTimeTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer maxAudioChannels, UUID itemId, Boolean enableDirectPlay, Boolean enableDirectStream, OpenLiveStreamDto openLiveStreamDto, final ApiCallback _callback) throws ApiException { + public okhttp3.Call openLiveStreamAsync(String openToken, UUID userId, String playSessionId, Integer maxStreamingBitrate, Long startTimeTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer maxAudioChannels, UUID itemId, Boolean enableDirectPlay, Boolean enableDirectStream, Boolean alwaysBurnInSubtitleWhenTranscoding, OpenLiveStreamDto openLiveStreamDto, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = openLiveStreamValidateBeforeCall(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, openLiveStreamDto, _callback); + okhttp3.Call localVarCall = openLiveStreamValidateBeforeCall(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, alwaysBurnInSubtitleWhenTranscoding, openLiveStreamDto, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/OpenSubtitlesApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/MediaSegmentsApi.java similarity index 59% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/OpenSubtitlesApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/MediaSegmentsApi.java index c6cbfe78529..2d311c65a02 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/OpenSubtitlesApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/MediaSegmentsApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -27,8 +27,10 @@ import com.google.gson.reflect.TypeToken; import java.io.IOException; -import org.openapitools.client.model.LoginInfoInput; +import org.openapitools.client.model.MediaSegmentDtoQueryResult; +import org.openapitools.client.model.MediaSegmentType; import org.openapitools.client.model.ProblemDetails; +import java.util.UUID; import java.lang.reflect.Type; import java.util.ArrayList; @@ -36,16 +38,16 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -public class OpenSubtitlesApi { +public class MediaSegmentsApi { private ApiClient localVarApiClient; private int localHostIndex; private String localCustomBaseUrl; - public OpenSubtitlesApi() { + public MediaSegmentsApi() { this(Configuration.getDefaultApiClient()); } - public OpenSubtitlesApi(ApiClient apiClient) { + public MediaSegmentsApi(ApiClient apiClient) { this.localVarApiClient = apiClient; } @@ -74,8 +76,9 @@ public class OpenSubtitlesApi { } /** - * Build call for validateLoginInfo - * @param loginInfoInput (optional) + * Build call for getItemSegments + * @param itemId The ItemId. (required) + * @param includeSegmentTypes Optional filter of requested segment types. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -84,12 +87,12 @@ public class OpenSubtitlesApi { Response Details Status Code Description Response Headers 200 Success - - 400 Bad Request - + 404 Not Found - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call validateLoginInfoCall(LoginInfoInput loginInfoInput, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getItemSegmentsCall(UUID itemId, List includeSegmentTypes, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -103,10 +106,11 @@ public class OpenSubtitlesApi { basePath = null; } - Object localVarPostBody = loginInfoInput; + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Jellyfin.Plugin.OpenSubtitles/ValidateLoginInfo"; + String localVarPath = "/MediaSegments/{itemId}" + .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -114,8 +118,14 @@ public class OpenSubtitlesApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (includeSegmentTypes != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "includeSegmentTypes", includeSegmentTypes)); + } + final String[] localVarAccepts = { - "application/json" + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -123,9 +133,6 @@ public class OpenSubtitlesApi { } final String[] localVarContentTypes = { - "application/json", - "text/json", - "application/*+json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { @@ -133,59 +140,70 @@ public class OpenSubtitlesApi { } String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call validateLoginInfoValidateBeforeCall(LoginInfoInput loginInfoInput, final ApiCallback _callback) throws ApiException { - return validateLoginInfoCall(loginInfoInput, _callback); + private okhttp3.Call getItemSegmentsValidateBeforeCall(UUID itemId, List includeSegmentTypes, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'itemId' is set + if (itemId == null) { + throw new ApiException("Missing the required parameter 'itemId' when calling getItemSegments(Async)"); + } + + return getItemSegmentsCall(itemId, includeSegmentTypes, _callback); } /** + * Gets all media segments based on an itemId. * - * - * @param loginInfoInput (optional) + * @param itemId The ItemId. (required) + * @param includeSegmentTypes Optional filter of requested segment types. (optional) + * @return MediaSegmentDtoQueryResult * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - +
Response Details
Status Code Description Response Headers
200 Success -
400 Bad Request -
404 Not Found -
401 Unauthorized -
403 Forbidden -
*/ - public void validateLoginInfo(LoginInfoInput loginInfoInput) throws ApiException { - validateLoginInfoWithHttpInfo(loginInfoInput); + public MediaSegmentDtoQueryResult getItemSegments(UUID itemId, List includeSegmentTypes) throws ApiException { + ApiResponse localVarResp = getItemSegmentsWithHttpInfo(itemId, includeSegmentTypes); + return localVarResp.getData(); } /** + * Gets all media segments based on an itemId. * - * - * @param loginInfoInput (optional) - * @return ApiResponse<Void> + * @param itemId The ItemId. (required) + * @param includeSegmentTypes Optional filter of requested segment types. (optional) + * @return ApiResponse<MediaSegmentDtoQueryResult> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - +
Response Details
Status Code Description Response Headers
200 Success -
400 Bad Request -
404 Not Found -
401 Unauthorized -
403 Forbidden -
*/ - public ApiResponse validateLoginInfoWithHttpInfo(LoginInfoInput loginInfoInput) throws ApiException { - okhttp3.Call localVarCall = validateLoginInfoValidateBeforeCall(loginInfoInput, null); - return localVarApiClient.execute(localVarCall); + public ApiResponse getItemSegmentsWithHttpInfo(UUID itemId, List includeSegmentTypes) throws ApiException { + okhttp3.Call localVarCall = getItemSegmentsValidateBeforeCall(itemId, includeSegmentTypes, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * (asynchronously) + * Gets all media segments based on an itemId. (asynchronously) * - * @param loginInfoInput (optional) + * @param itemId The ItemId. (required) + * @param includeSegmentTypes Optional filter of requested segment types. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -194,15 +212,16 @@ public class OpenSubtitlesApi { Response Details Status Code Description Response Headers 200 Success - - 400 Bad Request - + 404 Not Found - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call validateLoginInfoAsync(LoginInfoInput loginInfoInput, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getItemSegmentsAsync(UUID itemId, List includeSegmentTypes, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = validateLoginInfoValidateBeforeCall(loginInfoInput, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); + okhttp3.Call localVarCall = getItemSegmentsValidateBeforeCall(itemId, includeSegmentTypes, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/MoviesApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/MoviesApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/MoviesApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/MoviesApi.java index bb367359208..a3bb62d6c55 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/MoviesApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/MoviesApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/MusicGenresApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/MusicGenresApi.java similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/MusicGenresApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/MusicGenresApi.java index fd0ab0d4b09..517d9a5e0d7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/MusicGenresApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/MusicGenresApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,6 +32,7 @@ import org.openapitools.client.model.BaseItemDtoQueryResult; import org.openapitools.client.model.BaseItemKind; import org.openapitools.client.model.ImageType; import org.openapitools.client.model.ItemFields; +import org.openapitools.client.model.ItemSortBy; import org.openapitools.client.model.SortOrder; import java.util.UUID; @@ -257,7 +258,7 @@ public class MusicGenresApi { * @deprecated */ @Deprecated - public okhttp3.Call getMusicGenresCall(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getMusicGenresCall(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -377,7 +378,7 @@ public class MusicGenresApi { @Deprecated @SuppressWarnings("rawtypes") - private okhttp3.Call getMusicGenresValidateBeforeCall(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getMusicGenresValidateBeforeCall(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { return getMusicGenresCall(startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, _callback); } @@ -416,7 +417,7 @@ public class MusicGenresApi { * @deprecated */ @Deprecated - public BaseItemDtoQueryResult getMusicGenres(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount) throws ApiException { + public BaseItemDtoQueryResult getMusicGenres(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount) throws ApiException { ApiResponse localVarResp = getMusicGenresWithHttpInfo(startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount); return localVarResp.getData(); } @@ -455,7 +456,7 @@ public class MusicGenresApi { * @deprecated */ @Deprecated - public ApiResponse getMusicGenresWithHttpInfo(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount) throws ApiException { + public ApiResponse getMusicGenresWithHttpInfo(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount) throws ApiException { okhttp3.Call localVarCall = getMusicGenresValidateBeforeCall(startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -496,7 +497,7 @@ public class MusicGenresApi { * @deprecated */ @Deprecated - public okhttp3.Call getMusicGenresAsync(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getMusicGenresAsync(Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, Boolean isFavorite, Integer imageTypeLimit, List enableImageTypes, UUID userId, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List sortBy, List sortOrder, Boolean enableImages, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getMusicGenresValidateBeforeCall(startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/PackageApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/PackageApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/PackageApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/PackageApi.java index d2f10e72c41..f96f1865d86 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/PackageApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/PackageApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/PersonsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/PersonsApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/PersonsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/PersonsApi.java index b714f1c84f5..99d7cb0804c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/PersonsApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/PersonsApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/PlaylistsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/PlaylistsApi.java new file mode 100644 index 00000000000..34f4f3d00ec --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/PlaylistsApi.java @@ -0,0 +1,1800 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.api; + +import org.openapitools.client.ApiCallback; +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.ApiResponse; +import org.openapitools.client.Configuration; +import org.openapitools.client.Pair; +import org.openapitools.client.ProgressRequestBody; +import org.openapitools.client.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import org.openapitools.client.model.BaseItemDtoQueryResult; +import org.openapitools.client.model.CreatePlaylistDto; +import org.openapitools.client.model.ImageType; +import org.openapitools.client.model.ItemFields; +import org.openapitools.client.model.MediaType; +import org.openapitools.client.model.PlaylistCreationResult; +import org.openapitools.client.model.PlaylistDto; +import org.openapitools.client.model.PlaylistUserPermissions; +import org.openapitools.client.model.ProblemDetails; +import java.util.UUID; +import org.openapitools.client.model.UpdatePlaylistDto; +import org.openapitools.client.model.UpdatePlaylistUserDto; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class PlaylistsApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public PlaylistsApi() { + this(Configuration.getDefaultApiClient()); + } + + public PlaylistsApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for addItemToPlaylist + * @param playlistId The playlist id. (required) + * @param ids Item id, comma delimited. (optional) + * @param userId The userId. (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 Items added to playlist. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public okhttp3.Call addItemToPlaylistCall(UUID playlistId, List ids, UUID userId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/Playlists/{playlistId}/Items" + .replace("{" + "playlistId" + "}", localVarApiClient.escapeString(playlistId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (ids != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "ids", ids)); + } + + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call addItemToPlaylistValidateBeforeCall(UUID playlistId, List ids, UUID userId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'playlistId' is set + if (playlistId == null) { + throw new ApiException("Missing the required parameter 'playlistId' when calling addItemToPlaylist(Async)"); + } + + return addItemToPlaylistCall(playlistId, ids, userId, _callback); + + } + + /** + * Adds items to a playlist. + * + * @param playlistId The playlist id. (required) + * @param ids Item id, comma delimited. (optional) + * @param userId The userId. (optional) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 Items added to playlist. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public void addItemToPlaylist(UUID playlistId, List ids, UUID userId) throws ApiException { + addItemToPlaylistWithHttpInfo(playlistId, ids, userId); + } + + /** + * Adds items to a playlist. + * + * @param playlistId The playlist id. (required) + * @param ids Item id, comma delimited. (optional) + * @param userId The userId. (optional) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 Items added to playlist. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public ApiResponse addItemToPlaylistWithHttpInfo(UUID playlistId, List ids, UUID userId) throws ApiException { + okhttp3.Call localVarCall = addItemToPlaylistValidateBeforeCall(playlistId, ids, userId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Adds items to a playlist. (asynchronously) + * + * @param playlistId The playlist id. (required) + * @param ids Item id, comma delimited. (optional) + * @param userId The userId. (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 Items added to playlist. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public okhttp3.Call addItemToPlaylistAsync(UUID playlistId, List ids, UUID userId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = addItemToPlaylistValidateBeforeCall(playlistId, ids, userId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for createPlaylist + * @param name The playlist name. (optional) + * @param ids The item ids. (optional) + * @param userId The user id. (optional) + * @param mediaType The media type. (optional) + * @param createPlaylistDto The create playlist payload. (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 Playlist created. -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call createPlaylistCall(String name, List ids, UUID userId, MediaType mediaType, CreatePlaylistDto createPlaylistDto, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = createPlaylistDto; + + // create path and map variables + String localVarPath = "/Playlists"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (name != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("name", name)); + } + + if (ids != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "ids", ids)); + } + + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + + if (mediaType != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("mediaType", mediaType)); + } + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json", + "text/json", + "application/*+json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createPlaylistValidateBeforeCall(String name, List ids, UUID userId, MediaType mediaType, CreatePlaylistDto createPlaylistDto, final ApiCallback _callback) throws ApiException { + return createPlaylistCall(name, ids, userId, mediaType, createPlaylistDto, _callback); + + } + + /** + * Creates a new playlist. + * For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. Query parameters are obsolete. + * @param name The playlist name. (optional) + * @param ids The item ids. (optional) + * @param userId The user id. (optional) + * @param mediaType The media type. (optional) + * @param createPlaylistDto The create playlist payload. (optional) + * @return PlaylistCreationResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 Playlist created. -
401 Unauthorized -
403 Forbidden -
+ */ + public PlaylistCreationResult createPlaylist(String name, List ids, UUID userId, MediaType mediaType, CreatePlaylistDto createPlaylistDto) throws ApiException { + ApiResponse localVarResp = createPlaylistWithHttpInfo(name, ids, userId, mediaType, createPlaylistDto); + return localVarResp.getData(); + } + + /** + * Creates a new playlist. + * For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. Query parameters are obsolete. + * @param name The playlist name. (optional) + * @param ids The item ids. (optional) + * @param userId The user id. (optional) + * @param mediaType The media type. (optional) + * @param createPlaylistDto The create playlist payload. (optional) + * @return ApiResponse<PlaylistCreationResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 Playlist created. -
401 Unauthorized -
403 Forbidden -
+ */ + public ApiResponse createPlaylistWithHttpInfo(String name, List ids, UUID userId, MediaType mediaType, CreatePlaylistDto createPlaylistDto) throws ApiException { + okhttp3.Call localVarCall = createPlaylistValidateBeforeCall(name, ids, userId, mediaType, createPlaylistDto, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Creates a new playlist. (asynchronously) + * For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. Query parameters are obsolete. + * @param name The playlist name. (optional) + * @param ids The item ids. (optional) + * @param userId The user id. (optional) + * @param mediaType The media type. (optional) + * @param createPlaylistDto The create playlist payload. (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + +
Response Details
Status Code Description Response Headers
200 Playlist created. -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call createPlaylistAsync(String name, List ids, UUID userId, MediaType mediaType, CreatePlaylistDto createPlaylistDto, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createPlaylistValidateBeforeCall(name, ids, userId, mediaType, createPlaylistDto, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getPlaylist + * @param playlistId The playlist id. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 The playlist. -
404 Playlist not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call getPlaylistCall(UUID playlistId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/Playlists/{playlistId}" + .replace("{" + "playlistId" + "}", localVarApiClient.escapeString(playlistId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getPlaylistValidateBeforeCall(UUID playlistId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'playlistId' is set + if (playlistId == null) { + throw new ApiException("Missing the required parameter 'playlistId' when calling getPlaylist(Async)"); + } + + return getPlaylistCall(playlistId, _callback); + + } + + /** + * Get a playlist. + * + * @param playlistId The playlist id. (required) + * @return PlaylistDto + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 The playlist. -
404 Playlist not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public PlaylistDto getPlaylist(UUID playlistId) throws ApiException { + ApiResponse localVarResp = getPlaylistWithHttpInfo(playlistId); + return localVarResp.getData(); + } + + /** + * Get a playlist. + * + * @param playlistId The playlist id. (required) + * @return ApiResponse<PlaylistDto> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 The playlist. -
404 Playlist not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public ApiResponse getPlaylistWithHttpInfo(UUID playlistId) throws ApiException { + okhttp3.Call localVarCall = getPlaylistValidateBeforeCall(playlistId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get a playlist. (asynchronously) + * + * @param playlistId The playlist id. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 The playlist. -
404 Playlist not found. -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call getPlaylistAsync(UUID playlistId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getPlaylistValidateBeforeCall(playlistId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getPlaylistItems + * @param playlistId The playlist id. (required) + * @param userId User id. (optional) + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) + * @param limit Optional. The maximum number of records to return. (optional) + * @param fields Optional. Specify additional fields of information to return in the output. (optional) + * @param enableImages Optional. Include image information in output. (optional) + * @param enableUserData Optional. Include user data. (optional) + * @param imageTypeLimit Optional. The max number of images to return, per image type. (optional) + * @param enableImageTypes Optional. The image types to include in the output. (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Original playlist returned. -
403 Forbidden -
404 Playlist not found. -
401 Unauthorized -
+ */ + public okhttp3.Call getPlaylistItemsCall(UUID playlistId, UUID userId, Integer startIndex, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/Playlists/{playlistId}/Items" + .replace("{" + "playlistId" + "}", localVarApiClient.escapeString(playlistId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + + if (startIndex != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("startIndex", startIndex)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (fields != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "fields", fields)); + } + + if (enableImages != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableImages", enableImages)); + } + + if (enableUserData != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableUserData", enableUserData)); + } + + if (imageTypeLimit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("imageTypeLimit", imageTypeLimit)); + } + + if (enableImageTypes != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "enableImageTypes", enableImageTypes)); + } + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getPlaylistItemsValidateBeforeCall(UUID playlistId, UUID userId, Integer startIndex, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'playlistId' is set + if (playlistId == null) { + throw new ApiException("Missing the required parameter 'playlistId' when calling getPlaylistItems(Async)"); + } + + return getPlaylistItemsCall(playlistId, userId, startIndex, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); + + } + + /** + * Gets the original items of a playlist. + * + * @param playlistId The playlist id. (required) + * @param userId User id. (optional) + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) + * @param limit Optional. The maximum number of records to return. (optional) + * @param fields Optional. Specify additional fields of information to return in the output. (optional) + * @param enableImages Optional. Include image information in output. (optional) + * @param enableUserData Optional. Include user data. (optional) + * @param imageTypeLimit Optional. The max number of images to return, per image type. (optional) + * @param enableImageTypes Optional. The image types to include in the output. (optional) + * @return BaseItemDtoQueryResult + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Original playlist returned. -
403 Forbidden -
404 Playlist not found. -
401 Unauthorized -
+ */ + public BaseItemDtoQueryResult getPlaylistItems(UUID playlistId, UUID userId, Integer startIndex, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { + ApiResponse localVarResp = getPlaylistItemsWithHttpInfo(playlistId, userId, startIndex, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); + return localVarResp.getData(); + } + + /** + * Gets the original items of a playlist. + * + * @param playlistId The playlist id. (required) + * @param userId User id. (optional) + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) + * @param limit Optional. The maximum number of records to return. (optional) + * @param fields Optional. Specify additional fields of information to return in the output. (optional) + * @param enableImages Optional. Include image information in output. (optional) + * @param enableUserData Optional. Include user data. (optional) + * @param imageTypeLimit Optional. The max number of images to return, per image type. (optional) + * @param enableImageTypes Optional. The image types to include in the output. (optional) + * @return ApiResponse<BaseItemDtoQueryResult> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Original playlist returned. -
403 Forbidden -
404 Playlist not found. -
401 Unauthorized -
+ */ + public ApiResponse getPlaylistItemsWithHttpInfo(UUID playlistId, UUID userId, Integer startIndex, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { + okhttp3.Call localVarCall = getPlaylistItemsValidateBeforeCall(playlistId, userId, startIndex, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Gets the original items of a playlist. (asynchronously) + * + * @param playlistId The playlist id. (required) + * @param userId User id. (optional) + * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) + * @param limit Optional. The maximum number of records to return. (optional) + * @param fields Optional. Specify additional fields of information to return in the output. (optional) + * @param enableImages Optional. Include image information in output. (optional) + * @param enableUserData Optional. Include user data. (optional) + * @param imageTypeLimit Optional. The max number of images to return, per image type. (optional) + * @param enableImageTypes Optional. The image types to include in the output. (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Original playlist returned. -
403 Forbidden -
404 Playlist not found. -
401 Unauthorized -
+ */ + public okhttp3.Call getPlaylistItemsAsync(UUID playlistId, UUID userId, Integer startIndex, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getPlaylistItemsValidateBeforeCall(playlistId, userId, startIndex, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getPlaylistUser + * @param playlistId The playlist id. (required) + * @param userId The user id. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 User permission found. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public okhttp3.Call getPlaylistUserCall(UUID playlistId, UUID userId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/Playlists/{playlistId}/Users/{userId}" + .replace("{" + "playlistId" + "}", localVarApiClient.escapeString(playlistId.toString())) + .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getPlaylistUserValidateBeforeCall(UUID playlistId, UUID userId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'playlistId' is set + if (playlistId == null) { + throw new ApiException("Missing the required parameter 'playlistId' when calling getPlaylistUser(Async)"); + } + + // verify the required parameter 'userId' is set + if (userId == null) { + throw new ApiException("Missing the required parameter 'userId' when calling getPlaylistUser(Async)"); + } + + return getPlaylistUserCall(playlistId, userId, _callback); + + } + + /** + * Get a playlist user. + * + * @param playlistId The playlist id. (required) + * @param userId The user id. (required) + * @return PlaylistUserPermissions + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 User permission found. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public PlaylistUserPermissions getPlaylistUser(UUID playlistId, UUID userId) throws ApiException { + ApiResponse localVarResp = getPlaylistUserWithHttpInfo(playlistId, userId); + return localVarResp.getData(); + } + + /** + * Get a playlist user. + * + * @param playlistId The playlist id. (required) + * @param userId The user id. (required) + * @return ApiResponse<PlaylistUserPermissions> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 User permission found. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public ApiResponse getPlaylistUserWithHttpInfo(UUID playlistId, UUID userId) throws ApiException { + okhttp3.Call localVarCall = getPlaylistUserValidateBeforeCall(playlistId, userId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get a playlist user. (asynchronously) + * + * @param playlistId The playlist id. (required) + * @param userId The user id. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 User permission found. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public okhttp3.Call getPlaylistUserAsync(UUID playlistId, UUID userId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getPlaylistUserValidateBeforeCall(playlistId, userId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getPlaylistUsers + * @param playlistId The playlist id. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Found shares. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public okhttp3.Call getPlaylistUsersCall(UUID playlistId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/Playlists/{playlistId}/Users" + .replace("{" + "playlistId" + "}", localVarApiClient.escapeString(playlistId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getPlaylistUsersValidateBeforeCall(UUID playlistId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'playlistId' is set + if (playlistId == null) { + throw new ApiException("Missing the required parameter 'playlistId' when calling getPlaylistUsers(Async)"); + } + + return getPlaylistUsersCall(playlistId, _callback); + + } + + /** + * Get a playlist's users. + * + * @param playlistId The playlist id. (required) + * @return List<PlaylistUserPermissions> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Found shares. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public List getPlaylistUsers(UUID playlistId) throws ApiException { + ApiResponse> localVarResp = getPlaylistUsersWithHttpInfo(playlistId); + return localVarResp.getData(); + } + + /** + * Get a playlist's users. + * + * @param playlistId The playlist id. (required) + * @return ApiResponse<List<PlaylistUserPermissions>> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Found shares. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public ApiResponse> getPlaylistUsersWithHttpInfo(UUID playlistId) throws ApiException { + okhttp3.Call localVarCall = getPlaylistUsersValidateBeforeCall(playlistId, null); + Type localVarReturnType = new TypeToken>(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get a playlist's users. (asynchronously) + * + * @param playlistId The playlist id. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Found shares. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public okhttp3.Call getPlaylistUsersAsync(UUID playlistId, final ApiCallback> _callback) throws ApiException { + + okhttp3.Call localVarCall = getPlaylistUsersValidateBeforeCall(playlistId, _callback); + Type localVarReturnType = new TypeToken>(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for moveItem + * @param playlistId The playlist id. (required) + * @param itemId The item id. (required) + * @param newIndex The new index. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 Item moved to new index. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public okhttp3.Call moveItemCall(String playlistId, String itemId, Integer newIndex, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/Playlists/{playlistId}/Items/{itemId}/Move/{newIndex}" + .replace("{" + "playlistId" + "}", localVarApiClient.escapeString(playlistId.toString())) + .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())) + .replace("{" + "newIndex" + "}", localVarApiClient.escapeString(newIndex.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call moveItemValidateBeforeCall(String playlistId, String itemId, Integer newIndex, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'playlistId' is set + if (playlistId == null) { + throw new ApiException("Missing the required parameter 'playlistId' when calling moveItem(Async)"); + } + + // verify the required parameter 'itemId' is set + if (itemId == null) { + throw new ApiException("Missing the required parameter 'itemId' when calling moveItem(Async)"); + } + + // verify the required parameter 'newIndex' is set + if (newIndex == null) { + throw new ApiException("Missing the required parameter 'newIndex' when calling moveItem(Async)"); + } + + return moveItemCall(playlistId, itemId, newIndex, _callback); + + } + + /** + * Moves a playlist item. + * + * @param playlistId The playlist id. (required) + * @param itemId The item id. (required) + * @param newIndex The new index. (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 Item moved to new index. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public void moveItem(String playlistId, String itemId, Integer newIndex) throws ApiException { + moveItemWithHttpInfo(playlistId, itemId, newIndex); + } + + /** + * Moves a playlist item. + * + * @param playlistId The playlist id. (required) + * @param itemId The item id. (required) + * @param newIndex The new index. (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 Item moved to new index. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public ApiResponse moveItemWithHttpInfo(String playlistId, String itemId, Integer newIndex) throws ApiException { + okhttp3.Call localVarCall = moveItemValidateBeforeCall(playlistId, itemId, newIndex, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Moves a playlist item. (asynchronously) + * + * @param playlistId The playlist id. (required) + * @param itemId The item id. (required) + * @param newIndex The new index. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 Item moved to new index. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public okhttp3.Call moveItemAsync(String playlistId, String itemId, Integer newIndex, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = moveItemValidateBeforeCall(playlistId, itemId, newIndex, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for removeItemFromPlaylist + * @param playlistId The playlist id. (required) + * @param entryIds The item ids, comma delimited. (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 Items removed. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public okhttp3.Call removeItemFromPlaylistCall(String playlistId, List entryIds, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/Playlists/{playlistId}/Items" + .replace("{" + "playlistId" + "}", localVarApiClient.escapeString(playlistId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (entryIds != null) { + localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "entryIds", entryIds)); + } + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call removeItemFromPlaylistValidateBeforeCall(String playlistId, List entryIds, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'playlistId' is set + if (playlistId == null) { + throw new ApiException("Missing the required parameter 'playlistId' when calling removeItemFromPlaylist(Async)"); + } + + return removeItemFromPlaylistCall(playlistId, entryIds, _callback); + + } + + /** + * Removes items from a playlist. + * + * @param playlistId The playlist id. (required) + * @param entryIds The item ids, comma delimited. (optional) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 Items removed. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public void removeItemFromPlaylist(String playlistId, List entryIds) throws ApiException { + removeItemFromPlaylistWithHttpInfo(playlistId, entryIds); + } + + /** + * Removes items from a playlist. + * + * @param playlistId The playlist id. (required) + * @param entryIds The item ids, comma delimited. (optional) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 Items removed. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public ApiResponse removeItemFromPlaylistWithHttpInfo(String playlistId, List entryIds) throws ApiException { + okhttp3.Call localVarCall = removeItemFromPlaylistValidateBeforeCall(playlistId, entryIds, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Removes items from a playlist. (asynchronously) + * + * @param playlistId The playlist id. (required) + * @param entryIds The item ids, comma delimited. (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 Items removed. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public okhttp3.Call removeItemFromPlaylistAsync(String playlistId, List entryIds, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = removeItemFromPlaylistValidateBeforeCall(playlistId, entryIds, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for removeUserFromPlaylist + * @param playlistId The playlist id. (required) + * @param userId The user id. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 User permissions removed from playlist. -
403 Forbidden -
404 No playlist or user permissions found. -
401 Unauthorized access. -
+ */ + public okhttp3.Call removeUserFromPlaylistCall(UUID playlistId, UUID userId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/Playlists/{playlistId}/Users/{userId}" + .replace("{" + "playlistId" + "}", localVarApiClient.escapeString(playlistId.toString())) + .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call removeUserFromPlaylistValidateBeforeCall(UUID playlistId, UUID userId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'playlistId' is set + if (playlistId == null) { + throw new ApiException("Missing the required parameter 'playlistId' when calling removeUserFromPlaylist(Async)"); + } + + // verify the required parameter 'userId' is set + if (userId == null) { + throw new ApiException("Missing the required parameter 'userId' when calling removeUserFromPlaylist(Async)"); + } + + return removeUserFromPlaylistCall(playlistId, userId, _callback); + + } + + /** + * Remove a user from a playlist's users. + * + * @param playlistId The playlist id. (required) + * @param userId The user id. (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 User permissions removed from playlist. -
403 Forbidden -
404 No playlist or user permissions found. -
401 Unauthorized access. -
+ */ + public void removeUserFromPlaylist(UUID playlistId, UUID userId) throws ApiException { + removeUserFromPlaylistWithHttpInfo(playlistId, userId); + } + + /** + * Remove a user from a playlist's users. + * + * @param playlistId The playlist id. (required) + * @param userId The user id. (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 User permissions removed from playlist. -
403 Forbidden -
404 No playlist or user permissions found. -
401 Unauthorized access. -
+ */ + public ApiResponse removeUserFromPlaylistWithHttpInfo(UUID playlistId, UUID userId) throws ApiException { + okhttp3.Call localVarCall = removeUserFromPlaylistValidateBeforeCall(playlistId, userId, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Remove a user from a playlist's users. (asynchronously) + * + * @param playlistId The playlist id. (required) + * @param userId The user id. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 User permissions removed from playlist. -
403 Forbidden -
404 No playlist or user permissions found. -
401 Unauthorized access. -
+ */ + public okhttp3.Call removeUserFromPlaylistAsync(UUID playlistId, UUID userId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = removeUserFromPlaylistValidateBeforeCall(playlistId, userId, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for updatePlaylist + * @param playlistId The playlist id. (required) + * @param updatePlaylistDto The Jellyfin.Api.Models.PlaylistDtos.UpdatePlaylistDto id. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 Playlist updated. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public okhttp3.Call updatePlaylistCall(UUID playlistId, UpdatePlaylistDto updatePlaylistDto, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = updatePlaylistDto; + + // create path and map variables + String localVarPath = "/Playlists/{playlistId}" + .replace("{" + "playlistId" + "}", localVarApiClient.escapeString(playlistId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json", + "text/json", + "application/*+json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call updatePlaylistValidateBeforeCall(UUID playlistId, UpdatePlaylistDto updatePlaylistDto, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'playlistId' is set + if (playlistId == null) { + throw new ApiException("Missing the required parameter 'playlistId' when calling updatePlaylist(Async)"); + } + + // verify the required parameter 'updatePlaylistDto' is set + if (updatePlaylistDto == null) { + throw new ApiException("Missing the required parameter 'updatePlaylistDto' when calling updatePlaylist(Async)"); + } + + return updatePlaylistCall(playlistId, updatePlaylistDto, _callback); + + } + + /** + * Updates a playlist. + * + * @param playlistId The playlist id. (required) + * @param updatePlaylistDto The Jellyfin.Api.Models.PlaylistDtos.UpdatePlaylistDto id. (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 Playlist updated. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public void updatePlaylist(UUID playlistId, UpdatePlaylistDto updatePlaylistDto) throws ApiException { + updatePlaylistWithHttpInfo(playlistId, updatePlaylistDto); + } + + /** + * Updates a playlist. + * + * @param playlistId The playlist id. (required) + * @param updatePlaylistDto The Jellyfin.Api.Models.PlaylistDtos.UpdatePlaylistDto id. (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 Playlist updated. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public ApiResponse updatePlaylistWithHttpInfo(UUID playlistId, UpdatePlaylistDto updatePlaylistDto) throws ApiException { + okhttp3.Call localVarCall = updatePlaylistValidateBeforeCall(playlistId, updatePlaylistDto, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Updates a playlist. (asynchronously) + * + * @param playlistId The playlist id. (required) + * @param updatePlaylistDto The Jellyfin.Api.Models.PlaylistDtos.UpdatePlaylistDto id. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 Playlist updated. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public okhttp3.Call updatePlaylistAsync(UUID playlistId, UpdatePlaylistDto updatePlaylistDto, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = updatePlaylistValidateBeforeCall(playlistId, updatePlaylistDto, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } + /** + * Build call for updatePlaylistUser + * @param playlistId The playlist id. (required) + * @param userId The user id. (required) + * @param updatePlaylistUserDto The Jellyfin.Api.Models.PlaylistDtos.UpdatePlaylistUserDto. (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 User's permissions modified. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public okhttp3.Call updatePlaylistUserCall(UUID playlistId, UUID userId, UpdatePlaylistUserDto updatePlaylistUserDto, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = updatePlaylistUserDto; + + // create path and map variables + String localVarPath = "/Playlists/{playlistId}/Users/{userId}" + .replace("{" + "playlistId" + "}", localVarApiClient.escapeString(playlistId.toString())) + .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json", + "text/json", + "application/*+json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call updatePlaylistUserValidateBeforeCall(UUID playlistId, UUID userId, UpdatePlaylistUserDto updatePlaylistUserDto, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'playlistId' is set + if (playlistId == null) { + throw new ApiException("Missing the required parameter 'playlistId' when calling updatePlaylistUser(Async)"); + } + + // verify the required parameter 'userId' is set + if (userId == null) { + throw new ApiException("Missing the required parameter 'userId' when calling updatePlaylistUser(Async)"); + } + + // verify the required parameter 'updatePlaylistUserDto' is set + if (updatePlaylistUserDto == null) { + throw new ApiException("Missing the required parameter 'updatePlaylistUserDto' when calling updatePlaylistUser(Async)"); + } + + return updatePlaylistUserCall(playlistId, userId, updatePlaylistUserDto, _callback); + + } + + /** + * Modify a user of a playlist's users. + * + * @param playlistId The playlist id. (required) + * @param userId The user id. (required) + * @param updatePlaylistUserDto The Jellyfin.Api.Models.PlaylistDtos.UpdatePlaylistUserDto. (required) + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 User's permissions modified. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public void updatePlaylistUser(UUID playlistId, UUID userId, UpdatePlaylistUserDto updatePlaylistUserDto) throws ApiException { + updatePlaylistUserWithHttpInfo(playlistId, userId, updatePlaylistUserDto); + } + + /** + * Modify a user of a playlist's users. + * + * @param playlistId The playlist id. (required) + * @param userId The user id. (required) + * @param updatePlaylistUserDto The Jellyfin.Api.Models.PlaylistDtos.UpdatePlaylistUserDto. (required) + * @return ApiResponse<Void> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 User's permissions modified. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public ApiResponse updatePlaylistUserWithHttpInfo(UUID playlistId, UUID userId, UpdatePlaylistUserDto updatePlaylistUserDto) throws ApiException { + okhttp3.Call localVarCall = updatePlaylistUserValidateBeforeCall(playlistId, userId, updatePlaylistUserDto, null); + return localVarApiClient.execute(localVarCall); + } + + /** + * Modify a user of a playlist's users. (asynchronously) + * + * @param playlistId The playlist id. (required) + * @param userId The user id. (required) + * @param updatePlaylistUserDto The Jellyfin.Api.Models.PlaylistDtos.UpdatePlaylistUserDto. (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
204 User's permissions modified. -
403 Access forbidden. -
404 Playlist not found. -
401 Unauthorized -
+ */ + public okhttp3.Call updatePlaylistUserAsync(UUID playlistId, UUID userId, UpdatePlaylistUserDto updatePlaylistUserDto, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = updatePlaylistUserValidateBeforeCall(playlistId, userId, updatePlaylistUserDto, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); + return localVarCall; + } +} diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/PlaystateApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/PlaystateApi.java similarity index 87% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/PlaystateApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/PlaystateApi.java index bb161d0aea1..0c5163206db 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/PlaystateApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/PlaystateApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,6 +32,7 @@ import org.openapitools.client.model.PlayMethod; import org.openapitools.client.model.PlaybackProgressInfo; import org.openapitools.client.model.PlaybackStartInfo; import org.openapitools.client.model.PlaybackStopInfo; +import org.openapitools.client.model.ProblemDetails; import org.openapitools.client.model.RepeatMode; import java.util.UUID; import org.openapitools.client.model.UserItemDataDto; @@ -81,8 +82,8 @@ public class PlaystateApi { /** * Build call for markPlayedItem - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param datePlayed Optional. The date the item was played. (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -92,11 +93,12 @@ public class PlaystateApi { Response Details Status Code Description Response Headers 200 Item marked as played. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call markPlayedItemCall(UUID userId, UUID itemId, OffsetDateTime datePlayed, final ApiCallback _callback) throws ApiException { + public okhttp3.Call markPlayedItemCall(UUID itemId, UUID userId, OffsetDateTime datePlayed, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -113,8 +115,7 @@ public class PlaystateApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/PlayedItems/{itemId}" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) + String localVarPath = "/UserPlayedItems/{itemId}" .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); @@ -123,6 +124,10 @@ public class PlaystateApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + if (datePlayed != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("datePlayed", datePlayed)); } @@ -149,26 +154,21 @@ public class PlaystateApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call markPlayedItemValidateBeforeCall(UUID userId, UUID itemId, OffsetDateTime datePlayed, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling markPlayedItem(Async)"); - } - + private okhttp3.Call markPlayedItemValidateBeforeCall(UUID itemId, UUID userId, OffsetDateTime datePlayed, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling markPlayedItem(Async)"); } - return markPlayedItemCall(userId, itemId, datePlayed, _callback); + return markPlayedItemCall(itemId, userId, datePlayed, _callback); } /** * Marks an item as played for user. * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param datePlayed Optional. The date the item was played. (optional) * @return UserItemDataDto * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -177,20 +177,21 @@ public class PlaystateApi { Response Details Status Code Description Response Headers 200 Item marked as played. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public UserItemDataDto markPlayedItem(UUID userId, UUID itemId, OffsetDateTime datePlayed) throws ApiException { - ApiResponse localVarResp = markPlayedItemWithHttpInfo(userId, itemId, datePlayed); + public UserItemDataDto markPlayedItem(UUID itemId, UUID userId, OffsetDateTime datePlayed) throws ApiException { + ApiResponse localVarResp = markPlayedItemWithHttpInfo(itemId, userId, datePlayed); return localVarResp.getData(); } /** * Marks an item as played for user. * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param datePlayed Optional. The date the item was played. (optional) * @return ApiResponse<UserItemDataDto> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -199,12 +200,13 @@ public class PlaystateApi { Response Details Status Code Description Response Headers 200 Item marked as played. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public ApiResponse markPlayedItemWithHttpInfo(UUID userId, UUID itemId, OffsetDateTime datePlayed) throws ApiException { - okhttp3.Call localVarCall = markPlayedItemValidateBeforeCall(userId, itemId, datePlayed, null); + public ApiResponse markPlayedItemWithHttpInfo(UUID itemId, UUID userId, OffsetDateTime datePlayed) throws ApiException { + okhttp3.Call localVarCall = markPlayedItemValidateBeforeCall(itemId, userId, datePlayed, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -212,8 +214,8 @@ public class PlaystateApi { /** * Marks an item as played for user. (asynchronously) * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param datePlayed Optional. The date the item was played. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -223,21 +225,22 @@ public class PlaystateApi { Response Details Status Code Description Response Headers 200 Item marked as played. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call markPlayedItemAsync(UUID userId, UUID itemId, OffsetDateTime datePlayed, final ApiCallback _callback) throws ApiException { + public okhttp3.Call markPlayedItemAsync(UUID itemId, UUID userId, OffsetDateTime datePlayed, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = markPlayedItemValidateBeforeCall(userId, itemId, datePlayed, _callback); + okhttp3.Call localVarCall = markPlayedItemValidateBeforeCall(itemId, userId, datePlayed, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for markUnplayedItem - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -246,11 +249,12 @@ public class PlaystateApi { Response Details Status Code Description Response Headers 200 Item marked as unplayed. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call markUnplayedItemCall(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call markUnplayedItemCall(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -267,8 +271,7 @@ public class PlaystateApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/PlayedItems/{itemId}" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) + String localVarPath = "/UserPlayedItems/{itemId}" .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); @@ -277,6 +280,10 @@ public class PlaystateApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + final String[] localVarAccepts = { "application/json", "application/json; profile=CamelCase", @@ -299,26 +306,21 @@ public class PlaystateApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call markUnplayedItemValidateBeforeCall(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling markUnplayedItem(Async)"); - } - + private okhttp3.Call markUnplayedItemValidateBeforeCall(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling markUnplayedItem(Async)"); } - return markUnplayedItemCall(userId, itemId, _callback); + return markUnplayedItemCall(itemId, userId, _callback); } /** * Marks an item as unplayed for user. * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @return UserItemDataDto * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -326,20 +328,21 @@ public class PlaystateApi { Response Details Status Code Description Response Headers 200 Item marked as unplayed. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public UserItemDataDto markUnplayedItem(UUID userId, UUID itemId) throws ApiException { - ApiResponse localVarResp = markUnplayedItemWithHttpInfo(userId, itemId); + public UserItemDataDto markUnplayedItem(UUID itemId, UUID userId) throws ApiException { + ApiResponse localVarResp = markUnplayedItemWithHttpInfo(itemId, userId); return localVarResp.getData(); } /** * Marks an item as unplayed for user. * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @return ApiResponse<UserItemDataDto> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -347,12 +350,13 @@ public class PlaystateApi { Response Details Status Code Description Response Headers 200 Item marked as unplayed. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public ApiResponse markUnplayedItemWithHttpInfo(UUID userId, UUID itemId) throws ApiException { - okhttp3.Call localVarCall = markUnplayedItemValidateBeforeCall(userId, itemId, null); + public ApiResponse markUnplayedItemWithHttpInfo(UUID itemId, UUID userId) throws ApiException { + okhttp3.Call localVarCall = markUnplayedItemValidateBeforeCall(itemId, userId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -360,8 +364,8 @@ public class PlaystateApi { /** * Marks an item as unplayed for user. (asynchronously) * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -370,20 +374,20 @@ public class PlaystateApi { Response Details Status Code Description Response Headers 200 Item marked as unplayed. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call markUnplayedItemAsync(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call markUnplayedItemAsync(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = markUnplayedItemValidateBeforeCall(userId, itemId, _callback); + okhttp3.Call localVarCall = markUnplayedItemValidateBeforeCall(itemId, userId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for onPlaybackProgress - * @param userId User id. (required) * @param itemId Item id. (required) * @param mediaSourceId The id of the MediaSource. (optional) * @param positionTicks Optional. The current position, in ticks. 1 tick = 10000 ms. (optional) @@ -408,7 +412,7 @@ public class PlaystateApi { 403 Forbidden - */ - public okhttp3.Call onPlaybackProgressCall(UUID userId, UUID itemId, String mediaSourceId, Long positionTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer volumeLevel, PlayMethod playMethod, String liveStreamId, String playSessionId, RepeatMode repeatMode, Boolean isPaused, Boolean isMuted, final ApiCallback _callback) throws ApiException { + public okhttp3.Call onPlaybackProgressCall(UUID itemId, String mediaSourceId, Long positionTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer volumeLevel, PlayMethod playMethod, String liveStreamId, String playSessionId, RepeatMode repeatMode, Boolean isPaused, Boolean isMuted, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -425,8 +429,7 @@ public class PlaystateApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/PlayingItems/{itemId}/Progress" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) + String localVarPath = "/PlayingItems/{itemId}/Progress" .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); @@ -498,25 +501,19 @@ public class PlaystateApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call onPlaybackProgressValidateBeforeCall(UUID userId, UUID itemId, String mediaSourceId, Long positionTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer volumeLevel, PlayMethod playMethod, String liveStreamId, String playSessionId, RepeatMode repeatMode, Boolean isPaused, Boolean isMuted, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling onPlaybackProgress(Async)"); - } - + private okhttp3.Call onPlaybackProgressValidateBeforeCall(UUID itemId, String mediaSourceId, Long positionTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer volumeLevel, PlayMethod playMethod, String liveStreamId, String playSessionId, RepeatMode repeatMode, Boolean isPaused, Boolean isMuted, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling onPlaybackProgress(Async)"); } - return onPlaybackProgressCall(userId, itemId, mediaSourceId, positionTicks, audioStreamIndex, subtitleStreamIndex, volumeLevel, playMethod, liveStreamId, playSessionId, repeatMode, isPaused, isMuted, _callback); + return onPlaybackProgressCall(itemId, mediaSourceId, positionTicks, audioStreamIndex, subtitleStreamIndex, volumeLevel, playMethod, liveStreamId, playSessionId, repeatMode, isPaused, isMuted, _callback); } /** - * Reports a user's playback progress. + * Reports a session's playback progress. * - * @param userId User id. (required) * @param itemId Item id. (required) * @param mediaSourceId The id of the MediaSource. (optional) * @param positionTicks Optional. The current position, in ticks. 1 tick = 10000 ms. (optional) @@ -539,14 +536,13 @@ public class PlaystateApi { 403 Forbidden - */ - public void onPlaybackProgress(UUID userId, UUID itemId, String mediaSourceId, Long positionTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer volumeLevel, PlayMethod playMethod, String liveStreamId, String playSessionId, RepeatMode repeatMode, Boolean isPaused, Boolean isMuted) throws ApiException { - onPlaybackProgressWithHttpInfo(userId, itemId, mediaSourceId, positionTicks, audioStreamIndex, subtitleStreamIndex, volumeLevel, playMethod, liveStreamId, playSessionId, repeatMode, isPaused, isMuted); + public void onPlaybackProgress(UUID itemId, String mediaSourceId, Long positionTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer volumeLevel, PlayMethod playMethod, String liveStreamId, String playSessionId, RepeatMode repeatMode, Boolean isPaused, Boolean isMuted) throws ApiException { + onPlaybackProgressWithHttpInfo(itemId, mediaSourceId, positionTicks, audioStreamIndex, subtitleStreamIndex, volumeLevel, playMethod, liveStreamId, playSessionId, repeatMode, isPaused, isMuted); } /** - * Reports a user's playback progress. + * Reports a session's playback progress. * - * @param userId User id. (required) * @param itemId Item id. (required) * @param mediaSourceId The id of the MediaSource. (optional) * @param positionTicks Optional. The current position, in ticks. 1 tick = 10000 ms. (optional) @@ -570,15 +566,14 @@ public class PlaystateApi { 403 Forbidden - */ - public ApiResponse onPlaybackProgressWithHttpInfo(UUID userId, UUID itemId, String mediaSourceId, Long positionTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer volumeLevel, PlayMethod playMethod, String liveStreamId, String playSessionId, RepeatMode repeatMode, Boolean isPaused, Boolean isMuted) throws ApiException { - okhttp3.Call localVarCall = onPlaybackProgressValidateBeforeCall(userId, itemId, mediaSourceId, positionTicks, audioStreamIndex, subtitleStreamIndex, volumeLevel, playMethod, liveStreamId, playSessionId, repeatMode, isPaused, isMuted, null); + public ApiResponse onPlaybackProgressWithHttpInfo(UUID itemId, String mediaSourceId, Long positionTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer volumeLevel, PlayMethod playMethod, String liveStreamId, String playSessionId, RepeatMode repeatMode, Boolean isPaused, Boolean isMuted) throws ApiException { + okhttp3.Call localVarCall = onPlaybackProgressValidateBeforeCall(itemId, mediaSourceId, positionTicks, audioStreamIndex, subtitleStreamIndex, volumeLevel, playMethod, liveStreamId, playSessionId, repeatMode, isPaused, isMuted, null); return localVarApiClient.execute(localVarCall); } /** - * Reports a user's playback progress. (asynchronously) + * Reports a session's playback progress. (asynchronously) * - * @param userId User id. (required) * @param itemId Item id. (required) * @param mediaSourceId The id of the MediaSource. (optional) * @param positionTicks Optional. The current position, in ticks. 1 tick = 10000 ms. (optional) @@ -603,15 +598,14 @@ public class PlaystateApi { 403 Forbidden - */ - public okhttp3.Call onPlaybackProgressAsync(UUID userId, UUID itemId, String mediaSourceId, Long positionTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer volumeLevel, PlayMethod playMethod, String liveStreamId, String playSessionId, RepeatMode repeatMode, Boolean isPaused, Boolean isMuted, final ApiCallback _callback) throws ApiException { + public okhttp3.Call onPlaybackProgressAsync(UUID itemId, String mediaSourceId, Long positionTicks, Integer audioStreamIndex, Integer subtitleStreamIndex, Integer volumeLevel, PlayMethod playMethod, String liveStreamId, String playSessionId, RepeatMode repeatMode, Boolean isPaused, Boolean isMuted, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = onPlaybackProgressValidateBeforeCall(userId, itemId, mediaSourceId, positionTicks, audioStreamIndex, subtitleStreamIndex, volumeLevel, playMethod, liveStreamId, playSessionId, repeatMode, isPaused, isMuted, _callback); + okhttp3.Call localVarCall = onPlaybackProgressValidateBeforeCall(itemId, mediaSourceId, positionTicks, audioStreamIndex, subtitleStreamIndex, volumeLevel, playMethod, liveStreamId, playSessionId, repeatMode, isPaused, isMuted, _callback); localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } /** * Build call for onPlaybackStart - * @param userId User id. (required) * @param itemId Item id. (required) * @param mediaSourceId The id of the MediaSource. (optional) * @param audioStreamIndex The audio stream index. (optional) @@ -632,7 +626,7 @@ public class PlaystateApi { 403 Forbidden - */ - public okhttp3.Call onPlaybackStartCall(UUID userId, UUID itemId, String mediaSourceId, Integer audioStreamIndex, Integer subtitleStreamIndex, PlayMethod playMethod, String liveStreamId, String playSessionId, Boolean canSeek, final ApiCallback _callback) throws ApiException { + public okhttp3.Call onPlaybackStartCall(UUID itemId, String mediaSourceId, Integer audioStreamIndex, Integer subtitleStreamIndex, PlayMethod playMethod, String liveStreamId, String playSessionId, Boolean canSeek, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -649,8 +643,7 @@ public class PlaystateApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/PlayingItems/{itemId}" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) + String localVarPath = "/PlayingItems/{itemId}" .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); @@ -706,25 +699,19 @@ public class PlaystateApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call onPlaybackStartValidateBeforeCall(UUID userId, UUID itemId, String mediaSourceId, Integer audioStreamIndex, Integer subtitleStreamIndex, PlayMethod playMethod, String liveStreamId, String playSessionId, Boolean canSeek, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling onPlaybackStart(Async)"); - } - + private okhttp3.Call onPlaybackStartValidateBeforeCall(UUID itemId, String mediaSourceId, Integer audioStreamIndex, Integer subtitleStreamIndex, PlayMethod playMethod, String liveStreamId, String playSessionId, Boolean canSeek, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling onPlaybackStart(Async)"); } - return onPlaybackStartCall(userId, itemId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, playMethod, liveStreamId, playSessionId, canSeek, _callback); + return onPlaybackStartCall(itemId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, playMethod, liveStreamId, playSessionId, canSeek, _callback); } /** - * Reports that a user has begun playing an item. + * Reports that a session has begun playing an item. * - * @param userId User id. (required) * @param itemId Item id. (required) * @param mediaSourceId The id of the MediaSource. (optional) * @param audioStreamIndex The audio stream index. (optional) @@ -743,14 +730,13 @@ public class PlaystateApi { 403 Forbidden - */ - public void onPlaybackStart(UUID userId, UUID itemId, String mediaSourceId, Integer audioStreamIndex, Integer subtitleStreamIndex, PlayMethod playMethod, String liveStreamId, String playSessionId, Boolean canSeek) throws ApiException { - onPlaybackStartWithHttpInfo(userId, itemId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, playMethod, liveStreamId, playSessionId, canSeek); + public void onPlaybackStart(UUID itemId, String mediaSourceId, Integer audioStreamIndex, Integer subtitleStreamIndex, PlayMethod playMethod, String liveStreamId, String playSessionId, Boolean canSeek) throws ApiException { + onPlaybackStartWithHttpInfo(itemId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, playMethod, liveStreamId, playSessionId, canSeek); } /** - * Reports that a user has begun playing an item. + * Reports that a session has begun playing an item. * - * @param userId User id. (required) * @param itemId Item id. (required) * @param mediaSourceId The id of the MediaSource. (optional) * @param audioStreamIndex The audio stream index. (optional) @@ -770,15 +756,14 @@ public class PlaystateApi { 403 Forbidden - */ - public ApiResponse onPlaybackStartWithHttpInfo(UUID userId, UUID itemId, String mediaSourceId, Integer audioStreamIndex, Integer subtitleStreamIndex, PlayMethod playMethod, String liveStreamId, String playSessionId, Boolean canSeek) throws ApiException { - okhttp3.Call localVarCall = onPlaybackStartValidateBeforeCall(userId, itemId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, playMethod, liveStreamId, playSessionId, canSeek, null); + public ApiResponse onPlaybackStartWithHttpInfo(UUID itemId, String mediaSourceId, Integer audioStreamIndex, Integer subtitleStreamIndex, PlayMethod playMethod, String liveStreamId, String playSessionId, Boolean canSeek) throws ApiException { + okhttp3.Call localVarCall = onPlaybackStartValidateBeforeCall(itemId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, playMethod, liveStreamId, playSessionId, canSeek, null); return localVarApiClient.execute(localVarCall); } /** - * Reports that a user has begun playing an item. (asynchronously) + * Reports that a session has begun playing an item. (asynchronously) * - * @param userId User id. (required) * @param itemId Item id. (required) * @param mediaSourceId The id of the MediaSource. (optional) * @param audioStreamIndex The audio stream index. (optional) @@ -799,15 +784,14 @@ public class PlaystateApi { 403 Forbidden - */ - public okhttp3.Call onPlaybackStartAsync(UUID userId, UUID itemId, String mediaSourceId, Integer audioStreamIndex, Integer subtitleStreamIndex, PlayMethod playMethod, String liveStreamId, String playSessionId, Boolean canSeek, final ApiCallback _callback) throws ApiException { + public okhttp3.Call onPlaybackStartAsync(UUID itemId, String mediaSourceId, Integer audioStreamIndex, Integer subtitleStreamIndex, PlayMethod playMethod, String liveStreamId, String playSessionId, Boolean canSeek, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = onPlaybackStartValidateBeforeCall(userId, itemId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, playMethod, liveStreamId, playSessionId, canSeek, _callback); + okhttp3.Call localVarCall = onPlaybackStartValidateBeforeCall(itemId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, playMethod, liveStreamId, playSessionId, canSeek, _callback); localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } /** * Build call for onPlaybackStopped - * @param userId User id. (required) * @param itemId Item id. (required) * @param mediaSourceId The id of the MediaSource. (optional) * @param nextMediaType The next media type that will play. (optional) @@ -826,7 +810,7 @@ public class PlaystateApi { 403 Forbidden - */ - public okhttp3.Call onPlaybackStoppedCall(UUID userId, UUID itemId, String mediaSourceId, String nextMediaType, Long positionTicks, String liveStreamId, String playSessionId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call onPlaybackStoppedCall(UUID itemId, String mediaSourceId, String nextMediaType, Long positionTicks, String liveStreamId, String playSessionId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -843,8 +827,7 @@ public class PlaystateApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/PlayingItems/{itemId}" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) + String localVarPath = "/PlayingItems/{itemId}" .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); @@ -892,25 +875,19 @@ public class PlaystateApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call onPlaybackStoppedValidateBeforeCall(UUID userId, UUID itemId, String mediaSourceId, String nextMediaType, Long positionTicks, String liveStreamId, String playSessionId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling onPlaybackStopped(Async)"); - } - + private okhttp3.Call onPlaybackStoppedValidateBeforeCall(UUID itemId, String mediaSourceId, String nextMediaType, Long positionTicks, String liveStreamId, String playSessionId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling onPlaybackStopped(Async)"); } - return onPlaybackStoppedCall(userId, itemId, mediaSourceId, nextMediaType, positionTicks, liveStreamId, playSessionId, _callback); + return onPlaybackStoppedCall(itemId, mediaSourceId, nextMediaType, positionTicks, liveStreamId, playSessionId, _callback); } /** - * Reports that a user has stopped playing an item. + * Reports that a session has stopped playing an item. * - * @param userId User id. (required) * @param itemId Item id. (required) * @param mediaSourceId The id of the MediaSource. (optional) * @param nextMediaType The next media type that will play. (optional) @@ -927,14 +904,13 @@ public class PlaystateApi { 403 Forbidden - */ - public void onPlaybackStopped(UUID userId, UUID itemId, String mediaSourceId, String nextMediaType, Long positionTicks, String liveStreamId, String playSessionId) throws ApiException { - onPlaybackStoppedWithHttpInfo(userId, itemId, mediaSourceId, nextMediaType, positionTicks, liveStreamId, playSessionId); + public void onPlaybackStopped(UUID itemId, String mediaSourceId, String nextMediaType, Long positionTicks, String liveStreamId, String playSessionId) throws ApiException { + onPlaybackStoppedWithHttpInfo(itemId, mediaSourceId, nextMediaType, positionTicks, liveStreamId, playSessionId); } /** - * Reports that a user has stopped playing an item. + * Reports that a session has stopped playing an item. * - * @param userId User id. (required) * @param itemId Item id. (required) * @param mediaSourceId The id of the MediaSource. (optional) * @param nextMediaType The next media type that will play. (optional) @@ -952,15 +928,14 @@ public class PlaystateApi { 403 Forbidden - */ - public ApiResponse onPlaybackStoppedWithHttpInfo(UUID userId, UUID itemId, String mediaSourceId, String nextMediaType, Long positionTicks, String liveStreamId, String playSessionId) throws ApiException { - okhttp3.Call localVarCall = onPlaybackStoppedValidateBeforeCall(userId, itemId, mediaSourceId, nextMediaType, positionTicks, liveStreamId, playSessionId, null); + public ApiResponse onPlaybackStoppedWithHttpInfo(UUID itemId, String mediaSourceId, String nextMediaType, Long positionTicks, String liveStreamId, String playSessionId) throws ApiException { + okhttp3.Call localVarCall = onPlaybackStoppedValidateBeforeCall(itemId, mediaSourceId, nextMediaType, positionTicks, liveStreamId, playSessionId, null); return localVarApiClient.execute(localVarCall); } /** - * Reports that a user has stopped playing an item. (asynchronously) + * Reports that a session has stopped playing an item. (asynchronously) * - * @param userId User id. (required) * @param itemId Item id. (required) * @param mediaSourceId The id of the MediaSource. (optional) * @param nextMediaType The next media type that will play. (optional) @@ -979,9 +954,9 @@ public class PlaystateApi { 403 Forbidden - */ - public okhttp3.Call onPlaybackStoppedAsync(UUID userId, UUID itemId, String mediaSourceId, String nextMediaType, Long positionTicks, String liveStreamId, String playSessionId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call onPlaybackStoppedAsync(UUID itemId, String mediaSourceId, String nextMediaType, Long positionTicks, String liveStreamId, String playSessionId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = onPlaybackStoppedValidateBeforeCall(userId, itemId, mediaSourceId, nextMediaType, positionTicks, liveStreamId, playSessionId, _callback); + okhttp3.Call localVarCall = onPlaybackStoppedValidateBeforeCall(itemId, mediaSourceId, nextMediaType, positionTicks, liveStreamId, playSessionId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/PluginsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/PluginsApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/PluginsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/PluginsApi.java index b3901e178cf..a104af338b3 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/PluginsApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/PluginsApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/QuickConnectApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/QuickConnectApi.java similarity index 83% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/QuickConnectApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/QuickConnectApi.java index fd667f908ad..2c411ea0b29 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/QuickConnectApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/QuickConnectApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ import java.io.IOException; import org.openapitools.client.model.ProblemDetails; import org.openapitools.client.model.QuickConnectResult; +import java.util.UUID; import java.lang.reflect.Type; import java.util.ArrayList; @@ -74,8 +75,9 @@ public class QuickConnectApi { } /** - * Build call for authorize + * Build call for authorizeQuickConnect * @param code Quick connect code to authorize. (required) + * @param userId The user the authorize. Access to the requested user is required. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -88,7 +90,7 @@ public class QuickConnectApi { 401 Unauthorized - */ - public okhttp3.Call authorizeCall(String code, final ApiCallback _callback) throws ApiException { + public okhttp3.Call authorizeQuickConnectCall(String code, UUID userId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -117,6 +119,10 @@ public class QuickConnectApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("code", code)); } + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + final String[] localVarAccepts = { "application/json", "application/json; profile=CamelCase", @@ -139,13 +145,13 @@ public class QuickConnectApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call authorizeValidateBeforeCall(String code, final ApiCallback _callback) throws ApiException { + private okhttp3.Call authorizeQuickConnectValidateBeforeCall(String code, UUID userId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'code' is set if (code == null) { - throw new ApiException("Missing the required parameter 'code' when calling authorize(Async)"); + throw new ApiException("Missing the required parameter 'code' when calling authorizeQuickConnect(Async)"); } - return authorizeCall(code, _callback); + return authorizeQuickConnectCall(code, userId, _callback); } @@ -153,6 +159,7 @@ public class QuickConnectApi { * Authorizes a pending quick connect request. * * @param code Quick connect code to authorize. (required) + * @param userId The user the authorize. Access to the requested user is required. (optional) * @return Boolean * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -164,8 +171,8 @@ public class QuickConnectApi { 401 Unauthorized - */ - public Boolean authorize(String code) throws ApiException { - ApiResponse localVarResp = authorizeWithHttpInfo(code); + public Boolean authorizeQuickConnect(String code, UUID userId) throws ApiException { + ApiResponse localVarResp = authorizeQuickConnectWithHttpInfo(code, userId); return localVarResp.getData(); } @@ -173,6 +180,7 @@ public class QuickConnectApi { * Authorizes a pending quick connect request. * * @param code Quick connect code to authorize. (required) + * @param userId The user the authorize. Access to the requested user is required. (optional) * @return ApiResponse<Boolean> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -184,8 +192,8 @@ public class QuickConnectApi { 401 Unauthorized - */ - public ApiResponse authorizeWithHttpInfo(String code) throws ApiException { - okhttp3.Call localVarCall = authorizeValidateBeforeCall(code, null); + public ApiResponse authorizeQuickConnectWithHttpInfo(String code, UUID userId) throws ApiException { + okhttp3.Call localVarCall = authorizeQuickConnectValidateBeforeCall(code, userId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -194,6 +202,7 @@ public class QuickConnectApi { * Authorizes a pending quick connect request. (asynchronously) * * @param code Quick connect code to authorize. (required) + * @param userId The user the authorize. Access to the requested user is required. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -206,15 +215,134 @@ public class QuickConnectApi { 401 Unauthorized - */ - public okhttp3.Call authorizeAsync(String code, final ApiCallback _callback) throws ApiException { + public okhttp3.Call authorizeQuickConnectAsync(String code, UUID userId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = authorizeValidateBeforeCall(code, _callback); + okhttp3.Call localVarCall = authorizeQuickConnectValidateBeforeCall(code, userId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for connect + * Build call for getQuickConnectEnabled + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + +
Response Details
Status Code Description Response Headers
200 Quick connect state returned. -
+ */ + public okhttp3.Call getQuickConnectEnabledCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/QuickConnect/Enabled"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getQuickConnectEnabledValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return getQuickConnectEnabledCall(_callback); + + } + + /** + * Gets the current quick connect state. + * + * @return Boolean + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + +
Response Details
Status Code Description Response Headers
200 Quick connect state returned. -
+ */ + public Boolean getQuickConnectEnabled() throws ApiException { + ApiResponse localVarResp = getQuickConnectEnabledWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Gets the current quick connect state. + * + * @return ApiResponse<Boolean> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + +
Response Details
Status Code Description Response Headers
200 Quick connect state returned. -
+ */ + public ApiResponse getQuickConnectEnabledWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = getQuickConnectEnabledValidateBeforeCall(null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Gets the current quick connect state. (asynchronously) + * + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + +
Response Details
Status Code Description Response Headers
200 Quick connect state returned. -
+ */ + public okhttp3.Call getQuickConnectEnabledAsync(final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getQuickConnectEnabledValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getQuickConnectState * @param secret Secret previously returned from the Initiate endpoint. (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -227,7 +355,7 @@ public class QuickConnectApi { 404 Unknown quick connect secret. - */ - public okhttp3.Call connectCall(String secret, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getQuickConnectStateCall(String secret, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -278,13 +406,13 @@ public class QuickConnectApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call connectValidateBeforeCall(String secret, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getQuickConnectStateValidateBeforeCall(String secret, final ApiCallback _callback) throws ApiException { // verify the required parameter 'secret' is set if (secret == null) { - throw new ApiException("Missing the required parameter 'secret' when calling connect(Async)"); + throw new ApiException("Missing the required parameter 'secret' when calling getQuickConnectState(Async)"); } - return connectCall(secret, _callback); + return getQuickConnectStateCall(secret, _callback); } @@ -302,8 +430,8 @@ public class QuickConnectApi { 404 Unknown quick connect secret. - */ - public QuickConnectResult connect(String secret) throws ApiException { - ApiResponse localVarResp = connectWithHttpInfo(secret); + public QuickConnectResult getQuickConnectState(String secret) throws ApiException { + ApiResponse localVarResp = getQuickConnectStateWithHttpInfo(secret); return localVarResp.getData(); } @@ -321,8 +449,8 @@ public class QuickConnectApi { 404 Unknown quick connect secret. - */ - public ApiResponse connectWithHttpInfo(String secret) throws ApiException { - okhttp3.Call localVarCall = connectValidateBeforeCall(secret, null); + public ApiResponse getQuickConnectStateWithHttpInfo(String secret) throws ApiException { + okhttp3.Call localVarCall = getQuickConnectStateValidateBeforeCall(secret, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -342,134 +470,15 @@ public class QuickConnectApi { 404 Unknown quick connect secret. - */ - public okhttp3.Call connectAsync(String secret, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getQuickConnectStateAsync(String secret, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = connectValidateBeforeCall(secret, _callback); + okhttp3.Call localVarCall = getQuickConnectStateValidateBeforeCall(secret, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for getEnabled - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - -
Response Details
Status Code Description Response Headers
200 Quick connect state returned. -
- */ - public okhttp3.Call getEnabledCall(final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/QuickConnect/Enabled"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getEnabledValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return getEnabledCall(_callback); - - } - - /** - * Gets the current quick connect state. - * - * @return Boolean - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - -
Response Details
Status Code Description Response Headers
200 Quick connect state returned. -
- */ - public Boolean getEnabled() throws ApiException { - ApiResponse localVarResp = getEnabledWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * Gets the current quick connect state. - * - * @return ApiResponse<Boolean> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - -
Response Details
Status Code Description Response Headers
200 Quick connect state returned. -
- */ - public ApiResponse getEnabledWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getEnabledValidateBeforeCall(null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets the current quick connect state. (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - -
Response Details
Status Code Description Response Headers
200 Quick connect state returned. -
- */ - public okhttp3.Call getEnabledAsync(final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getEnabledValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for initiate + * Build call for initiateQuickConnect * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -481,7 +490,7 @@ public class QuickConnectApi { 401 Quick connect is not active on this server. - */ - public okhttp3.Call initiateCall(final ApiCallback _callback) throws ApiException { + public okhttp3.Call initiateQuickConnectCall(final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -524,12 +533,12 @@ public class QuickConnectApi { } String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call initiateValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return initiateCall(_callback); + private okhttp3.Call initiateQuickConnectValidateBeforeCall(final ApiCallback _callback) throws ApiException { + return initiateQuickConnectCall(_callback); } @@ -546,8 +555,8 @@ public class QuickConnectApi { 401 Quick connect is not active on this server. - */ - public QuickConnectResult initiate() throws ApiException { - ApiResponse localVarResp = initiateWithHttpInfo(); + public QuickConnectResult initiateQuickConnect() throws ApiException { + ApiResponse localVarResp = initiateQuickConnectWithHttpInfo(); return localVarResp.getData(); } @@ -564,8 +573,8 @@ public class QuickConnectApi { 401 Quick connect is not active on this server. - */ - public ApiResponse initiateWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = initiateValidateBeforeCall(null); + public ApiResponse initiateQuickConnectWithHttpInfo() throws ApiException { + okhttp3.Call localVarCall = initiateQuickConnectValidateBeforeCall(null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -584,9 +593,9 @@ public class QuickConnectApi { 401 Quick connect is not active on this server. - */ - public okhttp3.Call initiateAsync(final ApiCallback _callback) throws ApiException { + public okhttp3.Call initiateQuickConnectAsync(final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = initiateValidateBeforeCall(_callback); + okhttp3.Call localVarCall = initiateQuickConnectValidateBeforeCall(_callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/RemoteImageApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/RemoteImageApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/RemoteImageApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/RemoteImageApi.java index 4628254d485..9c11c4260ed 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/RemoteImageApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/RemoteImageApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ScheduledTasksApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ScheduledTasksApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ScheduledTasksApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ScheduledTasksApi.java index e7a922a5983..d3bcbae087d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ScheduledTasksApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/ScheduledTasksApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/SearchApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/SearchApi.java similarity index 80% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/SearchApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/SearchApi.java index 022c3de34a5..13a352633dd 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/SearchApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/SearchApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -28,6 +28,7 @@ import java.io.IOException; import org.openapitools.client.model.BaseItemKind; +import org.openapitools.client.model.MediaType; import org.openapitools.client.model.SearchHintResult; import java.util.UUID; @@ -75,14 +76,14 @@ public class SearchApi { } /** - * Build call for get + * Build call for getSearchHints * @param searchTerm The search term to filter on. (required) * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param userId Optional. Supply a user id to search within a user's library or omit to search all. (optional) - * @param includeItemTypes If specified, only results with the specified item types are returned. This allows multiple, comma delimeted. (optional) - * @param excludeItemTypes If specified, results with these item types are filtered out. This allows multiple, comma delimeted. (optional) - * @param mediaTypes If specified, only results with the specified media types are returned. This allows multiple, comma delimeted. (optional) + * @param includeItemTypes If specified, only results with the specified item types are returned. This allows multiple, comma delimited. (optional) + * @param excludeItemTypes If specified, results with these item types are filtered out. This allows multiple, comma delimited. (optional) + * @param mediaTypes If specified, only results with the specified media types are returned. This allows multiple, comma delimited. (optional) * @param parentId If specified, only children of the parent are returned. (optional) * @param isMovie Optional filter for movies. (optional) * @param isSeries Optional filter for series. (optional) @@ -106,7 +107,7 @@ public class SearchApi { 403 Forbidden - */ - public okhttp3.Call getCall(String searchTerm, Integer startIndex, Integer limit, UUID userId, List includeItemTypes, List excludeItemTypes, List mediaTypes, UUID parentId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Boolean includePeople, Boolean includeMedia, Boolean includeGenres, Boolean includeStudios, Boolean includeArtists, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getSearchHintsCall(String searchTerm, Integer startIndex, Integer limit, UUID userId, List includeItemTypes, List excludeItemTypes, List mediaTypes, UUID parentId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Boolean includePeople, Boolean includeMedia, Boolean includeGenres, Boolean includeStudios, Boolean includeArtists, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -225,13 +226,13 @@ public class SearchApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getValidateBeforeCall(String searchTerm, Integer startIndex, Integer limit, UUID userId, List includeItemTypes, List excludeItemTypes, List mediaTypes, UUID parentId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Boolean includePeople, Boolean includeMedia, Boolean includeGenres, Boolean includeStudios, Boolean includeArtists, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getSearchHintsValidateBeforeCall(String searchTerm, Integer startIndex, Integer limit, UUID userId, List includeItemTypes, List excludeItemTypes, List mediaTypes, UUID parentId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Boolean includePeople, Boolean includeMedia, Boolean includeGenres, Boolean includeStudios, Boolean includeArtists, final ApiCallback _callback) throws ApiException { // verify the required parameter 'searchTerm' is set if (searchTerm == null) { - throw new ApiException("Missing the required parameter 'searchTerm' when calling get(Async)"); + throw new ApiException("Missing the required parameter 'searchTerm' when calling getSearchHints(Async)"); } - return getCall(searchTerm, startIndex, limit, userId, includeItemTypes, excludeItemTypes, mediaTypes, parentId, isMovie, isSeries, isNews, isKids, isSports, includePeople, includeMedia, includeGenres, includeStudios, includeArtists, _callback); + return getSearchHintsCall(searchTerm, startIndex, limit, userId, includeItemTypes, excludeItemTypes, mediaTypes, parentId, isMovie, isSeries, isNews, isKids, isSports, includePeople, includeMedia, includeGenres, includeStudios, includeArtists, _callback); } @@ -242,9 +243,9 @@ public class SearchApi { * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param userId Optional. Supply a user id to search within a user's library or omit to search all. (optional) - * @param includeItemTypes If specified, only results with the specified item types are returned. This allows multiple, comma delimeted. (optional) - * @param excludeItemTypes If specified, results with these item types are filtered out. This allows multiple, comma delimeted. (optional) - * @param mediaTypes If specified, only results with the specified media types are returned. This allows multiple, comma delimeted. (optional) + * @param includeItemTypes If specified, only results with the specified item types are returned. This allows multiple, comma delimited. (optional) + * @param excludeItemTypes If specified, results with these item types are filtered out. This allows multiple, comma delimited. (optional) + * @param mediaTypes If specified, only results with the specified media types are returned. This allows multiple, comma delimited. (optional) * @param parentId If specified, only children of the parent are returned. (optional) * @param isMovie Optional filter for movies. (optional) * @param isSeries Optional filter for series. (optional) @@ -267,8 +268,8 @@ public class SearchApi { 403 Forbidden - */ - public SearchHintResult get(String searchTerm, Integer startIndex, Integer limit, UUID userId, List includeItemTypes, List excludeItemTypes, List mediaTypes, UUID parentId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Boolean includePeople, Boolean includeMedia, Boolean includeGenres, Boolean includeStudios, Boolean includeArtists) throws ApiException { - ApiResponse localVarResp = getWithHttpInfo(searchTerm, startIndex, limit, userId, includeItemTypes, excludeItemTypes, mediaTypes, parentId, isMovie, isSeries, isNews, isKids, isSports, includePeople, includeMedia, includeGenres, includeStudios, includeArtists); + public SearchHintResult getSearchHints(String searchTerm, Integer startIndex, Integer limit, UUID userId, List includeItemTypes, List excludeItemTypes, List mediaTypes, UUID parentId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Boolean includePeople, Boolean includeMedia, Boolean includeGenres, Boolean includeStudios, Boolean includeArtists) throws ApiException { + ApiResponse localVarResp = getSearchHintsWithHttpInfo(searchTerm, startIndex, limit, userId, includeItemTypes, excludeItemTypes, mediaTypes, parentId, isMovie, isSeries, isNews, isKids, isSports, includePeople, includeMedia, includeGenres, includeStudios, includeArtists); return localVarResp.getData(); } @@ -279,9 +280,9 @@ public class SearchApi { * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param userId Optional. Supply a user id to search within a user's library or omit to search all. (optional) - * @param includeItemTypes If specified, only results with the specified item types are returned. This allows multiple, comma delimeted. (optional) - * @param excludeItemTypes If specified, results with these item types are filtered out. This allows multiple, comma delimeted. (optional) - * @param mediaTypes If specified, only results with the specified media types are returned. This allows multiple, comma delimeted. (optional) + * @param includeItemTypes If specified, only results with the specified item types are returned. This allows multiple, comma delimited. (optional) + * @param excludeItemTypes If specified, results with these item types are filtered out. This allows multiple, comma delimited. (optional) + * @param mediaTypes If specified, only results with the specified media types are returned. This allows multiple, comma delimited. (optional) * @param parentId If specified, only children of the parent are returned. (optional) * @param isMovie Optional filter for movies. (optional) * @param isSeries Optional filter for series. (optional) @@ -304,8 +305,8 @@ public class SearchApi { 403 Forbidden - */ - public ApiResponse getWithHttpInfo(String searchTerm, Integer startIndex, Integer limit, UUID userId, List includeItemTypes, List excludeItemTypes, List mediaTypes, UUID parentId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Boolean includePeople, Boolean includeMedia, Boolean includeGenres, Boolean includeStudios, Boolean includeArtists) throws ApiException { - okhttp3.Call localVarCall = getValidateBeforeCall(searchTerm, startIndex, limit, userId, includeItemTypes, excludeItemTypes, mediaTypes, parentId, isMovie, isSeries, isNews, isKids, isSports, includePeople, includeMedia, includeGenres, includeStudios, includeArtists, null); + public ApiResponse getSearchHintsWithHttpInfo(String searchTerm, Integer startIndex, Integer limit, UUID userId, List includeItemTypes, List excludeItemTypes, List mediaTypes, UUID parentId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Boolean includePeople, Boolean includeMedia, Boolean includeGenres, Boolean includeStudios, Boolean includeArtists) throws ApiException { + okhttp3.Call localVarCall = getSearchHintsValidateBeforeCall(searchTerm, startIndex, limit, userId, includeItemTypes, excludeItemTypes, mediaTypes, parentId, isMovie, isSeries, isNews, isKids, isSports, includePeople, includeMedia, includeGenres, includeStudios, includeArtists, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -317,9 +318,9 @@ public class SearchApi { * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) * @param limit Optional. The maximum number of records to return. (optional) * @param userId Optional. Supply a user id to search within a user's library or omit to search all. (optional) - * @param includeItemTypes If specified, only results with the specified item types are returned. This allows multiple, comma delimeted. (optional) - * @param excludeItemTypes If specified, results with these item types are filtered out. This allows multiple, comma delimeted. (optional) - * @param mediaTypes If specified, only results with the specified media types are returned. This allows multiple, comma delimeted. (optional) + * @param includeItemTypes If specified, only results with the specified item types are returned. This allows multiple, comma delimited. (optional) + * @param excludeItemTypes If specified, results with these item types are filtered out. This allows multiple, comma delimited. (optional) + * @param mediaTypes If specified, only results with the specified media types are returned. This allows multiple, comma delimited. (optional) * @param parentId If specified, only children of the parent are returned. (optional) * @param isMovie Optional filter for movies. (optional) * @param isSeries Optional filter for series. (optional) @@ -343,9 +344,9 @@ public class SearchApi { 403 Forbidden - */ - public okhttp3.Call getAsync(String searchTerm, Integer startIndex, Integer limit, UUID userId, List includeItemTypes, List excludeItemTypes, List mediaTypes, UUID parentId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Boolean includePeople, Boolean includeMedia, Boolean includeGenres, Boolean includeStudios, Boolean includeArtists, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getSearchHintsAsync(String searchTerm, Integer startIndex, Integer limit, UUID userId, List includeItemTypes, List excludeItemTypes, List mediaTypes, UUID parentId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, Boolean includePeople, Boolean includeMedia, Boolean includeGenres, Boolean includeStudios, Boolean includeArtists, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getValidateBeforeCall(searchTerm, startIndex, limit, userId, includeItemTypes, excludeItemTypes, mediaTypes, parentId, isMovie, isSeries, isNews, isKids, isSports, includePeople, includeMedia, includeGenres, includeStudios, includeArtists, _callback); + okhttp3.Call localVarCall = getSearchHintsValidateBeforeCall(searchTerm, startIndex, limit, userId, includeItemTypes, excludeItemTypes, mediaTypes, parentId, isMovie, isSeries, isNews, isKids, isSports, includePeople, includeMedia, includeGenres, includeStudios, includeArtists, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/SessionApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/SessionApi.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/SessionApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/SessionApi.java index f580d3350ca..590ff89e4ea 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/SessionApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/SessionApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -31,11 +31,12 @@ import org.openapitools.client.model.BaseItemKind; import org.openapitools.client.model.ClientCapabilitiesDto; import org.openapitools.client.model.GeneralCommand; import org.openapitools.client.model.GeneralCommandType; +import org.openapitools.client.model.MediaType; import org.openapitools.client.model.MessageCommand; import org.openapitools.client.model.NameIdPair; import org.openapitools.client.model.PlayCommand; import org.openapitools.client.model.PlaystateCommand; -import org.openapitools.client.model.SessionInfo; +import org.openapitools.client.model.SessionInfoDto; import java.util.UUID; import java.lang.reflect.Type; @@ -731,7 +732,7 @@ public class SessionApi { * @param controllableByUserId Filter by sessions that a given user is allowed to remote control. (optional) * @param deviceId Filter by device Id. (optional) * @param activeWithinSeconds Optional. Filter by sessions that were active in the last n seconds. (optional) - * @return List<SessionInfo> + * @return List<SessionInfoDto> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -742,8 +743,8 @@ public class SessionApi {
403 Forbidden -
*/ - public List getSessions(UUID controllableByUserId, String deviceId, Integer activeWithinSeconds) throws ApiException { - ApiResponse> localVarResp = getSessionsWithHttpInfo(controllableByUserId, deviceId, activeWithinSeconds); + public List getSessions(UUID controllableByUserId, String deviceId, Integer activeWithinSeconds) throws ApiException { + ApiResponse> localVarResp = getSessionsWithHttpInfo(controllableByUserId, deviceId, activeWithinSeconds); return localVarResp.getData(); } @@ -753,7 +754,7 @@ public class SessionApi { * @param controllableByUserId Filter by sessions that a given user is allowed to remote control. (optional) * @param deviceId Filter by device Id. (optional) * @param activeWithinSeconds Optional. Filter by sessions that were active in the last n seconds. (optional) - * @return ApiResponse<List<SessionInfo>> + * @return ApiResponse<List<SessionInfoDto>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -764,9 +765,9 @@ public class SessionApi {
403 Forbidden -
*/ - public ApiResponse> getSessionsWithHttpInfo(UUID controllableByUserId, String deviceId, Integer activeWithinSeconds) throws ApiException { + public ApiResponse> getSessionsWithHttpInfo(UUID controllableByUserId, String deviceId, Integer activeWithinSeconds) throws ApiException { okhttp3.Call localVarCall = getSessionsValidateBeforeCall(controllableByUserId, deviceId, activeWithinSeconds, null); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -788,10 +789,10 @@ public class SessionApi { 403 Forbidden - */ - public okhttp3.Call getSessionsAsync(UUID controllableByUserId, String deviceId, Integer activeWithinSeconds, final ApiCallback> _callback) throws ApiException { + public okhttp3.Call getSessionsAsync(UUID controllableByUserId, String deviceId, Integer activeWithinSeconds, final ApiCallback> _callback) throws ApiException { okhttp3.Call localVarCall = getSessionsValidateBeforeCall(controllableByUserId, deviceId, activeWithinSeconds, _callback); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } @@ -997,7 +998,6 @@ public class SessionApi { * @param playableMediaTypes A list of playable media types, comma delimited. Audio, Video, Book, Photo. (optional) * @param supportedCommands A list of supported remote control commands, comma delimited. (optional) * @param supportsMediaControl Determines whether media can be played remotely.. (optional, default to false) - * @param supportsSync Determines whether sync is supported. (optional, default to false) * @param supportsPersistentIdentifier Determines whether the device supports a unique identifier. (optional, default to true) * @param _callback Callback for upload/download progress * @return Call to execute @@ -1011,7 +1011,7 @@ public class SessionApi { 403 Forbidden - */ - public okhttp3.Call postCapabilitiesCall(String id, List playableMediaTypes, List supportedCommands, Boolean supportsMediaControl, Boolean supportsSync, Boolean supportsPersistentIdentifier, final ApiCallback _callback) throws ApiException { + public okhttp3.Call postCapabilitiesCall(String id, List playableMediaTypes, List supportedCommands, Boolean supportsMediaControl, Boolean supportsPersistentIdentifier, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1052,10 +1052,6 @@ public class SessionApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("supportsMediaControl", supportsMediaControl)); } - if (supportsSync != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("supportsSync", supportsSync)); - } - if (supportsPersistentIdentifier != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("supportsPersistentIdentifier", supportsPersistentIdentifier)); } @@ -1079,8 +1075,8 @@ public class SessionApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call postCapabilitiesValidateBeforeCall(String id, List playableMediaTypes, List supportedCommands, Boolean supportsMediaControl, Boolean supportsSync, Boolean supportsPersistentIdentifier, final ApiCallback _callback) throws ApiException { - return postCapabilitiesCall(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsSync, supportsPersistentIdentifier, _callback); + private okhttp3.Call postCapabilitiesValidateBeforeCall(String id, List playableMediaTypes, List supportedCommands, Boolean supportsMediaControl, Boolean supportsPersistentIdentifier, final ApiCallback _callback) throws ApiException { + return postCapabilitiesCall(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsPersistentIdentifier, _callback); } @@ -1091,7 +1087,6 @@ public class SessionApi { * @param playableMediaTypes A list of playable media types, comma delimited. Audio, Video, Book, Photo. (optional) * @param supportedCommands A list of supported remote control commands, comma delimited. (optional) * @param supportsMediaControl Determines whether media can be played remotely.. (optional, default to false) - * @param supportsSync Determines whether sync is supported. (optional, default to false) * @param supportsPersistentIdentifier Determines whether the device supports a unique identifier. (optional, default to true) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1103,8 +1098,8 @@ public class SessionApi { 403 Forbidden - */ - public void postCapabilities(String id, List playableMediaTypes, List supportedCommands, Boolean supportsMediaControl, Boolean supportsSync, Boolean supportsPersistentIdentifier) throws ApiException { - postCapabilitiesWithHttpInfo(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsSync, supportsPersistentIdentifier); + public void postCapabilities(String id, List playableMediaTypes, List supportedCommands, Boolean supportsMediaControl, Boolean supportsPersistentIdentifier) throws ApiException { + postCapabilitiesWithHttpInfo(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsPersistentIdentifier); } /** @@ -1114,7 +1109,6 @@ public class SessionApi { * @param playableMediaTypes A list of playable media types, comma delimited. Audio, Video, Book, Photo. (optional) * @param supportedCommands A list of supported remote control commands, comma delimited. (optional) * @param supportsMediaControl Determines whether media can be played remotely.. (optional, default to false) - * @param supportsSync Determines whether sync is supported. (optional, default to false) * @param supportsPersistentIdentifier Determines whether the device supports a unique identifier. (optional, default to true) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -1127,8 +1121,8 @@ public class SessionApi { 403 Forbidden - */ - public ApiResponse postCapabilitiesWithHttpInfo(String id, List playableMediaTypes, List supportedCommands, Boolean supportsMediaControl, Boolean supportsSync, Boolean supportsPersistentIdentifier) throws ApiException { - okhttp3.Call localVarCall = postCapabilitiesValidateBeforeCall(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsSync, supportsPersistentIdentifier, null); + public ApiResponse postCapabilitiesWithHttpInfo(String id, List playableMediaTypes, List supportedCommands, Boolean supportsMediaControl, Boolean supportsPersistentIdentifier) throws ApiException { + okhttp3.Call localVarCall = postCapabilitiesValidateBeforeCall(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsPersistentIdentifier, null); return localVarApiClient.execute(localVarCall); } @@ -1139,7 +1133,6 @@ public class SessionApi { * @param playableMediaTypes A list of playable media types, comma delimited. Audio, Video, Book, Photo. (optional) * @param supportedCommands A list of supported remote control commands, comma delimited. (optional) * @param supportsMediaControl Determines whether media can be played remotely.. (optional, default to false) - * @param supportsSync Determines whether sync is supported. (optional, default to false) * @param supportsPersistentIdentifier Determines whether the device supports a unique identifier. (optional, default to true) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -1153,9 +1146,9 @@ public class SessionApi { 403 Forbidden - */ - public okhttp3.Call postCapabilitiesAsync(String id, List playableMediaTypes, List supportedCommands, Boolean supportsMediaControl, Boolean supportsSync, Boolean supportsPersistentIdentifier, final ApiCallback _callback) throws ApiException { + public okhttp3.Call postCapabilitiesAsync(String id, List playableMediaTypes, List supportedCommands, Boolean supportsMediaControl, Boolean supportsPersistentIdentifier, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = postCapabilitiesValidateBeforeCall(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsSync, supportsPersistentIdentifier, _callback); + okhttp3.Call localVarCall = postCapabilitiesValidateBeforeCall(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsPersistentIdentifier, _callback); localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/StartupApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/StartupApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/StartupApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/StartupApi.java index 5efbe64f91c..c7142f2d77b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/StartupApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/StartupApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/StudiosApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/StudiosApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/StudiosApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/StudiosApi.java index ef76f8c2407..cd3e43c7879 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/StudiosApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/StudiosApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/SubtitleApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/SubtitleApi.java similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/SubtitleApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/SubtitleApi.java index cbab4999b17..da355998d52 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/SubtitleApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/SubtitleApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -236,6 +236,7 @@ public class SubtitleApi { Response Details Status Code Description Response Headers 204 Subtitle downloaded. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -268,6 +269,9 @@ public class SubtitleApi { Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -312,6 +316,7 @@ public class SubtitleApi { Response Details Status Code Description Response Headers 204 Subtitle downloaded. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -332,6 +337,7 @@ public class SubtitleApi { Response Details Status Code Description Response Headers 204 Subtitle downloaded. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -354,6 +360,7 @@ public class SubtitleApi { Response Details Status Code Description Response Headers 204 Subtitle downloaded. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -628,7 +635,7 @@ public class SubtitleApi { } /** * Build call for getRemoteSubtitles - * @param id The item id. (required) + * @param subtitleId The item id. (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -641,7 +648,7 @@ public class SubtitleApi { 403 Forbidden - */ - public okhttp3.Call getRemoteSubtitlesCall(String id, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRemoteSubtitlesCall(String subtitleId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -658,8 +665,8 @@ public class SubtitleApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Providers/Subtitles/Subtitles/{id}" - .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString())); + String localVarPath = "/Providers/Subtitles/Subtitles/{subtitleId}" + .replace("{" + "subtitleId" + "}", localVarApiClient.escapeString(subtitleId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -687,20 +694,20 @@ public class SubtitleApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getRemoteSubtitlesValidateBeforeCall(String id, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'id' is set - if (id == null) { - throw new ApiException("Missing the required parameter 'id' when calling getRemoteSubtitles(Async)"); + private okhttp3.Call getRemoteSubtitlesValidateBeforeCall(String subtitleId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'subtitleId' is set + if (subtitleId == null) { + throw new ApiException("Missing the required parameter 'subtitleId' when calling getRemoteSubtitles(Async)"); } - return getRemoteSubtitlesCall(id, _callback); + return getRemoteSubtitlesCall(subtitleId, _callback); } /** * Gets the remote subtitles. * - * @param id The item id. (required) + * @param subtitleId The item id. (required) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -712,15 +719,15 @@ public class SubtitleApi { 403 Forbidden - */ - public File getRemoteSubtitles(String id) throws ApiException { - ApiResponse localVarResp = getRemoteSubtitlesWithHttpInfo(id); + public File getRemoteSubtitles(String subtitleId) throws ApiException { + ApiResponse localVarResp = getRemoteSubtitlesWithHttpInfo(subtitleId); return localVarResp.getData(); } /** * Gets the remote subtitles. * - * @param id The item id. (required) + * @param subtitleId The item id. (required) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -732,8 +739,8 @@ public class SubtitleApi { 403 Forbidden - */ - public ApiResponse getRemoteSubtitlesWithHttpInfo(String id) throws ApiException { - okhttp3.Call localVarCall = getRemoteSubtitlesValidateBeforeCall(id, null); + public ApiResponse getRemoteSubtitlesWithHttpInfo(String subtitleId) throws ApiException { + okhttp3.Call localVarCall = getRemoteSubtitlesValidateBeforeCall(subtitleId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -741,7 +748,7 @@ public class SubtitleApi { /** * Gets the remote subtitles. (asynchronously) * - * @param id The item id. (required) + * @param subtitleId The item id. (required) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -754,9 +761,9 @@ public class SubtitleApi { 403 Forbidden - */ - public okhttp3.Call getRemoteSubtitlesAsync(String id, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getRemoteSubtitlesAsync(String subtitleId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getRemoteSubtitlesValidateBeforeCall(id, _callback); + okhttp3.Call localVarCall = getRemoteSubtitlesValidateBeforeCall(subtitleId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -996,6 +1003,7 @@ public class SubtitleApi { Response Details Status Code Description Response Headers 200 Subtitle playlist retrieved. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -1033,7 +1041,10 @@ public class SubtitleApi { } final String[] localVarAccepts = { - "application/x-mpegURL" + "application/x-mpegURL", + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -1091,6 +1102,7 @@ public class SubtitleApi { Response Details Status Code Description Response Headers 200 Subtitle playlist retrieved. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -1114,6 +1126,7 @@ public class SubtitleApi { Response Details Status Code Description Response Headers 200 Subtitle playlist retrieved. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -1139,6 +1152,7 @@ public class SubtitleApi { Response Details Status Code Description Response Headers 200 Subtitle playlist retrieved. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -1394,6 +1408,7 @@ public class SubtitleApi { Response Details Status Code Description Response Headers 200 Subtitles retrieved. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -1479,6 +1494,7 @@ public class SubtitleApi { Response Details Status Code Description Response Headers 200 Subtitles retrieved. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -1501,6 +1517,7 @@ public class SubtitleApi { Response Details Status Code Description Response Headers 200 Subtitles retrieved. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -1525,6 +1542,7 @@ public class SubtitleApi { Response Details Status Code Description Response Headers 200 Subtitles retrieved. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -1548,6 +1566,7 @@ public class SubtitleApi { Response Details Status Code Description Response Headers 204 Subtitle uploaded. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -1579,6 +1598,9 @@ public class SubtitleApi { Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -1626,6 +1648,7 @@ public class SubtitleApi { Response Details Status Code Description Response Headers 204 Subtitle uploaded. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -1646,6 +1669,7 @@ public class SubtitleApi { Response Details Status Code Description Response Headers 204 Subtitle uploaded. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - @@ -1668,6 +1692,7 @@ public class SubtitleApi { Response Details Status Code Description Response Headers 204 Subtitle uploaded. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/SuggestionsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/SuggestionsApi.java similarity index 86% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/SuggestionsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/SuggestionsApi.java index 811a60b0d73..c7c331fd110 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/SuggestionsApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/SuggestionsApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ import java.io.IOException; import org.openapitools.client.model.BaseItemDtoQueryResult; import org.openapitools.client.model.BaseItemKind; +import org.openapitools.client.model.MediaType; import java.util.UUID; import java.lang.reflect.Type; @@ -76,7 +77,7 @@ public class SuggestionsApi { /** * Build call for getSuggestions - * @param userId The user id. (required) + * @param userId The user id. (optional) * @param mediaType The media types. (optional) * @param type The type. (optional) * @param startIndex Optional. The start index. (optional) @@ -94,7 +95,7 @@ public class SuggestionsApi { 403 Forbidden - */ - public okhttp3.Call getSuggestionsCall(UUID userId, List mediaType, List type, Integer startIndex, Integer limit, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getSuggestionsCall(UUID userId, List mediaType, List type, Integer startIndex, Integer limit, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -111,8 +112,7 @@ public class SuggestionsApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/Suggestions" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())); + String localVarPath = "/Items/Suggestions"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -120,6 +120,10 @@ public class SuggestionsApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + if (mediaType != null) { localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "mediaType", mediaType)); } @@ -162,12 +166,7 @@ public class SuggestionsApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getSuggestionsValidateBeforeCall(UUID userId, List mediaType, List type, Integer startIndex, Integer limit, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getSuggestions(Async)"); - } - + private okhttp3.Call getSuggestionsValidateBeforeCall(UUID userId, List mediaType, List type, Integer startIndex, Integer limit, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { return getSuggestionsCall(userId, mediaType, type, startIndex, limit, enableTotalRecordCount, _callback); } @@ -175,7 +174,7 @@ public class SuggestionsApi { /** * Gets suggestions. * - * @param userId The user id. (required) + * @param userId The user id. (optional) * @param mediaType The media types. (optional) * @param type The type. (optional) * @param startIndex Optional. The start index. (optional) @@ -192,7 +191,7 @@ public class SuggestionsApi { 403 Forbidden - */ - public BaseItemDtoQueryResult getSuggestions(UUID userId, List mediaType, List type, Integer startIndex, Integer limit, Boolean enableTotalRecordCount) throws ApiException { + public BaseItemDtoQueryResult getSuggestions(UUID userId, List mediaType, List type, Integer startIndex, Integer limit, Boolean enableTotalRecordCount) throws ApiException { ApiResponse localVarResp = getSuggestionsWithHttpInfo(userId, mediaType, type, startIndex, limit, enableTotalRecordCount); return localVarResp.getData(); } @@ -200,7 +199,7 @@ public class SuggestionsApi { /** * Gets suggestions. * - * @param userId The user id. (required) + * @param userId The user id. (optional) * @param mediaType The media types. (optional) * @param type The type. (optional) * @param startIndex Optional. The start index. (optional) @@ -217,7 +216,7 @@ public class SuggestionsApi { 403 Forbidden - */ - public ApiResponse getSuggestionsWithHttpInfo(UUID userId, List mediaType, List type, Integer startIndex, Integer limit, Boolean enableTotalRecordCount) throws ApiException { + public ApiResponse getSuggestionsWithHttpInfo(UUID userId, List mediaType, List type, Integer startIndex, Integer limit, Boolean enableTotalRecordCount) throws ApiException { okhttp3.Call localVarCall = getSuggestionsValidateBeforeCall(userId, mediaType, type, startIndex, limit, enableTotalRecordCount, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -226,7 +225,7 @@ public class SuggestionsApi { /** * Gets suggestions. (asynchronously) * - * @param userId The user id. (required) + * @param userId The user id. (optional) * @param mediaType The media types. (optional) * @param type The type. (optional) * @param startIndex Optional. The start index. (optional) @@ -244,7 +243,7 @@ public class SuggestionsApi { 403 Forbidden - */ - public okhttp3.Call getSuggestionsAsync(UUID userId, List mediaType, List type, Integer startIndex, Integer limit, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getSuggestionsAsync(UUID userId, List mediaType, List type, Integer startIndex, Integer limit, Boolean enableTotalRecordCount, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getSuggestionsValidateBeforeCall(userId, mediaType, type, startIndex, limit, enableTotalRecordCount, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/SyncPlayApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/SyncPlayApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/SyncPlayApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/SyncPlayApi.java index 910ac97c9e4..9c0d950169d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/SyncPlayApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/SyncPlayApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/SystemApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/SystemApi.java similarity index 94% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/SystemApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/SystemApi.java index 948ae8395b8..39166ebb6c9 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/SystemApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/SystemApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,6 +30,7 @@ import java.io.IOException; import org.openapitools.client.model.EndPointInfo; import java.io.File; import org.openapitools.client.model.LogFile; +import org.openapitools.client.model.ProblemDetails; import org.openapitools.client.model.PublicSystemInfo; import org.openapitools.client.model.SystemInfo; import org.openapitools.client.model.WakeOnLanInfo; @@ -87,8 +88,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 200 Information retrieved. - + 403 User does not have permission to get endpoint information. - 401 Unauthorized - - 403 Forbidden - */ public okhttp3.Call getEndpointInfoCall(final ApiCallback _callback) throws ApiException { @@ -153,8 +154,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 200 Information retrieved. - + 403 User does not have permission to get endpoint information. - 401 Unauthorized - - 403 Forbidden - */ public EndPointInfo getEndpointInfo() throws ApiException { @@ -172,8 +173,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 200 Information retrieved. - + 403 User does not have permission to get endpoint information. - 401 Unauthorized - - 403 Forbidden - */ public ApiResponse getEndpointInfoWithHttpInfo() throws ApiException { @@ -193,8 +194,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 200 Information retrieved. - + 403 User does not have permission to get endpoint information. - 401 Unauthorized - - 403 Forbidden - */ public okhttp3.Call getEndpointInfoAsync(final ApiCallback _callback) throws ApiException { @@ -215,8 +216,9 @@ public class SystemApi { Response Details Status Code Description Response Headers 200 Log file retrieved. - + 403 User does not have permission to get log files. - + 404 Could not find a log file with the name. - 401 Unauthorized - - 403 Forbidden - */ public okhttp3.Call getLogFileCall(String name, final ApiCallback _callback) throws ApiException { @@ -249,7 +251,10 @@ public class SystemApi { } final String[] localVarAccepts = { - "text/plain" + "text/plain", + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -289,8 +294,9 @@ public class SystemApi { Response Details Status Code Description Response Headers 200 Log file retrieved. - + 403 User does not have permission to get log files. - + 404 Could not find a log file with the name. - 401 Unauthorized - - 403 Forbidden - */ public File getLogFile(String name) throws ApiException { @@ -309,8 +315,9 @@ public class SystemApi { Response Details Status Code Description Response Headers 200 Log file retrieved. - + 403 User does not have permission to get log files. - + 404 Could not find a log file with the name. - 401 Unauthorized - - 403 Forbidden - */ public ApiResponse getLogFileWithHttpInfo(String name) throws ApiException { @@ -331,8 +338,9 @@ public class SystemApi { Response Details Status Code Description Response Headers 200 Log file retrieved. - + 403 User does not have permission to get log files. - + 404 Could not find a log file with the name. - 401 Unauthorized - - 403 Forbidden - */ public okhttp3.Call getLogFileAsync(String name, final ApiCallback _callback) throws ApiException { @@ -590,8 +598,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 200 Information retrieved. - + 403 User does not have permission to get server logs. - 401 Unauthorized - - 403 Forbidden - */ public okhttp3.Call getServerLogsCall(final ApiCallback _callback) throws ApiException { @@ -656,8 +664,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 200 Information retrieved. - + 403 User does not have permission to get server logs. - 401 Unauthorized - - 403 Forbidden - */ public List getServerLogs() throws ApiException { @@ -675,8 +683,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 200 Information retrieved. - + 403 User does not have permission to get server logs. - 401 Unauthorized - - 403 Forbidden - */ public ApiResponse> getServerLogsWithHttpInfo() throws ApiException { @@ -696,8 +704,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 200 Information retrieved. - + 403 User does not have permission to get server logs. - 401 Unauthorized - - 403 Forbidden - */ public okhttp3.Call getServerLogsAsync(final ApiCallback> _callback) throws ApiException { @@ -717,8 +725,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 200 Information retrieved. - + 403 User does not have permission to retrieve information. - 401 Unauthorized - - 403 Forbidden - */ public okhttp3.Call getSystemInfoCall(final ApiCallback _callback) throws ApiException { @@ -783,8 +791,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 200 Information retrieved. - + 403 User does not have permission to retrieve information. - 401 Unauthorized - - 403 Forbidden - */ public SystemInfo getSystemInfo() throws ApiException { @@ -802,8 +810,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 200 Information retrieved. - + 403 User does not have permission to retrieve information. - 401 Unauthorized - - 403 Forbidden - */ public ApiResponse getSystemInfoWithHttpInfo() throws ApiException { @@ -823,8 +831,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 200 Information retrieved. - + 403 User does not have permission to retrieve information. - 401 Unauthorized - - 403 Forbidden - */ public okhttp3.Call getSystemInfoAsync(final ApiCallback _callback) throws ApiException { @@ -1099,8 +1107,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 204 Server restarted. - + 403 User does not have permission to restart server. - 401 Unauthorized - - 403 Forbidden - */ public okhttp3.Call restartApplicationCall(final ApiCallback _callback) throws ApiException { @@ -1129,6 +1137,9 @@ public class SystemApi { Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -1161,8 +1172,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 204 Server restarted. - + 403 User does not have permission to restart server. - 401 Unauthorized - - 403 Forbidden - */ public void restartApplication() throws ApiException { @@ -1179,8 +1190,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 204 Server restarted. - + 403 User does not have permission to restart server. - 401 Unauthorized - - 403 Forbidden - */ public ApiResponse restartApplicationWithHttpInfo() throws ApiException { @@ -1199,8 +1210,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 204 Server restarted. - + 403 User does not have permission to restart server. - 401 Unauthorized - - 403 Forbidden - */ public okhttp3.Call restartApplicationAsync(final ApiCallback _callback) throws ApiException { @@ -1219,8 +1230,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 204 Server shut down. - + 403 User does not have permission to shutdown server. - 401 Unauthorized - - 403 Forbidden - */ public okhttp3.Call shutdownApplicationCall(final ApiCallback _callback) throws ApiException { @@ -1249,6 +1260,9 @@ public class SystemApi { Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -1281,8 +1295,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 204 Server shut down. - + 403 User does not have permission to shutdown server. - 401 Unauthorized - - 403 Forbidden - */ public void shutdownApplication() throws ApiException { @@ -1299,8 +1313,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 204 Server shut down. - + 403 User does not have permission to shutdown server. - 401 Unauthorized - - 403 Forbidden - */ public ApiResponse shutdownApplicationWithHttpInfo() throws ApiException { @@ -1319,8 +1333,8 @@ public class SystemApi { Response Details Status Code Description Response Headers 204 Server shut down. - + 403 User does not have permission to shutdown server. - 401 Unauthorized - - 403 Forbidden - */ public okhttp3.Call shutdownApplicationAsync(final ApiCallback _callback) throws ApiException { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/TimeSyncApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/TimeSyncApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/TimeSyncApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/TimeSyncApi.java index 01eda09a082..765da161bd4 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/TimeSyncApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/TimeSyncApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/TmdbApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/TmdbApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/TmdbApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/TmdbApi.java index b27971d61a6..5fd576e2b3c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/TmdbApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/TmdbApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/TrailersApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/TrailersApi.java similarity index 86% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/TrailersApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/TrailersApi.java index 05999bebb75..5a51b01d9ed 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/TrailersApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/TrailersApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,7 +32,9 @@ import org.openapitools.client.model.BaseItemKind; import org.openapitools.client.model.ImageType; import org.openapitools.client.model.ItemFields; import org.openapitools.client.model.ItemFilter; +import org.openapitools.client.model.ItemSortBy; import org.openapitools.client.model.LocationType; +import org.openapitools.client.model.MediaType; import java.time.OffsetDateTime; import org.openapitools.client.model.SeriesStatus; import org.openapitools.client.model.SortOrder; @@ -84,7 +86,7 @@ public class TrailersApi { /** * Build call for getTrailers - * @param userId The user id. (optional) + * @param userId The user id supplied as query parameter; this is required when not using an API key. (optional) * @param maxOfficialRating Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). (optional) * @param hasThemeSong Optional filter by items with theme songs. (optional) * @param hasThemeVideo Optional filter by items with theme videos. (optional) @@ -107,9 +109,9 @@ public class TrailersApi { * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. Format = ISO. (optional) * @param maxPremiereDate Optional. The maximum premiere date. Format = ISO. (optional) * @param hasOverview Optional filter by items that have an overview or not. (optional) - * @param hasImdbId Optional filter by items that have an imdb id or not. (optional) - * @param hasTmdbId Optional filter by items that have a tmdb id or not. (optional) - * @param hasTvdbId Optional filter by items that have a tvdb id or not. (optional) + * @param hasImdbId Optional filter by items that have an IMDb id or not. (optional) + * @param hasTmdbId Optional filter by items that have a TMDb id or not. (optional) + * @param hasTvdbId Optional filter by items that have a TVDb id or not. (optional) * @param isMovie Optional filter for live tv movies. (optional) * @param isSeries Optional filter for live tv series. (optional) * @param isNews Optional filter for live tv news. (optional) @@ -120,7 +122,7 @@ public class TrailersApi { * @param limit Optional. The maximum number of records to return. (optional) * @param recursive When searching within folders, this determines whether or not the search will be recursive. true/false. (optional) * @param searchTerm Optional. Filter based on a search term. (optional) - * @param sortOrder Sort Order - Ascending,Descending. (optional) + * @param sortOrder Sort Order - Ascending, Descending. (optional) * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) @@ -180,7 +182,7 @@ public class TrailersApi { 403 Forbidden - */ - public okhttp3.Call getTrailersCall(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getTrailersCall(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, UUID adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -563,7 +565,7 @@ public class TrailersApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getTrailersValidateBeforeCall(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getTrailersValidateBeforeCall(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, UUID adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages, final ApiCallback _callback) throws ApiException { return getTrailersCall(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, _callback); } @@ -571,7 +573,7 @@ public class TrailersApi { /** * Finds movies and trailers similar to a given trailer. * - * @param userId The user id. (optional) + * @param userId The user id supplied as query parameter; this is required when not using an API key. (optional) * @param maxOfficialRating Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). (optional) * @param hasThemeSong Optional filter by items with theme songs. (optional) * @param hasThemeVideo Optional filter by items with theme videos. (optional) @@ -594,9 +596,9 @@ public class TrailersApi { * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. Format = ISO. (optional) * @param maxPremiereDate Optional. The maximum premiere date. Format = ISO. (optional) * @param hasOverview Optional filter by items that have an overview or not. (optional) - * @param hasImdbId Optional filter by items that have an imdb id or not. (optional) - * @param hasTmdbId Optional filter by items that have a tmdb id or not. (optional) - * @param hasTvdbId Optional filter by items that have a tvdb id or not. (optional) + * @param hasImdbId Optional filter by items that have an IMDb id or not. (optional) + * @param hasTmdbId Optional filter by items that have a TMDb id or not. (optional) + * @param hasTvdbId Optional filter by items that have a TVDb id or not. (optional) * @param isMovie Optional filter for live tv movies. (optional) * @param isSeries Optional filter for live tv series. (optional) * @param isNews Optional filter for live tv news. (optional) @@ -607,7 +609,7 @@ public class TrailersApi { * @param limit Optional. The maximum number of records to return. (optional) * @param recursive When searching within folders, this determines whether or not the search will be recursive. true/false. (optional) * @param searchTerm Optional. Filter based on a search term. (optional) - * @param sortOrder Sort Order - Ascending,Descending. (optional) + * @param sortOrder Sort Order - Ascending, Descending. (optional) * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) @@ -666,7 +668,7 @@ public class TrailersApi { 403 Forbidden - */ - public BaseItemDtoQueryResult getTrailers(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages) throws ApiException { + public BaseItemDtoQueryResult getTrailers(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, UUID adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages) throws ApiException { ApiResponse localVarResp = getTrailersWithHttpInfo(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages); return localVarResp.getData(); } @@ -674,7 +676,7 @@ public class TrailersApi { /** * Finds movies and trailers similar to a given trailer. * - * @param userId The user id. (optional) + * @param userId The user id supplied as query parameter; this is required when not using an API key. (optional) * @param maxOfficialRating Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). (optional) * @param hasThemeSong Optional filter by items with theme songs. (optional) * @param hasThemeVideo Optional filter by items with theme videos. (optional) @@ -697,9 +699,9 @@ public class TrailersApi { * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. Format = ISO. (optional) * @param maxPremiereDate Optional. The maximum premiere date. Format = ISO. (optional) * @param hasOverview Optional filter by items that have an overview or not. (optional) - * @param hasImdbId Optional filter by items that have an imdb id or not. (optional) - * @param hasTmdbId Optional filter by items that have a tmdb id or not. (optional) - * @param hasTvdbId Optional filter by items that have a tvdb id or not. (optional) + * @param hasImdbId Optional filter by items that have an IMDb id or not. (optional) + * @param hasTmdbId Optional filter by items that have a TMDb id or not. (optional) + * @param hasTvdbId Optional filter by items that have a TVDb id or not. (optional) * @param isMovie Optional filter for live tv movies. (optional) * @param isSeries Optional filter for live tv series. (optional) * @param isNews Optional filter for live tv news. (optional) @@ -710,7 +712,7 @@ public class TrailersApi { * @param limit Optional. The maximum number of records to return. (optional) * @param recursive When searching within folders, this determines whether or not the search will be recursive. true/false. (optional) * @param searchTerm Optional. Filter based on a search term. (optional) - * @param sortOrder Sort Order - Ascending,Descending. (optional) + * @param sortOrder Sort Order - Ascending, Descending. (optional) * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) @@ -769,7 +771,7 @@ public class TrailersApi { 403 Forbidden - */ - public ApiResponse getTrailersWithHttpInfo(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages) throws ApiException { + public ApiResponse getTrailersWithHttpInfo(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, UUID adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages) throws ApiException { okhttp3.Call localVarCall = getTrailersValidateBeforeCall(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -778,7 +780,7 @@ public class TrailersApi { /** * Finds movies and trailers similar to a given trailer. (asynchronously) * - * @param userId The user id. (optional) + * @param userId The user id supplied as query parameter; this is required when not using an API key. (optional) * @param maxOfficialRating Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). (optional) * @param hasThemeSong Optional filter by items with theme songs. (optional) * @param hasThemeVideo Optional filter by items with theme videos. (optional) @@ -801,9 +803,9 @@ public class TrailersApi { * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. Format = ISO. (optional) * @param maxPremiereDate Optional. The maximum premiere date. Format = ISO. (optional) * @param hasOverview Optional filter by items that have an overview or not. (optional) - * @param hasImdbId Optional filter by items that have an imdb id or not. (optional) - * @param hasTmdbId Optional filter by items that have a tmdb id or not. (optional) - * @param hasTvdbId Optional filter by items that have a tvdb id or not. (optional) + * @param hasImdbId Optional filter by items that have an IMDb id or not. (optional) + * @param hasTmdbId Optional filter by items that have a TMDb id or not. (optional) + * @param hasTvdbId Optional filter by items that have a TVDb id or not. (optional) * @param isMovie Optional filter for live tv movies. (optional) * @param isSeries Optional filter for live tv series. (optional) * @param isNews Optional filter for live tv news. (optional) @@ -814,7 +816,7 @@ public class TrailersApi { * @param limit Optional. The maximum number of records to return. (optional) * @param recursive When searching within folders, this determines whether or not the search will be recursive. true/false. (optional) * @param searchTerm Optional. Filter based on a search term. (optional) - * @param sortOrder Sort Order - Ascending,Descending. (optional) + * @param sortOrder Sort Order - Ascending, Descending. (optional) * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) @@ -874,7 +876,7 @@ public class TrailersApi { 403 Forbidden - */ - public okhttp3.Call getTrailersAsync(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getTrailersAsync(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, UUID adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getTrailersValidateBeforeCall(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/TrickplayApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/TrickplayApi.java new file mode 100644 index 00000000000..5f02cf3e310 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/TrickplayApi.java @@ -0,0 +1,407 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.api; + +import org.openapitools.client.ApiCallback; +import org.openapitools.client.ApiClient; +import org.openapitools.client.ApiException; +import org.openapitools.client.ApiResponse; +import org.openapitools.client.Configuration; +import org.openapitools.client.Pair; +import org.openapitools.client.ProgressRequestBody; +import org.openapitools.client.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import java.io.File; +import org.openapitools.client.model.ProblemDetails; +import java.util.UUID; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class TrickplayApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public TrickplayApi() { + this(Configuration.getDefaultApiClient()); + } + + public TrickplayApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for getTrickplayHlsPlaylist + * @param itemId The item id. (required) + * @param width The width of a single tile. (required) + * @param mediaSourceId The media version id, if using an alternate version. (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Tiles playlist returned. -
404 Not Found -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call getTrickplayHlsPlaylistCall(UUID itemId, Integer width, UUID mediaSourceId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/Videos/{itemId}/Trickplay/{width}/tiles.m3u8" + .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())) + .replace("{" + "width" + "}", localVarApiClient.escapeString(width.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (mediaSourceId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("mediaSourceId", mediaSourceId)); + } + + final String[] localVarAccepts = { + "application/x-mpegURL", + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getTrickplayHlsPlaylistValidateBeforeCall(UUID itemId, Integer width, UUID mediaSourceId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'itemId' is set + if (itemId == null) { + throw new ApiException("Missing the required parameter 'itemId' when calling getTrickplayHlsPlaylist(Async)"); + } + + // verify the required parameter 'width' is set + if (width == null) { + throw new ApiException("Missing the required parameter 'width' when calling getTrickplayHlsPlaylist(Async)"); + } + + return getTrickplayHlsPlaylistCall(itemId, width, mediaSourceId, _callback); + + } + + /** + * Gets an image tiles playlist for trickplay. + * + * @param itemId The item id. (required) + * @param width The width of a single tile. (required) + * @param mediaSourceId The media version id, if using an alternate version. (optional) + * @return File + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Tiles playlist returned. -
404 Not Found -
401 Unauthorized -
403 Forbidden -
+ */ + public File getTrickplayHlsPlaylist(UUID itemId, Integer width, UUID mediaSourceId) throws ApiException { + ApiResponse localVarResp = getTrickplayHlsPlaylistWithHttpInfo(itemId, width, mediaSourceId); + return localVarResp.getData(); + } + + /** + * Gets an image tiles playlist for trickplay. + * + * @param itemId The item id. (required) + * @param width The width of a single tile. (required) + * @param mediaSourceId The media version id, if using an alternate version. (optional) + * @return ApiResponse<File> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Tiles playlist returned. -
404 Not Found -
401 Unauthorized -
403 Forbidden -
+ */ + public ApiResponse getTrickplayHlsPlaylistWithHttpInfo(UUID itemId, Integer width, UUID mediaSourceId) throws ApiException { + okhttp3.Call localVarCall = getTrickplayHlsPlaylistValidateBeforeCall(itemId, width, mediaSourceId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Gets an image tiles playlist for trickplay. (asynchronously) + * + * @param itemId The item id. (required) + * @param width The width of a single tile. (required) + * @param mediaSourceId The media version id, if using an alternate version. (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Tiles playlist returned. -
404 Not Found -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call getTrickplayHlsPlaylistAsync(UUID itemId, Integer width, UUID mediaSourceId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getTrickplayHlsPlaylistValidateBeforeCall(itemId, width, mediaSourceId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getTrickplayTileImage + * @param itemId The item id. (required) + * @param width The width of a single tile. (required) + * @param index The index of the desired tile. (required) + * @param mediaSourceId The media version id, if using an alternate version. (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Tile image not found at specified index. -
404 Not Found -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call getTrickplayTileImageCall(UUID itemId, Integer width, Integer index, UUID mediaSourceId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/Videos/{itemId}/Trickplay/{width}/{index}.jpg" + .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())) + .replace("{" + "width" + "}", localVarApiClient.escapeString(width.toString())) + .replace("{" + "index" + "}", localVarApiClient.escapeString(index.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (mediaSourceId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("mediaSourceId", mediaSourceId)); + } + + final String[] localVarAccepts = { + "image/*", + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "CustomAuthentication" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getTrickplayTileImageValidateBeforeCall(UUID itemId, Integer width, Integer index, UUID mediaSourceId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'itemId' is set + if (itemId == null) { + throw new ApiException("Missing the required parameter 'itemId' when calling getTrickplayTileImage(Async)"); + } + + // verify the required parameter 'width' is set + if (width == null) { + throw new ApiException("Missing the required parameter 'width' when calling getTrickplayTileImage(Async)"); + } + + // verify the required parameter 'index' is set + if (index == null) { + throw new ApiException("Missing the required parameter 'index' when calling getTrickplayTileImage(Async)"); + } + + return getTrickplayTileImageCall(itemId, width, index, mediaSourceId, _callback); + + } + + /** + * Gets a trickplay tile image. + * + * @param itemId The item id. (required) + * @param width The width of a single tile. (required) + * @param index The index of the desired tile. (required) + * @param mediaSourceId The media version id, if using an alternate version. (optional) + * @return File + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Tile image not found at specified index. -
404 Not Found -
401 Unauthorized -
403 Forbidden -
+ */ + public File getTrickplayTileImage(UUID itemId, Integer width, Integer index, UUID mediaSourceId) throws ApiException { + ApiResponse localVarResp = getTrickplayTileImageWithHttpInfo(itemId, width, index, mediaSourceId); + return localVarResp.getData(); + } + + /** + * Gets a trickplay tile image. + * + * @param itemId The item id. (required) + * @param width The width of a single tile. (required) + * @param index The index of the desired tile. (required) + * @param mediaSourceId The media version id, if using an alternate version. (optional) + * @return ApiResponse<File> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Tile image not found at specified index. -
404 Not Found -
401 Unauthorized -
403 Forbidden -
+ */ + public ApiResponse getTrickplayTileImageWithHttpInfo(UUID itemId, Integer width, Integer index, UUID mediaSourceId) throws ApiException { + okhttp3.Call localVarCall = getTrickplayTileImageValidateBeforeCall(itemId, width, index, mediaSourceId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Gets a trickplay tile image. (asynchronously) + * + * @param itemId The item id. (required) + * @param width The width of a single tile. (required) + * @param index The index of the desired tile. (required) + * @param mediaSourceId The media version id, if using an alternate version. (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Response Details
Status Code Description Response Headers
200 Tile image not found at specified index. -
404 Not Found -
401 Unauthorized -
403 Forbidden -
+ */ + public okhttp3.Call getTrickplayTileImageAsync(UUID itemId, Integer width, Integer index, UUID mediaSourceId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getTrickplayTileImageValidateBeforeCall(itemId, width, index, mediaSourceId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/TvShowsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/TvShowsApi.java similarity index 91% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/TvShowsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/TvShowsApi.java index 12c1585e181..a52751a4043 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/TvShowsApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/TvShowsApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,6 +30,7 @@ import java.io.IOException; import org.openapitools.client.model.BaseItemDtoQueryResult; import org.openapitools.client.model.ImageType; import org.openapitools.client.model.ItemFields; +import org.openapitools.client.model.ItemSortBy; import java.time.OffsetDateTime; import org.openapitools.client.model.ProblemDetails; import java.util.UUID; @@ -107,7 +108,7 @@ public class TvShowsApi { 403 Forbidden - */ - public okhttp3.Call getEpisodesCall(UUID seriesId, UUID userId, List fields, Integer season, UUID seasonId, Boolean isMissing, String adjacentTo, UUID startItemId, Integer startIndex, Integer limit, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, String sortBy, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getEpisodesCall(UUID seriesId, UUID userId, List fields, Integer season, UUID seasonId, Boolean isMissing, UUID adjacentTo, UUID startItemId, Integer startIndex, Integer limit, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, ItemSortBy sortBy, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -211,7 +212,7 @@ public class TvShowsApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getEpisodesValidateBeforeCall(UUID seriesId, UUID userId, List fields, Integer season, UUID seasonId, Boolean isMissing, String adjacentTo, UUID startItemId, Integer startIndex, Integer limit, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, String sortBy, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getEpisodesValidateBeforeCall(UUID seriesId, UUID userId, List fields, Integer season, UUID seasonId, Boolean isMissing, UUID adjacentTo, UUID startItemId, Integer startIndex, Integer limit, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, ItemSortBy sortBy, final ApiCallback _callback) throws ApiException { // verify the required parameter 'seriesId' is set if (seriesId == null) { throw new ApiException("Missing the required parameter 'seriesId' when calling getEpisodes(Async)"); @@ -251,7 +252,7 @@ public class TvShowsApi { 403 Forbidden - */ - public BaseItemDtoQueryResult getEpisodes(UUID seriesId, UUID userId, List fields, Integer season, UUID seasonId, Boolean isMissing, String adjacentTo, UUID startItemId, Integer startIndex, Integer limit, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, String sortBy) throws ApiException { + public BaseItemDtoQueryResult getEpisodes(UUID seriesId, UUID userId, List fields, Integer season, UUID seasonId, Boolean isMissing, UUID adjacentTo, UUID startItemId, Integer startIndex, Integer limit, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, ItemSortBy sortBy) throws ApiException { ApiResponse localVarResp = getEpisodesWithHttpInfo(seriesId, userId, fields, season, seasonId, isMissing, adjacentTo, startItemId, startIndex, limit, enableImages, imageTypeLimit, enableImageTypes, enableUserData, sortBy); return localVarResp.getData(); } @@ -286,7 +287,7 @@ public class TvShowsApi { 403 Forbidden - */ - public ApiResponse getEpisodesWithHttpInfo(UUID seriesId, UUID userId, List fields, Integer season, UUID seasonId, Boolean isMissing, String adjacentTo, UUID startItemId, Integer startIndex, Integer limit, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, String sortBy) throws ApiException { + public ApiResponse getEpisodesWithHttpInfo(UUID seriesId, UUID userId, List fields, Integer season, UUID seasonId, Boolean isMissing, UUID adjacentTo, UUID startItemId, Integer startIndex, Integer limit, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, ItemSortBy sortBy) throws ApiException { okhttp3.Call localVarCall = getEpisodesValidateBeforeCall(seriesId, userId, fields, season, seasonId, isMissing, adjacentTo, startItemId, startIndex, limit, enableImages, imageTypeLimit, enableImageTypes, enableUserData, sortBy, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -323,7 +324,7 @@ public class TvShowsApi { 403 Forbidden - */ - public okhttp3.Call getEpisodesAsync(UUID seriesId, UUID userId, List fields, Integer season, UUID seasonId, Boolean isMissing, String adjacentTo, UUID startItemId, Integer startIndex, Integer limit, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, String sortBy, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getEpisodesAsync(UUID seriesId, UUID userId, List fields, Integer season, UUID seasonId, Boolean isMissing, UUID adjacentTo, UUID startItemId, Integer startIndex, Integer limit, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, ItemSortBy sortBy, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getEpisodesValidateBeforeCall(seriesId, userId, fields, season, seasonId, isMissing, adjacentTo, startItemId, startIndex, limit, enableImages, imageTypeLimit, enableImageTypes, enableUserData, sortBy, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -345,7 +346,8 @@ public class TvShowsApi { * @param nextUpDateCutoff Optional. Starting date of shows to show in Next Up section. (optional) * @param enableTotalRecordCount Whether to enable the total records count. Defaults to true. (optional, default to true) * @param disableFirstEpisode Whether to disable sending the first episode in a series as next up. (optional, default to false) - * @param enableRewatching Whether to include watched episode in next up results. (optional, default to false) + * @param enableResumable Whether to include resumable episodes in next up results. (optional, default to true) + * @param enableRewatching Whether to include watched episodes in next up results. (optional, default to false) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -358,7 +360,7 @@ public class TvShowsApi { 403 Forbidden - */ - public okhttp3.Call getNextUpCall(UUID userId, Integer startIndex, Integer limit, List fields, String seriesId, UUID parentId, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, OffsetDateTime nextUpDateCutoff, Boolean enableTotalRecordCount, Boolean disableFirstEpisode, Boolean enableRewatching, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getNextUpCall(UUID userId, Integer startIndex, Integer limit, List fields, UUID seriesId, UUID parentId, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, OffsetDateTime nextUpDateCutoff, Boolean enableTotalRecordCount, Boolean disableFirstEpisode, Boolean enableResumable, Boolean enableRewatching, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -435,6 +437,10 @@ public class TvShowsApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("disableFirstEpisode", disableFirstEpisode)); } + if (enableResumable != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableResumable", enableResumable)); + } + if (enableRewatching != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableRewatching", enableRewatching)); } @@ -461,8 +467,8 @@ public class TvShowsApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getNextUpValidateBeforeCall(UUID userId, Integer startIndex, Integer limit, List fields, String seriesId, UUID parentId, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, OffsetDateTime nextUpDateCutoff, Boolean enableTotalRecordCount, Boolean disableFirstEpisode, Boolean enableRewatching, final ApiCallback _callback) throws ApiException { - return getNextUpCall(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableRewatching, _callback); + private okhttp3.Call getNextUpValidateBeforeCall(UUID userId, Integer startIndex, Integer limit, List fields, UUID seriesId, UUID parentId, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, OffsetDateTime nextUpDateCutoff, Boolean enableTotalRecordCount, Boolean disableFirstEpisode, Boolean enableResumable, Boolean enableRewatching, final ApiCallback _callback) throws ApiException { + return getNextUpCall(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableResumable, enableRewatching, _callback); } @@ -482,7 +488,8 @@ public class TvShowsApi { * @param nextUpDateCutoff Optional. Starting date of shows to show in Next Up section. (optional) * @param enableTotalRecordCount Whether to enable the total records count. Defaults to true. (optional, default to true) * @param disableFirstEpisode Whether to disable sending the first episode in a series as next up. (optional, default to false) - * @param enableRewatching Whether to include watched episode in next up results. (optional, default to false) + * @param enableResumable Whether to include resumable episodes in next up results. (optional, default to true) + * @param enableRewatching Whether to include watched episodes in next up results. (optional, default to false) * @return BaseItemDtoQueryResult * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -494,8 +501,8 @@ public class TvShowsApi { 403 Forbidden - */ - public BaseItemDtoQueryResult getNextUp(UUID userId, Integer startIndex, Integer limit, List fields, String seriesId, UUID parentId, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, OffsetDateTime nextUpDateCutoff, Boolean enableTotalRecordCount, Boolean disableFirstEpisode, Boolean enableRewatching) throws ApiException { - ApiResponse localVarResp = getNextUpWithHttpInfo(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableRewatching); + public BaseItemDtoQueryResult getNextUp(UUID userId, Integer startIndex, Integer limit, List fields, UUID seriesId, UUID parentId, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, OffsetDateTime nextUpDateCutoff, Boolean enableTotalRecordCount, Boolean disableFirstEpisode, Boolean enableResumable, Boolean enableRewatching) throws ApiException { + ApiResponse localVarResp = getNextUpWithHttpInfo(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableResumable, enableRewatching); return localVarResp.getData(); } @@ -515,7 +522,8 @@ public class TvShowsApi { * @param nextUpDateCutoff Optional. Starting date of shows to show in Next Up section. (optional) * @param enableTotalRecordCount Whether to enable the total records count. Defaults to true. (optional, default to true) * @param disableFirstEpisode Whether to disable sending the first episode in a series as next up. (optional, default to false) - * @param enableRewatching Whether to include watched episode in next up results. (optional, default to false) + * @param enableResumable Whether to include resumable episodes in next up results. (optional, default to true) + * @param enableRewatching Whether to include watched episodes in next up results. (optional, default to false) * @return ApiResponse<BaseItemDtoQueryResult> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -527,8 +535,8 @@ public class TvShowsApi { 403 Forbidden - */ - public ApiResponse getNextUpWithHttpInfo(UUID userId, Integer startIndex, Integer limit, List fields, String seriesId, UUID parentId, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, OffsetDateTime nextUpDateCutoff, Boolean enableTotalRecordCount, Boolean disableFirstEpisode, Boolean enableRewatching) throws ApiException { - okhttp3.Call localVarCall = getNextUpValidateBeforeCall(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableRewatching, null); + public ApiResponse getNextUpWithHttpInfo(UUID userId, Integer startIndex, Integer limit, List fields, UUID seriesId, UUID parentId, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, OffsetDateTime nextUpDateCutoff, Boolean enableTotalRecordCount, Boolean disableFirstEpisode, Boolean enableResumable, Boolean enableRewatching) throws ApiException { + okhttp3.Call localVarCall = getNextUpValidateBeforeCall(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableResumable, enableRewatching, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -549,7 +557,8 @@ public class TvShowsApi { * @param nextUpDateCutoff Optional. Starting date of shows to show in Next Up section. (optional) * @param enableTotalRecordCount Whether to enable the total records count. Defaults to true. (optional, default to true) * @param disableFirstEpisode Whether to disable sending the first episode in a series as next up. (optional, default to false) - * @param enableRewatching Whether to include watched episode in next up results. (optional, default to false) + * @param enableResumable Whether to include resumable episodes in next up results. (optional, default to true) + * @param enableRewatching Whether to include watched episodes in next up results. (optional, default to false) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -562,9 +571,9 @@ public class TvShowsApi { 403 Forbidden - */ - public okhttp3.Call getNextUpAsync(UUID userId, Integer startIndex, Integer limit, List fields, String seriesId, UUID parentId, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, OffsetDateTime nextUpDateCutoff, Boolean enableTotalRecordCount, Boolean disableFirstEpisode, Boolean enableRewatching, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getNextUpAsync(UUID userId, Integer startIndex, Integer limit, List fields, UUID seriesId, UUID parentId, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, OffsetDateTime nextUpDateCutoff, Boolean enableTotalRecordCount, Boolean disableFirstEpisode, Boolean enableResumable, Boolean enableRewatching, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getNextUpValidateBeforeCall(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableRewatching, _callback); + okhttp3.Call localVarCall = getNextUpValidateBeforeCall(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableResumable, enableRewatching, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -594,7 +603,7 @@ public class TvShowsApi { 403 Forbidden - */ - public okhttp3.Call getSeasonsCall(UUID seriesId, UUID userId, List fields, Boolean isSpecialSeason, Boolean isMissing, String adjacentTo, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getSeasonsCall(UUID seriesId, UUID userId, List fields, Boolean isSpecialSeason, Boolean isMissing, UUID adjacentTo, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -678,7 +687,7 @@ public class TvShowsApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getSeasonsValidateBeforeCall(UUID seriesId, UUID userId, List fields, Boolean isSpecialSeason, Boolean isMissing, String adjacentTo, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getSeasonsValidateBeforeCall(UUID seriesId, UUID userId, List fields, Boolean isSpecialSeason, Boolean isMissing, UUID adjacentTo, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, final ApiCallback _callback) throws ApiException { // verify the required parameter 'seriesId' is set if (seriesId == null) { throw new ApiException("Missing the required parameter 'seriesId' when calling getSeasons(Async)"); @@ -713,7 +722,7 @@ public class TvShowsApi { 403 Forbidden - */ - public BaseItemDtoQueryResult getSeasons(UUID seriesId, UUID userId, List fields, Boolean isSpecialSeason, Boolean isMissing, String adjacentTo, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData) throws ApiException { + public BaseItemDtoQueryResult getSeasons(UUID seriesId, UUID userId, List fields, Boolean isSpecialSeason, Boolean isMissing, UUID adjacentTo, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData) throws ApiException { ApiResponse localVarResp = getSeasonsWithHttpInfo(seriesId, userId, fields, isSpecialSeason, isMissing, adjacentTo, enableImages, imageTypeLimit, enableImageTypes, enableUserData); return localVarResp.getData(); } @@ -743,7 +752,7 @@ public class TvShowsApi { 403 Forbidden - */ - public ApiResponse getSeasonsWithHttpInfo(UUID seriesId, UUID userId, List fields, Boolean isSpecialSeason, Boolean isMissing, String adjacentTo, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData) throws ApiException { + public ApiResponse getSeasonsWithHttpInfo(UUID seriesId, UUID userId, List fields, Boolean isSpecialSeason, Boolean isMissing, UUID adjacentTo, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData) throws ApiException { okhttp3.Call localVarCall = getSeasonsValidateBeforeCall(seriesId, userId, fields, isSpecialSeason, isMissing, adjacentTo, enableImages, imageTypeLimit, enableImageTypes, enableUserData, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -775,7 +784,7 @@ public class TvShowsApi { 403 Forbidden - */ - public okhttp3.Call getSeasonsAsync(UUID seriesId, UUID userId, List fields, Boolean isSpecialSeason, Boolean isMissing, String adjacentTo, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getSeasonsAsync(UUID seriesId, UUID userId, List fields, Boolean isSpecialSeason, Boolean isMissing, UUID adjacentTo, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getSeasonsValidateBeforeCall(seriesId, userId, fields, isSpecialSeason, isMissing, adjacentTo, enableImages, imageTypeLimit, enableImageTypes, enableUserData, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/UniversalAudioApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/UniversalAudioApi.java similarity index 87% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/UniversalAudioApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/UniversalAudioApi.java index 9a06470f760..a641112f112 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/UniversalAudioApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/UniversalAudioApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -28,6 +28,8 @@ import java.io.IOException; import java.io.File; +import org.openapitools.client.model.MediaStreamProtocol; +import org.openapitools.client.model.ProblemDetails; import java.util.UUID; import java.lang.reflect.Type; @@ -91,6 +93,7 @@ public class UniversalAudioApi { * @param maxAudioSampleRate Optional. The maximum audio sample rate. (optional) * @param maxAudioBitDepth Optional. The maximum audio bit depth. (optional) * @param enableRemoteMedia Optional. Whether to enable remote media. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. (optional, default to false) * @param enableRedirection Whether to enable redirection. Defaults to true. (optional, default to true) * @param _callback Callback for upload/download progress @@ -102,11 +105,12 @@ public class UniversalAudioApi { Status Code Description Response Headers 200 Audio stream returned. - 302 Redirected to remote audio stream. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call getUniversalAudioStreamCall(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, String transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean breakOnNonKeyFrames, Boolean enableRedirection, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUniversalAudioStreamCall(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, MediaStreamProtocol transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean enableAudioVbrEncoding, Boolean breakOnNonKeyFrames, Boolean enableRedirection, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -192,6 +196,10 @@ public class UniversalAudioApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableRemoteMedia", enableRemoteMedia)); } + if (enableAudioVbrEncoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAudioVbrEncoding", enableAudioVbrEncoding)); + } + if (breakOnNonKeyFrames != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("breakOnNonKeyFrames", breakOnNonKeyFrames)); } @@ -201,7 +209,10 @@ public class UniversalAudioApi { } final String[] localVarAccepts = { - "audio/*" + "audio/*", + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -220,13 +231,13 @@ public class UniversalAudioApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getUniversalAudioStreamValidateBeforeCall(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, String transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean breakOnNonKeyFrames, Boolean enableRedirection, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getUniversalAudioStreamValidateBeforeCall(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, MediaStreamProtocol transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean enableAudioVbrEncoding, Boolean breakOnNonKeyFrames, Boolean enableRedirection, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getUniversalAudioStream(Async)"); } - return getUniversalAudioStreamCall(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, breakOnNonKeyFrames, enableRedirection, _callback); + return getUniversalAudioStreamCall(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, enableAudioVbrEncoding, breakOnNonKeyFrames, enableRedirection, _callback); } @@ -249,6 +260,7 @@ public class UniversalAudioApi { * @param maxAudioSampleRate Optional. The maximum audio sample rate. (optional) * @param maxAudioBitDepth Optional. The maximum audio bit depth. (optional) * @param enableRemoteMedia Optional. Whether to enable remote media. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. (optional, default to false) * @param enableRedirection Whether to enable redirection. Defaults to true. (optional, default to true) * @return File @@ -259,12 +271,13 @@ public class UniversalAudioApi { Status Code Description Response Headers 200 Audio stream returned. - 302 Redirected to remote audio stream. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public File getUniversalAudioStream(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, String transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean breakOnNonKeyFrames, Boolean enableRedirection) throws ApiException { - ApiResponse localVarResp = getUniversalAudioStreamWithHttpInfo(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, breakOnNonKeyFrames, enableRedirection); + public File getUniversalAudioStream(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, MediaStreamProtocol transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean enableAudioVbrEncoding, Boolean breakOnNonKeyFrames, Boolean enableRedirection) throws ApiException { + ApiResponse localVarResp = getUniversalAudioStreamWithHttpInfo(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, enableAudioVbrEncoding, breakOnNonKeyFrames, enableRedirection); return localVarResp.getData(); } @@ -287,6 +300,7 @@ public class UniversalAudioApi { * @param maxAudioSampleRate Optional. The maximum audio sample rate. (optional) * @param maxAudioBitDepth Optional. The maximum audio bit depth. (optional) * @param enableRemoteMedia Optional. Whether to enable remote media. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. (optional, default to false) * @param enableRedirection Whether to enable redirection. Defaults to true. (optional, default to true) * @return ApiResponse<File> @@ -297,12 +311,13 @@ public class UniversalAudioApi { Status Code Description Response Headers 200 Audio stream returned. - 302 Redirected to remote audio stream. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public ApiResponse getUniversalAudioStreamWithHttpInfo(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, String transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean breakOnNonKeyFrames, Boolean enableRedirection) throws ApiException { - okhttp3.Call localVarCall = getUniversalAudioStreamValidateBeforeCall(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, breakOnNonKeyFrames, enableRedirection, null); + public ApiResponse getUniversalAudioStreamWithHttpInfo(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, MediaStreamProtocol transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean enableAudioVbrEncoding, Boolean breakOnNonKeyFrames, Boolean enableRedirection) throws ApiException { + okhttp3.Call localVarCall = getUniversalAudioStreamValidateBeforeCall(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, enableAudioVbrEncoding, breakOnNonKeyFrames, enableRedirection, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -326,6 +341,7 @@ public class UniversalAudioApi { * @param maxAudioSampleRate Optional. The maximum audio sample rate. (optional) * @param maxAudioBitDepth Optional. The maximum audio bit depth. (optional) * @param enableRemoteMedia Optional. Whether to enable remote media. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. (optional, default to false) * @param enableRedirection Whether to enable redirection. Defaults to true. (optional, default to true) * @param _callback The callback to be executed when the API call finishes @@ -337,13 +353,14 @@ public class UniversalAudioApi { Status Code Description Response Headers 200 Audio stream returned. - 302 Redirected to remote audio stream. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call getUniversalAudioStreamAsync(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, String transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean breakOnNonKeyFrames, Boolean enableRedirection, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUniversalAudioStreamAsync(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, MediaStreamProtocol transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean enableAudioVbrEncoding, Boolean breakOnNonKeyFrames, Boolean enableRedirection, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getUniversalAudioStreamValidateBeforeCall(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, breakOnNonKeyFrames, enableRedirection, _callback); + okhttp3.Call localVarCall = getUniversalAudioStreamValidateBeforeCall(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, enableAudioVbrEncoding, breakOnNonKeyFrames, enableRedirection, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -366,6 +383,7 @@ public class UniversalAudioApi { * @param maxAudioSampleRate Optional. The maximum audio sample rate. (optional) * @param maxAudioBitDepth Optional. The maximum audio bit depth. (optional) * @param enableRemoteMedia Optional. Whether to enable remote media. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. (optional, default to false) * @param enableRedirection Whether to enable redirection. Defaults to true. (optional, default to true) * @param _callback Callback for upload/download progress @@ -377,11 +395,12 @@ public class UniversalAudioApi { Status Code Description Response Headers 200 Audio stream returned. - 302 Redirected to remote audio stream. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call headUniversalAudioStreamCall(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, String transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean breakOnNonKeyFrames, Boolean enableRedirection, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headUniversalAudioStreamCall(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, MediaStreamProtocol transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean enableAudioVbrEncoding, Boolean breakOnNonKeyFrames, Boolean enableRedirection, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -467,6 +486,10 @@ public class UniversalAudioApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableRemoteMedia", enableRemoteMedia)); } + if (enableAudioVbrEncoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAudioVbrEncoding", enableAudioVbrEncoding)); + } + if (breakOnNonKeyFrames != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("breakOnNonKeyFrames", breakOnNonKeyFrames)); } @@ -476,7 +499,10 @@ public class UniversalAudioApi { } final String[] localVarAccepts = { - "audio/*" + "audio/*", + "application/json", + "application/json; profile=CamelCase", + "application/json; profile=PascalCase" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -495,13 +521,13 @@ public class UniversalAudioApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headUniversalAudioStreamValidateBeforeCall(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, String transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean breakOnNonKeyFrames, Boolean enableRedirection, final ApiCallback _callback) throws ApiException { + private okhttp3.Call headUniversalAudioStreamValidateBeforeCall(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, MediaStreamProtocol transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean enableAudioVbrEncoding, Boolean breakOnNonKeyFrames, Boolean enableRedirection, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling headUniversalAudioStream(Async)"); } - return headUniversalAudioStreamCall(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, breakOnNonKeyFrames, enableRedirection, _callback); + return headUniversalAudioStreamCall(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, enableAudioVbrEncoding, breakOnNonKeyFrames, enableRedirection, _callback); } @@ -524,6 +550,7 @@ public class UniversalAudioApi { * @param maxAudioSampleRate Optional. The maximum audio sample rate. (optional) * @param maxAudioBitDepth Optional. The maximum audio bit depth. (optional) * @param enableRemoteMedia Optional. Whether to enable remote media. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. (optional, default to false) * @param enableRedirection Whether to enable redirection. Defaults to true. (optional, default to true) * @return File @@ -534,12 +561,13 @@ public class UniversalAudioApi { Status Code Description Response Headers 200 Audio stream returned. - 302 Redirected to remote audio stream. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public File headUniversalAudioStream(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, String transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean breakOnNonKeyFrames, Boolean enableRedirection) throws ApiException { - ApiResponse localVarResp = headUniversalAudioStreamWithHttpInfo(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, breakOnNonKeyFrames, enableRedirection); + public File headUniversalAudioStream(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, MediaStreamProtocol transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean enableAudioVbrEncoding, Boolean breakOnNonKeyFrames, Boolean enableRedirection) throws ApiException { + ApiResponse localVarResp = headUniversalAudioStreamWithHttpInfo(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, enableAudioVbrEncoding, breakOnNonKeyFrames, enableRedirection); return localVarResp.getData(); } @@ -562,6 +590,7 @@ public class UniversalAudioApi { * @param maxAudioSampleRate Optional. The maximum audio sample rate. (optional) * @param maxAudioBitDepth Optional. The maximum audio bit depth. (optional) * @param enableRemoteMedia Optional. Whether to enable remote media. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. (optional, default to false) * @param enableRedirection Whether to enable redirection. Defaults to true. (optional, default to true) * @return ApiResponse<File> @@ -572,12 +601,13 @@ public class UniversalAudioApi { Status Code Description Response Headers 200 Audio stream returned. - 302 Redirected to remote audio stream. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public ApiResponse headUniversalAudioStreamWithHttpInfo(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, String transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean breakOnNonKeyFrames, Boolean enableRedirection) throws ApiException { - okhttp3.Call localVarCall = headUniversalAudioStreamValidateBeforeCall(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, breakOnNonKeyFrames, enableRedirection, null); + public ApiResponse headUniversalAudioStreamWithHttpInfo(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, MediaStreamProtocol transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean enableAudioVbrEncoding, Boolean breakOnNonKeyFrames, Boolean enableRedirection) throws ApiException { + okhttp3.Call localVarCall = headUniversalAudioStreamValidateBeforeCall(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, enableAudioVbrEncoding, breakOnNonKeyFrames, enableRedirection, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -601,6 +631,7 @@ public class UniversalAudioApi { * @param maxAudioSampleRate Optional. The maximum audio sample rate. (optional) * @param maxAudioBitDepth Optional. The maximum audio bit depth. (optional) * @param enableRemoteMedia Optional. Whether to enable remote media. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param breakOnNonKeyFrames Optional. Whether to break on non key frames. (optional, default to false) * @param enableRedirection Whether to enable redirection. Defaults to true. (optional, default to true) * @param _callback The callback to be executed when the API call finishes @@ -612,13 +643,14 @@ public class UniversalAudioApi { Status Code Description Response Headers 200 Audio stream returned. - 302 Redirected to remote audio stream. - + 404 Item not found. - 401 Unauthorized - 403 Forbidden - */ - public okhttp3.Call headUniversalAudioStreamAsync(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, String transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean breakOnNonKeyFrames, Boolean enableRedirection, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headUniversalAudioStreamAsync(UUID itemId, List container, String mediaSourceId, String deviceId, UUID userId, String audioCodec, Integer maxAudioChannels, Integer transcodingAudioChannels, Integer maxStreamingBitrate, Integer audioBitRate, Long startTimeTicks, String transcodingContainer, MediaStreamProtocol transcodingProtocol, Integer maxAudioSampleRate, Integer maxAudioBitDepth, Boolean enableRemoteMedia, Boolean enableAudioVbrEncoding, Boolean breakOnNonKeyFrames, Boolean enableRedirection, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headUniversalAudioStreamValidateBeforeCall(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, breakOnNonKeyFrames, enableRedirection, _callback); + okhttp3.Call localVarCall = headUniversalAudioStreamValidateBeforeCall(itemId, container, mediaSourceId, deviceId, userId, audioCodec, maxAudioChannels, transcodingAudioChannels, maxStreamingBitrate, audioBitRate, startTimeTicks, transcodingContainer, transcodingProtocol, maxAudioSampleRate, maxAudioBitDepth, enableRemoteMedia, enableAudioVbrEncoding, breakOnNonKeyFrames, enableRedirection, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/UserApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/UserApi.java similarity index 81% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/UserApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/UserApi.java index 7bceb947bdc..fa89595675a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/UserApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/UserApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -37,7 +37,6 @@ import org.openapitools.client.model.PinRedeemResult; import org.openapitools.client.model.ProblemDetails; import org.openapitools.client.model.QuickConnectDto; import java.util.UUID; -import org.openapitools.client.model.UpdateUserEasyPassword; import org.openapitools.client.model.UpdateUserPassword; import org.openapitools.client.model.UserConfiguration; import org.openapitools.client.model.UserDto; @@ -86,164 +85,6 @@ public class UserApi { this.localCustomBaseUrl = customBaseUrl; } - /** - * Build call for authenticateUser - * @param userId The user id. (required) - * @param pw The password as plain text. (required) - * @param password The password sha1-hash. (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 User authenticated. -
403 Sha1-hashed password only is not allowed. -
404 User not found. -
- */ - public okhttp3.Call authenticateUserCall(UUID userId, String pw, String password, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Users/{userId}/Authenticate" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (pw != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("pw", pw)); - } - - if (password != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("password", password)); - } - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call authenticateUserValidateBeforeCall(UUID userId, String pw, String password, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling authenticateUser(Async)"); - } - - // verify the required parameter 'pw' is set - if (pw == null) { - throw new ApiException("Missing the required parameter 'pw' when calling authenticateUser(Async)"); - } - - return authenticateUserCall(userId, pw, password, _callback); - - } - - /** - * Authenticates a user. - * - * @param userId The user id. (required) - * @param pw The password as plain text. (required) - * @param password The password sha1-hash. (optional) - * @return AuthenticationResult - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 User authenticated. -
403 Sha1-hashed password only is not allowed. -
404 User not found. -
- */ - public AuthenticationResult authenticateUser(UUID userId, String pw, String password) throws ApiException { - ApiResponse localVarResp = authenticateUserWithHttpInfo(userId, pw, password); - return localVarResp.getData(); - } - - /** - * Authenticates a user. - * - * @param userId The user id. (required) - * @param pw The password as plain text. (required) - * @param password The password sha1-hash. (optional) - * @return ApiResponse<AuthenticationResult> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 User authenticated. -
403 Sha1-hashed password only is not allowed. -
404 User not found. -
- */ - public ApiResponse authenticateUserWithHttpInfo(UUID userId, String pw, String password) throws ApiException { - okhttp3.Call localVarCall = authenticateUserValidateBeforeCall(userId, pw, password, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Authenticates a user. (asynchronously) - * - * @param userId The user id. (required) - * @param pw The password as plain text. (required) - * @param password The password sha1-hash. (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 User authenticated. -
403 Sha1-hashed password only is not allowed. -
404 User not found. -
- */ - public okhttp3.Call authenticateUserAsync(UUID userId, String pw, String password, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = authenticateUserValidateBeforeCall(userId, pw, password, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } /** * Build call for authenticateUserByName * @param authenticateUserByName The M:Jellyfin.Api.Controllers.UserController.AuthenticateUserByName(Jellyfin.Api.Models.UserDtos.AuthenticateUserByName) request. (required) @@ -1584,8 +1425,8 @@ public class UserApi { } /** * Build call for updateUser - * @param userId The user id. (required) * @param userDto The updated user model. (required) + * @param userId The user id. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1599,7 +1440,7 @@ public class UserApi { 401 Unauthorized - */ - public okhttp3.Call updateUserCall(UUID userId, UserDto userDto, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateUserCall(UserDto userDto, UUID userId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1616,8 +1457,7 @@ public class UserApi { Object localVarPostBody = userDto; // create path and map variables - String localVarPath = "/Users/{userId}" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())); + String localVarPath = "/Users"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1625,6 +1465,10 @@ public class UserApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + final String[] localVarAccepts = { "application/json", "application/json; profile=CamelCase", @@ -1650,26 +1494,21 @@ public class UserApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call updateUserValidateBeforeCall(UUID userId, UserDto userDto, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling updateUser(Async)"); - } - + private okhttp3.Call updateUserValidateBeforeCall(UserDto userDto, UUID userId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'userDto' is set if (userDto == null) { throw new ApiException("Missing the required parameter 'userDto' when calling updateUser(Async)"); } - return updateUserCall(userId, userDto, _callback); + return updateUserCall(userDto, userId, _callback); } /** * Updates a user. * - * @param userId The user id. (required) * @param userDto The updated user model. (required) + * @param userId The user id. (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1681,15 +1520,15 @@ public class UserApi {
401 Unauthorized -
*/ - public void updateUser(UUID userId, UserDto userDto) throws ApiException { - updateUserWithHttpInfo(userId, userDto); + public void updateUser(UserDto userDto, UUID userId) throws ApiException { + updateUserWithHttpInfo(userDto, userId); } /** * Updates a user. * - * @param userId The user id. (required) * @param userDto The updated user model. (required) + * @param userId The user id. (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1702,16 +1541,16 @@ public class UserApi { 401 Unauthorized - */ - public ApiResponse updateUserWithHttpInfo(UUID userId, UserDto userDto) throws ApiException { - okhttp3.Call localVarCall = updateUserValidateBeforeCall(userId, userDto, null); + public ApiResponse updateUserWithHttpInfo(UserDto userDto, UUID userId) throws ApiException { + okhttp3.Call localVarCall = updateUserValidateBeforeCall(userDto, userId, null); return localVarApiClient.execute(localVarCall); } /** * Updates a user. (asynchronously) * - * @param userId The user id. (required) * @param userDto The updated user model. (required) + * @param userId The user id. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1725,16 +1564,16 @@ public class UserApi { 401 Unauthorized - */ - public okhttp3.Call updateUserAsync(UUID userId, UserDto userDto, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateUserAsync(UserDto userDto, UUID userId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = updateUserValidateBeforeCall(userId, userDto, _callback); + okhttp3.Call localVarCall = updateUserValidateBeforeCall(userDto, userId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } /** * Build call for updateUserConfiguration - * @param userId The user id. (required) * @param userConfiguration The new user configuration. (required) + * @param userId The user id. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1747,7 +1586,7 @@ public class UserApi { 401 Unauthorized - */ - public okhttp3.Call updateUserConfigurationCall(UUID userId, UserConfiguration userConfiguration, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateUserConfigurationCall(UserConfiguration userConfiguration, UUID userId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1764,8 +1603,7 @@ public class UserApi { Object localVarPostBody = userConfiguration; // create path and map variables - String localVarPath = "/Users/{userId}/Configuration" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())); + String localVarPath = "/Users/Configuration"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1773,6 +1611,10 @@ public class UserApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + final String[] localVarAccepts = { "application/json", "application/json; profile=CamelCase", @@ -1798,26 +1640,21 @@ public class UserApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call updateUserConfigurationValidateBeforeCall(UUID userId, UserConfiguration userConfiguration, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling updateUserConfiguration(Async)"); - } - + private okhttp3.Call updateUserConfigurationValidateBeforeCall(UserConfiguration userConfiguration, UUID userId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'userConfiguration' is set if (userConfiguration == null) { throw new ApiException("Missing the required parameter 'userConfiguration' when calling updateUserConfiguration(Async)"); } - return updateUserConfigurationCall(userId, userConfiguration, _callback); + return updateUserConfigurationCall(userConfiguration, userId, _callback); } /** * Updates a user configuration. * - * @param userId The user id. (required) * @param userConfiguration The new user configuration. (required) + * @param userId The user id. (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1828,15 +1665,15 @@ public class UserApi {
401 Unauthorized -
*/ - public void updateUserConfiguration(UUID userId, UserConfiguration userConfiguration) throws ApiException { - updateUserConfigurationWithHttpInfo(userId, userConfiguration); + public void updateUserConfiguration(UserConfiguration userConfiguration, UUID userId) throws ApiException { + updateUserConfigurationWithHttpInfo(userConfiguration, userId); } /** * Updates a user configuration. * - * @param userId The user id. (required) * @param userConfiguration The new user configuration. (required) + * @param userId The user id. (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1848,16 +1685,16 @@ public class UserApi { 401 Unauthorized - */ - public ApiResponse updateUserConfigurationWithHttpInfo(UUID userId, UserConfiguration userConfiguration) throws ApiException { - okhttp3.Call localVarCall = updateUserConfigurationValidateBeforeCall(userId, userConfiguration, null); + public ApiResponse updateUserConfigurationWithHttpInfo(UserConfiguration userConfiguration, UUID userId) throws ApiException { + okhttp3.Call localVarCall = updateUserConfigurationValidateBeforeCall(userConfiguration, userId, null); return localVarApiClient.execute(localVarCall); } /** * Updates a user configuration. (asynchronously) * - * @param userId The user id. (required) * @param userConfiguration The new user configuration. (required) + * @param userId The user id. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1870,165 +1707,16 @@ public class UserApi { 401 Unauthorized - */ - public okhttp3.Call updateUserConfigurationAsync(UUID userId, UserConfiguration userConfiguration, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateUserConfigurationAsync(UserConfiguration userConfiguration, UUID userId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = updateUserConfigurationValidateBeforeCall(userId, userConfiguration, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for updateUserEasyPassword - * @param userId The user id. (required) - * @param updateUserEasyPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserEasyPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserEasyPassword) request. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
204 Password successfully reset. -
403 User is not allowed to update the password. -
404 User not found. -
401 Unauthorized -
- */ - public okhttp3.Call updateUserEasyPasswordCall(UUID userId, UpdateUserEasyPassword updateUserEasyPassword, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = updateUserEasyPassword; - - // create path and map variables - String localVarPath = "/Users/{userId}/EasyPassword" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json", - "text/json", - "application/*+json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call updateUserEasyPasswordValidateBeforeCall(UUID userId, UpdateUserEasyPassword updateUserEasyPassword, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling updateUserEasyPassword(Async)"); - } - - // verify the required parameter 'updateUserEasyPassword' is set - if (updateUserEasyPassword == null) { - throw new ApiException("Missing the required parameter 'updateUserEasyPassword' when calling updateUserEasyPassword(Async)"); - } - - return updateUserEasyPasswordCall(userId, updateUserEasyPassword, _callback); - - } - - /** - * Updates a user's easy password. - * - * @param userId The user id. (required) - * @param updateUserEasyPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserEasyPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserEasyPassword) request. (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
204 Password successfully reset. -
403 User is not allowed to update the password. -
404 User not found. -
401 Unauthorized -
- */ - public void updateUserEasyPassword(UUID userId, UpdateUserEasyPassword updateUserEasyPassword) throws ApiException { - updateUserEasyPasswordWithHttpInfo(userId, updateUserEasyPassword); - } - - /** - * Updates a user's easy password. - * - * @param userId The user id. (required) - * @param updateUserEasyPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserEasyPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserEasyPassword) request. (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
204 Password successfully reset. -
403 User is not allowed to update the password. -
404 User not found. -
401 Unauthorized -
- */ - public ApiResponse updateUserEasyPasswordWithHttpInfo(UUID userId, UpdateUserEasyPassword updateUserEasyPassword) throws ApiException { - okhttp3.Call localVarCall = updateUserEasyPasswordValidateBeforeCall(userId, updateUserEasyPassword, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * Updates a user's easy password. (asynchronously) - * - * @param userId The user id. (required) - * @param updateUserEasyPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserEasyPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserEasyPassword) request. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
204 Password successfully reset. -
403 User is not allowed to update the password. -
404 User not found. -
401 Unauthorized -
- */ - public okhttp3.Call updateUserEasyPasswordAsync(UUID userId, UpdateUserEasyPassword updateUserEasyPassword, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = updateUserEasyPasswordValidateBeforeCall(userId, updateUserEasyPassword, _callback); + okhttp3.Call localVarCall = updateUserConfigurationValidateBeforeCall(userConfiguration, userId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } /** * Build call for updateUserPassword - * @param userId The user id. (required) - * @param updateUserPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request. (required) + * @param updateUserPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Nullable{System.Guid},Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request. (required) + * @param userId The user id. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2042,7 +1730,7 @@ public class UserApi { 401 Unauthorized - */ - public okhttp3.Call updateUserPasswordCall(UUID userId, UpdateUserPassword updateUserPassword, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateUserPasswordCall(UpdateUserPassword updateUserPassword, UUID userId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2059,8 +1747,7 @@ public class UserApi { Object localVarPostBody = updateUserPassword; // create path and map variables - String localVarPath = "/Users/{userId}/Password" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())); + String localVarPath = "/Users/Password"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -2068,6 +1755,10 @@ public class UserApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + final String[] localVarAccepts = { "application/json", "application/json; profile=CamelCase", @@ -2093,26 +1784,21 @@ public class UserApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call updateUserPasswordValidateBeforeCall(UUID userId, UpdateUserPassword updateUserPassword, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling updateUserPassword(Async)"); - } - + private okhttp3.Call updateUserPasswordValidateBeforeCall(UpdateUserPassword updateUserPassword, UUID userId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'updateUserPassword' is set if (updateUserPassword == null) { throw new ApiException("Missing the required parameter 'updateUserPassword' when calling updateUserPassword(Async)"); } - return updateUserPasswordCall(userId, updateUserPassword, _callback); + return updateUserPasswordCall(updateUserPassword, userId, _callback); } /** * Updates a user's password. * - * @param userId The user id. (required) - * @param updateUserPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request. (required) + * @param updateUserPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Nullable{System.Guid},Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request. (required) + * @param userId The user id. (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2124,15 +1810,15 @@ public class UserApi {
401 Unauthorized -
*/ - public void updateUserPassword(UUID userId, UpdateUserPassword updateUserPassword) throws ApiException { - updateUserPasswordWithHttpInfo(userId, updateUserPassword); + public void updateUserPassword(UpdateUserPassword updateUserPassword, UUID userId) throws ApiException { + updateUserPasswordWithHttpInfo(updateUserPassword, userId); } /** * Updates a user's password. * - * @param userId The user id. (required) - * @param updateUserPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request. (required) + * @param updateUserPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Nullable{System.Guid},Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request. (required) + * @param userId The user id. (optional) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2145,16 +1831,16 @@ public class UserApi { 401 Unauthorized - */ - public ApiResponse updateUserPasswordWithHttpInfo(UUID userId, UpdateUserPassword updateUserPassword) throws ApiException { - okhttp3.Call localVarCall = updateUserPasswordValidateBeforeCall(userId, updateUserPassword, null); + public ApiResponse updateUserPasswordWithHttpInfo(UpdateUserPassword updateUserPassword, UUID userId) throws ApiException { + okhttp3.Call localVarCall = updateUserPasswordValidateBeforeCall(updateUserPassword, userId, null); return localVarApiClient.execute(localVarCall); } /** * Updates a user's password. (asynchronously) * - * @param userId The user id. (required) - * @param updateUserPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request. (required) + * @param updateUserPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Nullable{System.Guid},Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request. (required) + * @param userId The user id. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2168,9 +1854,9 @@ public class UserApi { 401 Unauthorized - */ - public okhttp3.Call updateUserPasswordAsync(UUID userId, UpdateUserPassword updateUserPassword, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateUserPasswordAsync(UpdateUserPassword updateUserPassword, UUID userId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = updateUserPasswordValidateBeforeCall(userId, updateUserPassword, _callback); + okhttp3.Call localVarCall = updateUserPasswordValidateBeforeCall(updateUserPassword, userId, _callback); localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/UserLibraryApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/UserLibraryApi.java similarity index 86% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/UserLibraryApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/UserLibraryApi.java index 5ebe0525a87..697b4343196 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/UserLibraryApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/UserLibraryApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -80,8 +80,8 @@ public class UserLibraryApi { /** * Build call for deleteUserItemRating - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -94,7 +94,7 @@ public class UserLibraryApi { 403 Forbidden - */ - public okhttp3.Call deleteUserItemRatingCall(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteUserItemRatingCall(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -111,8 +111,7 @@ public class UserLibraryApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/Items/{itemId}/Rating" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) + String localVarPath = "/UserItems/{itemId}/Rating" .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); @@ -121,6 +120,10 @@ public class UserLibraryApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + final String[] localVarAccepts = { "application/json", "application/json; profile=CamelCase", @@ -143,26 +146,21 @@ public class UserLibraryApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteUserItemRatingValidateBeforeCall(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling deleteUserItemRating(Async)"); - } - + private okhttp3.Call deleteUserItemRatingValidateBeforeCall(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling deleteUserItemRating(Async)"); } - return deleteUserItemRatingCall(userId, itemId, _callback); + return deleteUserItemRatingCall(itemId, userId, _callback); } /** * Deletes a user's saved personal rating for an item. * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @return UserItemDataDto * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -174,16 +172,16 @@ public class UserLibraryApi { 403 Forbidden - */ - public UserItemDataDto deleteUserItemRating(UUID userId, UUID itemId) throws ApiException { - ApiResponse localVarResp = deleteUserItemRatingWithHttpInfo(userId, itemId); + public UserItemDataDto deleteUserItemRating(UUID itemId, UUID userId) throws ApiException { + ApiResponse localVarResp = deleteUserItemRatingWithHttpInfo(itemId, userId); return localVarResp.getData(); } /** * Deletes a user's saved personal rating for an item. * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @return ApiResponse<UserItemDataDto> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -195,8 +193,8 @@ public class UserLibraryApi { 403 Forbidden - */ - public ApiResponse deleteUserItemRatingWithHttpInfo(UUID userId, UUID itemId) throws ApiException { - okhttp3.Call localVarCall = deleteUserItemRatingValidateBeforeCall(userId, itemId, null); + public ApiResponse deleteUserItemRatingWithHttpInfo(UUID itemId, UUID userId) throws ApiException { + okhttp3.Call localVarCall = deleteUserItemRatingValidateBeforeCall(itemId, userId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -204,8 +202,8 @@ public class UserLibraryApi { /** * Deletes a user's saved personal rating for an item. (asynchronously) * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -218,17 +216,17 @@ public class UserLibraryApi { 403 Forbidden - */ - public okhttp3.Call deleteUserItemRatingAsync(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteUserItemRatingAsync(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteUserItemRatingValidateBeforeCall(userId, itemId, _callback); + okhttp3.Call localVarCall = deleteUserItemRatingValidateBeforeCall(itemId, userId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for getIntros - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -241,7 +239,7 @@ public class UserLibraryApi { 403 Forbidden - */ - public okhttp3.Call getIntrosCall(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getIntrosCall(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -258,8 +256,7 @@ public class UserLibraryApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/Items/{itemId}/Intros" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) + String localVarPath = "/Items/{itemId}/Intros" .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); @@ -268,6 +265,10 @@ public class UserLibraryApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + final String[] localVarAccepts = { "application/json", "application/json; profile=CamelCase", @@ -290,26 +291,21 @@ public class UserLibraryApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getIntrosValidateBeforeCall(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getIntros(Async)"); - } - + private okhttp3.Call getIntrosValidateBeforeCall(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getIntros(Async)"); } - return getIntrosCall(userId, itemId, _callback); + return getIntrosCall(itemId, userId, _callback); } /** * Gets intros to play before the main media item plays. * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @return BaseItemDtoQueryResult * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -321,16 +317,16 @@ public class UserLibraryApi { 403 Forbidden - */ - public BaseItemDtoQueryResult getIntros(UUID userId, UUID itemId) throws ApiException { - ApiResponse localVarResp = getIntrosWithHttpInfo(userId, itemId); + public BaseItemDtoQueryResult getIntros(UUID itemId, UUID userId) throws ApiException { + ApiResponse localVarResp = getIntrosWithHttpInfo(itemId, userId); return localVarResp.getData(); } /** * Gets intros to play before the main media item plays. * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @return ApiResponse<BaseItemDtoQueryResult> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -342,8 +338,8 @@ public class UserLibraryApi { 403 Forbidden - */ - public ApiResponse getIntrosWithHttpInfo(UUID userId, UUID itemId) throws ApiException { - okhttp3.Call localVarCall = getIntrosValidateBeforeCall(userId, itemId, null); + public ApiResponse getIntrosWithHttpInfo(UUID itemId, UUID userId) throws ApiException { + okhttp3.Call localVarCall = getIntrosValidateBeforeCall(itemId, userId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -351,8 +347,8 @@ public class UserLibraryApi { /** * Gets intros to play before the main media item plays. (asynchronously) * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -365,17 +361,17 @@ public class UserLibraryApi { 403 Forbidden - */ - public okhttp3.Call getIntrosAsync(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getIntrosAsync(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getIntrosValidateBeforeCall(userId, itemId, _callback); + okhttp3.Call localVarCall = getIntrosValidateBeforeCall(itemId, userId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for getItem - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -388,7 +384,7 @@ public class UserLibraryApi { 403 Forbidden - */ - public okhttp3.Call getItemCall(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getItemCall(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -405,8 +401,7 @@ public class UserLibraryApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/Items/{itemId}" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) + String localVarPath = "/Items/{itemId}" .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); @@ -415,6 +410,10 @@ public class UserLibraryApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + final String[] localVarAccepts = { "application/json", "application/json; profile=CamelCase", @@ -437,26 +436,21 @@ public class UserLibraryApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getItemValidateBeforeCall(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getItem(Async)"); - } - + private okhttp3.Call getItemValidateBeforeCall(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getItem(Async)"); } - return getItemCall(userId, itemId, _callback); + return getItemCall(itemId, userId, _callback); } /** * Gets an item from a user's library. * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @return BaseItemDto * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -468,16 +462,16 @@ public class UserLibraryApi { 403 Forbidden - */ - public BaseItemDto getItem(UUID userId, UUID itemId) throws ApiException { - ApiResponse localVarResp = getItemWithHttpInfo(userId, itemId); + public BaseItemDto getItem(UUID itemId, UUID userId) throws ApiException { + ApiResponse localVarResp = getItemWithHttpInfo(itemId, userId); return localVarResp.getData(); } /** * Gets an item from a user's library. * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @return ApiResponse<BaseItemDto> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -489,8 +483,8 @@ public class UserLibraryApi { 403 Forbidden - */ - public ApiResponse getItemWithHttpInfo(UUID userId, UUID itemId) throws ApiException { - okhttp3.Call localVarCall = getItemValidateBeforeCall(userId, itemId, null); + public ApiResponse getItemWithHttpInfo(UUID itemId, UUID userId) throws ApiException { + okhttp3.Call localVarCall = getItemValidateBeforeCall(itemId, userId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -498,8 +492,8 @@ public class UserLibraryApi { /** * Gets an item from a user's library. (asynchronously) * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -512,16 +506,16 @@ public class UserLibraryApi { 403 Forbidden - */ - public okhttp3.Call getItemAsync(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getItemAsync(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getItemValidateBeforeCall(userId, itemId, _callback); + okhttp3.Call localVarCall = getItemValidateBeforeCall(itemId, userId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for getLatestMedia - * @param userId User id. (required) + * @param userId User id. (optional) * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) * @param includeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) @@ -561,8 +555,7 @@ public class UserLibraryApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/Items/Latest" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())); + String localVarPath = "/Items/Latest"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -570,6 +563,10 @@ public class UserLibraryApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + if (parentId != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("parentId", parentId)); } @@ -633,11 +630,6 @@ public class UserLibraryApi { @SuppressWarnings("rawtypes") private okhttp3.Call getLatestMediaValidateBeforeCall(UUID userId, UUID parentId, List fields, List includeItemTypes, Boolean isPlayed, Boolean enableImages, Integer imageTypeLimit, List enableImageTypes, Boolean enableUserData, Integer limit, Boolean groupItems, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getLatestMedia(Async)"); - } - return getLatestMediaCall(userId, parentId, fields, includeItemTypes, isPlayed, enableImages, imageTypeLimit, enableImageTypes, enableUserData, limit, groupItems, _callback); } @@ -645,7 +637,7 @@ public class UserLibraryApi { /** * Gets latest media. * - * @param userId User id. (required) + * @param userId User id. (optional) * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) * @param includeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) @@ -675,7 +667,7 @@ public class UserLibraryApi { /** * Gets latest media. * - * @param userId User id. (required) + * @param userId User id. (optional) * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) * @param includeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) @@ -706,7 +698,7 @@ public class UserLibraryApi { /** * Gets latest media. (asynchronously) * - * @param userId User id. (required) + * @param userId User id. (optional) * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) * @param fields Optional. Specify additional fields of information to return in the output. (optional) * @param includeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) @@ -738,8 +730,8 @@ public class UserLibraryApi { } /** * Build call for getLocalTrailers - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -752,7 +744,7 @@ public class UserLibraryApi { 403 Forbidden - */ - public okhttp3.Call getLocalTrailersCall(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLocalTrailersCall(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -769,8 +761,7 @@ public class UserLibraryApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/Items/{itemId}/LocalTrailers" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) + String localVarPath = "/Items/{itemId}/LocalTrailers" .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); @@ -779,6 +770,10 @@ public class UserLibraryApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + final String[] localVarAccepts = { "application/json", "application/json; profile=CamelCase", @@ -801,26 +796,21 @@ public class UserLibraryApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getLocalTrailersValidateBeforeCall(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getLocalTrailers(Async)"); - } - + private okhttp3.Call getLocalTrailersValidateBeforeCall(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getLocalTrailers(Async)"); } - return getLocalTrailersCall(userId, itemId, _callback); + return getLocalTrailersCall(itemId, userId, _callback); } /** * Gets local trailers for an item. * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @return List<BaseItemDto> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -832,16 +822,16 @@ public class UserLibraryApi { 403 Forbidden - */ - public List getLocalTrailers(UUID userId, UUID itemId) throws ApiException { - ApiResponse> localVarResp = getLocalTrailersWithHttpInfo(userId, itemId); + public List getLocalTrailers(UUID itemId, UUID userId) throws ApiException { + ApiResponse> localVarResp = getLocalTrailersWithHttpInfo(itemId, userId); return localVarResp.getData(); } /** * Gets local trailers for an item. * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @return ApiResponse<List<BaseItemDto>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -853,8 +843,8 @@ public class UserLibraryApi { 403 Forbidden - */ - public ApiResponse> getLocalTrailersWithHttpInfo(UUID userId, UUID itemId) throws ApiException { - okhttp3.Call localVarCall = getLocalTrailersValidateBeforeCall(userId, itemId, null); + public ApiResponse> getLocalTrailersWithHttpInfo(UUID itemId, UUID userId) throws ApiException { + okhttp3.Call localVarCall = getLocalTrailersValidateBeforeCall(itemId, userId, null); Type localVarReturnType = new TypeToken>(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -862,8 +852,8 @@ public class UserLibraryApi { /** * Gets local trailers for an item. (asynchronously) * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -876,16 +866,16 @@ public class UserLibraryApi { 403 Forbidden - */ - public okhttp3.Call getLocalTrailersAsync(UUID userId, UUID itemId, final ApiCallback> _callback) throws ApiException { + public okhttp3.Call getLocalTrailersAsync(UUID itemId, UUID userId, final ApiCallback> _callback) throws ApiException { - okhttp3.Call localVarCall = getLocalTrailersValidateBeforeCall(userId, itemId, _callback); + okhttp3.Call localVarCall = getLocalTrailersValidateBeforeCall(itemId, userId, _callback); Type localVarReturnType = new TypeToken>(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for getRootFolder - * @param userId User id. (required) + * @param userId User id. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -915,8 +905,7 @@ public class UserLibraryApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/Items/Root" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())); + String localVarPath = "/Items/Root"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -924,6 +913,10 @@ public class UserLibraryApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + final String[] localVarAccepts = { "application/json", "application/json; profile=CamelCase", @@ -947,11 +940,6 @@ public class UserLibraryApi { @SuppressWarnings("rawtypes") private okhttp3.Call getRootFolderValidateBeforeCall(UUID userId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getRootFolder(Async)"); - } - return getRootFolderCall(userId, _callback); } @@ -959,7 +947,7 @@ public class UserLibraryApi { /** * Gets the root folder from a user's library. * - * @param userId User id. (required) + * @param userId User id. (optional) * @return BaseItemDto * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -979,7 +967,7 @@ public class UserLibraryApi { /** * Gets the root folder from a user's library. * - * @param userId User id. (required) + * @param userId User id. (optional) * @return ApiResponse<BaseItemDto> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1000,7 +988,7 @@ public class UserLibraryApi { /** * Gets the root folder from a user's library. (asynchronously) * - * @param userId User id. (required) + * @param userId User id. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1022,8 +1010,8 @@ public class UserLibraryApi { } /** * Build call for getSpecialFeatures - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1036,7 +1024,7 @@ public class UserLibraryApi { 403 Forbidden - */ - public okhttp3.Call getSpecialFeaturesCall(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getSpecialFeaturesCall(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1053,8 +1041,7 @@ public class UserLibraryApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/Items/{itemId}/SpecialFeatures" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) + String localVarPath = "/Items/{itemId}/SpecialFeatures" .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); @@ -1063,6 +1050,10 @@ public class UserLibraryApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + final String[] localVarAccepts = { "application/json", "application/json; profile=CamelCase", @@ -1085,26 +1076,21 @@ public class UserLibraryApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getSpecialFeaturesValidateBeforeCall(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getSpecialFeatures(Async)"); - } - + private okhttp3.Call getSpecialFeaturesValidateBeforeCall(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getSpecialFeatures(Async)"); } - return getSpecialFeaturesCall(userId, itemId, _callback); + return getSpecialFeaturesCall(itemId, userId, _callback); } /** * Gets special features for an item. * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @return List<BaseItemDto> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1116,16 +1102,16 @@ public class UserLibraryApi { 403 Forbidden - */ - public List getSpecialFeatures(UUID userId, UUID itemId) throws ApiException { - ApiResponse> localVarResp = getSpecialFeaturesWithHttpInfo(userId, itemId); + public List getSpecialFeatures(UUID itemId, UUID userId) throws ApiException { + ApiResponse> localVarResp = getSpecialFeaturesWithHttpInfo(itemId, userId); return localVarResp.getData(); } /** * Gets special features for an item. * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @return ApiResponse<List<BaseItemDto>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1137,8 +1123,8 @@ public class UserLibraryApi { 403 Forbidden - */ - public ApiResponse> getSpecialFeaturesWithHttpInfo(UUID userId, UUID itemId) throws ApiException { - okhttp3.Call localVarCall = getSpecialFeaturesValidateBeforeCall(userId, itemId, null); + public ApiResponse> getSpecialFeaturesWithHttpInfo(UUID itemId, UUID userId) throws ApiException { + okhttp3.Call localVarCall = getSpecialFeaturesValidateBeforeCall(itemId, userId, null); Type localVarReturnType = new TypeToken>(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1146,8 +1132,8 @@ public class UserLibraryApi { /** * Gets special features for an item. (asynchronously) * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1160,17 +1146,17 @@ public class UserLibraryApi { 403 Forbidden - */ - public okhttp3.Call getSpecialFeaturesAsync(UUID userId, UUID itemId, final ApiCallback> _callback) throws ApiException { + public okhttp3.Call getSpecialFeaturesAsync(UUID itemId, UUID userId, final ApiCallback> _callback) throws ApiException { - okhttp3.Call localVarCall = getSpecialFeaturesValidateBeforeCall(userId, itemId, _callback); + okhttp3.Call localVarCall = getSpecialFeaturesValidateBeforeCall(itemId, userId, _callback); Type localVarReturnType = new TypeToken>(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for markFavoriteItem - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1183,7 +1169,7 @@ public class UserLibraryApi { 403 Forbidden - */ - public okhttp3.Call markFavoriteItemCall(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call markFavoriteItemCall(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1200,8 +1186,7 @@ public class UserLibraryApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/FavoriteItems/{itemId}" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) + String localVarPath = "/UserFavoriteItems/{itemId}" .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); @@ -1210,6 +1195,10 @@ public class UserLibraryApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + final String[] localVarAccepts = { "application/json", "application/json; profile=CamelCase", @@ -1232,26 +1221,21 @@ public class UserLibraryApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call markFavoriteItemValidateBeforeCall(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling markFavoriteItem(Async)"); - } - + private okhttp3.Call markFavoriteItemValidateBeforeCall(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling markFavoriteItem(Async)"); } - return markFavoriteItemCall(userId, itemId, _callback); + return markFavoriteItemCall(itemId, userId, _callback); } /** * Marks an item as a favorite. * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @return UserItemDataDto * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1263,16 +1247,16 @@ public class UserLibraryApi { 403 Forbidden - */ - public UserItemDataDto markFavoriteItem(UUID userId, UUID itemId) throws ApiException { - ApiResponse localVarResp = markFavoriteItemWithHttpInfo(userId, itemId); + public UserItemDataDto markFavoriteItem(UUID itemId, UUID userId) throws ApiException { + ApiResponse localVarResp = markFavoriteItemWithHttpInfo(itemId, userId); return localVarResp.getData(); } /** * Marks an item as a favorite. * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @return ApiResponse<UserItemDataDto> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1284,8 +1268,8 @@ public class UserLibraryApi { 403 Forbidden - */ - public ApiResponse markFavoriteItemWithHttpInfo(UUID userId, UUID itemId) throws ApiException { - okhttp3.Call localVarCall = markFavoriteItemValidateBeforeCall(userId, itemId, null); + public ApiResponse markFavoriteItemWithHttpInfo(UUID itemId, UUID userId) throws ApiException { + okhttp3.Call localVarCall = markFavoriteItemValidateBeforeCall(itemId, userId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1293,8 +1277,8 @@ public class UserLibraryApi { /** * Marks an item as a favorite. (asynchronously) * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1307,17 +1291,17 @@ public class UserLibraryApi { 403 Forbidden - */ - public okhttp3.Call markFavoriteItemAsync(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call markFavoriteItemAsync(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = markFavoriteItemValidateBeforeCall(userId, itemId, _callback); + okhttp3.Call localVarCall = markFavoriteItemValidateBeforeCall(itemId, userId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for unmarkFavoriteItem - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1330,7 +1314,7 @@ public class UserLibraryApi { 403 Forbidden - */ - public okhttp3.Call unmarkFavoriteItemCall(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call unmarkFavoriteItemCall(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1347,8 +1331,7 @@ public class UserLibraryApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/FavoriteItems/{itemId}" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) + String localVarPath = "/UserFavoriteItems/{itemId}" .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); @@ -1357,6 +1340,10 @@ public class UserLibraryApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + final String[] localVarAccepts = { "application/json", "application/json; profile=CamelCase", @@ -1379,26 +1366,21 @@ public class UserLibraryApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call unmarkFavoriteItemValidateBeforeCall(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling unmarkFavoriteItem(Async)"); - } - + private okhttp3.Call unmarkFavoriteItemValidateBeforeCall(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling unmarkFavoriteItem(Async)"); } - return unmarkFavoriteItemCall(userId, itemId, _callback); + return unmarkFavoriteItemCall(itemId, userId, _callback); } /** * Unmarks item as a favorite. * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @return UserItemDataDto * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1410,16 +1392,16 @@ public class UserLibraryApi { 403 Forbidden - */ - public UserItemDataDto unmarkFavoriteItem(UUID userId, UUID itemId) throws ApiException { - ApiResponse localVarResp = unmarkFavoriteItemWithHttpInfo(userId, itemId); + public UserItemDataDto unmarkFavoriteItem(UUID itemId, UUID userId) throws ApiException { + ApiResponse localVarResp = unmarkFavoriteItemWithHttpInfo(itemId, userId); return localVarResp.getData(); } /** * Unmarks item as a favorite. * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @return ApiResponse<UserItemDataDto> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1431,8 +1413,8 @@ public class UserLibraryApi { 403 Forbidden - */ - public ApiResponse unmarkFavoriteItemWithHttpInfo(UUID userId, UUID itemId) throws ApiException { - okhttp3.Call localVarCall = unmarkFavoriteItemValidateBeforeCall(userId, itemId, null); + public ApiResponse unmarkFavoriteItemWithHttpInfo(UUID itemId, UUID userId) throws ApiException { + okhttp3.Call localVarCall = unmarkFavoriteItemValidateBeforeCall(itemId, userId, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1440,8 +1422,8 @@ public class UserLibraryApi { /** * Unmarks item as a favorite. (asynchronously) * - * @param userId User id. (required) * @param itemId Item id. (required) + * @param userId User id. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1454,18 +1436,18 @@ public class UserLibraryApi { 403 Forbidden - */ - public okhttp3.Call unmarkFavoriteItemAsync(UUID userId, UUID itemId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call unmarkFavoriteItemAsync(UUID itemId, UUID userId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = unmarkFavoriteItemValidateBeforeCall(userId, itemId, _callback); + okhttp3.Call localVarCall = unmarkFavoriteItemValidateBeforeCall(itemId, userId, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for updateUserItemRating - * @param userId User id. (required) * @param itemId Item id. (required) - * @param likes Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Guid,System.Guid,System.Nullable{System.Boolean}) is likes. (optional) + * @param userId User id. (optional) + * @param likes Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Nullable{System.Guid},System.Guid,System.Nullable{System.Boolean}) is likes. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1478,7 +1460,7 @@ public class UserLibraryApi { 403 Forbidden - */ - public okhttp3.Call updateUserItemRatingCall(UUID userId, UUID itemId, Boolean likes, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateUserItemRatingCall(UUID itemId, UUID userId, Boolean likes, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1495,8 +1477,7 @@ public class UserLibraryApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/Items/{itemId}/Rating" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) + String localVarPath = "/UserItems/{itemId}/Rating" .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())); List localVarQueryParams = new ArrayList(); @@ -1505,6 +1486,10 @@ public class UserLibraryApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + if (likes != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("likes", likes)); } @@ -1531,27 +1516,22 @@ public class UserLibraryApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call updateUserItemRatingValidateBeforeCall(UUID userId, UUID itemId, Boolean likes, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling updateUserItemRating(Async)"); - } - + private okhttp3.Call updateUserItemRatingValidateBeforeCall(UUID itemId, UUID userId, Boolean likes, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling updateUserItemRating(Async)"); } - return updateUserItemRatingCall(userId, itemId, likes, _callback); + return updateUserItemRatingCall(itemId, userId, likes, _callback); } /** * Updates a user's rating for an item. * - * @param userId User id. (required) * @param itemId Item id. (required) - * @param likes Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Guid,System.Guid,System.Nullable{System.Boolean}) is likes. (optional) + * @param userId User id. (optional) + * @param likes Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Nullable{System.Guid},System.Guid,System.Nullable{System.Boolean}) is likes. (optional) * @return UserItemDataDto * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1563,17 +1543,17 @@ public class UserLibraryApi { 403 Forbidden - */ - public UserItemDataDto updateUserItemRating(UUID userId, UUID itemId, Boolean likes) throws ApiException { - ApiResponse localVarResp = updateUserItemRatingWithHttpInfo(userId, itemId, likes); + public UserItemDataDto updateUserItemRating(UUID itemId, UUID userId, Boolean likes) throws ApiException { + ApiResponse localVarResp = updateUserItemRatingWithHttpInfo(itemId, userId, likes); return localVarResp.getData(); } /** * Updates a user's rating for an item. * - * @param userId User id. (required) * @param itemId Item id. (required) - * @param likes Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Guid,System.Guid,System.Nullable{System.Boolean}) is likes. (optional) + * @param userId User id. (optional) + * @param likes Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Nullable{System.Guid},System.Guid,System.Nullable{System.Boolean}) is likes. (optional) * @return ApiResponse<UserItemDataDto> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1585,8 +1565,8 @@ public class UserLibraryApi { 403 Forbidden - */ - public ApiResponse updateUserItemRatingWithHttpInfo(UUID userId, UUID itemId, Boolean likes) throws ApiException { - okhttp3.Call localVarCall = updateUserItemRatingValidateBeforeCall(userId, itemId, likes, null); + public ApiResponse updateUserItemRatingWithHttpInfo(UUID itemId, UUID userId, Boolean likes) throws ApiException { + okhttp3.Call localVarCall = updateUserItemRatingValidateBeforeCall(itemId, userId, likes, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1594,9 +1574,9 @@ public class UserLibraryApi { /** * Updates a user's rating for an item. (asynchronously) * - * @param userId User id. (required) * @param itemId Item id. (required) - * @param likes Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Guid,System.Guid,System.Nullable{System.Boolean}) is likes. (optional) + * @param userId User id. (optional) + * @param likes Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Nullable{System.Guid},System.Guid,System.Nullable{System.Boolean}) is likes. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1609,9 +1589,9 @@ public class UserLibraryApi { 403 Forbidden - */ - public okhttp3.Call updateUserItemRatingAsync(UUID userId, UUID itemId, Boolean likes, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateUserItemRatingAsync(UUID itemId, UUID userId, Boolean likes, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = updateUserItemRatingValidateBeforeCall(userId, itemId, likes, _callback); + okhttp3.Call localVarCall = updateUserItemRatingValidateBeforeCall(itemId, userId, likes, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/UserViewsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/UserViewsApi.java similarity index 90% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/UserViewsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/UserViewsApi.java index 8ebc4caaaec..331264e9872 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/UserViewsApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/UserViewsApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -28,6 +28,7 @@ import java.io.IOException; import org.openapitools.client.model.BaseItemDtoQueryResult; +import org.openapitools.client.model.CollectionType; import org.openapitools.client.model.ProblemDetails; import org.openapitools.client.model.SpecialViewOptionDto; import java.util.UUID; @@ -77,7 +78,7 @@ public class UserViewsApi { /** * Build call for getGroupingOptions - * @param userId User id. (required) + * @param userId User id. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -108,8 +109,7 @@ public class UserViewsApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/GroupingOptions" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())); + String localVarPath = "/UserViews/GroupingOptions"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -117,6 +117,10 @@ public class UserViewsApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + final String[] localVarAccepts = { "application/json", "application/json; profile=CamelCase", @@ -140,11 +144,6 @@ public class UserViewsApi { @SuppressWarnings("rawtypes") private okhttp3.Call getGroupingOptionsValidateBeforeCall(UUID userId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getGroupingOptions(Async)"); - } - return getGroupingOptionsCall(userId, _callback); } @@ -152,7 +151,7 @@ public class UserViewsApi { /** * Get user view grouping options. * - * @param userId User id. (required) + * @param userId User id. (optional) * @return List<SpecialViewOptionDto> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -173,7 +172,7 @@ public class UserViewsApi { /** * Get user view grouping options. * - * @param userId User id. (required) + * @param userId User id. (optional) * @return ApiResponse<List<SpecialViewOptionDto>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -195,7 +194,7 @@ public class UserViewsApi { /** * Get user view grouping options. (asynchronously) * - * @param userId User id. (required) + * @param userId User id. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -218,7 +217,7 @@ public class UserViewsApi { } /** * Build call for getUserViews - * @param userId User id. (required) + * @param userId User id. (optional) * @param includeExternalContent Whether or not to include external views such as channels or live tv. (optional) * @param presetViews Preset views. (optional) * @param includeHidden Whether or not to include hidden content. (optional, default to false) @@ -234,7 +233,7 @@ public class UserViewsApi { 403 Forbidden - */ - public okhttp3.Call getUserViewsCall(UUID userId, Boolean includeExternalContent, List presetViews, Boolean includeHidden, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUserViewsCall(UUID userId, Boolean includeExternalContent, List presetViews, Boolean includeHidden, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -251,8 +250,7 @@ public class UserViewsApi { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/Users/{userId}/Views" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())); + String localVarPath = "/UserViews"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -260,6 +258,10 @@ public class UserViewsApi { Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + if (includeExternalContent != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("includeExternalContent", includeExternalContent)); } @@ -294,12 +296,7 @@ public class UserViewsApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getUserViewsValidateBeforeCall(UUID userId, Boolean includeExternalContent, List presetViews, Boolean includeHidden, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getUserViews(Async)"); - } - + private okhttp3.Call getUserViewsValidateBeforeCall(UUID userId, Boolean includeExternalContent, List presetViews, Boolean includeHidden, final ApiCallback _callback) throws ApiException { return getUserViewsCall(userId, includeExternalContent, presetViews, includeHidden, _callback); } @@ -307,7 +304,7 @@ public class UserViewsApi { /** * Get user views. * - * @param userId User id. (required) + * @param userId User id. (optional) * @param includeExternalContent Whether or not to include external views such as channels or live tv. (optional) * @param presetViews Preset views. (optional) * @param includeHidden Whether or not to include hidden content. (optional, default to false) @@ -322,7 +319,7 @@ public class UserViewsApi { 403 Forbidden - */ - public BaseItemDtoQueryResult getUserViews(UUID userId, Boolean includeExternalContent, List presetViews, Boolean includeHidden) throws ApiException { + public BaseItemDtoQueryResult getUserViews(UUID userId, Boolean includeExternalContent, List presetViews, Boolean includeHidden) throws ApiException { ApiResponse localVarResp = getUserViewsWithHttpInfo(userId, includeExternalContent, presetViews, includeHidden); return localVarResp.getData(); } @@ -330,7 +327,7 @@ public class UserViewsApi { /** * Get user views. * - * @param userId User id. (required) + * @param userId User id. (optional) * @param includeExternalContent Whether or not to include external views such as channels or live tv. (optional) * @param presetViews Preset views. (optional) * @param includeHidden Whether or not to include hidden content. (optional, default to false) @@ -345,7 +342,7 @@ public class UserViewsApi { 403 Forbidden - */ - public ApiResponse getUserViewsWithHttpInfo(UUID userId, Boolean includeExternalContent, List presetViews, Boolean includeHidden) throws ApiException { + public ApiResponse getUserViewsWithHttpInfo(UUID userId, Boolean includeExternalContent, List presetViews, Boolean includeHidden) throws ApiException { okhttp3.Call localVarCall = getUserViewsValidateBeforeCall(userId, includeExternalContent, presetViews, includeHidden, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -354,7 +351,7 @@ public class UserViewsApi { /** * Get user views. (asynchronously) * - * @param userId User id. (required) + * @param userId User id. (optional) * @param includeExternalContent Whether or not to include external views such as channels or live tv. (optional) * @param presetViews Preset views. (optional) * @param includeHidden Whether or not to include hidden content. (optional, default to false) @@ -370,7 +367,7 @@ public class UserViewsApi { 403 Forbidden - */ - public okhttp3.Call getUserViewsAsync(UUID userId, Boolean includeExternalContent, List presetViews, Boolean includeHidden, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUserViewsAsync(UUID userId, Boolean includeExternalContent, List presetViews, Boolean includeHidden, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getUserViewsValidateBeforeCall(userId, includeExternalContent, presetViews, includeHidden, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/VideoAttachmentsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/VideoAttachmentsApi.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/VideoAttachmentsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/VideoAttachmentsApi.java index add5012375a..4c59774a5f9 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/VideoAttachmentsApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/VideoAttachmentsApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/VideosApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/VideosApi.java similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/VideosApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/VideosApi.java index a5d9b07531f..71ce5c4f06b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/VideosApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/VideosApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -373,7 +373,7 @@ public class VideosApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -405,13 +405,14 @@ public class VideosApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -422,7 +423,7 @@ public class VideosApi { 200 Video stream returned. - */ - public okhttp3.Call getVideoStreamCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getVideoStreamCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -648,6 +649,10 @@ public class VideosApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("streamOptions", streamOptions)); } + if (enableAudioVbrEncoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAudioVbrEncoding", enableAudioVbrEncoding)); + } + final String[] localVarAccepts = { "video/*" }; @@ -668,13 +673,13 @@ public class VideosApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getVideoStreamValidateBeforeCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getVideoStreamValidateBeforeCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getVideoStream(Async)"); } - return getVideoStreamCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + return getVideoStreamCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); } @@ -693,7 +698,7 @@ public class VideosApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -725,13 +730,14 @@ public class VideosApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -741,8 +747,8 @@ public class VideosApi { 200 Video stream returned. - */ - public File getVideoStream(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - ApiResponse localVarResp = getVideoStreamWithHttpInfo(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + public File getVideoStream(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + ApiResponse localVarResp = getVideoStreamWithHttpInfo(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); return localVarResp.getData(); } @@ -761,7 +767,7 @@ public class VideosApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -793,13 +799,14 @@ public class VideosApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -809,8 +816,8 @@ public class VideosApi { 200 Video stream returned. - */ - public ApiResponse getVideoStreamWithHttpInfo(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - okhttp3.Call localVarCall = getVideoStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, null); + public ApiResponse getVideoStreamWithHttpInfo(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + okhttp3.Call localVarCall = getVideoStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -830,7 +837,7 @@ public class VideosApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -862,13 +869,14 @@ public class VideosApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -879,9 +887,9 @@ public class VideosApi { 200 Video stream returned. - */ - public okhttp3.Call getVideoStreamAsync(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getVideoStreamAsync(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getVideoStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + okhttp3.Call localVarCall = getVideoStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -900,7 +908,7 @@ public class VideosApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -932,13 +940,14 @@ public class VideosApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -949,7 +958,7 @@ public class VideosApi { 200 Video stream returned. - */ - public okhttp3.Call getVideoStreamByContainerCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getVideoStreamByContainerCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1172,6 +1181,10 @@ public class VideosApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("streamOptions", streamOptions)); } + if (enableAudioVbrEncoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAudioVbrEncoding", enableAudioVbrEncoding)); + } + final String[] localVarAccepts = { "video/*" }; @@ -1192,7 +1205,7 @@ public class VideosApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getVideoStreamByContainerValidateBeforeCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getVideoStreamByContainerValidateBeforeCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling getVideoStreamByContainer(Async)"); @@ -1203,7 +1216,7 @@ public class VideosApi { throw new ApiException("Missing the required parameter 'container' when calling getVideoStreamByContainer(Async)"); } - return getVideoStreamByContainerCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + return getVideoStreamByContainerCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); } @@ -1222,7 +1235,7 @@ public class VideosApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1254,13 +1267,14 @@ public class VideosApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1270,8 +1284,8 @@ public class VideosApi { 200 Video stream returned. - */ - public File getVideoStreamByContainer(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - ApiResponse localVarResp = getVideoStreamByContainerWithHttpInfo(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + public File getVideoStreamByContainer(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + ApiResponse localVarResp = getVideoStreamByContainerWithHttpInfo(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); return localVarResp.getData(); } @@ -1290,7 +1304,7 @@ public class VideosApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1322,13 +1336,14 @@ public class VideosApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1338,8 +1353,8 @@ public class VideosApi { 200 Video stream returned. - */ - public ApiResponse getVideoStreamByContainerWithHttpInfo(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - okhttp3.Call localVarCall = getVideoStreamByContainerValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, null); + public ApiResponse getVideoStreamByContainerWithHttpInfo(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + okhttp3.Call localVarCall = getVideoStreamByContainerValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1359,7 +1374,7 @@ public class VideosApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1391,13 +1406,14 @@ public class VideosApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1408,9 +1424,9 @@ public class VideosApi { 200 Video stream returned. - */ - public okhttp3.Call getVideoStreamByContainerAsync(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getVideoStreamByContainerAsync(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getVideoStreamByContainerValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + okhttp3.Call localVarCall = getVideoStreamByContainerValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -1429,7 +1445,7 @@ public class VideosApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1461,13 +1477,14 @@ public class VideosApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1478,7 +1495,7 @@ public class VideosApi { 200 Video stream returned. - */ - public okhttp3.Call headVideoStreamCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headVideoStreamCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1704,6 +1721,10 @@ public class VideosApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("streamOptions", streamOptions)); } + if (enableAudioVbrEncoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAudioVbrEncoding", enableAudioVbrEncoding)); + } + final String[] localVarAccepts = { "video/*" }; @@ -1724,13 +1745,13 @@ public class VideosApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headVideoStreamValidateBeforeCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + private okhttp3.Call headVideoStreamValidateBeforeCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling headVideoStream(Async)"); } - return headVideoStreamCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + return headVideoStreamCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); } @@ -1749,7 +1770,7 @@ public class VideosApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1781,13 +1802,14 @@ public class VideosApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1797,8 +1819,8 @@ public class VideosApi { 200 Video stream returned. - */ - public File headVideoStream(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - ApiResponse localVarResp = headVideoStreamWithHttpInfo(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + public File headVideoStream(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + ApiResponse localVarResp = headVideoStreamWithHttpInfo(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); return localVarResp.getData(); } @@ -1817,7 +1839,7 @@ public class VideosApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1849,13 +1871,14 @@ public class VideosApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1865,8 +1888,8 @@ public class VideosApi { 200 Video stream returned. - */ - public ApiResponse headVideoStreamWithHttpInfo(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - okhttp3.Call localVarCall = headVideoStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, null); + public ApiResponse headVideoStreamWithHttpInfo(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + okhttp3.Call localVarCall = headVideoStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1886,7 +1909,7 @@ public class VideosApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1918,13 +1941,14 @@ public class VideosApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1935,9 +1959,9 @@ public class VideosApi { 200 Video stream returned. - */ - public okhttp3.Call headVideoStreamAsync(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headVideoStreamAsync(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headVideoStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + okhttp3.Call localVarCall = headVideoStreamValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -1956,7 +1980,7 @@ public class VideosApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -1988,13 +2012,14 @@ public class VideosApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2005,7 +2030,7 @@ public class VideosApi { 200 Video stream returned. - */ - public okhttp3.Call headVideoStreamByContainerCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headVideoStreamByContainerCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2228,6 +2253,10 @@ public class VideosApi { localVarQueryParams.addAll(localVarApiClient.parameterToPair("streamOptions", streamOptions)); } + if (enableAudioVbrEncoding != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableAudioVbrEncoding", enableAudioVbrEncoding)); + } + final String[] localVarAccepts = { "video/*" }; @@ -2248,7 +2277,7 @@ public class VideosApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call headVideoStreamByContainerValidateBeforeCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + private okhttp3.Call headVideoStreamByContainerValidateBeforeCall(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { // verify the required parameter 'itemId' is set if (itemId == null) { throw new ApiException("Missing the required parameter 'itemId' when calling headVideoStreamByContainer(Async)"); @@ -2259,7 +2288,7 @@ public class VideosApi { throw new ApiException("Missing the required parameter 'container' when calling headVideoStreamByContainer(Async)"); } - return headVideoStreamByContainerCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + return headVideoStreamByContainerCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); } @@ -2278,7 +2307,7 @@ public class VideosApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -2310,13 +2339,14 @@ public class VideosApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2326,8 +2356,8 @@ public class VideosApi { 200 Video stream returned. - */ - public File headVideoStreamByContainer(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - ApiResponse localVarResp = headVideoStreamByContainerWithHttpInfo(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions); + public File headVideoStreamByContainer(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + ApiResponse localVarResp = headVideoStreamByContainerWithHttpInfo(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding); return localVarResp.getData(); } @@ -2346,7 +2376,7 @@ public class VideosApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -2378,13 +2408,14 @@ public class VideosApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2394,8 +2425,8 @@ public class VideosApi { 200 Video stream returned. - */ - public ApiResponse headVideoStreamByContainerWithHttpInfo(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions) throws ApiException { - okhttp3.Call localVarCall = headVideoStreamByContainerValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, null); + public ApiResponse headVideoStreamByContainerWithHttpInfo(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding) throws ApiException { + okhttp3.Call localVarCall = headVideoStreamByContainerValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2415,7 +2446,7 @@ public class VideosApi { * @param minSegments The minimum number of segments. (optional) * @param mediaSourceId The media version id, if playing an alternate version. (optional) * @param deviceId The device id of the client requesting. Used to stop encoding processes when needed. (optional) - * @param audioCodec Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. (optional) + * @param audioCodec Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. (optional) * @param enableAutoStreamCopy Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. (optional) * @param allowVideoStreamCopy Whether or not to allow copying of the video stream url. (optional) * @param allowAudioStreamCopy Whether or not to allow copying of the audio stream url. (optional) @@ -2447,13 +2478,14 @@ public class VideosApi { * @param cpuCoreLimit Optional. The limit of how many cpu cores to use. (optional) * @param liveStreamId The live stream id. (optional) * @param enableMpegtsM2TsMode Optional. Whether to enable the MpegtsM2Ts mode. (optional) - * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv. (optional) + * @param videoCodec Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. (optional) * @param subtitleCodec Optional. Specify a subtitle codec to encode to. (optional) * @param transcodeReasons Optional. The transcoding reason. (optional) * @param audioStreamIndex Optional. The index of the audio stream to use. If omitted the first audio stream will be used. (optional) * @param videoStreamIndex Optional. The index of the video stream to use. If omitted the first video stream will be used. (optional) * @param context Optional. The MediaBrowser.Model.Dlna.EncodingContext. (optional) * @param streamOptions Optional. The streaming options. (optional) + * @param enableAudioVbrEncoding Optional. Whether to enable Audio Encoding. (optional, default to true) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2464,9 +2496,9 @@ public class VideosApi { 200 Video stream returned. - */ - public okhttp3.Call headVideoStreamByContainerAsync(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, final ApiCallback _callback) throws ApiException { + public okhttp3.Call headVideoStreamByContainerAsync(UUID itemId, String container, Boolean _static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Integer segmentLength, Integer minSegments, String mediaSourceId, String deviceId, String audioCodec, Boolean enableAutoStreamCopy, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, Boolean breakOnNonKeyFrames, Integer audioSampleRate, Integer maxAudioBitDepth, Integer audioBitRate, Integer audioChannels, Integer maxAudioChannels, String profile, String level, Float framerate, Float maxFramerate, Boolean copyTimestamps, Long startTimeTicks, Integer width, Integer height, Integer maxWidth, Integer maxHeight, Integer videoBitRate, Integer subtitleStreamIndex, SubtitleDeliveryMethod subtitleMethod, Integer maxRefFrames, Integer maxVideoBitDepth, Boolean requireAvc, Boolean deInterlace, Boolean requireNonAnamorphic, Integer transcodingMaxAudioChannels, Integer cpuCoreLimit, String liveStreamId, Boolean enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Integer audioStreamIndex, Integer videoStreamIndex, EncodingContext context, Map streamOptions, Boolean enableAudioVbrEncoding, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = headVideoStreamByContainerValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, _callback); + okhttp3.Call localVarCall = headVideoStreamByContainerValidateBeforeCall(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAudioVbrEncoding, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/YearsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/YearsApi.java similarity index 94% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/YearsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/YearsApi.java index ead1f345309..4cafff1dfbf 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/YearsApi.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/api/YearsApi.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,6 +32,8 @@ import org.openapitools.client.model.BaseItemDtoQueryResult; import org.openapitools.client.model.BaseItemKind; import org.openapitools.client.model.ImageType; import org.openapitools.client.model.ItemFields; +import org.openapitools.client.model.ItemSortBy; +import org.openapitools.client.model.MediaType; import org.openapitools.client.model.ProblemDetails; import org.openapitools.client.model.SortOrder; import java.util.UUID; @@ -257,7 +259,7 @@ public class YearsApi { 403 Forbidden - */ - public okhttp3.Call getYearsCall(Integer startIndex, Integer limit, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List mediaTypes, List sortBy, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, UUID userId, Boolean recursive, Boolean enableImages, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getYearsCall(Integer startIndex, Integer limit, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List mediaTypes, List sortBy, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, UUID userId, Boolean recursive, Boolean enableImages, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -364,7 +366,7 @@ public class YearsApi { } @SuppressWarnings("rawtypes") - private okhttp3.Call getYearsValidateBeforeCall(Integer startIndex, Integer limit, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List mediaTypes, List sortBy, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, UUID userId, Boolean recursive, Boolean enableImages, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getYearsValidateBeforeCall(Integer startIndex, Integer limit, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List mediaTypes, List sortBy, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, UUID userId, Boolean recursive, Boolean enableImages, final ApiCallback _callback) throws ApiException { return getYearsCall(startIndex, limit, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, mediaTypes, sortBy, enableUserData, imageTypeLimit, enableImageTypes, userId, recursive, enableImages, _callback); } @@ -398,7 +400,7 @@ public class YearsApi { 403 Forbidden - */ - public BaseItemDtoQueryResult getYears(Integer startIndex, Integer limit, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List mediaTypes, List sortBy, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, UUID userId, Boolean recursive, Boolean enableImages) throws ApiException { + public BaseItemDtoQueryResult getYears(Integer startIndex, Integer limit, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List mediaTypes, List sortBy, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, UUID userId, Boolean recursive, Boolean enableImages) throws ApiException { ApiResponse localVarResp = getYearsWithHttpInfo(startIndex, limit, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, mediaTypes, sortBy, enableUserData, imageTypeLimit, enableImageTypes, userId, recursive, enableImages); return localVarResp.getData(); } @@ -432,7 +434,7 @@ public class YearsApi { 403 Forbidden - */ - public ApiResponse getYearsWithHttpInfo(Integer startIndex, Integer limit, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List mediaTypes, List sortBy, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, UUID userId, Boolean recursive, Boolean enableImages) throws ApiException { + public ApiResponse getYearsWithHttpInfo(Integer startIndex, Integer limit, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List mediaTypes, List sortBy, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, UUID userId, Boolean recursive, Boolean enableImages) throws ApiException { okhttp3.Call localVarCall = getYearsValidateBeforeCall(startIndex, limit, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, mediaTypes, sortBy, enableUserData, imageTypeLimit, enableImageTypes, userId, recursive, enableImages, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -468,7 +470,7 @@ public class YearsApi { 403 Forbidden - */ - public okhttp3.Call getYearsAsync(Integer startIndex, Integer limit, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List mediaTypes, List sortBy, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, UUID userId, Boolean recursive, Boolean enableImages, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getYearsAsync(Integer startIndex, Integer limit, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List mediaTypes, List sortBy, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, UUID userId, Boolean recursive, Boolean enableImages, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getYearsValidateBeforeCall(startIndex, limit, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, mediaTypes, sortBy, enableUserData, imageTypeLimit, enableImageTypes, userId, recursive, enableImages, _callback); Type localVarReturnType = new TypeToken(){}.getType(); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AccessSchedule.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AccessSchedule.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AccessSchedule.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AccessSchedule.java index 15649fc0583..fda9627099d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AccessSchedule.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AccessSchedule.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * An entity representing a user's access schedule. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class AccessSchedule { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntry.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntry.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntry.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntry.java index 785f769e0f2..b97d42cd731 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntry.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntry.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * An activity log entry. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ActivityLogEntry { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntryMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntryMessage.java new file mode 100644 index 00000000000..7b485923de3 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntryMessage.java @@ -0,0 +1,302 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.UUID; +import org.openapitools.client.model.ActivityLogEntry; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Activity log created message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class ActivityLogEntryMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private List data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.ACTIVITY_LOG_ENTRY; + + public ActivityLogEntryMessage() { + } + + public ActivityLogEntryMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public ActivityLogEntryMessage data(@javax.annotation.Nullable List data) { + this.data = data; + return this; + } + + public ActivityLogEntryMessage addDataItem(ActivityLogEntry dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * Gets or sets the data. + * @return data + */ + @javax.annotation.Nullable + public List getData() { + return data; + } + + public void setData(@javax.annotation.Nullable List data) { + this.data = data; + } + + + public ActivityLogEntryMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityLogEntryMessage activityLogEntryMessage = (ActivityLogEntryMessage) o; + return Objects.equals(this.data, activityLogEntryMessage.data) && + Objects.equals(this.messageId, activityLogEntryMessage.messageId) && + Objects.equals(this.messageType, activityLogEntryMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ActivityLogEntryMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ActivityLogEntryMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!ActivityLogEntryMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ActivityLogEntryMessage is not found in the empty JSON string", ActivityLogEntryMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!ActivityLogEntryMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ActivityLogEntryMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + JsonArray jsonArraydata = jsonObj.getAsJsonArray("Data"); + if (jsonArraydata != null) { + // ensure the json data is an array + if (!jsonObj.get("Data").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `Data` to be an array in the JSON string but got `%s`", jsonObj.get("Data").toString())); + } + + // validate the optional field `Data` (array) + for (int i = 0; i < jsonArraydata.size(); i++) { + ActivityLogEntry.validateJsonElement(jsonArraydata.get(i)); + }; + } + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ActivityLogEntryMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ActivityLogEntryMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ActivityLogEntryMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ActivityLogEntryMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ActivityLogEntryMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ActivityLogEntryMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of ActivityLogEntryMessage + * @throws IOException if the JSON string is invalid with respect to ActivityLogEntryMessage + */ + public static ActivityLogEntryMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ActivityLogEntryMessage.class); + } + + /** + * Convert an instance of ActivityLogEntryMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ActivityLogEntryQueryResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntryQueryResult.java similarity index 93% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ActivityLogEntryQueryResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntryQueryResult.java index d4ca6148891..fd2307ba6c1 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ActivityLogEntryQueryResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntryQueryResult.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,7 +24,6 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.openapitools.client.model.ActivityLogEntry; -import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -50,14 +49,14 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * ActivityLogEntryQueryResult + * Query result container. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ActivityLogEntryQueryResult { public static final String SERIALIZED_NAME_ITEMS = "Items"; @SerializedName(SERIALIZED_NAME_ITEMS) @javax.annotation.Nullable - private List items; + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_TOTAL_RECORD_COUNT = "TotalRecordCount"; @SerializedName(SERIALIZED_NAME_TOTAL_RECORD_COUNT) @@ -152,22 +151,11 @@ public class ActivityLogEntryQueryResult { Objects.equals(this.startIndex, activityLogEntryQueryResult.startIndex); } - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - @Override public int hashCode() { return Objects.hash(items, totalRecordCount, startIndex); } - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - @Override public String toString() { StringBuilder sb = new StringBuilder(); diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntryStartMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntryStartMessage.java new file mode 100644 index 00000000000..0514ec8101b --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntryStartMessage.java @@ -0,0 +1,249 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Activity log entry start message. Data is the timing data encoded as \"$initialDelay,$interval\" in ms. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class ActivityLogEntryStartMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private String data; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.ACTIVITY_LOG_ENTRY_START; + + public ActivityLogEntryStartMessage() { + } + + public ActivityLogEntryStartMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public ActivityLogEntryStartMessage data(@javax.annotation.Nullable String data) { + this.data = data; + return this; + } + + /** + * Gets or sets the data. + * @return data + */ + @javax.annotation.Nullable + public String getData() { + return data; + } + + public void setData(@javax.annotation.Nullable String data) { + this.data = data; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityLogEntryStartMessage activityLogEntryStartMessage = (ActivityLogEntryStartMessage) o; + return Objects.equals(this.data, activityLogEntryStartMessage.data) && + Objects.equals(this.messageType, activityLogEntryStartMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ActivityLogEntryStartMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ActivityLogEntryStartMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!ActivityLogEntryStartMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ActivityLogEntryStartMessage is not found in the empty JSON string", ActivityLogEntryStartMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!ActivityLogEntryStartMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ActivityLogEntryStartMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) && !jsonObj.get("Data").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Data` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Data").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ActivityLogEntryStartMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ActivityLogEntryStartMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ActivityLogEntryStartMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ActivityLogEntryStartMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ActivityLogEntryStartMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ActivityLogEntryStartMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of ActivityLogEntryStartMessage + * @throws IOException if the JSON string is invalid with respect to ActivityLogEntryStartMessage + */ + public static ActivityLogEntryStartMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ActivityLogEntryStartMessage.class); + } + + /** + * Convert an instance of ActivityLogEntryStartMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntryStopMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntryStopMessage.java new file mode 100644 index 00000000000..9b8a5cd8884 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntryStopMessage.java @@ -0,0 +1,207 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.openapitools.client.model.SessionMessageType; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Activity log entry stop message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class ActivityLogEntryStopMessage { + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.ACTIVITY_LOG_ENTRY_STOP; + + public ActivityLogEntryStopMessage() { + } + + public ActivityLogEntryStopMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ActivityLogEntryStopMessage activityLogEntryStopMessage = (ActivityLogEntryStopMessage) o; + return Objects.equals(this.messageType, activityLogEntryStopMessage.messageType); + } + + @Override + public int hashCode() { + return Objects.hash(messageType); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ActivityLogEntryStopMessage {\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ActivityLogEntryStopMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!ActivityLogEntryStopMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ActivityLogEntryStopMessage is not found in the empty JSON string", ActivityLogEntryStopMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!ActivityLogEntryStopMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ActivityLogEntryStopMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ActivityLogEntryStopMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ActivityLogEntryStopMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ActivityLogEntryStopMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ActivityLogEntryStopMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ActivityLogEntryStopMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ActivityLogEntryStopMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of ActivityLogEntryStopMessage + * @throws IOException if the JSON string is invalid with respect to ActivityLogEntryStopMessage + */ + public static ActivityLogEntryStopMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ActivityLogEntryStopMessage.class); + } + + /** + * Convert an instance of ActivityLogEntryStopMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AddVirtualFolderDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AddVirtualFolderDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AddVirtualFolderDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AddVirtualFolderDto.java index b2e0e7e44ac..f18e95f69d4 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AddVirtualFolderDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AddVirtualFolderDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Add virtual folder dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class AddVirtualFolderDto { public static final String SERIALIZED_NAME_LIBRARY_OPTIONS = "LibraryOptions"; @SerializedName(SERIALIZED_NAME_LIBRARY_OPTIONS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AlbumInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AlbumInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AlbumInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AlbumInfo.java index 3455fc47162..acf0245bebb 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AlbumInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AlbumInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -55,7 +55,7 @@ import org.openapitools.client.JSON; /** * AlbumInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class AlbumInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AlbumInfoRemoteSearchQuery.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AlbumInfoRemoteSearchQuery.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AlbumInfoRemoteSearchQuery.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AlbumInfoRemoteSearchQuery.java index 401ba6b80e1..e1225fb1808 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AlbumInfoRemoteSearchQuery.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AlbumInfoRemoteSearchQuery.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * AlbumInfoRemoteSearchQuery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class AlbumInfoRemoteSearchQuery { public static final String SERIALIZED_NAME_SEARCH_INFO = "SearchInfo"; @SerializedName(SERIALIZED_NAME_SEARCH_INFO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AllThemeMediaResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AllThemeMediaResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AllThemeMediaResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AllThemeMediaResult.java index 004fd37607c..cfd56761e4a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AllThemeMediaResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AllThemeMediaResult.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * AllThemeMediaResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class AllThemeMediaResult { public static final String SERIALIZED_NAME_THEME_VIDEOS_RESULT = "ThemeVideosResult"; @SerializedName(SERIALIZED_NAME_THEME_VIDEOS_RESULT) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ArtistInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ArtistInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ArtistInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ArtistInfo.java index 6b49f66aecd..3532f16efc0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ArtistInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ArtistInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -55,7 +55,7 @@ import org.openapitools.client.JSON; /** * ArtistInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ArtistInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ArtistInfoRemoteSearchQuery.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ArtistInfoRemoteSearchQuery.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ArtistInfoRemoteSearchQuery.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ArtistInfoRemoteSearchQuery.java index 444b3ef5ba4..54fb690fa6b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ArtistInfoRemoteSearchQuery.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ArtistInfoRemoteSearchQuery.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * ArtistInfoRemoteSearchQuery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ArtistInfoRemoteSearchQuery { public static final String SERIALIZED_NAME_SEARCH_INFO = "SearchInfo"; @SerializedName(SERIALIZED_NAME_SEARCH_INFO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportDisplayType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AudioSpatialFormat.java similarity index 63% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportDisplayType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AudioSpatialFormat.java index dea488dec61..3aa992c7e05 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportDisplayType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AudioSpatialFormat.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,22 +24,20 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; /** - * Gets or Sets ReportDisplayType + * An enum representing formats of spatial audio. */ -@JsonAdapter(ReportDisplayType.Adapter.class) -public enum ReportDisplayType { +@JsonAdapter(AudioSpatialFormat.Adapter.class) +public enum AudioSpatialFormat { NONE("None"), - SCREEN("Screen"), + DOLBY_ATMOS("DolbyAtmos"), - EXPORT("Export"), - - SCREEN_EXPORT("ScreenExport"); + DTSX("DTSX"); private String value; - ReportDisplayType(String value) { + AudioSpatialFormat(String value) { this.value = value; } @@ -52,8 +50,8 @@ public enum ReportDisplayType { return String.valueOf(value); } - public static ReportDisplayType fromValue(String value) { - for (ReportDisplayType b : ReportDisplayType.values()) { + public static AudioSpatialFormat fromValue(String value) { + for (AudioSpatialFormat b : AudioSpatialFormat.values()) { if (b.value.equals(value)) { return b; } @@ -61,22 +59,22 @@ public enum ReportDisplayType { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - public static class Adapter extends TypeAdapter { + public static class Adapter extends TypeAdapter { @Override - public void write(final JsonWriter jsonWriter, final ReportDisplayType enumeration) throws IOException { + public void write(final JsonWriter jsonWriter, final AudioSpatialFormat enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override - public ReportDisplayType read(final JsonReader jsonReader) throws IOException { + public AudioSpatialFormat read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); - return ReportDisplayType.fromValue(value); + return AudioSpatialFormat.fromValue(value); } } public static void validateJsonElement(JsonElement jsonElement) throws IOException { String value = jsonElement.getAsString(); - ReportDisplayType.fromValue(value); + AudioSpatialFormat.fromValue(value); } } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AuthenticateUserByName.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AuthenticateUserByName.java similarity index 84% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AuthenticateUserByName.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AuthenticateUserByName.java index f5a1ec97509..3aa623f0cd1 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AuthenticateUserByName.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AuthenticateUserByName.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * The authenticate user by name request body. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class AuthenticateUserByName { public static final String SERIALIZED_NAME_USERNAME = "Username"; @SerializedName(SERIALIZED_NAME_USERNAME) @@ -61,12 +61,6 @@ public class AuthenticateUserByName { @javax.annotation.Nullable private String pw; - public static final String SERIALIZED_NAME_PASSWORD = "Password"; - @Deprecated - @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable - private String password; - public AuthenticateUserByName() { } @@ -108,29 +102,6 @@ public class AuthenticateUserByName { } - @Deprecated - public AuthenticateUserByName password(@javax.annotation.Nullable String password) { - this.password = password; - return this; - } - - /** - * Gets or sets the sha1-hashed password. - * @return password - * @deprecated - */ - @Deprecated - @javax.annotation.Nullable - public String getPassword() { - return password; - } - - @Deprecated - public void setPassword(@javax.annotation.Nullable String password) { - this.password = password; - } - - @Override public boolean equals(Object o) { @@ -142,8 +113,7 @@ public class AuthenticateUserByName { } AuthenticateUserByName authenticateUserByName = (AuthenticateUserByName) o; return Objects.equals(this.username, authenticateUserByName.username) && - Objects.equals(this.pw, authenticateUserByName.pw) && - Objects.equals(this.password, authenticateUserByName.password); + Objects.equals(this.pw, authenticateUserByName.pw); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -152,7 +122,7 @@ public class AuthenticateUserByName { @Override public int hashCode() { - return Objects.hash(username, pw, password); + return Objects.hash(username, pw); } private static int hashCodeNullable(JsonNullable a) { @@ -168,7 +138,6 @@ public class AuthenticateUserByName { sb.append("class AuthenticateUserByName {\n"); sb.append(" username: ").append(toIndentedString(username)).append("\n"); sb.append(" pw: ").append(toIndentedString(pw)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); sb.append("}"); return sb.toString(); } @@ -193,7 +162,6 @@ public class AuthenticateUserByName { openapiFields = new HashSet(); openapiFields.add("Username"); openapiFields.add("Pw"); - openapiFields.add("Password"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -226,9 +194,6 @@ public class AuthenticateUserByName { if ((jsonObj.get("Pw") != null && !jsonObj.get("Pw").isJsonNull()) && !jsonObj.get("Pw").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `Pw` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Pw").toString())); } - if ((jsonObj.get("Password") != null && !jsonObj.get("Password").isJsonNull()) && !jsonObj.get("Password").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Password` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Password").toString())); - } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AuthenticationInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AuthenticationInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AuthenticationInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AuthenticationInfo.java index 5db5498a7f0..15fed8012a9 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AuthenticationInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AuthenticationInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * AuthenticationInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class AuthenticationInfo { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AuthenticationInfoQueryResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AuthenticationInfoQueryResult.java similarity index 93% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AuthenticationInfoQueryResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AuthenticationInfoQueryResult.java index 6f45095f775..71d6f9c6a45 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AuthenticationInfoQueryResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AuthenticationInfoQueryResult.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,7 +24,6 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.openapitools.client.model.AuthenticationInfo; -import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -50,14 +49,14 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * AuthenticationInfoQueryResult + * Query result container. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class AuthenticationInfoQueryResult { public static final String SERIALIZED_NAME_ITEMS = "Items"; @SerializedName(SERIALIZED_NAME_ITEMS) @javax.annotation.Nullable - private List items; + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_TOTAL_RECORD_COUNT = "TotalRecordCount"; @SerializedName(SERIALIZED_NAME_TOTAL_RECORD_COUNT) @@ -152,22 +151,11 @@ public class AuthenticationInfoQueryResult { Objects.equals(this.startIndex, authenticationInfoQueryResult.startIndex); } - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - @Override public int hashCode() { return Objects.hash(items, totalRecordCount, startIndex); } - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - @Override public String toString() { StringBuilder sb = new StringBuilder(); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AuthenticationResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AuthenticationResult.java similarity index 94% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AuthenticationResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AuthenticationResult.java index b8044affbce..86db1cc7401 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AuthenticationResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/AuthenticationResult.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,7 +21,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.util.Arrays; -import org.openapitools.client.model.SessionInfo; +import org.openapitools.client.model.SessionInfoDto; import org.openapitools.client.model.UserDto; import org.openapitools.jackson.nullable.JsonNullable; @@ -49,9 +49,9 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * AuthenticationResult + * A class representing an authentication result. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class AuthenticationResult { public static final String SERIALIZED_NAME_USER = "User"; @SerializedName(SERIALIZED_NAME_USER) @@ -61,7 +61,7 @@ public class AuthenticationResult { public static final String SERIALIZED_NAME_SESSION_INFO = "SessionInfo"; @SerializedName(SERIALIZED_NAME_SESSION_INFO) @javax.annotation.Nullable - private SessionInfo sessionInfo; + private SessionInfoDto sessionInfo; public static final String SERIALIZED_NAME_ACCESS_TOKEN = "AccessToken"; @SerializedName(SERIALIZED_NAME_ACCESS_TOKEN) @@ -95,21 +95,21 @@ public class AuthenticationResult { } - public AuthenticationResult sessionInfo(@javax.annotation.Nullable SessionInfo sessionInfo) { + public AuthenticationResult sessionInfo(@javax.annotation.Nullable SessionInfoDto sessionInfo) { this.sessionInfo = sessionInfo; return this; } /** - * Class SessionInfo. + * Session info DTO. * @return sessionInfo */ @javax.annotation.Nullable - public SessionInfo getSessionInfo() { + public SessionInfoDto getSessionInfo() { return sessionInfo; } - public void setSessionInfo(@javax.annotation.Nullable SessionInfo sessionInfo) { + public void setSessionInfo(@javax.annotation.Nullable SessionInfoDto sessionInfo) { this.sessionInfo = sessionInfo; } @@ -120,7 +120,7 @@ public class AuthenticationResult { } /** - * Get accessToken + * Gets or sets the access token. * @return accessToken */ @javax.annotation.Nullable @@ -139,7 +139,7 @@ public class AuthenticationResult { } /** - * Get serverId + * Gets or sets the server id. * @return serverId */ @javax.annotation.Nullable @@ -250,7 +250,7 @@ public class AuthenticationResult { } // validate the optional field `SessionInfo` if (jsonObj.get("SessionInfo") != null && !jsonObj.get("SessionInfo").isJsonNull()) { - SessionInfo.validateJsonElement(jsonObj.get("SessionInfo")); + SessionInfoDto.validateJsonElement(jsonObj.get("SessionInfo")); } if ((jsonObj.get("AccessToken") != null && !jsonObj.get("AccessToken").isJsonNull()) && !jsonObj.get("AccessToken").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `AccessToken` to be a primitive type in the JSON string but got `%s`", jsonObj.get("AccessToken").toString())); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItemDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BaseItemDto.java similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItemDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BaseItemDto.java index 1367b87e9e1..ab8877f3a26 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItemDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BaseItemDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,18 +32,22 @@ import org.openapitools.client.model.BaseItemKind; import org.openapitools.client.model.BaseItemPerson; import org.openapitools.client.model.ChannelType; import org.openapitools.client.model.ChapterInfo; +import org.openapitools.client.model.CollectionType; import org.openapitools.client.model.DayOfWeek; import org.openapitools.client.model.ExternalUrl; +import org.openapitools.client.model.ExtraType; import org.openapitools.client.model.ImageOrientation; import org.openapitools.client.model.IsoType; import org.openapitools.client.model.LocationType; import org.openapitools.client.model.MediaSourceInfo; import org.openapitools.client.model.MediaStream; +import org.openapitools.client.model.MediaType; import org.openapitools.client.model.MediaUrl; import org.openapitools.client.model.MetadataField; import org.openapitools.client.model.NameGuidPair; import org.openapitools.client.model.PlayAccess; import org.openapitools.client.model.ProgramAudio; +import org.openapitools.client.model.TrickplayInfo; import org.openapitools.client.model.UserItemDataDto; import org.openapitools.client.model.Video3DFormat; import org.openapitools.client.model.VideoType; @@ -75,7 +79,7 @@ import org.openapitools.client.JSON; /** * This is strictly used as a data transfer object from the api layer. This holds information about a BaseItem in a format that is convenient for the client. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BaseItemDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -125,7 +129,7 @@ public class BaseItemDto { public static final String SERIALIZED_NAME_EXTRA_TYPE = "ExtraType"; @SerializedName(SERIALIZED_NAME_EXTRA_TYPE) @javax.annotation.Nullable - private String extraType; + private ExtraType extraType; public static final String SERIALIZED_NAME_AIRS_BEFORE_SEASON_NUMBER = "AirsBeforeSeasonNumber"; @SerializedName(SERIALIZED_NAME_AIRS_BEFORE_SEASON_NUMBER) @@ -152,6 +156,11 @@ public class BaseItemDto { @javax.annotation.Nullable private Boolean canDownload; + public static final String SERIALIZED_NAME_HAS_LYRICS = "HasLyrics"; + @SerializedName(SERIALIZED_NAME_HAS_LYRICS) + @javax.annotation.Nullable + private Boolean hasLyrics; + public static final String SERIALIZED_NAME_HAS_SUBTITLES = "HasSubtitles"; @SerializedName(SERIALIZED_NAME_HAS_SUBTITLES) @javax.annotation.Nullable @@ -167,11 +176,6 @@ public class BaseItemDto { @javax.annotation.Nullable private String preferredMetadataCountryCode; - public static final String SERIALIZED_NAME_SUPPORTS_SYNC = "SupportsSync"; - @SerializedName(SERIALIZED_NAME_SUPPORTS_SYNC) - @javax.annotation.Nullable - private Boolean supportsSync; - public static final String SERIALIZED_NAME_CONTAINER = "Container"; @SerializedName(SERIALIZED_NAME_CONTAINER) @javax.annotation.Nullable @@ -470,7 +474,7 @@ public class BaseItemDto { public static final String SERIALIZED_NAME_COLLECTION_TYPE = "CollectionType"; @SerializedName(SERIALIZED_NAME_COLLECTION_TYPE) @javax.annotation.Nullable - private String collectionType; + private CollectionType collectionType; public static final String SERIALIZED_NAME_DISPLAY_ORDER = "DisplayOrder"; @SerializedName(SERIALIZED_NAME_DISPLAY_ORDER) @@ -597,6 +601,11 @@ public class BaseItemDto { @javax.annotation.Nullable private List chapters; + public static final String SERIALIZED_NAME_TRICKPLAY = "Trickplay"; + @SerializedName(SERIALIZED_NAME_TRICKPLAY) + @javax.annotation.Nullable + private Map> trickplay; + public static final String SERIALIZED_NAME_LOCATION_TYPE = "LocationType"; @SerializedName(SERIALIZED_NAME_LOCATION_TYPE) @javax.annotation.Nullable @@ -610,7 +619,7 @@ public class BaseItemDto { public static final String SERIALIZED_NAME_MEDIA_TYPE = "MediaType"; @SerializedName(SERIALIZED_NAME_MEDIA_TYPE) @javax.annotation.Nullable - private String mediaType; + private MediaType mediaType; public static final String SERIALIZED_NAME_END_DATE = "EndDate"; @SerializedName(SERIALIZED_NAME_END_DATE) @@ -827,6 +836,11 @@ public class BaseItemDto { @javax.annotation.Nullable private String timerId; + public static final String SERIALIZED_NAME_NORMALIZATION_GAIN = "NormalizationGain"; + @SerializedName(SERIALIZED_NAME_NORMALIZATION_GAIN) + @javax.annotation.Nullable + private Float normalizationGain; + public static final String SERIALIZED_NAME_CURRENT_PROGRAM = "CurrentProgram"; @SerializedName(SERIALIZED_NAME_CURRENT_PROGRAM) @javax.annotation.Nullable @@ -1006,7 +1020,7 @@ public class BaseItemDto { } - public BaseItemDto extraType(@javax.annotation.Nullable String extraType) { + public BaseItemDto extraType(@javax.annotation.Nullable ExtraType extraType) { this.extraType = extraType; return this; } @@ -1016,11 +1030,11 @@ public class BaseItemDto { * @return extraType */ @javax.annotation.Nullable - public String getExtraType() { + public ExtraType getExtraType() { return extraType; } - public void setExtraType(@javax.annotation.Nullable String extraType) { + public void setExtraType(@javax.annotation.Nullable ExtraType extraType) { this.extraType = extraType; } @@ -1120,6 +1134,25 @@ public class BaseItemDto { } + public BaseItemDto hasLyrics(@javax.annotation.Nullable Boolean hasLyrics) { + this.hasLyrics = hasLyrics; + return this; + } + + /** + * Get hasLyrics + * @return hasLyrics + */ + @javax.annotation.Nullable + public Boolean getHasLyrics() { + return hasLyrics; + } + + public void setHasLyrics(@javax.annotation.Nullable Boolean hasLyrics) { + this.hasLyrics = hasLyrics; + } + + public BaseItemDto hasSubtitles(@javax.annotation.Nullable Boolean hasSubtitles) { this.hasSubtitles = hasSubtitles; return this; @@ -1177,25 +1210,6 @@ public class BaseItemDto { } - public BaseItemDto supportsSync(@javax.annotation.Nullable Boolean supportsSync) { - this.supportsSync = supportsSync; - return this; - } - - /** - * Gets or sets a value indicating whether [supports synchronize]. - * @return supportsSync - */ - @javax.annotation.Nullable - public Boolean getSupportsSync() { - return supportsSync; - } - - public void setSupportsSync(@javax.annotation.Nullable Boolean supportsSync) { - this.supportsSync = supportsSync; - } - - public BaseItemDto container(@javax.annotation.Nullable String container) { this.container = container; return this; @@ -1923,7 +1937,7 @@ public class BaseItemDto { } /** - * Gets or sets the type. + * The base item kind. * @return type */ @javax.annotation.Nullable @@ -2023,7 +2037,7 @@ public class BaseItemDto { } /** - * Gets or sets wether the item has a logo, this will hold the Id of the Parent that has one. + * Gets or sets whether the item has a logo, this will hold the Id of the Parent that has one. * @return parentLogoItemId */ @javax.annotation.Nullable @@ -2042,7 +2056,7 @@ public class BaseItemDto { } /** - * Gets or sets wether the item has any backdrops, this will hold the Id of the Parent that has one. + * Gets or sets whether the item has any backdrops, this will hold the Id of the Parent that has one. * @return parentBackdropItemId */ @javax.annotation.Nullable @@ -2437,7 +2451,7 @@ public class BaseItemDto { } - public BaseItemDto collectionType(@javax.annotation.Nullable String collectionType) { + public BaseItemDto collectionType(@javax.annotation.Nullable CollectionType collectionType) { this.collectionType = collectionType; return this; } @@ -2447,11 +2461,11 @@ public class BaseItemDto { * @return collectionType */ @javax.annotation.Nullable - public String getCollectionType() { + public CollectionType getCollectionType() { return collectionType; } - public void setCollectionType(@javax.annotation.Nullable String collectionType) { + public void setCollectionType(@javax.annotation.Nullable CollectionType collectionType) { this.collectionType = collectionType; } @@ -2787,7 +2801,7 @@ public class BaseItemDto { } /** - * Gets or sets wether the item has fan art, this will hold the Id of the Parent that has one. + * Gets or sets whether the item has fan art, this will hold the Id of the Parent that has one. * @return parentArtItemId */ @javax.annotation.Nullable @@ -2979,6 +2993,33 @@ public class BaseItemDto { } + public BaseItemDto trickplay(@javax.annotation.Nullable Map> trickplay) { + this.trickplay = trickplay; + return this; + } + + public BaseItemDto putTrickplayItem(String key, Map trickplayItem) { + if (this.trickplay == null) { + this.trickplay = new HashMap<>(); + } + this.trickplay.put(key, trickplayItem); + return this; + } + + /** + * Gets or sets the trickplay manifest. + * @return trickplay + */ + @javax.annotation.Nullable + public Map> getTrickplay() { + return trickplay; + } + + public void setTrickplay(@javax.annotation.Nullable Map> trickplay) { + this.trickplay = trickplay; + } + + public BaseItemDto locationType(@javax.annotation.Nullable LocationType locationType) { this.locationType = locationType; return this; @@ -3017,21 +3058,21 @@ public class BaseItemDto { } - public BaseItemDto mediaType(@javax.annotation.Nullable String mediaType) { + public BaseItemDto mediaType(@javax.annotation.Nullable MediaType mediaType) { this.mediaType = mediaType; return this; } /** - * Gets or sets the type of the media. + * Media types. * @return mediaType */ @javax.annotation.Nullable - public String getMediaType() { + public MediaType getMediaType() { return mediaType; } - public void setMediaType(@javax.annotation.Nullable String mediaType) { + public void setMediaType(@javax.annotation.Nullable MediaType mediaType) { this.mediaType = mediaType; } @@ -3861,6 +3902,25 @@ public class BaseItemDto { } + public BaseItemDto normalizationGain(@javax.annotation.Nullable Float normalizationGain) { + this.normalizationGain = normalizationGain; + return this; + } + + /** + * Gets or sets the gain required for audio normalization. + * @return normalizationGain + */ + @javax.annotation.Nullable + public Float getNormalizationGain() { + return normalizationGain; + } + + public void setNormalizationGain(@javax.annotation.Nullable Float normalizationGain) { + this.normalizationGain = normalizationGain; + } + + public BaseItemDto currentProgram(@javax.annotation.Nullable BaseItemDto currentProgram) { this.currentProgram = currentProgram; return this; @@ -3905,10 +3965,10 @@ public class BaseItemDto { Objects.equals(this.airsBeforeEpisodeNumber, baseItemDto.airsBeforeEpisodeNumber) && Objects.equals(this.canDelete, baseItemDto.canDelete) && Objects.equals(this.canDownload, baseItemDto.canDownload) && + Objects.equals(this.hasLyrics, baseItemDto.hasLyrics) && Objects.equals(this.hasSubtitles, baseItemDto.hasSubtitles) && Objects.equals(this.preferredMetadataLanguage, baseItemDto.preferredMetadataLanguage) && Objects.equals(this.preferredMetadataCountryCode, baseItemDto.preferredMetadataCountryCode) && - Objects.equals(this.supportsSync, baseItemDto.supportsSync) && Objects.equals(this.container, baseItemDto.container) && Objects.equals(this.sortName, baseItemDto.sortName) && Objects.equals(this.forcedSortName, baseItemDto.forcedSortName) && @@ -3994,6 +4054,7 @@ public class BaseItemDto { Objects.equals(this.parentPrimaryImageItemId, baseItemDto.parentPrimaryImageItemId) && Objects.equals(this.parentPrimaryImageTag, baseItemDto.parentPrimaryImageTag) && Objects.equals(this.chapters, baseItemDto.chapters) && + Objects.equals(this.trickplay, baseItemDto.trickplay) && Objects.equals(this.locationType, baseItemDto.locationType) && Objects.equals(this.isoType, baseItemDto.isoType) && Objects.equals(this.mediaType, baseItemDto.mediaType) && @@ -4040,6 +4101,7 @@ public class BaseItemDto { Objects.equals(this.isKids, baseItemDto.isKids) && Objects.equals(this.isPremiere, baseItemDto.isPremiere) && Objects.equals(this.timerId, baseItemDto.timerId) && + Objects.equals(this.normalizationGain, baseItemDto.normalizationGain) && Objects.equals(this.currentProgram, baseItemDto.currentProgram); } @@ -4049,7 +4111,7 @@ public class BaseItemDto { @Override public int hashCode() { - return Objects.hash(name, originalTitle, serverId, id, etag, sourceType, playlistItemId, dateCreated, dateLastMediaAdded, extraType, airsBeforeSeasonNumber, airsAfterSeasonNumber, airsBeforeEpisodeNumber, canDelete, canDownload, hasSubtitles, preferredMetadataLanguage, preferredMetadataCountryCode, supportsSync, container, sortName, forcedSortName, video3DFormat, premiereDate, externalUrls, mediaSources, criticRating, productionLocations, path, enableMediaSourceDisplay, officialRating, customRating, channelId, channelName, overview, taglines, genres, communityRating, cumulativeRunTimeTicks, runTimeTicks, playAccess, aspectRatio, productionYear, isPlaceHolder, number, channelNumber, indexNumber, indexNumberEnd, parentIndexNumber, remoteTrailers, providerIds, isHD, isFolder, parentId, type, people, studios, genreItems, parentLogoItemId, parentBackdropItemId, parentBackdropImageTags, localTrailerCount, userData, recursiveItemCount, childCount, seriesName, seriesId, seasonId, specialFeatureCount, displayPreferencesId, status, airTime, airDays, tags, primaryImageAspectRatio, artists, artistItems, album, collectionType, displayOrder, albumId, albumPrimaryImageTag, seriesPrimaryImageTag, albumArtist, albumArtists, seasonName, mediaStreams, videoType, partCount, mediaSourceCount, imageTags, backdropImageTags, screenshotImageTags, parentLogoImageTag, parentArtItemId, parentArtImageTag, seriesThumbImageTag, imageBlurHashes, seriesStudio, parentThumbItemId, parentThumbImageTag, parentPrimaryImageItemId, parentPrimaryImageTag, chapters, locationType, isoType, mediaType, endDate, lockedFields, trailerCount, movieCount, seriesCount, programCount, episodeCount, songCount, albumCount, artistCount, musicVideoCount, lockData, width, height, cameraMake, cameraModel, software, exposureTime, focalLength, imageOrientation, aperture, shutterSpeed, latitude, longitude, altitude, isoSpeedRating, seriesTimerId, programId, channelPrimaryImageTag, startDate, completionPercentage, isRepeat, episodeTitle, channelType, audio, isMovie, isSports, isSeries, isLive, isNews, isKids, isPremiere, timerId, currentProgram); + return Objects.hash(name, originalTitle, serverId, id, etag, sourceType, playlistItemId, dateCreated, dateLastMediaAdded, extraType, airsBeforeSeasonNumber, airsAfterSeasonNumber, airsBeforeEpisodeNumber, canDelete, canDownload, hasLyrics, hasSubtitles, preferredMetadataLanguage, preferredMetadataCountryCode, container, sortName, forcedSortName, video3DFormat, premiereDate, externalUrls, mediaSources, criticRating, productionLocations, path, enableMediaSourceDisplay, officialRating, customRating, channelId, channelName, overview, taglines, genres, communityRating, cumulativeRunTimeTicks, runTimeTicks, playAccess, aspectRatio, productionYear, isPlaceHolder, number, channelNumber, indexNumber, indexNumberEnd, parentIndexNumber, remoteTrailers, providerIds, isHD, isFolder, parentId, type, people, studios, genreItems, parentLogoItemId, parentBackdropItemId, parentBackdropImageTags, localTrailerCount, userData, recursiveItemCount, childCount, seriesName, seriesId, seasonId, specialFeatureCount, displayPreferencesId, status, airTime, airDays, tags, primaryImageAspectRatio, artists, artistItems, album, collectionType, displayOrder, albumId, albumPrimaryImageTag, seriesPrimaryImageTag, albumArtist, albumArtists, seasonName, mediaStreams, videoType, partCount, mediaSourceCount, imageTags, backdropImageTags, screenshotImageTags, parentLogoImageTag, parentArtItemId, parentArtImageTag, seriesThumbImageTag, imageBlurHashes, seriesStudio, parentThumbItemId, parentThumbImageTag, parentPrimaryImageItemId, parentPrimaryImageTag, chapters, trickplay, locationType, isoType, mediaType, endDate, lockedFields, trailerCount, movieCount, seriesCount, programCount, episodeCount, songCount, albumCount, artistCount, musicVideoCount, lockData, width, height, cameraMake, cameraModel, software, exposureTime, focalLength, imageOrientation, aperture, shutterSpeed, latitude, longitude, altitude, isoSpeedRating, seriesTimerId, programId, channelPrimaryImageTag, startDate, completionPercentage, isRepeat, episodeTitle, channelType, audio, isMovie, isSports, isSeries, isLive, isNews, isKids, isPremiere, timerId, normalizationGain, currentProgram); } private static int hashCodeNullable(JsonNullable a) { @@ -4078,10 +4140,10 @@ public class BaseItemDto { sb.append(" airsBeforeEpisodeNumber: ").append(toIndentedString(airsBeforeEpisodeNumber)).append("\n"); sb.append(" canDelete: ").append(toIndentedString(canDelete)).append("\n"); sb.append(" canDownload: ").append(toIndentedString(canDownload)).append("\n"); + sb.append(" hasLyrics: ").append(toIndentedString(hasLyrics)).append("\n"); sb.append(" hasSubtitles: ").append(toIndentedString(hasSubtitles)).append("\n"); sb.append(" preferredMetadataLanguage: ").append(toIndentedString(preferredMetadataLanguage)).append("\n"); sb.append(" preferredMetadataCountryCode: ").append(toIndentedString(preferredMetadataCountryCode)).append("\n"); - sb.append(" supportsSync: ").append(toIndentedString(supportsSync)).append("\n"); sb.append(" container: ").append(toIndentedString(container)).append("\n"); sb.append(" sortName: ").append(toIndentedString(sortName)).append("\n"); sb.append(" forcedSortName: ").append(toIndentedString(forcedSortName)).append("\n"); @@ -4167,6 +4229,7 @@ public class BaseItemDto { sb.append(" parentPrimaryImageItemId: ").append(toIndentedString(parentPrimaryImageItemId)).append("\n"); sb.append(" parentPrimaryImageTag: ").append(toIndentedString(parentPrimaryImageTag)).append("\n"); sb.append(" chapters: ").append(toIndentedString(chapters)).append("\n"); + sb.append(" trickplay: ").append(toIndentedString(trickplay)).append("\n"); sb.append(" locationType: ").append(toIndentedString(locationType)).append("\n"); sb.append(" isoType: ").append(toIndentedString(isoType)).append("\n"); sb.append(" mediaType: ").append(toIndentedString(mediaType)).append("\n"); @@ -4213,6 +4276,7 @@ public class BaseItemDto { sb.append(" isKids: ").append(toIndentedString(isKids)).append("\n"); sb.append(" isPremiere: ").append(toIndentedString(isPremiere)).append("\n"); sb.append(" timerId: ").append(toIndentedString(timerId)).append("\n"); + sb.append(" normalizationGain: ").append(toIndentedString(normalizationGain)).append("\n"); sb.append(" currentProgram: ").append(toIndentedString(currentProgram)).append("\n"); sb.append("}"); return sb.toString(); @@ -4251,10 +4315,10 @@ public class BaseItemDto { openapiFields.add("AirsBeforeEpisodeNumber"); openapiFields.add("CanDelete"); openapiFields.add("CanDownload"); + openapiFields.add("HasLyrics"); openapiFields.add("HasSubtitles"); openapiFields.add("PreferredMetadataLanguage"); openapiFields.add("PreferredMetadataCountryCode"); - openapiFields.add("SupportsSync"); openapiFields.add("Container"); openapiFields.add("SortName"); openapiFields.add("ForcedSortName"); @@ -4340,6 +4404,7 @@ public class BaseItemDto { openapiFields.add("ParentPrimaryImageItemId"); openapiFields.add("ParentPrimaryImageTag"); openapiFields.add("Chapters"); + openapiFields.add("Trickplay"); openapiFields.add("LocationType"); openapiFields.add("IsoType"); openapiFields.add("MediaType"); @@ -4386,6 +4451,7 @@ public class BaseItemDto { openapiFields.add("IsKids"); openapiFields.add("IsPremiere"); openapiFields.add("TimerId"); + openapiFields.add("NormalizationGain"); openapiFields.add("CurrentProgram"); // a set of required properties/fields (JSON key names) @@ -4434,8 +4500,9 @@ public class BaseItemDto { if ((jsonObj.get("PlaylistItemId") != null && !jsonObj.get("PlaylistItemId").isJsonNull()) && !jsonObj.get("PlaylistItemId").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `PlaylistItemId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("PlaylistItemId").toString())); } - if ((jsonObj.get("ExtraType") != null && !jsonObj.get("ExtraType").isJsonNull()) && !jsonObj.get("ExtraType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ExtraType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ExtraType").toString())); + // validate the optional field `ExtraType` + if (jsonObj.get("ExtraType") != null && !jsonObj.get("ExtraType").isJsonNull()) { + ExtraType.validateJsonElement(jsonObj.get("ExtraType")); } if ((jsonObj.get("PreferredMetadataLanguage") != null && !jsonObj.get("PreferredMetadataLanguage").isJsonNull()) && !jsonObj.get("PreferredMetadataLanguage").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `PreferredMetadataLanguage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("PreferredMetadataLanguage").toString())); @@ -4651,8 +4718,9 @@ public class BaseItemDto { if ((jsonObj.get("Album") != null && !jsonObj.get("Album").isJsonNull()) && !jsonObj.get("Album").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `Album` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Album").toString())); } - if ((jsonObj.get("CollectionType") != null && !jsonObj.get("CollectionType").isJsonNull()) && !jsonObj.get("CollectionType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `CollectionType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("CollectionType").toString())); + // validate the optional field `CollectionType` + if (jsonObj.get("CollectionType") != null && !jsonObj.get("CollectionType").isJsonNull()) { + CollectionType.validateJsonElement(jsonObj.get("CollectionType")); } if ((jsonObj.get("DisplayOrder") != null && !jsonObj.get("DisplayOrder").isJsonNull()) && !jsonObj.get("DisplayOrder").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `DisplayOrder` to be a primitive type in the JSON string but got `%s`", jsonObj.get("DisplayOrder").toString())); @@ -4765,8 +4833,9 @@ public class BaseItemDto { if (jsonObj.get("IsoType") != null && !jsonObj.get("IsoType").isJsonNull()) { IsoType.validateJsonElement(jsonObj.get("IsoType")); } - if ((jsonObj.get("MediaType") != null && !jsonObj.get("MediaType").isJsonNull()) && !jsonObj.get("MediaType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `MediaType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MediaType").toString())); + // validate the optional field `MediaType` + if (jsonObj.get("MediaType") != null && !jsonObj.get("MediaType").isJsonNull()) { + MediaType.validateJsonElement(jsonObj.get("MediaType")); } // ensure the optional json data is an array if present if (jsonObj.get("LockedFields") != null && !jsonObj.get("LockedFields").isJsonNull() && !jsonObj.get("LockedFields").isJsonArray()) { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItemDtoImageBlurHashes.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BaseItemDtoImageBlurHashes.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItemDtoImageBlurHashes.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BaseItemDtoImageBlurHashes.java index c224c77a157..748d526ab2b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItemDtoImageBlurHashes.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BaseItemDtoImageBlurHashes.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Gets or sets the blurhashes for the image tags. Maps image type to dictionary mapping image tag to blurhash value. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BaseItemDtoImageBlurHashes { public static final String SERIALIZED_NAME_PRIMARY = "Primary"; @SerializedName(SERIALIZED_NAME_PRIMARY) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItemDtoQueryResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BaseItemDtoQueryResult.java similarity index 93% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItemDtoQueryResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BaseItemDtoQueryResult.java index 79561130265..a14395f8f47 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItemDtoQueryResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BaseItemDtoQueryResult.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,7 +24,6 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.openapitools.client.model.BaseItemDto; -import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -50,14 +49,14 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * BaseItemDtoQueryResult + * Query result container. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BaseItemDtoQueryResult { public static final String SERIALIZED_NAME_ITEMS = "Items"; @SerializedName(SERIALIZED_NAME_ITEMS) @javax.annotation.Nullable - private List items; + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_TOTAL_RECORD_COUNT = "TotalRecordCount"; @SerializedName(SERIALIZED_NAME_TOTAL_RECORD_COUNT) @@ -152,22 +151,11 @@ public class BaseItemDtoQueryResult { Objects.equals(this.startIndex, baseItemDtoQueryResult.startIndex); } - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - @Override public int hashCode() { return Objects.hash(items, totalRecordCount, startIndex); } - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - @Override public String toString() { StringBuilder sb = new StringBuilder(); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItemKind.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BaseItemKind.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItemKind.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BaseItemKind.java index afaa0082c8c..d6c98e57817 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItemKind.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BaseItemKind.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItemPerson.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BaseItemPerson.java similarity index 94% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItemPerson.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BaseItemPerson.java index 4fe89bcd10c..1385be221ef 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItemPerson.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BaseItemPerson.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,6 +23,7 @@ import java.io.IOException; import java.util.Arrays; import java.util.UUID; import org.openapitools.client.model.BaseItemPersonImageBlurHashes; +import org.openapitools.client.model.PersonKind; import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; @@ -51,7 +52,7 @@ import org.openapitools.client.JSON; /** * This is used by the api to get information about a Person within a BaseItem. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BaseItemPerson { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -71,7 +72,7 @@ public class BaseItemPerson { public static final String SERIALIZED_NAME_TYPE = "Type"; @SerializedName(SERIALIZED_NAME_TYPE) @javax.annotation.Nullable - private String type; + private PersonKind type; public static final String SERIALIZED_NAME_PRIMARY_IMAGE_TAG = "PrimaryImageTag"; @SerializedName(SERIALIZED_NAME_PRIMARY_IMAGE_TAG) @@ -143,21 +144,21 @@ public class BaseItemPerson { } - public BaseItemPerson type(@javax.annotation.Nullable String type) { + public BaseItemPerson type(@javax.annotation.Nullable PersonKind type) { this.type = type; return this; } /** - * Gets or sets the type. + * The person kind. * @return type */ @javax.annotation.Nullable - public String getType() { + public PersonKind getType() { return type; } - public void setType(@javax.annotation.Nullable String type) { + public void setType(@javax.annotation.Nullable PersonKind type) { this.type = type; } @@ -307,8 +308,9 @@ public class BaseItemPerson { if ((jsonObj.get("Role") != null && !jsonObj.get("Role").isJsonNull()) && !jsonObj.get("Role").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `Role` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Role").toString())); } - if ((jsonObj.get("Type") != null && !jsonObj.get("Type").isJsonNull()) && !jsonObj.get("Type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Type").toString())); + // validate the optional field `Type` + if (jsonObj.get("Type") != null && !jsonObj.get("Type").isJsonNull()) { + PersonKind.validateJsonElement(jsonObj.get("Type")); } if ((jsonObj.get("PrimaryImageTag") != null && !jsonObj.get("PrimaryImageTag").isJsonNull()) && !jsonObj.get("PrimaryImageTag").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `PrimaryImageTag` to be a primitive type in the JSON string but got `%s`", jsonObj.get("PrimaryImageTag").toString())); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItemPersonImageBlurHashes.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BaseItemPersonImageBlurHashes.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItemPersonImageBlurHashes.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BaseItemPersonImageBlurHashes.java index 052ba468ee3..5be1319d771 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItemPersonImageBlurHashes.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BaseItemPersonImageBlurHashes.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Gets or sets the primary image blurhash. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BaseItemPersonImageBlurHashes { public static final String SERIALIZED_NAME_PRIMARY = "Primary"; @SerializedName(SERIALIZED_NAME_PRIMARY) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BookInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BookInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BookInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BookInfo.java index 10edc99501f..eb28bdd7770 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BookInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BookInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * BookInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BookInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BookInfoRemoteSearchQuery.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BookInfoRemoteSearchQuery.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BookInfoRemoteSearchQuery.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BookInfoRemoteSearchQuery.java index 4fb6d8cc6d1..52b09aaea8d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BookInfoRemoteSearchQuery.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BookInfoRemoteSearchQuery.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * BookInfoRemoteSearchQuery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BookInfoRemoteSearchQuery { public static final String SERIALIZED_NAME_SEARCH_INFO = "SearchInfo"; @SerializedName(SERIALIZED_NAME_SEARCH_INFO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BoxSetInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BoxSetInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BoxSetInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BoxSetInfo.java index 37e532cfdef..41309460e59 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BoxSetInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BoxSetInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * BoxSetInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BoxSetInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BoxSetInfoRemoteSearchQuery.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BoxSetInfoRemoteSearchQuery.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BoxSetInfoRemoteSearchQuery.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BoxSetInfoRemoteSearchQuery.java index f7aa3011ffc..40e3c440a95 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BoxSetInfoRemoteSearchQuery.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BoxSetInfoRemoteSearchQuery.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * BoxSetInfoRemoteSearchQuery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BoxSetInfoRemoteSearchQuery { public static final String SERIALIZED_NAME_SEARCH_INFO = "SearchInfo"; @SerializedName(SERIALIZED_NAME_SEARCH_INFO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BrandingOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BrandingOptions.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BrandingOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BrandingOptions.java index b6f54218f24..5d87d659f85 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BrandingOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BrandingOptions.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * The branding options. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BrandingOptions { public static final String SERIALIZED_NAME_LOGIN_DISCLAIMER = "LoginDisclaimer"; @SerializedName(SERIALIZED_NAME_LOGIN_DISCLAIMER) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BufferRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BufferRequestDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BufferRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BufferRequestDto.java index b21bfe89bea..5048b6e2204 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BufferRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/BufferRequestDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Class BufferRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BufferRequestDto { public static final String SERIALIZED_NAME_WHEN = "When"; @SerializedName(SERIALIZED_NAME_WHEN) diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CastReceiverApplication.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CastReceiverApplication.java new file mode 100644 index 00000000000..4ccdb6d5c8b --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CastReceiverApplication.java @@ -0,0 +1,236 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * The cast receiver application model. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class CastReceiverApplication { + public static final String SERIALIZED_NAME_ID = "Id"; + @SerializedName(SERIALIZED_NAME_ID) + @javax.annotation.Nullable + private String id; + + public static final String SERIALIZED_NAME_NAME = "Name"; + @SerializedName(SERIALIZED_NAME_NAME) + @javax.annotation.Nullable + private String name; + + public CastReceiverApplication() { + } + + public CastReceiverApplication id(@javax.annotation.Nullable String id) { + this.id = id; + return this; + } + + /** + * Gets or sets the cast receiver application id. + * @return id + */ + @javax.annotation.Nullable + public String getId() { + return id; + } + + public void setId(@javax.annotation.Nullable String id) { + this.id = id; + } + + + public CastReceiverApplication name(@javax.annotation.Nullable String name) { + this.name = name; + return this; + } + + /** + * Gets or sets the cast receiver application name. + * @return name + */ + @javax.annotation.Nullable + public String getName() { + return name; + } + + public void setName(@javax.annotation.Nullable String name) { + this.name = name; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CastReceiverApplication castReceiverApplication = (CastReceiverApplication) o; + return Objects.equals(this.id, castReceiverApplication.id) && + Objects.equals(this.name, castReceiverApplication.name); + } + + @Override + public int hashCode() { + return Objects.hash(id, name); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CastReceiverApplication {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Id"); + openapiFields.add("Name"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to CastReceiverApplication + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!CastReceiverApplication.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CastReceiverApplication is not found in the empty JSON string", CastReceiverApplication.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!CastReceiverApplication.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CastReceiverApplication` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("Id") != null && !jsonObj.get("Id").isJsonNull()) && !jsonObj.get("Id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Id").toString())); + } + if ((jsonObj.get("Name") != null && !jsonObj.get("Name").isJsonNull()) && !jsonObj.get("Name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Name").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CastReceiverApplication.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CastReceiverApplication' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CastReceiverApplication.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CastReceiverApplication value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public CastReceiverApplication read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CastReceiverApplication given an JSON string + * + * @param jsonString JSON string + * @return An instance of CastReceiverApplication + * @throws IOException if the JSON string is invalid with respect to CastReceiverApplication + */ + public static CastReceiverApplication fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CastReceiverApplication.class); + } + + /** + * Convert an instance of CastReceiverApplication to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ChannelFeatures.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChannelFeatures.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ChannelFeatures.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChannelFeatures.java index 096cb4c98be..af0a3a8236b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ChannelFeatures.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChannelFeatures.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -55,7 +55,7 @@ import org.openapitools.client.JSON; /** * ChannelFeatures */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ChannelFeatures { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChannelItemSortField.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChannelItemSortField.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChannelItemSortField.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChannelItemSortField.java index 8582866d9d2..53bc8f8994a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChannelItemSortField.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChannelItemSortField.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ChannelMappingOptionsDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChannelMappingOptionsDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ChannelMappingOptionsDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChannelMappingOptionsDto.java index dd0ba9c0d6d..a77bb823abb 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ChannelMappingOptionsDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChannelMappingOptionsDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * Channel mapping options dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ChannelMappingOptionsDto { public static final String SERIALIZED_NAME_TUNER_CHANNELS = "TunerChannels"; @SerializedName(SERIALIZED_NAME_TUNER_CHANNELS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChannelMediaContentType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChannelMediaContentType.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChannelMediaContentType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChannelMediaContentType.java index c86442617a9..cbddc493465 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChannelMediaContentType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChannelMediaContentType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChannelMediaType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChannelMediaType.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChannelMediaType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChannelMediaType.java index af56180898c..e29a877fab6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChannelMediaType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChannelMediaType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChannelType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChannelType.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChannelType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChannelType.java index 53da5a4ac2f..4eb9a9e087f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChannelType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChannelType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChapterInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChapterInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChapterInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChapterInfo.java index 6e6891e73f7..62a71e3df57 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChapterInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ChapterInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Class ChapterInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ChapterInfo { public static final String SERIALIZED_NAME_START_POSITION_TICKS = "StartPositionTicks"; @SerializedName(SERIALIZED_NAME_START_POSITION_TICKS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ClientCapabilitiesDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ClientCapabilitiesDto.java similarity index 79% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ClientCapabilitiesDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ClientCapabilitiesDto.java index 6f403a8b47c..dac894b4064 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ClientCapabilitiesDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ClientCapabilitiesDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,6 +25,7 @@ import java.util.Arrays; import java.util.List; import org.openapitools.client.model.DeviceProfile; import org.openapitools.client.model.GeneralCommandType; +import org.openapitools.client.model.MediaType; import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; @@ -53,12 +54,12 @@ import org.openapitools.client.JSON; /** * Client capabilities dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ClientCapabilitiesDto { public static final String SERIALIZED_NAME_PLAYABLE_MEDIA_TYPES = "PlayableMediaTypes"; @SerializedName(SERIALIZED_NAME_PLAYABLE_MEDIA_TYPES) @javax.annotation.Nullable - private List playableMediaTypes = new ArrayList<>(); + private List playableMediaTypes = new ArrayList<>(); public static final String SERIALIZED_NAME_SUPPORTED_COMMANDS = "SupportedCommands"; @SerializedName(SERIALIZED_NAME_SUPPORTED_COMMANDS) @@ -70,26 +71,11 @@ public class ClientCapabilitiesDto { @javax.annotation.Nullable private Boolean supportsMediaControl; - public static final String SERIALIZED_NAME_SUPPORTS_CONTENT_UPLOADING = "SupportsContentUploading"; - @SerializedName(SERIALIZED_NAME_SUPPORTS_CONTENT_UPLOADING) - @javax.annotation.Nullable - private Boolean supportsContentUploading; - - public static final String SERIALIZED_NAME_MESSAGE_CALLBACK_URL = "MessageCallbackUrl"; - @SerializedName(SERIALIZED_NAME_MESSAGE_CALLBACK_URL) - @javax.annotation.Nullable - private String messageCallbackUrl; - public static final String SERIALIZED_NAME_SUPPORTS_PERSISTENT_IDENTIFIER = "SupportsPersistentIdentifier"; @SerializedName(SERIALIZED_NAME_SUPPORTS_PERSISTENT_IDENTIFIER) @javax.annotation.Nullable private Boolean supportsPersistentIdentifier; - public static final String SERIALIZED_NAME_SUPPORTS_SYNC = "SupportsSync"; - @SerializedName(SERIALIZED_NAME_SUPPORTS_SYNC) - @javax.annotation.Nullable - private Boolean supportsSync; - public static final String SERIALIZED_NAME_DEVICE_PROFILE = "DeviceProfile"; @SerializedName(SERIALIZED_NAME_DEVICE_PROFILE) @javax.annotation.Nullable @@ -108,12 +94,12 @@ public class ClientCapabilitiesDto { public ClientCapabilitiesDto() { } - public ClientCapabilitiesDto playableMediaTypes(@javax.annotation.Nullable List playableMediaTypes) { + public ClientCapabilitiesDto playableMediaTypes(@javax.annotation.Nullable List playableMediaTypes) { this.playableMediaTypes = playableMediaTypes; return this; } - public ClientCapabilitiesDto addPlayableMediaTypesItem(String playableMediaTypesItem) { + public ClientCapabilitiesDto addPlayableMediaTypesItem(MediaType playableMediaTypesItem) { if (this.playableMediaTypes == null) { this.playableMediaTypes = new ArrayList<>(); } @@ -126,11 +112,11 @@ public class ClientCapabilitiesDto { * @return playableMediaTypes */ @javax.annotation.Nullable - public List getPlayableMediaTypes() { + public List getPlayableMediaTypes() { return playableMediaTypes; } - public void setPlayableMediaTypes(@javax.annotation.Nullable List playableMediaTypes) { + public void setPlayableMediaTypes(@javax.annotation.Nullable List playableMediaTypes) { this.playableMediaTypes = playableMediaTypes; } @@ -181,44 +167,6 @@ public class ClientCapabilitiesDto { } - public ClientCapabilitiesDto supportsContentUploading(@javax.annotation.Nullable Boolean supportsContentUploading) { - this.supportsContentUploading = supportsContentUploading; - return this; - } - - /** - * Gets or sets a value indicating whether session supports content uploading. - * @return supportsContentUploading - */ - @javax.annotation.Nullable - public Boolean getSupportsContentUploading() { - return supportsContentUploading; - } - - public void setSupportsContentUploading(@javax.annotation.Nullable Boolean supportsContentUploading) { - this.supportsContentUploading = supportsContentUploading; - } - - - public ClientCapabilitiesDto messageCallbackUrl(@javax.annotation.Nullable String messageCallbackUrl) { - this.messageCallbackUrl = messageCallbackUrl; - return this; - } - - /** - * Gets or sets the message callback url. - * @return messageCallbackUrl - */ - @javax.annotation.Nullable - public String getMessageCallbackUrl() { - return messageCallbackUrl; - } - - public void setMessageCallbackUrl(@javax.annotation.Nullable String messageCallbackUrl) { - this.messageCallbackUrl = messageCallbackUrl; - } - - public ClientCapabilitiesDto supportsPersistentIdentifier(@javax.annotation.Nullable Boolean supportsPersistentIdentifier) { this.supportsPersistentIdentifier = supportsPersistentIdentifier; return this; @@ -238,25 +186,6 @@ public class ClientCapabilitiesDto { } - public ClientCapabilitiesDto supportsSync(@javax.annotation.Nullable Boolean supportsSync) { - this.supportsSync = supportsSync; - return this; - } - - /** - * Gets or sets a value indicating whether session supports sync. - * @return supportsSync - */ - @javax.annotation.Nullable - public Boolean getSupportsSync() { - return supportsSync; - } - - public void setSupportsSync(@javax.annotation.Nullable Boolean supportsSync) { - this.supportsSync = supportsSync; - } - - public ClientCapabilitiesDto deviceProfile(@javax.annotation.Nullable DeviceProfile deviceProfile) { this.deviceProfile = deviceProfile; return this; @@ -327,10 +256,7 @@ public class ClientCapabilitiesDto { return Objects.equals(this.playableMediaTypes, clientCapabilitiesDto.playableMediaTypes) && Objects.equals(this.supportedCommands, clientCapabilitiesDto.supportedCommands) && Objects.equals(this.supportsMediaControl, clientCapabilitiesDto.supportsMediaControl) && - Objects.equals(this.supportsContentUploading, clientCapabilitiesDto.supportsContentUploading) && - Objects.equals(this.messageCallbackUrl, clientCapabilitiesDto.messageCallbackUrl) && Objects.equals(this.supportsPersistentIdentifier, clientCapabilitiesDto.supportsPersistentIdentifier) && - Objects.equals(this.supportsSync, clientCapabilitiesDto.supportsSync) && Objects.equals(this.deviceProfile, clientCapabilitiesDto.deviceProfile) && Objects.equals(this.appStoreUrl, clientCapabilitiesDto.appStoreUrl) && Objects.equals(this.iconUrl, clientCapabilitiesDto.iconUrl); @@ -342,7 +268,7 @@ public class ClientCapabilitiesDto { @Override public int hashCode() { - return Objects.hash(playableMediaTypes, supportedCommands, supportsMediaControl, supportsContentUploading, messageCallbackUrl, supportsPersistentIdentifier, supportsSync, deviceProfile, appStoreUrl, iconUrl); + return Objects.hash(playableMediaTypes, supportedCommands, supportsMediaControl, supportsPersistentIdentifier, deviceProfile, appStoreUrl, iconUrl); } private static int hashCodeNullable(JsonNullable a) { @@ -359,10 +285,7 @@ public class ClientCapabilitiesDto { sb.append(" playableMediaTypes: ").append(toIndentedString(playableMediaTypes)).append("\n"); sb.append(" supportedCommands: ").append(toIndentedString(supportedCommands)).append("\n"); sb.append(" supportsMediaControl: ").append(toIndentedString(supportsMediaControl)).append("\n"); - sb.append(" supportsContentUploading: ").append(toIndentedString(supportsContentUploading)).append("\n"); - sb.append(" messageCallbackUrl: ").append(toIndentedString(messageCallbackUrl)).append("\n"); sb.append(" supportsPersistentIdentifier: ").append(toIndentedString(supportsPersistentIdentifier)).append("\n"); - sb.append(" supportsSync: ").append(toIndentedString(supportsSync)).append("\n"); sb.append(" deviceProfile: ").append(toIndentedString(deviceProfile)).append("\n"); sb.append(" appStoreUrl: ").append(toIndentedString(appStoreUrl)).append("\n"); sb.append(" iconUrl: ").append(toIndentedString(iconUrl)).append("\n"); @@ -391,10 +314,7 @@ public class ClientCapabilitiesDto { openapiFields.add("PlayableMediaTypes"); openapiFields.add("SupportedCommands"); openapiFields.add("SupportsMediaControl"); - openapiFields.add("SupportsContentUploading"); - openapiFields.add("MessageCallbackUrl"); openapiFields.add("SupportsPersistentIdentifier"); - openapiFields.add("SupportsSync"); openapiFields.add("DeviceProfile"); openapiFields.add("AppStoreUrl"); openapiFields.add("IconUrl"); @@ -432,9 +352,6 @@ public class ClientCapabilitiesDto { if (jsonObj.get("SupportedCommands") != null && !jsonObj.get("SupportedCommands").isJsonNull() && !jsonObj.get("SupportedCommands").isJsonArray()) { throw new IllegalArgumentException(String.format("Expected the field `SupportedCommands` to be an array in the JSON string but got `%s`", jsonObj.get("SupportedCommands").toString())); } - if ((jsonObj.get("MessageCallbackUrl") != null && !jsonObj.get("MessageCallbackUrl").isJsonNull()) && !jsonObj.get("MessageCallbackUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `MessageCallbackUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageCallbackUrl").toString())); - } // validate the optional field `DeviceProfile` if (jsonObj.get("DeviceProfile") != null && !jsonObj.get("DeviceProfile").isJsonNull()) { DeviceProfile.validateJsonElement(jsonObj.get("DeviceProfile")); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ClientLogDocumentResponseDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ClientLogDocumentResponseDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ClientLogDocumentResponseDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ClientLogDocumentResponseDto.java index 65aff5408df..455bd134cf6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ClientLogDocumentResponseDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ClientLogDocumentResponseDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Client log document response dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ClientLogDocumentResponseDto { public static final String SERIALIZED_NAME_FILE_NAME = "FileName"; @SerializedName(SERIALIZED_NAME_FILE_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CodecProfile.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CodecProfile.java similarity index 85% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CodecProfile.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CodecProfile.java index 06ad334a1a4..239188f799d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CodecProfile.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CodecProfile.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,9 +51,9 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * CodecProfile + * Defines the MediaBrowser.Model.Dlna.CodecProfile. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class CodecProfile { public static final String SERIALIZED_NAME_TYPE = "Type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -63,12 +63,12 @@ public class CodecProfile { public static final String SERIALIZED_NAME_CONDITIONS = "Conditions"; @SerializedName(SERIALIZED_NAME_CONDITIONS) @javax.annotation.Nullable - private List conditions; + private List conditions = new ArrayList<>(); public static final String SERIALIZED_NAME_APPLY_CONDITIONS = "ApplyConditions"; @SerializedName(SERIALIZED_NAME_APPLY_CONDITIONS) @javax.annotation.Nullable - private List applyConditions; + private List applyConditions = new ArrayList<>(); public static final String SERIALIZED_NAME_CODEC = "Codec"; @SerializedName(SERIALIZED_NAME_CODEC) @@ -80,6 +80,11 @@ public class CodecProfile { @javax.annotation.Nullable private String container; + public static final String SERIALIZED_NAME_SUB_CONTAINER = "SubContainer"; + @SerializedName(SERIALIZED_NAME_SUB_CONTAINER) + @javax.annotation.Nullable + private String subContainer; + public CodecProfile() { } @@ -89,7 +94,7 @@ public class CodecProfile { } /** - * Get type + * Gets or sets the MediaBrowser.Model.Dlna.CodecType which this container must meet. * @return type */ @javax.annotation.Nullable @@ -116,7 +121,7 @@ public class CodecProfile { } /** - * Get conditions + * Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this profile must meet. * @return conditions */ @javax.annotation.Nullable @@ -143,7 +148,7 @@ public class CodecProfile { } /** - * Get applyConditions + * Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition to apply if this profile is met. * @return applyConditions */ @javax.annotation.Nullable @@ -162,7 +167,7 @@ public class CodecProfile { } /** - * Get codec + * Gets or sets the codec(s) that this profile applies to. * @return codec */ @javax.annotation.Nullable @@ -181,7 +186,7 @@ public class CodecProfile { } /** - * Get container + * Gets or sets the container(s) which this profile will be applied to. * @return container */ @javax.annotation.Nullable @@ -194,6 +199,25 @@ public class CodecProfile { } + public CodecProfile subContainer(@javax.annotation.Nullable String subContainer) { + this.subContainer = subContainer; + return this; + } + + /** + * Gets or sets the sub-container(s) which this profile will be applied to. + * @return subContainer + */ + @javax.annotation.Nullable + public String getSubContainer() { + return subContainer; + } + + public void setSubContainer(@javax.annotation.Nullable String subContainer) { + this.subContainer = subContainer; + } + + @Override public boolean equals(Object o) { @@ -208,7 +232,8 @@ public class CodecProfile { Objects.equals(this.conditions, codecProfile.conditions) && Objects.equals(this.applyConditions, codecProfile.applyConditions) && Objects.equals(this.codec, codecProfile.codec) && - Objects.equals(this.container, codecProfile.container); + Objects.equals(this.container, codecProfile.container) && + Objects.equals(this.subContainer, codecProfile.subContainer); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -217,7 +242,7 @@ public class CodecProfile { @Override public int hashCode() { - return Objects.hash(type, conditions, applyConditions, codec, container); + return Objects.hash(type, conditions, applyConditions, codec, container, subContainer); } private static int hashCodeNullable(JsonNullable a) { @@ -236,6 +261,7 @@ public class CodecProfile { sb.append(" applyConditions: ").append(toIndentedString(applyConditions)).append("\n"); sb.append(" codec: ").append(toIndentedString(codec)).append("\n"); sb.append(" container: ").append(toIndentedString(container)).append("\n"); + sb.append(" subContainer: ").append(toIndentedString(subContainer)).append("\n"); sb.append("}"); return sb.toString(); } @@ -263,6 +289,7 @@ public class CodecProfile { openapiFields.add("ApplyConditions"); openapiFields.add("Codec"); openapiFields.add("Container"); + openapiFields.add("SubContainer"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -327,6 +354,9 @@ public class CodecProfile { if ((jsonObj.get("Container") != null && !jsonObj.get("Container").isJsonNull()) && !jsonObj.get("Container").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `Container` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Container").toString())); } + if ((jsonObj.get("SubContainer") != null && !jsonObj.get("SubContainer").isJsonNull()) && !jsonObj.get("SubContainer").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `SubContainer` to be a primitive type in the JSON string but got `%s`", jsonObj.get("SubContainer").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CodecType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CodecType.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CodecType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CodecType.java index cb1b26c97cc..a7d7ff37d72 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CodecType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CodecType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CollectionCreationResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CollectionCreationResult.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CollectionCreationResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CollectionCreationResult.java index 0a3be6037ed..617bce5ca05 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CollectionCreationResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CollectionCreationResult.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * CollectionCreationResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class CollectionCreationResult { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CollectionType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CollectionType.java new file mode 100644 index 00000000000..86ae5ae3d06 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CollectionType.java @@ -0,0 +1,100 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.JsonElement; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Collection type. + */ +@JsonAdapter(CollectionType.Adapter.class) +public enum CollectionType { + + UNKNOWN("unknown"), + + MOVIES("movies"), + + TVSHOWS("tvshows"), + + MUSIC("music"), + + MUSICVIDEOS("musicvideos"), + + TRAILERS("trailers"), + + HOMEVIDEOS("homevideos"), + + BOXSETS("boxsets"), + + BOOKS("books"), + + PHOTOS("photos"), + + LIVETV("livetv"), + + PLAYLISTS("playlists"), + + FOLDERS("folders"); + + private String value; + + CollectionType(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CollectionType fromValue(String value) { + for (CollectionType b : CollectionType.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CollectionType enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CollectionType read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CollectionType.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + CollectionType.fromValue(value); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CollectionTypeOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CollectionTypeOptions.java similarity index 87% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CollectionTypeOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CollectionTypeOptions.java index e0facb673d5..08d6628c91a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CollectionTypeOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CollectionTypeOptions.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,26 +24,26 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; /** - * Gets or Sets CollectionTypeOptions + * The collection type options. */ @JsonAdapter(CollectionTypeOptions.Adapter.class) public enum CollectionTypeOptions { - MOVIES("Movies"), + MOVIES("movies"), - TV_SHOWS("TvShows"), + TVSHOWS("tvshows"), - MUSIC("Music"), + MUSIC("music"), - MUSIC_VIDEOS("MusicVideos"), + MUSICVIDEOS("musicvideos"), - HOME_VIDEOS("HomeVideos"), + HOMEVIDEOS("homevideos"), - BOX_SETS("BoxSets"), + BOXSETS("boxsets"), - BOOKS("Books"), + BOOKS("books"), - MIXED("Mixed"); + MIXED("mixed"); private String value; diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ConfigImageTypes.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ConfigImageTypes.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ConfigImageTypes.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ConfigImageTypes.java index 549e8935d6d..7fe598a8dda 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ConfigImageTypes.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ConfigImageTypes.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * ConfigImageTypes */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ConfigImageTypes { public static final String SERIALIZED_NAME_BACKDROP_SIZES = "BackdropSizes"; @SerializedName(SERIALIZED_NAME_BACKDROP_SIZES) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ConfigurationPageInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ConfigurationPageInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ConfigurationPageInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ConfigurationPageInfo.java index 6d97e3813fd..3594b2ab32b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ConfigurationPageInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ConfigurationPageInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * The configuration page info. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ConfigurationPageInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ContainerProfile.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ContainerProfile.java similarity index 84% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ContainerProfile.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ContainerProfile.java index 1e5586ebe65..6d0aac622d8 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ContainerProfile.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ContainerProfile.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,9 +51,9 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * ContainerProfile + * Defines the MediaBrowser.Model.Dlna.ContainerProfile. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ContainerProfile { public static final String SERIALIZED_NAME_TYPE = "Type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -63,13 +63,18 @@ public class ContainerProfile { public static final String SERIALIZED_NAME_CONDITIONS = "Conditions"; @SerializedName(SERIALIZED_NAME_CONDITIONS) @javax.annotation.Nullable - private List conditions; + private List conditions = new ArrayList<>(); public static final String SERIALIZED_NAME_CONTAINER = "Container"; @SerializedName(SERIALIZED_NAME_CONTAINER) @javax.annotation.Nullable private String container; + public static final String SERIALIZED_NAME_SUB_CONTAINER = "SubContainer"; + @SerializedName(SERIALIZED_NAME_SUB_CONTAINER) + @javax.annotation.Nullable + private String subContainer; + public ContainerProfile() { } @@ -79,7 +84,7 @@ public class ContainerProfile { } /** - * Get type + * Gets or sets the MediaBrowser.Model.Dlna.DlnaProfileType which this container must meet. * @return type */ @javax.annotation.Nullable @@ -106,7 +111,7 @@ public class ContainerProfile { } /** - * Get conditions + * Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this container will be applied to. * @return conditions */ @javax.annotation.Nullable @@ -125,7 +130,7 @@ public class ContainerProfile { } /** - * Get container + * Gets or sets the container(s) which this container must meet. * @return container */ @javax.annotation.Nullable @@ -138,6 +143,25 @@ public class ContainerProfile { } + public ContainerProfile subContainer(@javax.annotation.Nullable String subContainer) { + this.subContainer = subContainer; + return this; + } + + /** + * Gets or sets the sub container(s) which this container must meet. + * @return subContainer + */ + @javax.annotation.Nullable + public String getSubContainer() { + return subContainer; + } + + public void setSubContainer(@javax.annotation.Nullable String subContainer) { + this.subContainer = subContainer; + } + + @Override public boolean equals(Object o) { @@ -150,7 +174,8 @@ public class ContainerProfile { ContainerProfile containerProfile = (ContainerProfile) o; return Objects.equals(this.type, containerProfile.type) && Objects.equals(this.conditions, containerProfile.conditions) && - Objects.equals(this.container, containerProfile.container); + Objects.equals(this.container, containerProfile.container) && + Objects.equals(this.subContainer, containerProfile.subContainer); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -159,7 +184,7 @@ public class ContainerProfile { @Override public int hashCode() { - return Objects.hash(type, conditions, container); + return Objects.hash(type, conditions, container, subContainer); } private static int hashCodeNullable(JsonNullable a) { @@ -176,6 +201,7 @@ public class ContainerProfile { sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" conditions: ").append(toIndentedString(conditions)).append("\n"); sb.append(" container: ").append(toIndentedString(container)).append("\n"); + sb.append(" subContainer: ").append(toIndentedString(subContainer)).append("\n"); sb.append("}"); return sb.toString(); } @@ -201,6 +227,7 @@ public class ContainerProfile { openapiFields.add("Type"); openapiFields.add("Conditions"); openapiFields.add("Container"); + openapiFields.add("SubContainer"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -248,6 +275,9 @@ public class ContainerProfile { if ((jsonObj.get("Container") != null && !jsonObj.get("Container").isJsonNull()) && !jsonObj.get("Container").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `Container` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Container").toString())); } + if ((jsonObj.get("SubContainer") != null && !jsonObj.get("SubContainer").isJsonNull()) && !jsonObj.get("SubContainer").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `SubContainer` to be a primitive type in the JSON string but got `%s`", jsonObj.get("SubContainer").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CountryInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CountryInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CountryInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CountryInfo.java index 12de9951bee..4f386d6ce03 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CountryInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CountryInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class CountryInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class CountryInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CreatePlaylistDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CreatePlaylistDto.java similarity index 75% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CreatePlaylistDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CreatePlaylistDto.java index 8258cea9138..674b842e027 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CreatePlaylistDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CreatePlaylistDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,6 +24,8 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.UUID; +import org.openapitools.client.model.MediaType; +import org.openapitools.client.model.PlaylistUserPermissions; import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; @@ -52,7 +54,7 @@ import org.openapitools.client.JSON; /** * Create new playlist dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class CreatePlaylistDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -72,7 +74,17 @@ public class CreatePlaylistDto { public static final String SERIALIZED_NAME_MEDIA_TYPE = "MediaType"; @SerializedName(SERIALIZED_NAME_MEDIA_TYPE) @javax.annotation.Nullable - private String mediaType; + private MediaType mediaType; + + public static final String SERIALIZED_NAME_USERS = "Users"; + @SerializedName(SERIALIZED_NAME_USERS) + @javax.annotation.Nullable + private List users = new ArrayList<>(); + + public static final String SERIALIZED_NAME_IS_PUBLIC = "IsPublic"; + @SerializedName(SERIALIZED_NAME_IS_PUBLIC) + @javax.annotation.Nullable + private Boolean isPublic; public CreatePlaylistDto() { } @@ -142,7 +154,7 @@ public class CreatePlaylistDto { } - public CreatePlaylistDto mediaType(@javax.annotation.Nullable String mediaType) { + public CreatePlaylistDto mediaType(@javax.annotation.Nullable MediaType mediaType) { this.mediaType = mediaType; return this; } @@ -152,15 +164,61 @@ public class CreatePlaylistDto { * @return mediaType */ @javax.annotation.Nullable - public String getMediaType() { + public MediaType getMediaType() { return mediaType; } - public void setMediaType(@javax.annotation.Nullable String mediaType) { + public void setMediaType(@javax.annotation.Nullable MediaType mediaType) { this.mediaType = mediaType; } + public CreatePlaylistDto users(@javax.annotation.Nullable List users) { + this.users = users; + return this; + } + + public CreatePlaylistDto addUsersItem(PlaylistUserPermissions usersItem) { + if (this.users == null) { + this.users = new ArrayList<>(); + } + this.users.add(usersItem); + return this; + } + + /** + * Gets or sets the playlist users. + * @return users + */ + @javax.annotation.Nullable + public List getUsers() { + return users; + } + + public void setUsers(@javax.annotation.Nullable List users) { + this.users = users; + } + + + public CreatePlaylistDto isPublic(@javax.annotation.Nullable Boolean isPublic) { + this.isPublic = isPublic; + return this; + } + + /** + * Gets or sets a value indicating whether the playlist is public. + * @return isPublic + */ + @javax.annotation.Nullable + public Boolean getIsPublic() { + return isPublic; + } + + public void setIsPublic(@javax.annotation.Nullable Boolean isPublic) { + this.isPublic = isPublic; + } + + @Override public boolean equals(Object o) { @@ -174,7 +232,9 @@ public class CreatePlaylistDto { return Objects.equals(this.name, createPlaylistDto.name) && Objects.equals(this.ids, createPlaylistDto.ids) && Objects.equals(this.userId, createPlaylistDto.userId) && - Objects.equals(this.mediaType, createPlaylistDto.mediaType); + Objects.equals(this.mediaType, createPlaylistDto.mediaType) && + Objects.equals(this.users, createPlaylistDto.users) && + Objects.equals(this.isPublic, createPlaylistDto.isPublic); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -183,7 +243,7 @@ public class CreatePlaylistDto { @Override public int hashCode() { - return Objects.hash(name, ids, userId, mediaType); + return Objects.hash(name, ids, userId, mediaType, users, isPublic); } private static int hashCodeNullable(JsonNullable a) { @@ -201,6 +261,8 @@ public class CreatePlaylistDto { sb.append(" ids: ").append(toIndentedString(ids)).append("\n"); sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); sb.append(" mediaType: ").append(toIndentedString(mediaType)).append("\n"); + sb.append(" users: ").append(toIndentedString(users)).append("\n"); + sb.append(" isPublic: ").append(toIndentedString(isPublic)).append("\n"); sb.append("}"); return sb.toString(); } @@ -227,6 +289,8 @@ public class CreatePlaylistDto { openapiFields.add("Ids"); openapiFields.add("UserId"); openapiFields.add("MediaType"); + openapiFields.add("Users"); + openapiFields.add("IsPublic"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -263,8 +327,23 @@ public class CreatePlaylistDto { if ((jsonObj.get("UserId") != null && !jsonObj.get("UserId").isJsonNull()) && !jsonObj.get("UserId").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `UserId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("UserId").toString())); } - if ((jsonObj.get("MediaType") != null && !jsonObj.get("MediaType").isJsonNull()) && !jsonObj.get("MediaType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `MediaType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MediaType").toString())); + // validate the optional field `MediaType` + if (jsonObj.get("MediaType") != null && !jsonObj.get("MediaType").isJsonNull()) { + MediaType.validateJsonElement(jsonObj.get("MediaType")); + } + if (jsonObj.get("Users") != null && !jsonObj.get("Users").isJsonNull()) { + JsonArray jsonArrayusers = jsonObj.getAsJsonArray("Users"); + if (jsonArrayusers != null) { + // ensure the json data is an array + if (!jsonObj.get("Users").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `Users` to be an array in the JSON string but got `%s`", jsonObj.get("Users").toString())); + } + + // validate the optional field `Users` (array) + for (int i = 0; i < jsonArrayusers.size(); i++) { + PlaylistUserPermissions.validateJsonElement(jsonArrayusers.get(i)); + }; + } } } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CreateUserByName.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CreateUserByName.java similarity index 89% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CreateUserByName.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CreateUserByName.java index 4572984b3bf..f0334bec697 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CreateUserByName.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CreateUserByName.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; /** * The create user by name request body. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class CreateUserByName { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PASSWORD = "Password"; @@ -64,7 +64,7 @@ public class CreateUserByName { public CreateUserByName() { } - public CreateUserByName name(@javax.annotation.Nullable String name) { + public CreateUserByName name(@javax.annotation.Nonnull String name) { this.name = name; return this; } @@ -73,12 +73,12 @@ public class CreateUserByName { * Gets or sets the username. * @return name */ - @javax.annotation.Nullable + @javax.annotation.Nonnull public String getName() { return name; } - public void setName(@javax.annotation.Nullable String name) { + public void setName(@javax.annotation.Nonnull String name) { this.name = name; } @@ -165,6 +165,7 @@ public class CreateUserByName { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("Name"); } /** @@ -187,8 +188,15 @@ public class CreateUserByName { throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CreateUserByName` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : CreateUserByName.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Name") != null && !jsonObj.get("Name").isJsonNull()) && !jsonObj.get("Name").isJsonPrimitive()) { + if (!jsonObj.get("Name").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `Name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Name").toString())); } if ((jsonObj.get("Password") != null && !jsonObj.get("Password").isJsonNull()) && !jsonObj.get("Password").isJsonPrimitive()) { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CultureDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CultureDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CultureDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CultureDto.java index 399ac4902a7..a92b05e76ab 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CultureDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/CultureDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class CultureDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class CultureDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DayOfWeek.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DayOfWeek.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DayOfWeek.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DayOfWeek.java index 40880b1bf0d..c0f519e0203 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DayOfWeek.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DayOfWeek.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DayPattern.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DayPattern.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DayPattern.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DayPattern.java index 21f3f0d4a9f..327fb5763da 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DayPattern.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DayPattern.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DefaultDirectoryBrowserInfoDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DefaultDirectoryBrowserInfoDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DefaultDirectoryBrowserInfoDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DefaultDirectoryBrowserInfoDto.java index cee12ca1362..0437966290d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DefaultDirectoryBrowserInfoDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DefaultDirectoryBrowserInfoDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Default directory browser info. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class DefaultDirectoryBrowserInfoDto { public static final String SERIALIZED_NAME_PATH = "Path"; @SerializedName(SERIALIZED_NAME_PATH) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceProfileType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DeinterlaceMethod.java similarity index 65% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceProfileType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DeinterlaceMethod.java index 5113b7b3373..6732cc0231b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceProfileType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DeinterlaceMethod.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,18 +24,18 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; /** - * Gets or Sets DeviceProfileType + * Enum containing deinterlace methods. */ -@JsonAdapter(DeviceProfileType.Adapter.class) -public enum DeviceProfileType { +@JsonAdapter(DeinterlaceMethod.Adapter.class) +public enum DeinterlaceMethod { - SYSTEM("System"), + YADIF("yadif"), - USER("User"); + BWDIF("bwdif"); private String value; - DeviceProfileType(String value) { + DeinterlaceMethod(String value) { this.value = value; } @@ -48,8 +48,8 @@ public enum DeviceProfileType { return String.valueOf(value); } - public static DeviceProfileType fromValue(String value) { - for (DeviceProfileType b : DeviceProfileType.values()) { + public static DeinterlaceMethod fromValue(String value) { + for (DeinterlaceMethod b : DeinterlaceMethod.values()) { if (b.value.equals(value)) { return b; } @@ -57,22 +57,22 @@ public enum DeviceProfileType { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - public static class Adapter extends TypeAdapter { + public static class Adapter extends TypeAdapter { @Override - public void write(final JsonWriter jsonWriter, final DeviceProfileType enumeration) throws IOException { + public void write(final JsonWriter jsonWriter, final DeinterlaceMethod enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override - public DeviceProfileType read(final JsonReader jsonReader) throws IOException { + public DeinterlaceMethod read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); - return DeviceProfileType.fromValue(value); + return DeinterlaceMethod.fromValue(value); } } public static void validateJsonElement(JsonElement jsonElement) throws IOException { String value = jsonElement.getAsString(); - DeviceProfileType.fromValue(value); + DeinterlaceMethod.fromValue(value); } } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DeviceInfoDto.java similarity index 74% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DeviceInfoDto.java index d3d73b78a92..95dbcab2056 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DeviceInfoDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,7 +23,7 @@ import java.io.IOException; import java.time.OffsetDateTime; import java.util.Arrays; import java.util.UUID; -import org.openapitools.client.model.ClientCapabilities; +import org.openapitools.client.model.ClientCapabilitiesDto; import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; @@ -50,15 +50,20 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * DeviceInfo + * A DTO representing device information. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class DeviceInfo { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class DeviceInfoDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) @javax.annotation.Nullable private String name; + public static final String SERIALIZED_NAME_CUSTOM_NAME = "CustomName"; + @SerializedName(SERIALIZED_NAME_CUSTOM_NAME) + @javax.annotation.Nullable + private String customName; + public static final String SERIALIZED_NAME_ACCESS_TOKEN = "AccessToken"; @SerializedName(SERIALIZED_NAME_ACCESS_TOKEN) @javax.annotation.Nullable @@ -97,23 +102,23 @@ public class DeviceInfo { public static final String SERIALIZED_NAME_CAPABILITIES = "Capabilities"; @SerializedName(SERIALIZED_NAME_CAPABILITIES) @javax.annotation.Nullable - private ClientCapabilities capabilities; + private ClientCapabilitiesDto capabilities; public static final String SERIALIZED_NAME_ICON_URL = "IconUrl"; @SerializedName(SERIALIZED_NAME_ICON_URL) @javax.annotation.Nullable private String iconUrl; - public DeviceInfo() { + public DeviceInfoDto() { } - public DeviceInfo name(@javax.annotation.Nullable String name) { + public DeviceInfoDto name(@javax.annotation.Nullable String name) { this.name = name; return this; } /** - * Get name + * Gets or sets the name. * @return name */ @javax.annotation.Nullable @@ -126,7 +131,26 @@ public class DeviceInfo { } - public DeviceInfo accessToken(@javax.annotation.Nullable String accessToken) { + public DeviceInfoDto customName(@javax.annotation.Nullable String customName) { + this.customName = customName; + return this; + } + + /** + * Gets or sets the custom name. + * @return customName + */ + @javax.annotation.Nullable + public String getCustomName() { + return customName; + } + + public void setCustomName(@javax.annotation.Nullable String customName) { + this.customName = customName; + } + + + public DeviceInfoDto accessToken(@javax.annotation.Nullable String accessToken) { this.accessToken = accessToken; return this; } @@ -145,7 +169,7 @@ public class DeviceInfo { } - public DeviceInfo id(@javax.annotation.Nullable String id) { + public DeviceInfoDto id(@javax.annotation.Nullable String id) { this.id = id; return this; } @@ -164,7 +188,7 @@ public class DeviceInfo { } - public DeviceInfo lastUserName(@javax.annotation.Nullable String lastUserName) { + public DeviceInfoDto lastUserName(@javax.annotation.Nullable String lastUserName) { this.lastUserName = lastUserName; return this; } @@ -183,7 +207,7 @@ public class DeviceInfo { } - public DeviceInfo appName(@javax.annotation.Nullable String appName) { + public DeviceInfoDto appName(@javax.annotation.Nullable String appName) { this.appName = appName; return this; } @@ -202,7 +226,7 @@ public class DeviceInfo { } - public DeviceInfo appVersion(@javax.annotation.Nullable String appVersion) { + public DeviceInfoDto appVersion(@javax.annotation.Nullable String appVersion) { this.appVersion = appVersion; return this; } @@ -221,7 +245,7 @@ public class DeviceInfo { } - public DeviceInfo lastUserId(@javax.annotation.Nullable UUID lastUserId) { + public DeviceInfoDto lastUserId(@javax.annotation.Nullable UUID lastUserId) { this.lastUserId = lastUserId; return this; } @@ -240,7 +264,7 @@ public class DeviceInfo { } - public DeviceInfo dateLastActivity(@javax.annotation.Nullable OffsetDateTime dateLastActivity) { + public DeviceInfoDto dateLastActivity(@javax.annotation.Nullable OffsetDateTime dateLastActivity) { this.dateLastActivity = dateLastActivity; return this; } @@ -259,7 +283,7 @@ public class DeviceInfo { } - public DeviceInfo capabilities(@javax.annotation.Nullable ClientCapabilities capabilities) { + public DeviceInfoDto capabilities(@javax.annotation.Nullable ClientCapabilitiesDto capabilities) { this.capabilities = capabilities; return this; } @@ -269,22 +293,22 @@ public class DeviceInfo { * @return capabilities */ @javax.annotation.Nullable - public ClientCapabilities getCapabilities() { + public ClientCapabilitiesDto getCapabilities() { return capabilities; } - public void setCapabilities(@javax.annotation.Nullable ClientCapabilities capabilities) { + public void setCapabilities(@javax.annotation.Nullable ClientCapabilitiesDto capabilities) { this.capabilities = capabilities; } - public DeviceInfo iconUrl(@javax.annotation.Nullable String iconUrl) { + public DeviceInfoDto iconUrl(@javax.annotation.Nullable String iconUrl) { this.iconUrl = iconUrl; return this; } /** - * Get iconUrl + * Gets or sets the icon URL. * @return iconUrl */ @javax.annotation.Nullable @@ -306,17 +330,18 @@ public class DeviceInfo { if (o == null || getClass() != o.getClass()) { return false; } - DeviceInfo deviceInfo = (DeviceInfo) o; - return Objects.equals(this.name, deviceInfo.name) && - Objects.equals(this.accessToken, deviceInfo.accessToken) && - Objects.equals(this.id, deviceInfo.id) && - Objects.equals(this.lastUserName, deviceInfo.lastUserName) && - Objects.equals(this.appName, deviceInfo.appName) && - Objects.equals(this.appVersion, deviceInfo.appVersion) && - Objects.equals(this.lastUserId, deviceInfo.lastUserId) && - Objects.equals(this.dateLastActivity, deviceInfo.dateLastActivity) && - Objects.equals(this.capabilities, deviceInfo.capabilities) && - Objects.equals(this.iconUrl, deviceInfo.iconUrl); + DeviceInfoDto deviceInfoDto = (DeviceInfoDto) o; + return Objects.equals(this.name, deviceInfoDto.name) && + Objects.equals(this.customName, deviceInfoDto.customName) && + Objects.equals(this.accessToken, deviceInfoDto.accessToken) && + Objects.equals(this.id, deviceInfoDto.id) && + Objects.equals(this.lastUserName, deviceInfoDto.lastUserName) && + Objects.equals(this.appName, deviceInfoDto.appName) && + Objects.equals(this.appVersion, deviceInfoDto.appVersion) && + Objects.equals(this.lastUserId, deviceInfoDto.lastUserId) && + Objects.equals(this.dateLastActivity, deviceInfoDto.dateLastActivity) && + Objects.equals(this.capabilities, deviceInfoDto.capabilities) && + Objects.equals(this.iconUrl, deviceInfoDto.iconUrl); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -325,7 +350,7 @@ public class DeviceInfo { @Override public int hashCode() { - return Objects.hash(name, accessToken, id, lastUserName, appName, appVersion, lastUserId, dateLastActivity, capabilities, iconUrl); + return Objects.hash(name, customName, accessToken, id, lastUserName, appName, appVersion, lastUserId, dateLastActivity, capabilities, iconUrl); } private static int hashCodeNullable(JsonNullable a) { @@ -338,8 +363,9 @@ public class DeviceInfo { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class DeviceInfo {\n"); + sb.append("class DeviceInfoDto {\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" customName: ").append(toIndentedString(customName)).append("\n"); sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" lastUserName: ").append(toIndentedString(lastUserName)).append("\n"); @@ -372,6 +398,7 @@ public class DeviceInfo { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("Name"); + openapiFields.add("CustomName"); openapiFields.add("AccessToken"); openapiFields.add("Id"); openapiFields.add("LastUserName"); @@ -390,26 +417,29 @@ public class DeviceInfo { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DeviceInfo + * @throws IOException if the JSON Element is invalid with respect to DeviceInfoDto */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!DeviceInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in DeviceInfo is not found in the empty JSON string", DeviceInfo.openapiRequiredFields.toString())); + if (!DeviceInfoDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in DeviceInfoDto is not found in the empty JSON string", DeviceInfoDto.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!DeviceInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DeviceInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!DeviceInfoDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DeviceInfoDto` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("Name") != null && !jsonObj.get("Name").isJsonNull()) && !jsonObj.get("Name").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `Name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Name").toString())); } + if ((jsonObj.get("CustomName") != null && !jsonObj.get("CustomName").isJsonNull()) && !jsonObj.get("CustomName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `CustomName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("CustomName").toString())); + } if ((jsonObj.get("AccessToken") != null && !jsonObj.get("AccessToken").isJsonNull()) && !jsonObj.get("AccessToken").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `AccessToken` to be a primitive type in the JSON string but got `%s`", jsonObj.get("AccessToken").toString())); } @@ -430,7 +460,7 @@ public class DeviceInfo { } // validate the optional field `Capabilities` if (jsonObj.get("Capabilities") != null && !jsonObj.get("Capabilities").isJsonNull()) { - ClientCapabilities.validateJsonElement(jsonObj.get("Capabilities")); + ClientCapabilitiesDto.validateJsonElement(jsonObj.get("Capabilities")); } if ((jsonObj.get("IconUrl") != null && !jsonObj.get("IconUrl").isJsonNull()) && !jsonObj.get("IconUrl").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `IconUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("IconUrl").toString())); @@ -441,22 +471,22 @@ public class DeviceInfo { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!DeviceInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'DeviceInfo' and its subtypes + if (!DeviceInfoDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'DeviceInfoDto' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(DeviceInfo.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(DeviceInfoDto.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, DeviceInfo value) throws IOException { + public void write(JsonWriter out, DeviceInfoDto value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public DeviceInfo read(JsonReader in) throws IOException { + public DeviceInfoDto read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -467,18 +497,18 @@ public class DeviceInfo { } /** - * Create an instance of DeviceInfo given an JSON string + * Create an instance of DeviceInfoDto given an JSON string * * @param jsonString JSON string - * @return An instance of DeviceInfo - * @throws IOException if the JSON string is invalid with respect to DeviceInfo + * @return An instance of DeviceInfoDto + * @throws IOException if the JSON string is invalid with respect to DeviceInfoDto */ - public static DeviceInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, DeviceInfo.class); + public static DeviceInfoDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, DeviceInfoDto.class); } /** - * Convert an instance of DeviceInfo to an JSON string + * Convert an instance of DeviceInfoDto to an JSON string * * @return JSON string */ diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceInfoQueryResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DeviceInfoDtoQueryResult.java similarity index 69% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceInfoQueryResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DeviceInfoDtoQueryResult.java index ea7a575d958..575abb7be84 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceInfoQueryResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DeviceInfoDtoQueryResult.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,7 @@ import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import org.openapitools.client.model.DeviceInfo; -import org.openapitools.jackson.nullable.JsonNullable; +import org.openapitools.client.model.DeviceInfoDto; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -50,14 +49,14 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * DeviceInfoQueryResult + * Query result container. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class DeviceInfoQueryResult { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class DeviceInfoDtoQueryResult { public static final String SERIALIZED_NAME_ITEMS = "Items"; @SerializedName(SERIALIZED_NAME_ITEMS) @javax.annotation.Nullable - private List items; + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_TOTAL_RECORD_COUNT = "TotalRecordCount"; @SerializedName(SERIALIZED_NAME_TOTAL_RECORD_COUNT) @@ -69,15 +68,15 @@ public class DeviceInfoQueryResult { @javax.annotation.Nullable private Integer startIndex; - public DeviceInfoQueryResult() { + public DeviceInfoDtoQueryResult() { } - public DeviceInfoQueryResult items(@javax.annotation.Nullable List items) { + public DeviceInfoDtoQueryResult items(@javax.annotation.Nullable List items) { this.items = items; return this; } - public DeviceInfoQueryResult addItemsItem(DeviceInfo itemsItem) { + public DeviceInfoDtoQueryResult addItemsItem(DeviceInfoDto itemsItem) { if (this.items == null) { this.items = new ArrayList<>(); } @@ -90,16 +89,16 @@ public class DeviceInfoQueryResult { * @return items */ @javax.annotation.Nullable - public List getItems() { + public List getItems() { return items; } - public void setItems(@javax.annotation.Nullable List items) { + public void setItems(@javax.annotation.Nullable List items) { this.items = items; } - public DeviceInfoQueryResult totalRecordCount(@javax.annotation.Nullable Integer totalRecordCount) { + public DeviceInfoDtoQueryResult totalRecordCount(@javax.annotation.Nullable Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } @@ -118,7 +117,7 @@ public class DeviceInfoQueryResult { } - public DeviceInfoQueryResult startIndex(@javax.annotation.Nullable Integer startIndex) { + public DeviceInfoDtoQueryResult startIndex(@javax.annotation.Nullable Integer startIndex) { this.startIndex = startIndex; return this; } @@ -146,14 +145,10 @@ public class DeviceInfoQueryResult { if (o == null || getClass() != o.getClass()) { return false; } - DeviceInfoQueryResult deviceInfoQueryResult = (DeviceInfoQueryResult) o; - return Objects.equals(this.items, deviceInfoQueryResult.items) && - Objects.equals(this.totalRecordCount, deviceInfoQueryResult.totalRecordCount) && - Objects.equals(this.startIndex, deviceInfoQueryResult.startIndex); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + DeviceInfoDtoQueryResult deviceInfoDtoQueryResult = (DeviceInfoDtoQueryResult) o; + return Objects.equals(this.items, deviceInfoDtoQueryResult.items) && + Objects.equals(this.totalRecordCount, deviceInfoDtoQueryResult.totalRecordCount) && + Objects.equals(this.startIndex, deviceInfoDtoQueryResult.startIndex); } @Override @@ -161,17 +156,10 @@ public class DeviceInfoQueryResult { return Objects.hash(items, totalRecordCount, startIndex); } - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class DeviceInfoQueryResult {\n"); + sb.append("class DeviceInfoDtoQueryResult {\n"); sb.append(" items: ").append(toIndentedString(items)).append("\n"); sb.append(" totalRecordCount: ").append(toIndentedString(totalRecordCount)).append("\n"); sb.append(" startIndex: ").append(toIndentedString(startIndex)).append("\n"); @@ -209,20 +197,20 @@ public class DeviceInfoQueryResult { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DeviceInfoQueryResult + * @throws IOException if the JSON Element is invalid with respect to DeviceInfoDtoQueryResult */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!DeviceInfoQueryResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in DeviceInfoQueryResult is not found in the empty JSON string", DeviceInfoQueryResult.openapiRequiredFields.toString())); + if (!DeviceInfoDtoQueryResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in DeviceInfoDtoQueryResult is not found in the empty JSON string", DeviceInfoDtoQueryResult.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!DeviceInfoQueryResult.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DeviceInfoQueryResult` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!DeviceInfoDtoQueryResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DeviceInfoDtoQueryResult` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -236,7 +224,7 @@ public class DeviceInfoQueryResult { // validate the optional field `Items` (array) for (int i = 0; i < jsonArrayitems.size(); i++) { - DeviceInfo.validateJsonElement(jsonArrayitems.get(i)); + DeviceInfoDto.validateJsonElement(jsonArrayitems.get(i)); }; } } @@ -246,22 +234,22 @@ public class DeviceInfoQueryResult { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!DeviceInfoQueryResult.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'DeviceInfoQueryResult' and its subtypes + if (!DeviceInfoDtoQueryResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'DeviceInfoDtoQueryResult' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(DeviceInfoQueryResult.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(DeviceInfoDtoQueryResult.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, DeviceInfoQueryResult value) throws IOException { + public void write(JsonWriter out, DeviceInfoDtoQueryResult value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public DeviceInfoQueryResult read(JsonReader in) throws IOException { + public DeviceInfoDtoQueryResult read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -272,18 +260,18 @@ public class DeviceInfoQueryResult { } /** - * Create an instance of DeviceInfoQueryResult given an JSON string + * Create an instance of DeviceInfoDtoQueryResult given an JSON string * * @param jsonString JSON string - * @return An instance of DeviceInfoQueryResult - * @throws IOException if the JSON string is invalid with respect to DeviceInfoQueryResult + * @return An instance of DeviceInfoDtoQueryResult + * @throws IOException if the JSON string is invalid with respect to DeviceInfoDtoQueryResult */ - public static DeviceInfoQueryResult fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, DeviceInfoQueryResult.class); + public static DeviceInfoDtoQueryResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, DeviceInfoDtoQueryResult.class); } /** - * Convert an instance of DeviceInfoQueryResult to an JSON string + * Convert an instance of DeviceInfoDtoQueryResult to an JSON string * * @return JSON string */ diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceOptionsDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DeviceOptionsDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceOptionsDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DeviceOptionsDto.java index 6457d057ef6..71e3b511245 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceOptionsDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DeviceOptionsDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * A dto representing custom options for a device. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class DeviceOptionsDto { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DeviceProfile.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DeviceProfile.java new file mode 100644 index 00000000000..7c0df21abfb --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DeviceProfile.java @@ -0,0 +1,609 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.UUID; +import org.openapitools.client.model.CodecProfile; +import org.openapitools.client.model.ContainerProfile; +import org.openapitools.client.model.DirectPlayProfile; +import org.openapitools.client.model.SubtitleProfile; +import org.openapitools.client.model.TranscodingProfile; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play. <br /> Specifically, it defines the supported <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles\">containers</see> and <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles\">codecs</see> (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles\">containers/codecs to transcode to</see> in case it isn't. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class DeviceProfile { + public static final String SERIALIZED_NAME_NAME = "Name"; + @SerializedName(SERIALIZED_NAME_NAME) + @javax.annotation.Nullable + private String name; + + public static final String SERIALIZED_NAME_ID = "Id"; + @SerializedName(SERIALIZED_NAME_ID) + @javax.annotation.Nullable + private UUID id; + + public static final String SERIALIZED_NAME_MAX_STREAMING_BITRATE = "MaxStreamingBitrate"; + @SerializedName(SERIALIZED_NAME_MAX_STREAMING_BITRATE) + @javax.annotation.Nullable + private Integer maxStreamingBitrate; + + public static final String SERIALIZED_NAME_MAX_STATIC_BITRATE = "MaxStaticBitrate"; + @SerializedName(SERIALIZED_NAME_MAX_STATIC_BITRATE) + @javax.annotation.Nullable + private Integer maxStaticBitrate; + + public static final String SERIALIZED_NAME_MUSIC_STREAMING_TRANSCODING_BITRATE = "MusicStreamingTranscodingBitrate"; + @SerializedName(SERIALIZED_NAME_MUSIC_STREAMING_TRANSCODING_BITRATE) + @javax.annotation.Nullable + private Integer musicStreamingTranscodingBitrate; + + public static final String SERIALIZED_NAME_MAX_STATIC_MUSIC_BITRATE = "MaxStaticMusicBitrate"; + @SerializedName(SERIALIZED_NAME_MAX_STATIC_MUSIC_BITRATE) + @javax.annotation.Nullable + private Integer maxStaticMusicBitrate; + + public static final String SERIALIZED_NAME_DIRECT_PLAY_PROFILES = "DirectPlayProfiles"; + @SerializedName(SERIALIZED_NAME_DIRECT_PLAY_PROFILES) + @javax.annotation.Nullable + private List directPlayProfiles = new ArrayList<>(); + + public static final String SERIALIZED_NAME_TRANSCODING_PROFILES = "TranscodingProfiles"; + @SerializedName(SERIALIZED_NAME_TRANSCODING_PROFILES) + @javax.annotation.Nullable + private List transcodingProfiles = new ArrayList<>(); + + public static final String SERIALIZED_NAME_CONTAINER_PROFILES = "ContainerProfiles"; + @SerializedName(SERIALIZED_NAME_CONTAINER_PROFILES) + @javax.annotation.Nullable + private List containerProfiles = new ArrayList<>(); + + public static final String SERIALIZED_NAME_CODEC_PROFILES = "CodecProfiles"; + @SerializedName(SERIALIZED_NAME_CODEC_PROFILES) + @javax.annotation.Nullable + private List codecProfiles = new ArrayList<>(); + + public static final String SERIALIZED_NAME_SUBTITLE_PROFILES = "SubtitleProfiles"; + @SerializedName(SERIALIZED_NAME_SUBTITLE_PROFILES) + @javax.annotation.Nullable + private List subtitleProfiles = new ArrayList<>(); + + public DeviceProfile() { + } + + public DeviceProfile name(@javax.annotation.Nullable String name) { + this.name = name; + return this; + } + + /** + * Gets or sets the name of this device profile. User profiles must have a unique name. + * @return name + */ + @javax.annotation.Nullable + public String getName() { + return name; + } + + public void setName(@javax.annotation.Nullable String name) { + this.name = name; + } + + + public DeviceProfile id(@javax.annotation.Nullable UUID id) { + this.id = id; + return this; + } + + /** + * Gets or sets the unique internal identifier. + * @return id + */ + @javax.annotation.Nullable + public UUID getId() { + return id; + } + + public void setId(@javax.annotation.Nullable UUID id) { + this.id = id; + } + + + public DeviceProfile maxStreamingBitrate(@javax.annotation.Nullable Integer maxStreamingBitrate) { + this.maxStreamingBitrate = maxStreamingBitrate; + return this; + } + + /** + * Gets or sets the maximum allowed bitrate for all streamed content. + * @return maxStreamingBitrate + */ + @javax.annotation.Nullable + public Integer getMaxStreamingBitrate() { + return maxStreamingBitrate; + } + + public void setMaxStreamingBitrate(@javax.annotation.Nullable Integer maxStreamingBitrate) { + this.maxStreamingBitrate = maxStreamingBitrate; + } + + + public DeviceProfile maxStaticBitrate(@javax.annotation.Nullable Integer maxStaticBitrate) { + this.maxStaticBitrate = maxStaticBitrate; + return this; + } + + /** + * Gets or sets the maximum allowed bitrate for statically streamed content (= direct played files). + * @return maxStaticBitrate + */ + @javax.annotation.Nullable + public Integer getMaxStaticBitrate() { + return maxStaticBitrate; + } + + public void setMaxStaticBitrate(@javax.annotation.Nullable Integer maxStaticBitrate) { + this.maxStaticBitrate = maxStaticBitrate; + } + + + public DeviceProfile musicStreamingTranscodingBitrate(@javax.annotation.Nullable Integer musicStreamingTranscodingBitrate) { + this.musicStreamingTranscodingBitrate = musicStreamingTranscodingBitrate; + return this; + } + + /** + * Gets or sets the maximum allowed bitrate for transcoded music streams. + * @return musicStreamingTranscodingBitrate + */ + @javax.annotation.Nullable + public Integer getMusicStreamingTranscodingBitrate() { + return musicStreamingTranscodingBitrate; + } + + public void setMusicStreamingTranscodingBitrate(@javax.annotation.Nullable Integer musicStreamingTranscodingBitrate) { + this.musicStreamingTranscodingBitrate = musicStreamingTranscodingBitrate; + } + + + public DeviceProfile maxStaticMusicBitrate(@javax.annotation.Nullable Integer maxStaticMusicBitrate) { + this.maxStaticMusicBitrate = maxStaticMusicBitrate; + return this; + } + + /** + * Gets or sets the maximum allowed bitrate for statically streamed (= direct played) music files. + * @return maxStaticMusicBitrate + */ + @javax.annotation.Nullable + public Integer getMaxStaticMusicBitrate() { + return maxStaticMusicBitrate; + } + + public void setMaxStaticMusicBitrate(@javax.annotation.Nullable Integer maxStaticMusicBitrate) { + this.maxStaticMusicBitrate = maxStaticMusicBitrate; + } + + + public DeviceProfile directPlayProfiles(@javax.annotation.Nullable List directPlayProfiles) { + this.directPlayProfiles = directPlayProfiles; + return this; + } + + public DeviceProfile addDirectPlayProfilesItem(DirectPlayProfile directPlayProfilesItem) { + if (this.directPlayProfiles == null) { + this.directPlayProfiles = new ArrayList<>(); + } + this.directPlayProfiles.add(directPlayProfilesItem); + return this; + } + + /** + * Gets or sets the direct play profiles. + * @return directPlayProfiles + */ + @javax.annotation.Nullable + public List getDirectPlayProfiles() { + return directPlayProfiles; + } + + public void setDirectPlayProfiles(@javax.annotation.Nullable List directPlayProfiles) { + this.directPlayProfiles = directPlayProfiles; + } + + + public DeviceProfile transcodingProfiles(@javax.annotation.Nullable List transcodingProfiles) { + this.transcodingProfiles = transcodingProfiles; + return this; + } + + public DeviceProfile addTranscodingProfilesItem(TranscodingProfile transcodingProfilesItem) { + if (this.transcodingProfiles == null) { + this.transcodingProfiles = new ArrayList<>(); + } + this.transcodingProfiles.add(transcodingProfilesItem); + return this; + } + + /** + * Gets or sets the transcoding profiles. + * @return transcodingProfiles + */ + @javax.annotation.Nullable + public List getTranscodingProfiles() { + return transcodingProfiles; + } + + public void setTranscodingProfiles(@javax.annotation.Nullable List transcodingProfiles) { + this.transcodingProfiles = transcodingProfiles; + } + + + public DeviceProfile containerProfiles(@javax.annotation.Nullable List containerProfiles) { + this.containerProfiles = containerProfiles; + return this; + } + + public DeviceProfile addContainerProfilesItem(ContainerProfile containerProfilesItem) { + if (this.containerProfiles == null) { + this.containerProfiles = new ArrayList<>(); + } + this.containerProfiles.add(containerProfilesItem); + return this; + } + + /** + * Gets or sets the container profiles. Failing to meet these optional conditions causes transcoding to occur. + * @return containerProfiles + */ + @javax.annotation.Nullable + public List getContainerProfiles() { + return containerProfiles; + } + + public void setContainerProfiles(@javax.annotation.Nullable List containerProfiles) { + this.containerProfiles = containerProfiles; + } + + + public DeviceProfile codecProfiles(@javax.annotation.Nullable List codecProfiles) { + this.codecProfiles = codecProfiles; + return this; + } + + public DeviceProfile addCodecProfilesItem(CodecProfile codecProfilesItem) { + if (this.codecProfiles == null) { + this.codecProfiles = new ArrayList<>(); + } + this.codecProfiles.add(codecProfilesItem); + return this; + } + + /** + * Gets or sets the codec profiles. + * @return codecProfiles + */ + @javax.annotation.Nullable + public List getCodecProfiles() { + return codecProfiles; + } + + public void setCodecProfiles(@javax.annotation.Nullable List codecProfiles) { + this.codecProfiles = codecProfiles; + } + + + public DeviceProfile subtitleProfiles(@javax.annotation.Nullable List subtitleProfiles) { + this.subtitleProfiles = subtitleProfiles; + return this; + } + + public DeviceProfile addSubtitleProfilesItem(SubtitleProfile subtitleProfilesItem) { + if (this.subtitleProfiles == null) { + this.subtitleProfiles = new ArrayList<>(); + } + this.subtitleProfiles.add(subtitleProfilesItem); + return this; + } + + /** + * Gets or sets the subtitle profiles. + * @return subtitleProfiles + */ + @javax.annotation.Nullable + public List getSubtitleProfiles() { + return subtitleProfiles; + } + + public void setSubtitleProfiles(@javax.annotation.Nullable List subtitleProfiles) { + this.subtitleProfiles = subtitleProfiles; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DeviceProfile deviceProfile = (DeviceProfile) o; + return Objects.equals(this.name, deviceProfile.name) && + Objects.equals(this.id, deviceProfile.id) && + Objects.equals(this.maxStreamingBitrate, deviceProfile.maxStreamingBitrate) && + Objects.equals(this.maxStaticBitrate, deviceProfile.maxStaticBitrate) && + Objects.equals(this.musicStreamingTranscodingBitrate, deviceProfile.musicStreamingTranscodingBitrate) && + Objects.equals(this.maxStaticMusicBitrate, deviceProfile.maxStaticMusicBitrate) && + Objects.equals(this.directPlayProfiles, deviceProfile.directPlayProfiles) && + Objects.equals(this.transcodingProfiles, deviceProfile.transcodingProfiles) && + Objects.equals(this.containerProfiles, deviceProfile.containerProfiles) && + Objects.equals(this.codecProfiles, deviceProfile.codecProfiles) && + Objects.equals(this.subtitleProfiles, deviceProfile.subtitleProfiles); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(name, id, maxStreamingBitrate, maxStaticBitrate, musicStreamingTranscodingBitrate, maxStaticMusicBitrate, directPlayProfiles, transcodingProfiles, containerProfiles, codecProfiles, subtitleProfiles); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DeviceProfile {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" maxStreamingBitrate: ").append(toIndentedString(maxStreamingBitrate)).append("\n"); + sb.append(" maxStaticBitrate: ").append(toIndentedString(maxStaticBitrate)).append("\n"); + sb.append(" musicStreamingTranscodingBitrate: ").append(toIndentedString(musicStreamingTranscodingBitrate)).append("\n"); + sb.append(" maxStaticMusicBitrate: ").append(toIndentedString(maxStaticMusicBitrate)).append("\n"); + sb.append(" directPlayProfiles: ").append(toIndentedString(directPlayProfiles)).append("\n"); + sb.append(" transcodingProfiles: ").append(toIndentedString(transcodingProfiles)).append("\n"); + sb.append(" containerProfiles: ").append(toIndentedString(containerProfiles)).append("\n"); + sb.append(" codecProfiles: ").append(toIndentedString(codecProfiles)).append("\n"); + sb.append(" subtitleProfiles: ").append(toIndentedString(subtitleProfiles)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Name"); + openapiFields.add("Id"); + openapiFields.add("MaxStreamingBitrate"); + openapiFields.add("MaxStaticBitrate"); + openapiFields.add("MusicStreamingTranscodingBitrate"); + openapiFields.add("MaxStaticMusicBitrate"); + openapiFields.add("DirectPlayProfiles"); + openapiFields.add("TranscodingProfiles"); + openapiFields.add("ContainerProfiles"); + openapiFields.add("CodecProfiles"); + openapiFields.add("SubtitleProfiles"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DeviceProfile + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!DeviceProfile.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in DeviceProfile is not found in the empty JSON string", DeviceProfile.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!DeviceProfile.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DeviceProfile` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("Name") != null && !jsonObj.get("Name").isJsonNull()) && !jsonObj.get("Name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Name").toString())); + } + if ((jsonObj.get("Id") != null && !jsonObj.get("Id").isJsonNull()) && !jsonObj.get("Id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Id").toString())); + } + if (jsonObj.get("DirectPlayProfiles") != null && !jsonObj.get("DirectPlayProfiles").isJsonNull()) { + JsonArray jsonArraydirectPlayProfiles = jsonObj.getAsJsonArray("DirectPlayProfiles"); + if (jsonArraydirectPlayProfiles != null) { + // ensure the json data is an array + if (!jsonObj.get("DirectPlayProfiles").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `DirectPlayProfiles` to be an array in the JSON string but got `%s`", jsonObj.get("DirectPlayProfiles").toString())); + } + + // validate the optional field `DirectPlayProfiles` (array) + for (int i = 0; i < jsonArraydirectPlayProfiles.size(); i++) { + DirectPlayProfile.validateJsonElement(jsonArraydirectPlayProfiles.get(i)); + }; + } + } + if (jsonObj.get("TranscodingProfiles") != null && !jsonObj.get("TranscodingProfiles").isJsonNull()) { + JsonArray jsonArraytranscodingProfiles = jsonObj.getAsJsonArray("TranscodingProfiles"); + if (jsonArraytranscodingProfiles != null) { + // ensure the json data is an array + if (!jsonObj.get("TranscodingProfiles").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `TranscodingProfiles` to be an array in the JSON string but got `%s`", jsonObj.get("TranscodingProfiles").toString())); + } + + // validate the optional field `TranscodingProfiles` (array) + for (int i = 0; i < jsonArraytranscodingProfiles.size(); i++) { + TranscodingProfile.validateJsonElement(jsonArraytranscodingProfiles.get(i)); + }; + } + } + if (jsonObj.get("ContainerProfiles") != null && !jsonObj.get("ContainerProfiles").isJsonNull()) { + JsonArray jsonArraycontainerProfiles = jsonObj.getAsJsonArray("ContainerProfiles"); + if (jsonArraycontainerProfiles != null) { + // ensure the json data is an array + if (!jsonObj.get("ContainerProfiles").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `ContainerProfiles` to be an array in the JSON string but got `%s`", jsonObj.get("ContainerProfiles").toString())); + } + + // validate the optional field `ContainerProfiles` (array) + for (int i = 0; i < jsonArraycontainerProfiles.size(); i++) { + ContainerProfile.validateJsonElement(jsonArraycontainerProfiles.get(i)); + }; + } + } + if (jsonObj.get("CodecProfiles") != null && !jsonObj.get("CodecProfiles").isJsonNull()) { + JsonArray jsonArraycodecProfiles = jsonObj.getAsJsonArray("CodecProfiles"); + if (jsonArraycodecProfiles != null) { + // ensure the json data is an array + if (!jsonObj.get("CodecProfiles").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `CodecProfiles` to be an array in the JSON string but got `%s`", jsonObj.get("CodecProfiles").toString())); + } + + // validate the optional field `CodecProfiles` (array) + for (int i = 0; i < jsonArraycodecProfiles.size(); i++) { + CodecProfile.validateJsonElement(jsonArraycodecProfiles.get(i)); + }; + } + } + if (jsonObj.get("SubtitleProfiles") != null && !jsonObj.get("SubtitleProfiles").isJsonNull()) { + JsonArray jsonArraysubtitleProfiles = jsonObj.getAsJsonArray("SubtitleProfiles"); + if (jsonArraysubtitleProfiles != null) { + // ensure the json data is an array + if (!jsonObj.get("SubtitleProfiles").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `SubtitleProfiles` to be an array in the JSON string but got `%s`", jsonObj.get("SubtitleProfiles").toString())); + } + + // validate the optional field `SubtitleProfiles` (array) + for (int i = 0; i < jsonArraysubtitleProfiles.size(); i++) { + SubtitleProfile.validateJsonElement(jsonArraysubtitleProfiles.get(i)); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!DeviceProfile.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'DeviceProfile' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(DeviceProfile.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, DeviceProfile value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public DeviceProfile read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of DeviceProfile given an JSON string + * + * @param jsonString JSON string + * @return An instance of DeviceProfile + * @throws IOException if the JSON string is invalid with respect to DeviceProfile + */ + public static DeviceProfile fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, DeviceProfile.class); + } + + /** + * Convert an instance of DeviceProfile to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DirectPlayProfile.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DirectPlayProfile.java similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DirectPlayProfile.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DirectPlayProfile.java index 31a1e1fa26f..3d024e2e8df 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DirectPlayProfile.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DirectPlayProfile.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,9 +48,9 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * DirectPlayProfile + * Defines the MediaBrowser.Model.Dlna.DirectPlayProfile. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class DirectPlayProfile { public static final String SERIALIZED_NAME_CONTAINER = "Container"; @SerializedName(SERIALIZED_NAME_CONTAINER) @@ -81,7 +81,7 @@ public class DirectPlayProfile { } /** - * Get container + * Gets or sets the container. * @return container */ @javax.annotation.Nullable @@ -100,7 +100,7 @@ public class DirectPlayProfile { } /** - * Get audioCodec + * Gets or sets the audio codec. * @return audioCodec */ @javax.annotation.Nullable @@ -119,7 +119,7 @@ public class DirectPlayProfile { } /** - * Get videoCodec + * Gets or sets the video codec. * @return videoCodec */ @javax.annotation.Nullable @@ -138,7 +138,7 @@ public class DirectPlayProfile { } /** - * Get type + * Gets or sets the Dlna profile type. * @return type */ @javax.annotation.Nullable diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DisplayPreferencesDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DisplayPreferencesDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DisplayPreferencesDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DisplayPreferencesDto.java index 835e4a4eab5..96eec379011 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DisplayPreferencesDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DisplayPreferencesDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * Defines the display preferences for any item that supports them (usually Folders). */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class DisplayPreferencesDto { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) @@ -294,7 +294,7 @@ public class DisplayPreferencesDto { } /** - * Gets or sets the scroll direction. + * An enum representing the axis that should be scrolled. * @return scrollDirection */ @javax.annotation.Nullable @@ -351,7 +351,7 @@ public class DisplayPreferencesDto { } /** - * Gets or sets the sort order. + * An enum representing the sorting order. * @return sortOrder */ @javax.annotation.Nullable diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DlnaProfileType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DlnaProfileType.java similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DlnaProfileType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DlnaProfileType.java index aeea30c66f8..15a3e598adb 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DlnaProfileType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DlnaProfileType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -35,7 +35,9 @@ public enum DlnaProfileType { PHOTO("Photo"), - SUBTITLE("Subtitle"); + SUBTITLE("Subtitle"), + + LYRIC("Lyric"); private String value; diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportDisplayType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DownMixStereoAlgorithms.java similarity index 59% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportDisplayType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DownMixStereoAlgorithms.java index dea488dec61..683af5619d3 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportDisplayType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DownMixStereoAlgorithms.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,22 +24,24 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; /** - * Gets or Sets ReportDisplayType + * An enum representing an algorithm to downmix surround sound to stereo. */ -@JsonAdapter(ReportDisplayType.Adapter.class) -public enum ReportDisplayType { +@JsonAdapter(DownMixStereoAlgorithms.Adapter.class) +public enum DownMixStereoAlgorithms { NONE("None"), - SCREEN("Screen"), + DAVE750("Dave750"), - EXPORT("Export"), + NIGHTMODE_DIALOGUE("NightmodeDialogue"), - SCREEN_EXPORT("ScreenExport"); + RFC7845("Rfc7845"), + + AC4("Ac4"); private String value; - ReportDisplayType(String value) { + DownMixStereoAlgorithms(String value) { this.value = value; } @@ -52,8 +54,8 @@ public enum ReportDisplayType { return String.valueOf(value); } - public static ReportDisplayType fromValue(String value) { - for (ReportDisplayType b : ReportDisplayType.values()) { + public static DownMixStereoAlgorithms fromValue(String value) { + for (DownMixStereoAlgorithms b : DownMixStereoAlgorithms.values()) { if (b.value.equals(value)) { return b; } @@ -61,22 +63,22 @@ public enum ReportDisplayType { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - public static class Adapter extends TypeAdapter { + public static class Adapter extends TypeAdapter { @Override - public void write(final JsonWriter jsonWriter, final ReportDisplayType enumeration) throws IOException { + public void write(final JsonWriter jsonWriter, final DownMixStereoAlgorithms enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override - public ReportDisplayType read(final JsonReader jsonReader) throws IOException { + public DownMixStereoAlgorithms read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); - return ReportDisplayType.fromValue(value); + return DownMixStereoAlgorithms.fromValue(value); } } public static void validateJsonElement(JsonElement jsonElement) throws IOException { String value = jsonElement.getAsString(); - ReportDisplayType.fromValue(value); + DownMixStereoAlgorithms.fromValue(value); } } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DynamicDayOfWeek.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DynamicDayOfWeek.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DynamicDayOfWeek.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DynamicDayOfWeek.java index 4a2d5a515aa..a6988e3a747 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DynamicDayOfWeek.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/DynamicDayOfWeek.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/EmbeddedSubtitleOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/EmbeddedSubtitleOptions.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/EmbeddedSubtitleOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/EmbeddedSubtitleOptions.java index 941ef0e8150..67238a5c61c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/EmbeddedSubtitleOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/EmbeddedSubtitleOptions.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportFieldType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/EncoderPreset.java similarity index 60% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportFieldType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/EncoderPreset.java index f6f83c32ae8..900b8bfaedb 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportFieldType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/EncoderPreset.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,32 +24,36 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; /** - * Gets or Sets ReportFieldType + * Enum containing encoder presets. */ -@JsonAdapter(ReportFieldType.Adapter.class) -public enum ReportFieldType { +@JsonAdapter(EncoderPreset.Adapter.class) +public enum EncoderPreset { - STRING("String"), + AUTO("auto"), - BOOLEAN("Boolean"), + PLACEBO("placebo"), - DATE("Date"), + VERYSLOW("veryslow"), - TIME("Time"), + SLOWER("slower"), - DATE_TIME("DateTime"), + SLOW("slow"), - INT("Int"), + MEDIUM("medium"), - IMAGE("Image"), + FAST("fast"), - OBJECT("Object"), + FASTER("faster"), - MINUTES("Minutes"); + VERYFAST("veryfast"), + + SUPERFAST("superfast"), + + ULTRAFAST("ultrafast"); private String value; - ReportFieldType(String value) { + EncoderPreset(String value) { this.value = value; } @@ -62,8 +66,8 @@ public enum ReportFieldType { return String.valueOf(value); } - public static ReportFieldType fromValue(String value) { - for (ReportFieldType b : ReportFieldType.values()) { + public static EncoderPreset fromValue(String value) { + for (EncoderPreset b : EncoderPreset.values()) { if (b.value.equals(value)) { return b; } @@ -71,22 +75,22 @@ public enum ReportFieldType { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - public static class Adapter extends TypeAdapter { + public static class Adapter extends TypeAdapter { @Override - public void write(final JsonWriter jsonWriter, final ReportFieldType enumeration) throws IOException { + public void write(final JsonWriter jsonWriter, final EncoderPreset enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override - public ReportFieldType read(final JsonReader jsonReader) throws IOException { + public EncoderPreset read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); - return ReportFieldType.fromValue(value); + return EncoderPreset.fromValue(value); } } public static void validateJsonElement(JsonElement jsonElement) throws IOException { String value = jsonElement.getAsString(); - ReportFieldType.fromValue(value); + EncoderPreset.fromValue(value); } } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/EncodingContext.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/EncodingContext.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/EncodingContext.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/EncodingContext.java index 082a38630fe..d81c57e5e9c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/EncodingContext.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/EncodingContext.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/EncodingOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/EncodingOptions.java similarity index 73% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/EncodingOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/EncodingOptions.java index 827dcce0412..eb6d51a49b0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/EncodingOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/EncodingOptions.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,6 +23,13 @@ import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; +import org.openapitools.client.model.DeinterlaceMethod; +import org.openapitools.client.model.DownMixStereoAlgorithms; +import org.openapitools.client.model.EncoderPreset; +import org.openapitools.client.model.HardwareAccelerationType; +import org.openapitools.client.model.TonemappingAlgorithm; +import org.openapitools.client.model.TonemappingMode; +import org.openapitools.client.model.TonemappingRange; import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; @@ -49,9 +56,9 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * EncodingOptions + * Class EncodingOptions. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class EncodingOptions { public static final String SERIALIZED_NAME_ENCODING_THREAD_COUNT = "EncodingThreadCount"; @SerializedName(SERIALIZED_NAME_ENCODING_THREAD_COUNT) @@ -73,11 +80,21 @@ public class EncodingOptions { @javax.annotation.Nullable private Boolean enableFallbackFont; + public static final String SERIALIZED_NAME_ENABLE_AUDIO_VBR = "EnableAudioVbr"; + @SerializedName(SERIALIZED_NAME_ENABLE_AUDIO_VBR) + @javax.annotation.Nullable + private Boolean enableAudioVbr; + public static final String SERIALIZED_NAME_DOWN_MIX_AUDIO_BOOST = "DownMixAudioBoost"; @SerializedName(SERIALIZED_NAME_DOWN_MIX_AUDIO_BOOST) @javax.annotation.Nullable private Double downMixAudioBoost; + public static final String SERIALIZED_NAME_DOWN_MIX_STEREO_ALGORITHM = "DownMixStereoAlgorithm"; + @SerializedName(SERIALIZED_NAME_DOWN_MIX_STEREO_ALGORITHM) + @javax.annotation.Nullable + private DownMixStereoAlgorithms downMixStereoAlgorithm; + public static final String SERIALIZED_NAME_MAX_MUXING_QUEUE_SIZE = "MaxMuxingQueueSize"; @SerializedName(SERIALIZED_NAME_MAX_MUXING_QUEUE_SIZE) @javax.annotation.Nullable @@ -93,10 +110,20 @@ public class EncodingOptions { @javax.annotation.Nullable private Integer throttleDelaySeconds; + public static final String SERIALIZED_NAME_ENABLE_SEGMENT_DELETION = "EnableSegmentDeletion"; + @SerializedName(SERIALIZED_NAME_ENABLE_SEGMENT_DELETION) + @javax.annotation.Nullable + private Boolean enableSegmentDeletion; + + public static final String SERIALIZED_NAME_SEGMENT_KEEP_SECONDS = "SegmentKeepSeconds"; + @SerializedName(SERIALIZED_NAME_SEGMENT_KEEP_SECONDS) + @javax.annotation.Nullable + private Integer segmentKeepSeconds; + public static final String SERIALIZED_NAME_HARDWARE_ACCELERATION_TYPE = "HardwareAccelerationType"; @SerializedName(SERIALIZED_NAME_HARDWARE_ACCELERATION_TYPE) @javax.annotation.Nullable - private String hardwareAccelerationType; + private HardwareAccelerationType hardwareAccelerationType; public static final String SERIALIZED_NAME_ENCODER_APP_PATH = "EncoderAppPath"; @SerializedName(SERIALIZED_NAME_ENCODER_APP_PATH) @@ -113,6 +140,11 @@ public class EncodingOptions { @javax.annotation.Nullable private String vaapiDevice; + public static final String SERIALIZED_NAME_QSV_DEVICE = "QsvDevice"; + @SerializedName(SERIALIZED_NAME_QSV_DEVICE) + @javax.annotation.Nullable + private String qsvDevice; + public static final String SERIALIZED_NAME_ENABLE_TONEMAPPING = "EnableTonemapping"; @SerializedName(SERIALIZED_NAME_ENABLE_TONEMAPPING) @javax.annotation.Nullable @@ -123,20 +155,25 @@ public class EncodingOptions { @javax.annotation.Nullable private Boolean enableVppTonemapping; + public static final String SERIALIZED_NAME_ENABLE_VIDEO_TOOLBOX_TONEMAPPING = "EnableVideoToolboxTonemapping"; + @SerializedName(SERIALIZED_NAME_ENABLE_VIDEO_TOOLBOX_TONEMAPPING) + @javax.annotation.Nullable + private Boolean enableVideoToolboxTonemapping; + public static final String SERIALIZED_NAME_TONEMAPPING_ALGORITHM = "TonemappingAlgorithm"; @SerializedName(SERIALIZED_NAME_TONEMAPPING_ALGORITHM) @javax.annotation.Nullable - private String tonemappingAlgorithm; + private TonemappingAlgorithm tonemappingAlgorithm; public static final String SERIALIZED_NAME_TONEMAPPING_MODE = "TonemappingMode"; @SerializedName(SERIALIZED_NAME_TONEMAPPING_MODE) @javax.annotation.Nullable - private String tonemappingMode; + private TonemappingMode tonemappingMode; public static final String SERIALIZED_NAME_TONEMAPPING_RANGE = "TonemappingRange"; @SerializedName(SERIALIZED_NAME_TONEMAPPING_RANGE) @javax.annotation.Nullable - private String tonemappingRange; + private TonemappingRange tonemappingRange; public static final String SERIALIZED_NAME_TONEMAPPING_DESAT = "TonemappingDesat"; @SerializedName(SERIALIZED_NAME_TONEMAPPING_DESAT) @@ -176,7 +213,7 @@ public class EncodingOptions { public static final String SERIALIZED_NAME_ENCODER_PRESET = "EncoderPreset"; @SerializedName(SERIALIZED_NAME_ENCODER_PRESET) @javax.annotation.Nullable - private String encoderPreset; + private EncoderPreset encoderPreset; public static final String SERIALIZED_NAME_DEINTERLACE_DOUBLE_RATE = "DeinterlaceDoubleRate"; @SerializedName(SERIALIZED_NAME_DEINTERLACE_DOUBLE_RATE) @@ -186,7 +223,7 @@ public class EncodingOptions { public static final String SERIALIZED_NAME_DEINTERLACE_METHOD = "DeinterlaceMethod"; @SerializedName(SERIALIZED_NAME_DEINTERLACE_METHOD) @javax.annotation.Nullable - private String deinterlaceMethod; + private DeinterlaceMethod deinterlaceMethod; public static final String SERIALIZED_NAME_ENABLE_DECODING_COLOR_DEPTH10_HEVC = "EnableDecodingColorDepth10Hevc"; @SerializedName(SERIALIZED_NAME_ENABLE_DECODING_COLOR_DEPTH10_HEVC) @@ -198,6 +235,16 @@ public class EncodingOptions { @javax.annotation.Nullable private Boolean enableDecodingColorDepth10Vp9; + public static final String SERIALIZED_NAME_ENABLE_DECODING_COLOR_DEPTH10_HEVC_REXT = "EnableDecodingColorDepth10HevcRext"; + @SerializedName(SERIALIZED_NAME_ENABLE_DECODING_COLOR_DEPTH10_HEVC_REXT) + @javax.annotation.Nullable + private Boolean enableDecodingColorDepth10HevcRext; + + public static final String SERIALIZED_NAME_ENABLE_DECODING_COLOR_DEPTH12_HEVC_REXT = "EnableDecodingColorDepth12HevcRext"; + @SerializedName(SERIALIZED_NAME_ENABLE_DECODING_COLOR_DEPTH12_HEVC_REXT) + @javax.annotation.Nullable + private Boolean enableDecodingColorDepth12HevcRext; + public static final String SERIALIZED_NAME_ENABLE_ENHANCED_NVDEC_DECODER = "EnableEnhancedNvdecDecoder"; @SerializedName(SERIALIZED_NAME_ENABLE_ENHANCED_NVDEC_DECODER) @javax.annotation.Nullable @@ -228,6 +275,11 @@ public class EncodingOptions { @javax.annotation.Nullable private Boolean allowHevcEncoding; + public static final String SERIALIZED_NAME_ALLOW_AV1_ENCODING = "AllowAv1Encoding"; + @SerializedName(SERIALIZED_NAME_ALLOW_AV1_ENCODING) + @javax.annotation.Nullable + private Boolean allowAv1Encoding; + public static final String SERIALIZED_NAME_ENABLE_SUBTITLE_EXTRACTION = "EnableSubtitleExtraction"; @SerializedName(SERIALIZED_NAME_ENABLE_SUBTITLE_EXTRACTION) @javax.annotation.Nullable @@ -252,7 +304,7 @@ public class EncodingOptions { } /** - * Get encodingThreadCount + * Gets or sets the thread count used for encoding. * @return encodingThreadCount */ @javax.annotation.Nullable @@ -271,7 +323,7 @@ public class EncodingOptions { } /** - * Get transcodingTempPath + * Gets or sets the temporary transcoding path. * @return transcodingTempPath */ @javax.annotation.Nullable @@ -290,7 +342,7 @@ public class EncodingOptions { } /** - * Get fallbackFontPath + * Gets or sets the path to the fallback font. * @return fallbackFontPath */ @javax.annotation.Nullable @@ -309,7 +361,7 @@ public class EncodingOptions { } /** - * Get enableFallbackFont + * Gets or sets a value indicating whether to use the fallback font. * @return enableFallbackFont */ @javax.annotation.Nullable @@ -322,13 +374,32 @@ public class EncodingOptions { } + public EncodingOptions enableAudioVbr(@javax.annotation.Nullable Boolean enableAudioVbr) { + this.enableAudioVbr = enableAudioVbr; + return this; + } + + /** + * Gets or sets a value indicating whether audio VBR is enabled. + * @return enableAudioVbr + */ + @javax.annotation.Nullable + public Boolean getEnableAudioVbr() { + return enableAudioVbr; + } + + public void setEnableAudioVbr(@javax.annotation.Nullable Boolean enableAudioVbr) { + this.enableAudioVbr = enableAudioVbr; + } + + public EncodingOptions downMixAudioBoost(@javax.annotation.Nullable Double downMixAudioBoost) { this.downMixAudioBoost = downMixAudioBoost; return this; } /** - * Get downMixAudioBoost + * Gets or sets the audio boost applied when downmixing audio. * @return downMixAudioBoost */ @javax.annotation.Nullable @@ -341,13 +412,32 @@ public class EncodingOptions { } + public EncodingOptions downMixStereoAlgorithm(@javax.annotation.Nullable DownMixStereoAlgorithms downMixStereoAlgorithm) { + this.downMixStereoAlgorithm = downMixStereoAlgorithm; + return this; + } + + /** + * Gets or sets the algorithm used for downmixing audio to stereo. + * @return downMixStereoAlgorithm + */ + @javax.annotation.Nullable + public DownMixStereoAlgorithms getDownMixStereoAlgorithm() { + return downMixStereoAlgorithm; + } + + public void setDownMixStereoAlgorithm(@javax.annotation.Nullable DownMixStereoAlgorithms downMixStereoAlgorithm) { + this.downMixStereoAlgorithm = downMixStereoAlgorithm; + } + + public EncodingOptions maxMuxingQueueSize(@javax.annotation.Nullable Integer maxMuxingQueueSize) { this.maxMuxingQueueSize = maxMuxingQueueSize; return this; } /** - * Get maxMuxingQueueSize + * Gets or sets the maximum size of the muxing queue. * @return maxMuxingQueueSize */ @javax.annotation.Nullable @@ -366,7 +456,7 @@ public class EncodingOptions { } /** - * Get enableThrottling + * Gets or sets a value indicating whether throttling is enabled. * @return enableThrottling */ @javax.annotation.Nullable @@ -385,7 +475,7 @@ public class EncodingOptions { } /** - * Get throttleDelaySeconds + * Gets or sets the delay after which throttling happens. * @return throttleDelaySeconds */ @javax.annotation.Nullable @@ -398,21 +488,59 @@ public class EncodingOptions { } - public EncodingOptions hardwareAccelerationType(@javax.annotation.Nullable String hardwareAccelerationType) { + public EncodingOptions enableSegmentDeletion(@javax.annotation.Nullable Boolean enableSegmentDeletion) { + this.enableSegmentDeletion = enableSegmentDeletion; + return this; + } + + /** + * Gets or sets a value indicating whether segment deletion is enabled. + * @return enableSegmentDeletion + */ + @javax.annotation.Nullable + public Boolean getEnableSegmentDeletion() { + return enableSegmentDeletion; + } + + public void setEnableSegmentDeletion(@javax.annotation.Nullable Boolean enableSegmentDeletion) { + this.enableSegmentDeletion = enableSegmentDeletion; + } + + + public EncodingOptions segmentKeepSeconds(@javax.annotation.Nullable Integer segmentKeepSeconds) { + this.segmentKeepSeconds = segmentKeepSeconds; + return this; + } + + /** + * Gets or sets seconds for which segments should be kept before being deleted. + * @return segmentKeepSeconds + */ + @javax.annotation.Nullable + public Integer getSegmentKeepSeconds() { + return segmentKeepSeconds; + } + + public void setSegmentKeepSeconds(@javax.annotation.Nullable Integer segmentKeepSeconds) { + this.segmentKeepSeconds = segmentKeepSeconds; + } + + + public EncodingOptions hardwareAccelerationType(@javax.annotation.Nullable HardwareAccelerationType hardwareAccelerationType) { this.hardwareAccelerationType = hardwareAccelerationType; return this; } /** - * Get hardwareAccelerationType + * Gets or sets the hardware acceleration type. * @return hardwareAccelerationType */ @javax.annotation.Nullable - public String getHardwareAccelerationType() { + public HardwareAccelerationType getHardwareAccelerationType() { return hardwareAccelerationType; } - public void setHardwareAccelerationType(@javax.annotation.Nullable String hardwareAccelerationType) { + public void setHardwareAccelerationType(@javax.annotation.Nullable HardwareAccelerationType hardwareAccelerationType) { this.hardwareAccelerationType = hardwareAccelerationType; } @@ -461,7 +589,7 @@ public class EncodingOptions { } /** - * Get vaapiDevice + * Gets or sets the VA-API device. * @return vaapiDevice */ @javax.annotation.Nullable @@ -474,13 +602,32 @@ public class EncodingOptions { } + public EncodingOptions qsvDevice(@javax.annotation.Nullable String qsvDevice) { + this.qsvDevice = qsvDevice; + return this; + } + + /** + * Gets or sets the QSV device. + * @return qsvDevice + */ + @javax.annotation.Nullable + public String getQsvDevice() { + return qsvDevice; + } + + public void setQsvDevice(@javax.annotation.Nullable String qsvDevice) { + this.qsvDevice = qsvDevice; + } + + public EncodingOptions enableTonemapping(@javax.annotation.Nullable Boolean enableTonemapping) { this.enableTonemapping = enableTonemapping; return this; } /** - * Get enableTonemapping + * Gets or sets a value indicating whether tonemapping is enabled. * @return enableTonemapping */ @javax.annotation.Nullable @@ -499,7 +646,7 @@ public class EncodingOptions { } /** - * Get enableVppTonemapping + * Gets or sets a value indicating whether VPP tonemapping is enabled. * @return enableVppTonemapping */ @javax.annotation.Nullable @@ -512,59 +659,78 @@ public class EncodingOptions { } - public EncodingOptions tonemappingAlgorithm(@javax.annotation.Nullable String tonemappingAlgorithm) { + public EncodingOptions enableVideoToolboxTonemapping(@javax.annotation.Nullable Boolean enableVideoToolboxTonemapping) { + this.enableVideoToolboxTonemapping = enableVideoToolboxTonemapping; + return this; + } + + /** + * Gets or sets a value indicating whether videotoolbox tonemapping is enabled. + * @return enableVideoToolboxTonemapping + */ + @javax.annotation.Nullable + public Boolean getEnableVideoToolboxTonemapping() { + return enableVideoToolboxTonemapping; + } + + public void setEnableVideoToolboxTonemapping(@javax.annotation.Nullable Boolean enableVideoToolboxTonemapping) { + this.enableVideoToolboxTonemapping = enableVideoToolboxTonemapping; + } + + + public EncodingOptions tonemappingAlgorithm(@javax.annotation.Nullable TonemappingAlgorithm tonemappingAlgorithm) { this.tonemappingAlgorithm = tonemappingAlgorithm; return this; } /** - * Get tonemappingAlgorithm + * Gets or sets the tone-mapping algorithm. * @return tonemappingAlgorithm */ @javax.annotation.Nullable - public String getTonemappingAlgorithm() { + public TonemappingAlgorithm getTonemappingAlgorithm() { return tonemappingAlgorithm; } - public void setTonemappingAlgorithm(@javax.annotation.Nullable String tonemappingAlgorithm) { + public void setTonemappingAlgorithm(@javax.annotation.Nullable TonemappingAlgorithm tonemappingAlgorithm) { this.tonemappingAlgorithm = tonemappingAlgorithm; } - public EncodingOptions tonemappingMode(@javax.annotation.Nullable String tonemappingMode) { + public EncodingOptions tonemappingMode(@javax.annotation.Nullable TonemappingMode tonemappingMode) { this.tonemappingMode = tonemappingMode; return this; } /** - * Get tonemappingMode + * Gets or sets the tone-mapping mode. * @return tonemappingMode */ @javax.annotation.Nullable - public String getTonemappingMode() { + public TonemappingMode getTonemappingMode() { return tonemappingMode; } - public void setTonemappingMode(@javax.annotation.Nullable String tonemappingMode) { + public void setTonemappingMode(@javax.annotation.Nullable TonemappingMode tonemappingMode) { this.tonemappingMode = tonemappingMode; } - public EncodingOptions tonemappingRange(@javax.annotation.Nullable String tonemappingRange) { + public EncodingOptions tonemappingRange(@javax.annotation.Nullable TonemappingRange tonemappingRange) { this.tonemappingRange = tonemappingRange; return this; } /** - * Get tonemappingRange + * Gets or sets the tone-mapping range. * @return tonemappingRange */ @javax.annotation.Nullable - public String getTonemappingRange() { + public TonemappingRange getTonemappingRange() { return tonemappingRange; } - public void setTonemappingRange(@javax.annotation.Nullable String tonemappingRange) { + public void setTonemappingRange(@javax.annotation.Nullable TonemappingRange tonemappingRange) { this.tonemappingRange = tonemappingRange; } @@ -575,7 +741,7 @@ public class EncodingOptions { } /** - * Get tonemappingDesat + * Gets or sets the tone-mapping desaturation. * @return tonemappingDesat */ @javax.annotation.Nullable @@ -594,7 +760,7 @@ public class EncodingOptions { } /** - * Get tonemappingPeak + * Gets or sets the tone-mapping peak. * @return tonemappingPeak */ @javax.annotation.Nullable @@ -613,7 +779,7 @@ public class EncodingOptions { } /** - * Get tonemappingParam + * Gets or sets the tone-mapping parameters. * @return tonemappingParam */ @javax.annotation.Nullable @@ -632,7 +798,7 @@ public class EncodingOptions { } /** - * Get vppTonemappingBrightness + * Gets or sets the VPP tone-mapping brightness. * @return vppTonemappingBrightness */ @javax.annotation.Nullable @@ -651,7 +817,7 @@ public class EncodingOptions { } /** - * Get vppTonemappingContrast + * Gets or sets the VPP tone-mapping contrast. * @return vppTonemappingContrast */ @javax.annotation.Nullable @@ -670,7 +836,7 @@ public class EncodingOptions { } /** - * Get h264Crf + * Gets or sets the H264 CRF. * @return h264Crf */ @javax.annotation.Nullable @@ -689,7 +855,7 @@ public class EncodingOptions { } /** - * Get h265Crf + * Gets or sets the H265 CRF. * @return h265Crf */ @javax.annotation.Nullable @@ -702,21 +868,21 @@ public class EncodingOptions { } - public EncodingOptions encoderPreset(@javax.annotation.Nullable String encoderPreset) { + public EncodingOptions encoderPreset(@javax.annotation.Nullable EncoderPreset encoderPreset) { this.encoderPreset = encoderPreset; return this; } /** - * Get encoderPreset + * Gets or sets the encoder preset. * @return encoderPreset */ @javax.annotation.Nullable - public String getEncoderPreset() { + public EncoderPreset getEncoderPreset() { return encoderPreset; } - public void setEncoderPreset(@javax.annotation.Nullable String encoderPreset) { + public void setEncoderPreset(@javax.annotation.Nullable EncoderPreset encoderPreset) { this.encoderPreset = encoderPreset; } @@ -727,7 +893,7 @@ public class EncodingOptions { } /** - * Get deinterlaceDoubleRate + * Gets or sets a value indicating whether the framerate is doubled when deinterlacing. * @return deinterlaceDoubleRate */ @javax.annotation.Nullable @@ -740,21 +906,21 @@ public class EncodingOptions { } - public EncodingOptions deinterlaceMethod(@javax.annotation.Nullable String deinterlaceMethod) { + public EncodingOptions deinterlaceMethod(@javax.annotation.Nullable DeinterlaceMethod deinterlaceMethod) { this.deinterlaceMethod = deinterlaceMethod; return this; } /** - * Get deinterlaceMethod + * Gets or sets the deinterlace method. * @return deinterlaceMethod */ @javax.annotation.Nullable - public String getDeinterlaceMethod() { + public DeinterlaceMethod getDeinterlaceMethod() { return deinterlaceMethod; } - public void setDeinterlaceMethod(@javax.annotation.Nullable String deinterlaceMethod) { + public void setDeinterlaceMethod(@javax.annotation.Nullable DeinterlaceMethod deinterlaceMethod) { this.deinterlaceMethod = deinterlaceMethod; } @@ -765,7 +931,7 @@ public class EncodingOptions { } /** - * Get enableDecodingColorDepth10Hevc + * Gets or sets a value indicating whether 10bit HEVC decoding is enabled. * @return enableDecodingColorDepth10Hevc */ @javax.annotation.Nullable @@ -784,7 +950,7 @@ public class EncodingOptions { } /** - * Get enableDecodingColorDepth10Vp9 + * Gets or sets a value indicating whether 10bit VP9 decoding is enabled. * @return enableDecodingColorDepth10Vp9 */ @javax.annotation.Nullable @@ -797,13 +963,51 @@ public class EncodingOptions { } + public EncodingOptions enableDecodingColorDepth10HevcRext(@javax.annotation.Nullable Boolean enableDecodingColorDepth10HevcRext) { + this.enableDecodingColorDepth10HevcRext = enableDecodingColorDepth10HevcRext; + return this; + } + + /** + * Gets or sets a value indicating whether 8/10bit HEVC RExt decoding is enabled. + * @return enableDecodingColorDepth10HevcRext + */ + @javax.annotation.Nullable + public Boolean getEnableDecodingColorDepth10HevcRext() { + return enableDecodingColorDepth10HevcRext; + } + + public void setEnableDecodingColorDepth10HevcRext(@javax.annotation.Nullable Boolean enableDecodingColorDepth10HevcRext) { + this.enableDecodingColorDepth10HevcRext = enableDecodingColorDepth10HevcRext; + } + + + public EncodingOptions enableDecodingColorDepth12HevcRext(@javax.annotation.Nullable Boolean enableDecodingColorDepth12HevcRext) { + this.enableDecodingColorDepth12HevcRext = enableDecodingColorDepth12HevcRext; + return this; + } + + /** + * Gets or sets a value indicating whether 12bit HEVC RExt decoding is enabled. + * @return enableDecodingColorDepth12HevcRext + */ + @javax.annotation.Nullable + public Boolean getEnableDecodingColorDepth12HevcRext() { + return enableDecodingColorDepth12HevcRext; + } + + public void setEnableDecodingColorDepth12HevcRext(@javax.annotation.Nullable Boolean enableDecodingColorDepth12HevcRext) { + this.enableDecodingColorDepth12HevcRext = enableDecodingColorDepth12HevcRext; + } + + public EncodingOptions enableEnhancedNvdecDecoder(@javax.annotation.Nullable Boolean enableEnhancedNvdecDecoder) { this.enableEnhancedNvdecDecoder = enableEnhancedNvdecDecoder; return this; } /** - * Get enableEnhancedNvdecDecoder + * Gets or sets a value indicating whether the enhanced NVDEC is enabled. * @return enableEnhancedNvdecDecoder */ @javax.annotation.Nullable @@ -822,7 +1026,7 @@ public class EncodingOptions { } /** - * Get preferSystemNativeHwDecoder + * Gets or sets a value indicating whether the system native hardware decoder should be used. * @return preferSystemNativeHwDecoder */ @javax.annotation.Nullable @@ -841,7 +1045,7 @@ public class EncodingOptions { } /** - * Get enableIntelLowPowerH264HwEncoder + * Gets or sets a value indicating whether the Intel H264 low-power hardware encoder should be used. * @return enableIntelLowPowerH264HwEncoder */ @javax.annotation.Nullable @@ -860,7 +1064,7 @@ public class EncodingOptions { } /** - * Get enableIntelLowPowerHevcHwEncoder + * Gets or sets a value indicating whether the Intel HEVC low-power hardware encoder should be used. * @return enableIntelLowPowerHevcHwEncoder */ @javax.annotation.Nullable @@ -879,7 +1083,7 @@ public class EncodingOptions { } /** - * Get enableHardwareEncoding + * Gets or sets a value indicating whether hardware encoding is enabled. * @return enableHardwareEncoding */ @javax.annotation.Nullable @@ -898,7 +1102,7 @@ public class EncodingOptions { } /** - * Get allowHevcEncoding + * Gets or sets a value indicating whether HEVC encoding is enabled. * @return allowHevcEncoding */ @javax.annotation.Nullable @@ -911,13 +1115,32 @@ public class EncodingOptions { } + public EncodingOptions allowAv1Encoding(@javax.annotation.Nullable Boolean allowAv1Encoding) { + this.allowAv1Encoding = allowAv1Encoding; + return this; + } + + /** + * Gets or sets a value indicating whether AV1 encoding is enabled. + * @return allowAv1Encoding + */ + @javax.annotation.Nullable + public Boolean getAllowAv1Encoding() { + return allowAv1Encoding; + } + + public void setAllowAv1Encoding(@javax.annotation.Nullable Boolean allowAv1Encoding) { + this.allowAv1Encoding = allowAv1Encoding; + } + + public EncodingOptions enableSubtitleExtraction(@javax.annotation.Nullable Boolean enableSubtitleExtraction) { this.enableSubtitleExtraction = enableSubtitleExtraction; return this; } /** - * Get enableSubtitleExtraction + * Gets or sets a value indicating whether subtitle extraction is enabled. * @return enableSubtitleExtraction */ @javax.annotation.Nullable @@ -944,7 +1167,7 @@ public class EncodingOptions { } /** - * Get hardwareDecodingCodecs + * Gets or sets the codecs hardware encoding is used for. * @return hardwareDecodingCodecs */ @javax.annotation.Nullable @@ -971,7 +1194,7 @@ public class EncodingOptions { } /** - * Get allowOnDemandMetadataBasedKeyframeExtractionForExtensions + * Gets or sets the file extensions on-demand metadata based keyframe extraction is enabled for. * @return allowOnDemandMetadataBasedKeyframeExtractionForExtensions */ @javax.annotation.Nullable @@ -998,16 +1221,22 @@ public class EncodingOptions { Objects.equals(this.transcodingTempPath, encodingOptions.transcodingTempPath) && Objects.equals(this.fallbackFontPath, encodingOptions.fallbackFontPath) && Objects.equals(this.enableFallbackFont, encodingOptions.enableFallbackFont) && + Objects.equals(this.enableAudioVbr, encodingOptions.enableAudioVbr) && Objects.equals(this.downMixAudioBoost, encodingOptions.downMixAudioBoost) && + Objects.equals(this.downMixStereoAlgorithm, encodingOptions.downMixStereoAlgorithm) && Objects.equals(this.maxMuxingQueueSize, encodingOptions.maxMuxingQueueSize) && Objects.equals(this.enableThrottling, encodingOptions.enableThrottling) && Objects.equals(this.throttleDelaySeconds, encodingOptions.throttleDelaySeconds) && + Objects.equals(this.enableSegmentDeletion, encodingOptions.enableSegmentDeletion) && + Objects.equals(this.segmentKeepSeconds, encodingOptions.segmentKeepSeconds) && Objects.equals(this.hardwareAccelerationType, encodingOptions.hardwareAccelerationType) && Objects.equals(this.encoderAppPath, encodingOptions.encoderAppPath) && Objects.equals(this.encoderAppPathDisplay, encodingOptions.encoderAppPathDisplay) && Objects.equals(this.vaapiDevice, encodingOptions.vaapiDevice) && + Objects.equals(this.qsvDevice, encodingOptions.qsvDevice) && Objects.equals(this.enableTonemapping, encodingOptions.enableTonemapping) && Objects.equals(this.enableVppTonemapping, encodingOptions.enableVppTonemapping) && + Objects.equals(this.enableVideoToolboxTonemapping, encodingOptions.enableVideoToolboxTonemapping) && Objects.equals(this.tonemappingAlgorithm, encodingOptions.tonemappingAlgorithm) && Objects.equals(this.tonemappingMode, encodingOptions.tonemappingMode) && Objects.equals(this.tonemappingRange, encodingOptions.tonemappingRange) && @@ -1023,12 +1252,15 @@ public class EncodingOptions { Objects.equals(this.deinterlaceMethod, encodingOptions.deinterlaceMethod) && Objects.equals(this.enableDecodingColorDepth10Hevc, encodingOptions.enableDecodingColorDepth10Hevc) && Objects.equals(this.enableDecodingColorDepth10Vp9, encodingOptions.enableDecodingColorDepth10Vp9) && + Objects.equals(this.enableDecodingColorDepth10HevcRext, encodingOptions.enableDecodingColorDepth10HevcRext) && + Objects.equals(this.enableDecodingColorDepth12HevcRext, encodingOptions.enableDecodingColorDepth12HevcRext) && Objects.equals(this.enableEnhancedNvdecDecoder, encodingOptions.enableEnhancedNvdecDecoder) && Objects.equals(this.preferSystemNativeHwDecoder, encodingOptions.preferSystemNativeHwDecoder) && Objects.equals(this.enableIntelLowPowerH264HwEncoder, encodingOptions.enableIntelLowPowerH264HwEncoder) && Objects.equals(this.enableIntelLowPowerHevcHwEncoder, encodingOptions.enableIntelLowPowerHevcHwEncoder) && Objects.equals(this.enableHardwareEncoding, encodingOptions.enableHardwareEncoding) && Objects.equals(this.allowHevcEncoding, encodingOptions.allowHevcEncoding) && + Objects.equals(this.allowAv1Encoding, encodingOptions.allowAv1Encoding) && Objects.equals(this.enableSubtitleExtraction, encodingOptions.enableSubtitleExtraction) && Objects.equals(this.hardwareDecodingCodecs, encodingOptions.hardwareDecodingCodecs) && Objects.equals(this.allowOnDemandMetadataBasedKeyframeExtractionForExtensions, encodingOptions.allowOnDemandMetadataBasedKeyframeExtractionForExtensions); @@ -1040,7 +1272,7 @@ public class EncodingOptions { @Override public int hashCode() { - return Objects.hash(encodingThreadCount, transcodingTempPath, fallbackFontPath, enableFallbackFont, downMixAudioBoost, maxMuxingQueueSize, enableThrottling, throttleDelaySeconds, hardwareAccelerationType, encoderAppPath, encoderAppPathDisplay, vaapiDevice, enableTonemapping, enableVppTonemapping, tonemappingAlgorithm, tonemappingMode, tonemappingRange, tonemappingDesat, tonemappingPeak, tonemappingParam, vppTonemappingBrightness, vppTonemappingContrast, h264Crf, h265Crf, encoderPreset, deinterlaceDoubleRate, deinterlaceMethod, enableDecodingColorDepth10Hevc, enableDecodingColorDepth10Vp9, enableEnhancedNvdecDecoder, preferSystemNativeHwDecoder, enableIntelLowPowerH264HwEncoder, enableIntelLowPowerHevcHwEncoder, enableHardwareEncoding, allowHevcEncoding, enableSubtitleExtraction, hardwareDecodingCodecs, allowOnDemandMetadataBasedKeyframeExtractionForExtensions); + return Objects.hash(encodingThreadCount, transcodingTempPath, fallbackFontPath, enableFallbackFont, enableAudioVbr, downMixAudioBoost, downMixStereoAlgorithm, maxMuxingQueueSize, enableThrottling, throttleDelaySeconds, enableSegmentDeletion, segmentKeepSeconds, hardwareAccelerationType, encoderAppPath, encoderAppPathDisplay, vaapiDevice, qsvDevice, enableTonemapping, enableVppTonemapping, enableVideoToolboxTonemapping, tonemappingAlgorithm, tonemappingMode, tonemappingRange, tonemappingDesat, tonemappingPeak, tonemappingParam, vppTonemappingBrightness, vppTonemappingContrast, h264Crf, h265Crf, encoderPreset, deinterlaceDoubleRate, deinterlaceMethod, enableDecodingColorDepth10Hevc, enableDecodingColorDepth10Vp9, enableDecodingColorDepth10HevcRext, enableDecodingColorDepth12HevcRext, enableEnhancedNvdecDecoder, preferSystemNativeHwDecoder, enableIntelLowPowerH264HwEncoder, enableIntelLowPowerHevcHwEncoder, enableHardwareEncoding, allowHevcEncoding, allowAv1Encoding, enableSubtitleExtraction, hardwareDecodingCodecs, allowOnDemandMetadataBasedKeyframeExtractionForExtensions); } private static int hashCodeNullable(JsonNullable a) { @@ -1058,16 +1290,22 @@ public class EncodingOptions { sb.append(" transcodingTempPath: ").append(toIndentedString(transcodingTempPath)).append("\n"); sb.append(" fallbackFontPath: ").append(toIndentedString(fallbackFontPath)).append("\n"); sb.append(" enableFallbackFont: ").append(toIndentedString(enableFallbackFont)).append("\n"); + sb.append(" enableAudioVbr: ").append(toIndentedString(enableAudioVbr)).append("\n"); sb.append(" downMixAudioBoost: ").append(toIndentedString(downMixAudioBoost)).append("\n"); + sb.append(" downMixStereoAlgorithm: ").append(toIndentedString(downMixStereoAlgorithm)).append("\n"); sb.append(" maxMuxingQueueSize: ").append(toIndentedString(maxMuxingQueueSize)).append("\n"); sb.append(" enableThrottling: ").append(toIndentedString(enableThrottling)).append("\n"); sb.append(" throttleDelaySeconds: ").append(toIndentedString(throttleDelaySeconds)).append("\n"); + sb.append(" enableSegmentDeletion: ").append(toIndentedString(enableSegmentDeletion)).append("\n"); + sb.append(" segmentKeepSeconds: ").append(toIndentedString(segmentKeepSeconds)).append("\n"); sb.append(" hardwareAccelerationType: ").append(toIndentedString(hardwareAccelerationType)).append("\n"); sb.append(" encoderAppPath: ").append(toIndentedString(encoderAppPath)).append("\n"); sb.append(" encoderAppPathDisplay: ").append(toIndentedString(encoderAppPathDisplay)).append("\n"); sb.append(" vaapiDevice: ").append(toIndentedString(vaapiDevice)).append("\n"); + sb.append(" qsvDevice: ").append(toIndentedString(qsvDevice)).append("\n"); sb.append(" enableTonemapping: ").append(toIndentedString(enableTonemapping)).append("\n"); sb.append(" enableVppTonemapping: ").append(toIndentedString(enableVppTonemapping)).append("\n"); + sb.append(" enableVideoToolboxTonemapping: ").append(toIndentedString(enableVideoToolboxTonemapping)).append("\n"); sb.append(" tonemappingAlgorithm: ").append(toIndentedString(tonemappingAlgorithm)).append("\n"); sb.append(" tonemappingMode: ").append(toIndentedString(tonemappingMode)).append("\n"); sb.append(" tonemappingRange: ").append(toIndentedString(tonemappingRange)).append("\n"); @@ -1083,12 +1321,15 @@ public class EncodingOptions { sb.append(" deinterlaceMethod: ").append(toIndentedString(deinterlaceMethod)).append("\n"); sb.append(" enableDecodingColorDepth10Hevc: ").append(toIndentedString(enableDecodingColorDepth10Hevc)).append("\n"); sb.append(" enableDecodingColorDepth10Vp9: ").append(toIndentedString(enableDecodingColorDepth10Vp9)).append("\n"); + sb.append(" enableDecodingColorDepth10HevcRext: ").append(toIndentedString(enableDecodingColorDepth10HevcRext)).append("\n"); + sb.append(" enableDecodingColorDepth12HevcRext: ").append(toIndentedString(enableDecodingColorDepth12HevcRext)).append("\n"); sb.append(" enableEnhancedNvdecDecoder: ").append(toIndentedString(enableEnhancedNvdecDecoder)).append("\n"); sb.append(" preferSystemNativeHwDecoder: ").append(toIndentedString(preferSystemNativeHwDecoder)).append("\n"); sb.append(" enableIntelLowPowerH264HwEncoder: ").append(toIndentedString(enableIntelLowPowerH264HwEncoder)).append("\n"); sb.append(" enableIntelLowPowerHevcHwEncoder: ").append(toIndentedString(enableIntelLowPowerHevcHwEncoder)).append("\n"); sb.append(" enableHardwareEncoding: ").append(toIndentedString(enableHardwareEncoding)).append("\n"); sb.append(" allowHevcEncoding: ").append(toIndentedString(allowHevcEncoding)).append("\n"); + sb.append(" allowAv1Encoding: ").append(toIndentedString(allowAv1Encoding)).append("\n"); sb.append(" enableSubtitleExtraction: ").append(toIndentedString(enableSubtitleExtraction)).append("\n"); sb.append(" hardwareDecodingCodecs: ").append(toIndentedString(hardwareDecodingCodecs)).append("\n"); sb.append(" allowOnDemandMetadataBasedKeyframeExtractionForExtensions: ").append(toIndentedString(allowOnDemandMetadataBasedKeyframeExtractionForExtensions)).append("\n"); @@ -1118,16 +1359,22 @@ public class EncodingOptions { openapiFields.add("TranscodingTempPath"); openapiFields.add("FallbackFontPath"); openapiFields.add("EnableFallbackFont"); + openapiFields.add("EnableAudioVbr"); openapiFields.add("DownMixAudioBoost"); + openapiFields.add("DownMixStereoAlgorithm"); openapiFields.add("MaxMuxingQueueSize"); openapiFields.add("EnableThrottling"); openapiFields.add("ThrottleDelaySeconds"); + openapiFields.add("EnableSegmentDeletion"); + openapiFields.add("SegmentKeepSeconds"); openapiFields.add("HardwareAccelerationType"); openapiFields.add("EncoderAppPath"); openapiFields.add("EncoderAppPathDisplay"); openapiFields.add("VaapiDevice"); + openapiFields.add("QsvDevice"); openapiFields.add("EnableTonemapping"); openapiFields.add("EnableVppTonemapping"); + openapiFields.add("EnableVideoToolboxTonemapping"); openapiFields.add("TonemappingAlgorithm"); openapiFields.add("TonemappingMode"); openapiFields.add("TonemappingRange"); @@ -1143,12 +1390,15 @@ public class EncodingOptions { openapiFields.add("DeinterlaceMethod"); openapiFields.add("EnableDecodingColorDepth10Hevc"); openapiFields.add("EnableDecodingColorDepth10Vp9"); + openapiFields.add("EnableDecodingColorDepth10HevcRext"); + openapiFields.add("EnableDecodingColorDepth12HevcRext"); openapiFields.add("EnableEnhancedNvdecDecoder"); openapiFields.add("PreferSystemNativeHwDecoder"); openapiFields.add("EnableIntelLowPowerH264HwEncoder"); openapiFields.add("EnableIntelLowPowerHevcHwEncoder"); openapiFields.add("EnableHardwareEncoding"); openapiFields.add("AllowHevcEncoding"); + openapiFields.add("AllowAv1Encoding"); openapiFields.add("EnableSubtitleExtraction"); openapiFields.add("HardwareDecodingCodecs"); openapiFields.add("AllowOnDemandMetadataBasedKeyframeExtractionForExtensions"); @@ -1184,8 +1434,13 @@ public class EncodingOptions { if ((jsonObj.get("FallbackFontPath") != null && !jsonObj.get("FallbackFontPath").isJsonNull()) && !jsonObj.get("FallbackFontPath").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `FallbackFontPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("FallbackFontPath").toString())); } - if ((jsonObj.get("HardwareAccelerationType") != null && !jsonObj.get("HardwareAccelerationType").isJsonNull()) && !jsonObj.get("HardwareAccelerationType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `HardwareAccelerationType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("HardwareAccelerationType").toString())); + // validate the optional field `DownMixStereoAlgorithm` + if (jsonObj.get("DownMixStereoAlgorithm") != null && !jsonObj.get("DownMixStereoAlgorithm").isJsonNull()) { + DownMixStereoAlgorithms.validateJsonElement(jsonObj.get("DownMixStereoAlgorithm")); + } + // validate the optional field `HardwareAccelerationType` + if (jsonObj.get("HardwareAccelerationType") != null && !jsonObj.get("HardwareAccelerationType").isJsonNull()) { + HardwareAccelerationType.validateJsonElement(jsonObj.get("HardwareAccelerationType")); } if ((jsonObj.get("EncoderAppPath") != null && !jsonObj.get("EncoderAppPath").isJsonNull()) && !jsonObj.get("EncoderAppPath").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `EncoderAppPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("EncoderAppPath").toString())); @@ -1196,20 +1451,28 @@ public class EncodingOptions { if ((jsonObj.get("VaapiDevice") != null && !jsonObj.get("VaapiDevice").isJsonNull()) && !jsonObj.get("VaapiDevice").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `VaapiDevice` to be a primitive type in the JSON string but got `%s`", jsonObj.get("VaapiDevice").toString())); } - if ((jsonObj.get("TonemappingAlgorithm") != null && !jsonObj.get("TonemappingAlgorithm").isJsonNull()) && !jsonObj.get("TonemappingAlgorithm").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `TonemappingAlgorithm` to be a primitive type in the JSON string but got `%s`", jsonObj.get("TonemappingAlgorithm").toString())); + if ((jsonObj.get("QsvDevice") != null && !jsonObj.get("QsvDevice").isJsonNull()) && !jsonObj.get("QsvDevice").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `QsvDevice` to be a primitive type in the JSON string but got `%s`", jsonObj.get("QsvDevice").toString())); } - if ((jsonObj.get("TonemappingMode") != null && !jsonObj.get("TonemappingMode").isJsonNull()) && !jsonObj.get("TonemappingMode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `TonemappingMode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("TonemappingMode").toString())); + // validate the optional field `TonemappingAlgorithm` + if (jsonObj.get("TonemappingAlgorithm") != null && !jsonObj.get("TonemappingAlgorithm").isJsonNull()) { + TonemappingAlgorithm.validateJsonElement(jsonObj.get("TonemappingAlgorithm")); } - if ((jsonObj.get("TonemappingRange") != null && !jsonObj.get("TonemappingRange").isJsonNull()) && !jsonObj.get("TonemappingRange").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `TonemappingRange` to be a primitive type in the JSON string but got `%s`", jsonObj.get("TonemappingRange").toString())); + // validate the optional field `TonemappingMode` + if (jsonObj.get("TonemappingMode") != null && !jsonObj.get("TonemappingMode").isJsonNull()) { + TonemappingMode.validateJsonElement(jsonObj.get("TonemappingMode")); } - if ((jsonObj.get("EncoderPreset") != null && !jsonObj.get("EncoderPreset").isJsonNull()) && !jsonObj.get("EncoderPreset").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `EncoderPreset` to be a primitive type in the JSON string but got `%s`", jsonObj.get("EncoderPreset").toString())); + // validate the optional field `TonemappingRange` + if (jsonObj.get("TonemappingRange") != null && !jsonObj.get("TonemappingRange").isJsonNull()) { + TonemappingRange.validateJsonElement(jsonObj.get("TonemappingRange")); } - if ((jsonObj.get("DeinterlaceMethod") != null && !jsonObj.get("DeinterlaceMethod").isJsonNull()) && !jsonObj.get("DeinterlaceMethod").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `DeinterlaceMethod` to be a primitive type in the JSON string but got `%s`", jsonObj.get("DeinterlaceMethod").toString())); + // validate the optional field `EncoderPreset` + if (jsonObj.get("EncoderPreset") != null && !jsonObj.get("EncoderPreset").isJsonNull()) { + EncoderPreset.validateJsonElement(jsonObj.get("EncoderPreset")); + } + // validate the optional field `DeinterlaceMethod` + if (jsonObj.get("DeinterlaceMethod") != null && !jsonObj.get("DeinterlaceMethod").isJsonNull()) { + DeinterlaceMethod.validateJsonElement(jsonObj.get("DeinterlaceMethod")); } // ensure the optional json data is an array if present if (jsonObj.get("HardwareDecodingCodecs") != null && !jsonObj.get("HardwareDecodingCodecs").isJsonNull() && !jsonObj.get("HardwareDecodingCodecs").isJsonArray()) { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/EndPointInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/EndPointInfo.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/EndPointInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/EndPointInfo.java index 17ba6403342..28b49724718 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/EndPointInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/EndPointInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * EndPointInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class EndPointInfo { public static final String SERIALIZED_NAME_IS_LOCAL = "IsLocal"; @SerializedName(SERIALIZED_NAME_IS_LOCAL) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ExternalIdInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ExternalIdInfo.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ExternalIdInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ExternalIdInfo.java index 4b8627b7d0d..9864340ae5f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ExternalIdInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ExternalIdInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Represents the external id information for serialization to the client. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ExternalIdInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -68,6 +68,7 @@ public class ExternalIdInfo { private ExternalIdMediaType type; public static final String SERIALIZED_NAME_URL_FORMAT_STRING = "UrlFormatString"; + @Deprecated @SerializedName(SERIALIZED_NAME_URL_FORMAT_STRING) @javax.annotation.Nullable private String urlFormatString; @@ -132,6 +133,7 @@ public class ExternalIdInfo { } + @Deprecated public ExternalIdInfo urlFormatString(@javax.annotation.Nullable String urlFormatString) { this.urlFormatString = urlFormatString; return this; @@ -140,12 +142,15 @@ public class ExternalIdInfo { /** * Gets or sets the URL format string. * @return urlFormatString + * @deprecated */ + @Deprecated @javax.annotation.Nullable public String getUrlFormatString() { return urlFormatString; } + @Deprecated public void setUrlFormatString(@javax.annotation.Nullable String urlFormatString) { this.urlFormatString = urlFormatString; } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ExternalIdMediaType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ExternalIdMediaType.java similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ExternalIdMediaType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ExternalIdMediaType.java index c30e39d0364..e0ce460b059 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ExternalIdMediaType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ExternalIdMediaType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,9 @@ public enum ExternalIdMediaType { SERIES("Series"), - TRACK("Track"); + TRACK("Track"), + + BOOK("Book"); private String value; diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ExternalUrl.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ExternalUrl.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ExternalUrl.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ExternalUrl.java index 8a85fc9e7f0..ba457de0a87 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ExternalUrl.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ExternalUrl.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * ExternalUrl */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ExternalUrl { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ExtraType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ExtraType.java new file mode 100644 index 00000000000..e51fd1ac3a6 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ExtraType.java @@ -0,0 +1,98 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.JsonElement; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets ExtraType + */ +@JsonAdapter(ExtraType.Adapter.class) +public enum ExtraType { + + UNKNOWN("Unknown"), + + CLIP("Clip"), + + TRAILER("Trailer"), + + BEHIND_THE_SCENES("BehindTheScenes"), + + DELETED_SCENE("DeletedScene"), + + INTERVIEW("Interview"), + + SCENE("Scene"), + + SAMPLE("Sample"), + + THEME_SONG("ThemeSong"), + + THEME_VIDEO("ThemeVideo"), + + FEATURETTE("Featurette"), + + SHORT("Short"); + + private String value; + + ExtraType(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ExtraType fromValue(String value) { + for (ExtraType b : ExtraType.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ExtraType enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ExtraType read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ExtraType.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + ExtraType.fromValue(value); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/FileSystemEntryInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/FileSystemEntryInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/FileSystemEntryInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/FileSystemEntryInfo.java index 47a9a242931..083360652ec 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/FileSystemEntryInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/FileSystemEntryInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class FileSystemEntryInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class FileSystemEntryInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/FileSystemEntryType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/FileSystemEntryType.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/FileSystemEntryType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/FileSystemEntryType.java index f8f9b62c946..92aa87560e4 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/FileSystemEntryType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/FileSystemEntryType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/FontFile.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/FontFile.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/FontFile.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/FontFile.java index 16a32b14ac3..767d5d71a31 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/FontFile.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/FontFile.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Class FontFile. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class FontFile { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportPlaybackOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ForceKeepAliveMessage.java similarity index 52% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportPlaybackOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ForceKeepAliveMessage.java index eb97f83837c..692d6468265 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportPlaybackOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ForceKeepAliveMessage.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,8 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.SessionMessageType; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -46,83 +48,82 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * ReportPlaybackOptions + * Force keep alive websocket messages. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class ReportPlaybackOptions { - public static final String SERIALIZED_NAME_MAX_DATA_AGE = "MaxDataAge"; - @SerializedName(SERIALIZED_NAME_MAX_DATA_AGE) +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class ForceKeepAliveMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) @javax.annotation.Nullable - private Integer maxDataAge; + private Integer data; - public static final String SERIALIZED_NAME_BACKUP_PATH = "BackupPath"; - @SerializedName(SERIALIZED_NAME_BACKUP_PATH) + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) @javax.annotation.Nullable - private String backupPath; + private UUID messageId; - public static final String SERIALIZED_NAME_MAX_BACKUP_FILES = "MaxBackupFiles"; - @SerializedName(SERIALIZED_NAME_MAX_BACKUP_FILES) + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) @javax.annotation.Nullable - private Integer maxBackupFiles; + private SessionMessageType messageType = SessionMessageType.FORCE_KEEP_ALIVE; - public ReportPlaybackOptions() { + public ForceKeepAliveMessage() { } - public ReportPlaybackOptions maxDataAge(@javax.annotation.Nullable Integer maxDataAge) { - this.maxDataAge = maxDataAge; + public ForceKeepAliveMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public ForceKeepAliveMessage data(@javax.annotation.Nullable Integer data) { + this.data = data; return this; } /** - * Get maxDataAge - * @return maxDataAge + * Gets or sets the data. + * @return data */ @javax.annotation.Nullable - public Integer getMaxDataAge() { - return maxDataAge; + public Integer getData() { + return data; } - public void setMaxDataAge(@javax.annotation.Nullable Integer maxDataAge) { - this.maxDataAge = maxDataAge; + public void setData(@javax.annotation.Nullable Integer data) { + this.data = data; } - public ReportPlaybackOptions backupPath(@javax.annotation.Nullable String backupPath) { - this.backupPath = backupPath; + public ForceKeepAliveMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; return this; } /** - * Get backupPath - * @return backupPath + * Gets or sets the message id. + * @return messageId */ @javax.annotation.Nullable - public String getBackupPath() { - return backupPath; + public UUID getMessageId() { + return messageId; } - public void setBackupPath(@javax.annotation.Nullable String backupPath) { - this.backupPath = backupPath; + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; } - public ReportPlaybackOptions maxBackupFiles(@javax.annotation.Nullable Integer maxBackupFiles) { - this.maxBackupFiles = maxBackupFiles; - return this; - } - /** - * Get maxBackupFiles - * @return maxBackupFiles + * The different kinds of messages that are used in the WebSocket api. + * @return messageType */ @javax.annotation.Nullable - public Integer getMaxBackupFiles() { - return maxBackupFiles; + public SessionMessageType getMessageType() { + return messageType; } - public void setMaxBackupFiles(@javax.annotation.Nullable Integer maxBackupFiles) { - this.maxBackupFiles = maxBackupFiles; - } @@ -134,24 +135,24 @@ public class ReportPlaybackOptions { if (o == null || getClass() != o.getClass()) { return false; } - ReportPlaybackOptions reportPlaybackOptions = (ReportPlaybackOptions) o; - return Objects.equals(this.maxDataAge, reportPlaybackOptions.maxDataAge) && - Objects.equals(this.backupPath, reportPlaybackOptions.backupPath) && - Objects.equals(this.maxBackupFiles, reportPlaybackOptions.maxBackupFiles); + ForceKeepAliveMessage forceKeepAliveMessage = (ForceKeepAliveMessage) o; + return Objects.equals(this.data, forceKeepAliveMessage.data) && + Objects.equals(this.messageId, forceKeepAliveMessage.messageId) && + Objects.equals(this.messageType, forceKeepAliveMessage.messageType); } @Override public int hashCode() { - return Objects.hash(maxDataAge, backupPath, maxBackupFiles); + return Objects.hash(data, messageId, messageType); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class ReportPlaybackOptions {\n"); - sb.append(" maxDataAge: ").append(toIndentedString(maxDataAge)).append("\n"); - sb.append(" backupPath: ").append(toIndentedString(backupPath)).append("\n"); - sb.append(" maxBackupFiles: ").append(toIndentedString(maxBackupFiles)).append("\n"); + sb.append("class ForceKeepAliveMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -174,9 +175,9 @@ public class ReportPlaybackOptions { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("MaxDataAge"); - openapiFields.add("BackupPath"); - openapiFields.add("MaxBackupFiles"); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -186,25 +187,29 @@ public class ReportPlaybackOptions { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ReportPlaybackOptions + * @throws IOException if the JSON Element is invalid with respect to ForceKeepAliveMessage */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!ReportPlaybackOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ReportPlaybackOptions is not found in the empty JSON string", ReportPlaybackOptions.openapiRequiredFields.toString())); + if (!ForceKeepAliveMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ForceKeepAliveMessage is not found in the empty JSON string", ForceKeepAliveMessage.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!ReportPlaybackOptions.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ReportPlaybackOptions` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!ForceKeepAliveMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ForceKeepAliveMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("BackupPath") != null && !jsonObj.get("BackupPath").isJsonNull()) && !jsonObj.get("BackupPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `BackupPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("BackupPath").toString())); + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); } } @@ -212,22 +217,22 @@ public class ReportPlaybackOptions { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!ReportPlaybackOptions.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ReportPlaybackOptions' and its subtypes + if (!ForceKeepAliveMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ForceKeepAliveMessage' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ReportPlaybackOptions.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ForceKeepAliveMessage.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, ReportPlaybackOptions value) throws IOException { + public void write(JsonWriter out, ForceKeepAliveMessage value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public ReportPlaybackOptions read(JsonReader in) throws IOException { + public ForceKeepAliveMessage read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -238,18 +243,18 @@ public class ReportPlaybackOptions { } /** - * Create an instance of ReportPlaybackOptions given an JSON string + * Create an instance of ForceKeepAliveMessage given an JSON string * * @param jsonString JSON string - * @return An instance of ReportPlaybackOptions - * @throws IOException if the JSON string is invalid with respect to ReportPlaybackOptions + * @return An instance of ForceKeepAliveMessage + * @throws IOException if the JSON string is invalid with respect to ForceKeepAliveMessage */ - public static ReportPlaybackOptions fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ReportPlaybackOptions.class); + public static ForceKeepAliveMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ForceKeepAliveMessage.class); } /** - * Convert an instance of ReportPlaybackOptions to an JSON string + * Convert an instance of ForceKeepAliveMessage to an JSON string * * @return JSON string */ diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordAction.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordAction.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordAction.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordAction.java index e4111001900..605d4e2aca6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordAction.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordAction.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordDto.java index d27480ae398..f0d1d3bbbaa 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Forgot Password request body DTO. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ForgotPasswordDto { public static final String SERIALIZED_NAME_ENTERED_USERNAME = "EnteredUsername"; @SerializedName(SERIALIZED_NAME_ENTERED_USERNAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordPinDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordPinDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordPinDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordPinDto.java index b35cc5e4bb9..c108b6f1770 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordPinDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordPinDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Forgot Password Pin enter request body DTO. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ForgotPasswordPinDto { public static final String SERIALIZED_NAME_PIN = "Pin"; @SerializedName(SERIALIZED_NAME_PIN) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordResult.java index d68a6c37115..87261190ddf 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordResult.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * ForgotPasswordResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ForgotPasswordResult { public static final String SERIALIZED_NAME_ACTION = "Action"; @SerializedName(SERIALIZED_NAME_ACTION) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GeneralCommand.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GeneralCommand.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GeneralCommand.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GeneralCommand.java index 6b597bbd2dd..4ddd251a2a7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GeneralCommand.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GeneralCommand.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * GeneralCommand */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class GeneralCommand { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GeneralCommandMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GeneralCommandMessage.java new file mode 100644 index 00000000000..b6b707c5043 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GeneralCommandMessage.java @@ -0,0 +1,282 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.GeneralCommand; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * General command websocket message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class GeneralCommandMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private GeneralCommand data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.GENERAL_COMMAND; + + public GeneralCommandMessage() { + } + + public GeneralCommandMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public GeneralCommandMessage data(@javax.annotation.Nullable GeneralCommand data) { + this.data = data; + return this; + } + + /** + * Gets or sets the data. + * @return data + */ + @javax.annotation.Nullable + public GeneralCommand getData() { + return data; + } + + public void setData(@javax.annotation.Nullable GeneralCommand data) { + this.data = data; + } + + + public GeneralCommandMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GeneralCommandMessage generalCommandMessage = (GeneralCommandMessage) o; + return Objects.equals(this.data, generalCommandMessage.data) && + Objects.equals(this.messageId, generalCommandMessage.messageId) && + Objects.equals(this.messageType, generalCommandMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GeneralCommandMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to GeneralCommandMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!GeneralCommandMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in GeneralCommandMessage is not found in the empty JSON string", GeneralCommandMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!GeneralCommandMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `GeneralCommandMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + GeneralCommand.validateJsonElement(jsonObj.get("Data")); + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GeneralCommandMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GeneralCommandMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(GeneralCommandMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GeneralCommandMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public GeneralCommandMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GeneralCommandMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of GeneralCommandMessage + * @throws IOException if the JSON string is invalid with respect to GeneralCommandMessage + */ + public static GeneralCommandMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GeneralCommandMessage.class); + } + + /** + * Convert an instance of GeneralCommandMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GeneralCommandType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GeneralCommandType.java similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GeneralCommandType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GeneralCommandType.java index 837b22d5d2b..ed7e5ebe636 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GeneralCommandType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GeneralCommandType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -111,7 +111,9 @@ public enum GeneralCommandType { PLAY("Play"), - SET_MAX_STREAMING_BITRATE("SetMaxStreamingBitrate"); + SET_MAX_STREAMING_BITRATE("SetMaxStreamingBitrate"), + + SET_PLAYBACK_ORDER("SetPlaybackOrder"); private String value; diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GetProgramsDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GetProgramsDto.java similarity index 93% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GetProgramsDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GetProgramsDto.java index 19cab25d65c..af6889e9b84 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GetProgramsDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GetProgramsDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -27,6 +27,7 @@ import java.util.List; import java.util.UUID; import org.openapitools.client.model.ImageType; import org.openapitools.client.model.ItemFields; +import org.openapitools.client.model.ItemSortBy; import org.openapitools.client.model.SortOrder; import org.openapitools.jackson.nullable.JsonNullable; @@ -56,12 +57,12 @@ import org.openapitools.client.JSON; /** * Get programs dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class GetProgramsDto { public static final String SERIALIZED_NAME_CHANNEL_IDS = "ChannelIds"; @SerializedName(SERIALIZED_NAME_CHANNEL_IDS) @javax.annotation.Nullable - private List channelIds = new ArrayList<>(); + private List channelIds; public static final String SERIALIZED_NAME_USER_ID = "UserId"; @SerializedName(SERIALIZED_NAME_USER_ID) @@ -136,22 +137,22 @@ public class GetProgramsDto { public static final String SERIALIZED_NAME_SORT_BY = "SortBy"; @SerializedName(SERIALIZED_NAME_SORT_BY) @javax.annotation.Nullable - private List sortBy = new ArrayList<>(); + private List sortBy; public static final String SERIALIZED_NAME_SORT_ORDER = "SortOrder"; @SerializedName(SERIALIZED_NAME_SORT_ORDER) @javax.annotation.Nullable - private List sortOrder = new ArrayList<>(); + private List sortOrder; public static final String SERIALIZED_NAME_GENRES = "Genres"; @SerializedName(SERIALIZED_NAME_GENRES) @javax.annotation.Nullable - private List genres = new ArrayList<>(); + private List genres; public static final String SERIALIZED_NAME_GENRE_IDS = "GenreIds"; @SerializedName(SERIALIZED_NAME_GENRE_IDS) @javax.annotation.Nullable - private List genreIds = new ArrayList<>(); + private List genreIds; public static final String SERIALIZED_NAME_ENABLE_IMAGES = "EnableImages"; @SerializedName(SERIALIZED_NAME_ENABLE_IMAGES) @@ -161,7 +162,7 @@ public class GetProgramsDto { public static final String SERIALIZED_NAME_ENABLE_TOTAL_RECORD_COUNT = "EnableTotalRecordCount"; @SerializedName(SERIALIZED_NAME_ENABLE_TOTAL_RECORD_COUNT) @javax.annotation.Nullable - private Boolean enableTotalRecordCount; + private Boolean enableTotalRecordCount = true; public static final String SERIALIZED_NAME_IMAGE_TYPE_LIMIT = "ImageTypeLimit"; @SerializedName(SERIALIZED_NAME_IMAGE_TYPE_LIMIT) @@ -171,7 +172,7 @@ public class GetProgramsDto { public static final String SERIALIZED_NAME_ENABLE_IMAGE_TYPES = "EnableImageTypes"; @SerializedName(SERIALIZED_NAME_ENABLE_IMAGE_TYPES) @javax.annotation.Nullable - private List enableImageTypes = new ArrayList<>(); + private List enableImageTypes; public static final String SERIALIZED_NAME_ENABLE_USER_DATA = "EnableUserData"; @SerializedName(SERIALIZED_NAME_ENABLE_USER_DATA) @@ -191,7 +192,7 @@ public class GetProgramsDto { public static final String SERIALIZED_NAME_FIELDS = "Fields"; @SerializedName(SERIALIZED_NAME_FIELDS) @javax.annotation.Nullable - private List fields = new ArrayList<>(); + private List fields; public GetProgramsDto() { } @@ -248,7 +249,7 @@ public class GetProgramsDto { } /** - * Gets or sets the minimum premiere start date. Optional. + * Gets or sets the minimum premiere start date. * @return minStartDate */ @javax.annotation.Nullable @@ -267,7 +268,7 @@ public class GetProgramsDto { } /** - * Gets or sets filter by programs that have completed airing, or not. Optional. + * Gets or sets filter by programs that have completed airing, or not. * @return hasAired */ @javax.annotation.Nullable @@ -286,7 +287,7 @@ public class GetProgramsDto { } /** - * Gets or sets filter by programs that are currently airing, or not. Optional. + * Gets or sets filter by programs that are currently airing, or not. * @return isAiring */ @javax.annotation.Nullable @@ -305,7 +306,7 @@ public class GetProgramsDto { } /** - * Gets or sets the maximum premiere start date. Optional. + * Gets or sets the maximum premiere start date. * @return maxStartDate */ @javax.annotation.Nullable @@ -324,7 +325,7 @@ public class GetProgramsDto { } /** - * Gets or sets the minimum premiere end date. Optional. + * Gets or sets the minimum premiere end date. * @return minEndDate */ @javax.annotation.Nullable @@ -343,7 +344,7 @@ public class GetProgramsDto { } /** - * Gets or sets the maximum premiere end date. Optional. + * Gets or sets the maximum premiere end date. * @return maxEndDate */ @javax.annotation.Nullable @@ -362,7 +363,7 @@ public class GetProgramsDto { } /** - * Gets or sets filter for movies. Optional. + * Gets or sets filter for movies. * @return isMovie */ @javax.annotation.Nullable @@ -381,7 +382,7 @@ public class GetProgramsDto { } /** - * Gets or sets filter for series. Optional. + * Gets or sets filter for series. * @return isSeries */ @javax.annotation.Nullable @@ -400,7 +401,7 @@ public class GetProgramsDto { } /** - * Gets or sets filter for news. Optional. + * Gets or sets filter for news. * @return isNews */ @javax.annotation.Nullable @@ -419,7 +420,7 @@ public class GetProgramsDto { } /** - * Gets or sets filter for kids. Optional. + * Gets or sets filter for kids. * @return isKids */ @javax.annotation.Nullable @@ -438,7 +439,7 @@ public class GetProgramsDto { } /** - * Gets or sets filter for sports. Optional. + * Gets or sets filter for sports. * @return isSports */ @javax.annotation.Nullable @@ -457,7 +458,7 @@ public class GetProgramsDto { } /** - * Gets or sets the record index to start at. All items with a lower index will be dropped from the results. Optional. + * Gets or sets the record index to start at. All items with a lower index will be dropped from the results. * @return startIndex */ @javax.annotation.Nullable @@ -476,7 +477,7 @@ public class GetProgramsDto { } /** - * Gets or sets the maximum number of records to return. Optional. + * Gets or sets the maximum number of records to return. * @return limit */ @javax.annotation.Nullable @@ -489,12 +490,12 @@ public class GetProgramsDto { } - public GetProgramsDto sortBy(@javax.annotation.Nullable List sortBy) { + public GetProgramsDto sortBy(@javax.annotation.Nullable List sortBy) { this.sortBy = sortBy; return this; } - public GetProgramsDto addSortByItem(String sortByItem) { + public GetProgramsDto addSortByItem(ItemSortBy sortByItem) { if (this.sortBy == null) { this.sortBy = new ArrayList<>(); } @@ -503,15 +504,15 @@ public class GetProgramsDto { } /** - * Gets or sets specify one or more sort orders, comma delimited. Options: Name, StartDate. Optional. + * Gets or sets specify one or more sort orders, comma delimited. Options: Name, StartDate. * @return sortBy */ @javax.annotation.Nullable - public List getSortBy() { + public List getSortBy() { return sortBy; } - public void setSortBy(@javax.annotation.Nullable List sortBy) { + public void setSortBy(@javax.annotation.Nullable List sortBy) { this.sortBy = sortBy; } @@ -530,7 +531,7 @@ public class GetProgramsDto { } /** - * Gets or sets sort Order - Ascending,Descending. + * Gets or sets sort order. * @return sortOrder */ @javax.annotation.Nullable @@ -603,7 +604,7 @@ public class GetProgramsDto { } /** - * Gets or sets include image information in output. Optional. + * Gets or sets include image information in output. * @return enableImages */ @javax.annotation.Nullable @@ -641,7 +642,7 @@ public class GetProgramsDto { } /** - * Gets or sets the max number of images to return, per image type. Optional. + * Gets or sets the max number of images to return, per image type. * @return imageTypeLimit */ @javax.annotation.Nullable @@ -668,7 +669,7 @@ public class GetProgramsDto { } /** - * Gets or sets the image types to include in the output. Optional. + * Gets or sets the image types to include in the output. * @return enableImageTypes */ @javax.annotation.Nullable @@ -687,7 +688,7 @@ public class GetProgramsDto { } /** - * Gets or sets include user data. Optional. + * Gets or sets include user data. * @return enableUserData */ @javax.annotation.Nullable @@ -706,7 +707,7 @@ public class GetProgramsDto { } /** - * Gets or sets filter by series timer id. Optional. + * Gets or sets filter by series timer id. * @return seriesTimerId */ @javax.annotation.Nullable @@ -725,7 +726,7 @@ public class GetProgramsDto { } /** - * Gets or sets filter by library series id. Optional. + * Gets or sets filter by library series id. * @return librarySeriesId */ @javax.annotation.Nullable @@ -752,7 +753,7 @@ public class GetProgramsDto { } /** - * Gets or sets specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. Optional. + * Gets or sets specify additional fields of information to return in the output. * @return fields */ @javax.annotation.Nullable diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GroupInfoDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupInfoDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GroupInfoDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupInfoDto.java index b5baa3d210a..a2e0aafde09 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GroupInfoDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupInfoDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * Class GroupInfoDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class GroupInfoDto { public static final String SERIALIZED_NAME_GROUP_ID = "GroupId"; @SerializedName(SERIALIZED_NAME_GROUP_ID) diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupInfoDtoGroupUpdate.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupInfoDtoGroupUpdate.java new file mode 100644 index 00000000000..cb931788708 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupInfoDtoGroupUpdate.java @@ -0,0 +1,270 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.GroupInfoDto; +import org.openapitools.client.model.GroupUpdateType; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Class GroupUpdate. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class GroupInfoDtoGroupUpdate { + public static final String SERIALIZED_NAME_GROUP_ID = "GroupId"; + @SerializedName(SERIALIZED_NAME_GROUP_ID) + @javax.annotation.Nullable + private UUID groupId; + + public static final String SERIALIZED_NAME_TYPE = "Type"; + @SerializedName(SERIALIZED_NAME_TYPE) + @javax.annotation.Nullable + private GroupUpdateType type; + + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private GroupInfoDto data; + + public GroupInfoDtoGroupUpdate() { + } + + public GroupInfoDtoGroupUpdate( + UUID groupId + ) { + this(); + this.groupId = groupId; + } + + /** + * Gets the group identifier. + * @return groupId + */ + @javax.annotation.Nullable + public UUID getGroupId() { + return groupId; + } + + + + public GroupInfoDtoGroupUpdate type(@javax.annotation.Nullable GroupUpdateType type) { + this.type = type; + return this; + } + + /** + * Gets the update type. + * @return type + */ + @javax.annotation.Nullable + public GroupUpdateType getType() { + return type; + } + + public void setType(@javax.annotation.Nullable GroupUpdateType type) { + this.type = type; + } + + + public GroupInfoDtoGroupUpdate data(@javax.annotation.Nullable GroupInfoDto data) { + this.data = data; + return this; + } + + /** + * Gets the update data. + * @return data + */ + @javax.annotation.Nullable + public GroupInfoDto getData() { + return data; + } + + public void setData(@javax.annotation.Nullable GroupInfoDto data) { + this.data = data; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GroupInfoDtoGroupUpdate groupInfoDtoGroupUpdate = (GroupInfoDtoGroupUpdate) o; + return Objects.equals(this.groupId, groupInfoDtoGroupUpdate.groupId) && + Objects.equals(this.type, groupInfoDtoGroupUpdate.type) && + Objects.equals(this.data, groupInfoDtoGroupUpdate.data); + } + + @Override + public int hashCode() { + return Objects.hash(groupId, type, data); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GroupInfoDtoGroupUpdate {\n"); + sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("GroupId"); + openapiFields.add("Type"); + openapiFields.add("Data"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to GroupInfoDtoGroupUpdate + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!GroupInfoDtoGroupUpdate.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in GroupInfoDtoGroupUpdate is not found in the empty JSON string", GroupInfoDtoGroupUpdate.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!GroupInfoDtoGroupUpdate.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `GroupInfoDtoGroupUpdate` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("GroupId") != null && !jsonObj.get("GroupId").isJsonNull()) && !jsonObj.get("GroupId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `GroupId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("GroupId").toString())); + } + // validate the optional field `Type` + if (jsonObj.get("Type") != null && !jsonObj.get("Type").isJsonNull()) { + GroupUpdateType.validateJsonElement(jsonObj.get("Type")); + } + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + GroupInfoDto.validateJsonElement(jsonObj.get("Data")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GroupInfoDtoGroupUpdate.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GroupInfoDtoGroupUpdate' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(GroupInfoDtoGroupUpdate.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GroupInfoDtoGroupUpdate value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public GroupInfoDtoGroupUpdate read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GroupInfoDtoGroupUpdate given an JSON string + * + * @param jsonString JSON string + * @return An instance of GroupInfoDtoGroupUpdate + * @throws IOException if the JSON string is invalid with respect to GroupInfoDtoGroupUpdate + */ + public static GroupInfoDtoGroupUpdate fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GroupInfoDtoGroupUpdate.class); + } + + /** + * Convert an instance of GroupInfoDtoGroupUpdate to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GroupQueueMode.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupQueueMode.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GroupQueueMode.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupQueueMode.java index 79bbf5b49e6..8b32b7d463f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GroupQueueMode.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupQueueMode.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GroupRepeatMode.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupRepeatMode.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GroupRepeatMode.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupRepeatMode.java index 53d189c5692..1f1ffb9e389 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GroupRepeatMode.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupRepeatMode.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GroupShuffleMode.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupShuffleMode.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GroupShuffleMode.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupShuffleMode.java index 955f5488ff9..01a889f86a5 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GroupShuffleMode.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupShuffleMode.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GroupStateType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupStateType.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GroupStateType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupStateType.java index 8a78d63a132..6c6bff1fbb3 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GroupStateType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupStateType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupStateUpdate.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupStateUpdate.java new file mode 100644 index 00000000000..10781190278 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupStateUpdate.java @@ -0,0 +1,240 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.openapitools.client.model.GroupStateType; +import org.openapitools.client.model.PlaybackRequestType; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Class GroupStateUpdate. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class GroupStateUpdate { + public static final String SERIALIZED_NAME_STATE = "State"; + @SerializedName(SERIALIZED_NAME_STATE) + @javax.annotation.Nullable + private GroupStateType state; + + public static final String SERIALIZED_NAME_REASON = "Reason"; + @SerializedName(SERIALIZED_NAME_REASON) + @javax.annotation.Nullable + private PlaybackRequestType reason; + + public GroupStateUpdate() { + } + + public GroupStateUpdate state(@javax.annotation.Nullable GroupStateType state) { + this.state = state; + return this; + } + + /** + * Gets the state of the group. + * @return state + */ + @javax.annotation.Nullable + public GroupStateType getState() { + return state; + } + + public void setState(@javax.annotation.Nullable GroupStateType state) { + this.state = state; + } + + + public GroupStateUpdate reason(@javax.annotation.Nullable PlaybackRequestType reason) { + this.reason = reason; + return this; + } + + /** + * Gets the reason of the state change. + * @return reason + */ + @javax.annotation.Nullable + public PlaybackRequestType getReason() { + return reason; + } + + public void setReason(@javax.annotation.Nullable PlaybackRequestType reason) { + this.reason = reason; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GroupStateUpdate groupStateUpdate = (GroupStateUpdate) o; + return Objects.equals(this.state, groupStateUpdate.state) && + Objects.equals(this.reason, groupStateUpdate.reason); + } + + @Override + public int hashCode() { + return Objects.hash(state, reason); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GroupStateUpdate {\n"); + sb.append(" state: ").append(toIndentedString(state)).append("\n"); + sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("State"); + openapiFields.add("Reason"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to GroupStateUpdate + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!GroupStateUpdate.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in GroupStateUpdate is not found in the empty JSON string", GroupStateUpdate.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!GroupStateUpdate.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `GroupStateUpdate` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `State` + if (jsonObj.get("State") != null && !jsonObj.get("State").isJsonNull()) { + GroupStateType.validateJsonElement(jsonObj.get("State")); + } + // validate the optional field `Reason` + if (jsonObj.get("Reason") != null && !jsonObj.get("Reason").isJsonNull()) { + PlaybackRequestType.validateJsonElement(jsonObj.get("Reason")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GroupStateUpdate.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GroupStateUpdate' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(GroupStateUpdate.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GroupStateUpdate value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public GroupStateUpdate read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GroupStateUpdate given an JSON string + * + * @param jsonString JSON string + * @return An instance of GroupStateUpdate + * @throws IOException if the JSON string is invalid with respect to GroupStateUpdate + */ + public static GroupStateUpdate fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GroupStateUpdate.class); + } + + /** + * Convert an instance of GroupStateUpdate to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupStateUpdateGroupUpdate.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupStateUpdateGroupUpdate.java new file mode 100644 index 00000000000..9a3f7db02e7 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupStateUpdateGroupUpdate.java @@ -0,0 +1,270 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.GroupStateUpdate; +import org.openapitools.client.model.GroupUpdateType; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Class GroupUpdate. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class GroupStateUpdateGroupUpdate { + public static final String SERIALIZED_NAME_GROUP_ID = "GroupId"; + @SerializedName(SERIALIZED_NAME_GROUP_ID) + @javax.annotation.Nullable + private UUID groupId; + + public static final String SERIALIZED_NAME_TYPE = "Type"; + @SerializedName(SERIALIZED_NAME_TYPE) + @javax.annotation.Nullable + private GroupUpdateType type; + + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private GroupStateUpdate data; + + public GroupStateUpdateGroupUpdate() { + } + + public GroupStateUpdateGroupUpdate( + UUID groupId + ) { + this(); + this.groupId = groupId; + } + + /** + * Gets the group identifier. + * @return groupId + */ + @javax.annotation.Nullable + public UUID getGroupId() { + return groupId; + } + + + + public GroupStateUpdateGroupUpdate type(@javax.annotation.Nullable GroupUpdateType type) { + this.type = type; + return this; + } + + /** + * Gets the update type. + * @return type + */ + @javax.annotation.Nullable + public GroupUpdateType getType() { + return type; + } + + public void setType(@javax.annotation.Nullable GroupUpdateType type) { + this.type = type; + } + + + public GroupStateUpdateGroupUpdate data(@javax.annotation.Nullable GroupStateUpdate data) { + this.data = data; + return this; + } + + /** + * Gets the update data. + * @return data + */ + @javax.annotation.Nullable + public GroupStateUpdate getData() { + return data; + } + + public void setData(@javax.annotation.Nullable GroupStateUpdate data) { + this.data = data; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GroupStateUpdateGroupUpdate groupStateUpdateGroupUpdate = (GroupStateUpdateGroupUpdate) o; + return Objects.equals(this.groupId, groupStateUpdateGroupUpdate.groupId) && + Objects.equals(this.type, groupStateUpdateGroupUpdate.type) && + Objects.equals(this.data, groupStateUpdateGroupUpdate.data); + } + + @Override + public int hashCode() { + return Objects.hash(groupId, type, data); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GroupStateUpdateGroupUpdate {\n"); + sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("GroupId"); + openapiFields.add("Type"); + openapiFields.add("Data"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to GroupStateUpdateGroupUpdate + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!GroupStateUpdateGroupUpdate.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in GroupStateUpdateGroupUpdate is not found in the empty JSON string", GroupStateUpdateGroupUpdate.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!GroupStateUpdateGroupUpdate.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `GroupStateUpdateGroupUpdate` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("GroupId") != null && !jsonObj.get("GroupId").isJsonNull()) && !jsonObj.get("GroupId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `GroupId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("GroupId").toString())); + } + // validate the optional field `Type` + if (jsonObj.get("Type") != null && !jsonObj.get("Type").isJsonNull()) { + GroupUpdateType.validateJsonElement(jsonObj.get("Type")); + } + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + GroupStateUpdate.validateJsonElement(jsonObj.get("Data")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GroupStateUpdateGroupUpdate.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GroupStateUpdateGroupUpdate' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(GroupStateUpdateGroupUpdate.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GroupStateUpdateGroupUpdate value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public GroupStateUpdateGroupUpdate read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GroupStateUpdateGroupUpdate given an JSON string + * + * @param jsonString JSON string + * @return An instance of GroupStateUpdateGroupUpdate + * @throws IOException if the JSON string is invalid with respect to GroupStateUpdateGroupUpdate + */ + public static GroupStateUpdateGroupUpdate fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GroupStateUpdateGroupUpdate.class); + } + + /** + * Convert an instance of GroupStateUpdateGroupUpdate to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupUpdate.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupUpdate.java new file mode 100644 index 00000000000..0bfe579dbb6 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupUpdate.java @@ -0,0 +1,368 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.GroupInfoDtoGroupUpdate; +import org.openapitools.client.model.GroupStateUpdateGroupUpdate; +import org.openapitools.client.model.GroupUpdateType; +import org.openapitools.client.model.PlayQueueUpdate; +import org.openapitools.client.model.PlayQueueUpdateGroupUpdate; +import org.openapitools.client.model.StringGroupUpdate; + + + +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapter; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.JsonPrimitive; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonArray; +import com.google.gson.JsonParseException; + +import org.openapitools.client.JSON; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class GroupUpdate extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(GroupUpdate.class.getName()); + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GroupUpdate.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GroupUpdate' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter adapterGroupInfoDtoGroupUpdate = gson.getDelegateAdapter(this, TypeToken.get(GroupInfoDtoGroupUpdate.class)); + final TypeAdapter adapterGroupStateUpdateGroupUpdate = gson.getDelegateAdapter(this, TypeToken.get(GroupStateUpdateGroupUpdate.class)); + final TypeAdapter adapterStringGroupUpdate = gson.getDelegateAdapter(this, TypeToken.get(StringGroupUpdate.class)); + final TypeAdapter adapterPlayQueueUpdateGroupUpdate = gson.getDelegateAdapter(this, TypeToken.get(PlayQueueUpdateGroupUpdate.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GroupUpdate value) throws IOException { + if (value == null || value.getActualInstance() == null) { + elementAdapter.write(out, null); + return; + } + + // check if the actual instance is of the type `GroupInfoDtoGroupUpdate` + if (value.getActualInstance() instanceof GroupInfoDtoGroupUpdate) { + JsonElement element = adapterGroupInfoDtoGroupUpdate.toJsonTree((GroupInfoDtoGroupUpdate)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `GroupStateUpdateGroupUpdate` + if (value.getActualInstance() instanceof GroupStateUpdateGroupUpdate) { + JsonElement element = adapterGroupStateUpdateGroupUpdate.toJsonTree((GroupStateUpdateGroupUpdate)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `StringGroupUpdate` + if (value.getActualInstance() instanceof StringGroupUpdate) { + JsonElement element = adapterStringGroupUpdate.toJsonTree((StringGroupUpdate)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `PlayQueueUpdateGroupUpdate` + if (value.getActualInstance() instanceof PlayQueueUpdateGroupUpdate) { + JsonElement element = adapterPlayQueueUpdateGroupUpdate.toJsonTree((PlayQueueUpdateGroupUpdate)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + throw new IOException("Failed to serialize as the type doesn't match oneOf schemas: GroupInfoDtoGroupUpdate, GroupStateUpdateGroupUpdate, PlayQueueUpdateGroupUpdate, StringGroupUpdate"); + } + + @Override + public GroupUpdate read(JsonReader in) throws IOException { + Object deserialized = null; + JsonElement jsonElement = elementAdapter.read(in); + + int match = 0; + ArrayList errorMessages = new ArrayList<>(); + TypeAdapter actualAdapter = elementAdapter; + + // deserialize GroupInfoDtoGroupUpdate + try { + // validate the JSON object to see if any exception is thrown + GroupInfoDtoGroupUpdate.validateJsonElement(jsonElement); + actualAdapter = adapterGroupInfoDtoGroupUpdate; + match++; + log.log(Level.FINER, "Input data matches schema 'GroupInfoDtoGroupUpdate'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for GroupInfoDtoGroupUpdate failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'GroupInfoDtoGroupUpdate'", e); + } + // deserialize GroupStateUpdateGroupUpdate + try { + // validate the JSON object to see if any exception is thrown + GroupStateUpdateGroupUpdate.validateJsonElement(jsonElement); + actualAdapter = adapterGroupStateUpdateGroupUpdate; + match++; + log.log(Level.FINER, "Input data matches schema 'GroupStateUpdateGroupUpdate'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for GroupStateUpdateGroupUpdate failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'GroupStateUpdateGroupUpdate'", e); + } + // deserialize StringGroupUpdate + try { + // validate the JSON object to see if any exception is thrown + StringGroupUpdate.validateJsonElement(jsonElement); + actualAdapter = adapterStringGroupUpdate; + match++; + log.log(Level.FINER, "Input data matches schema 'StringGroupUpdate'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for StringGroupUpdate failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'StringGroupUpdate'", e); + } + // deserialize PlayQueueUpdateGroupUpdate + try { + // validate the JSON object to see if any exception is thrown + PlayQueueUpdateGroupUpdate.validateJsonElement(jsonElement); + actualAdapter = adapterPlayQueueUpdateGroupUpdate; + match++; + log.log(Level.FINER, "Input data matches schema 'PlayQueueUpdateGroupUpdate'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for PlayQueueUpdateGroupUpdate failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'PlayQueueUpdateGroupUpdate'", e); + } + + if (match == 1) { + GroupUpdate ret = new GroupUpdate(); + ret.setActualInstance(actualAdapter.fromJsonTree(jsonElement)); + return ret; + } + + throw new IOException(String.format("Failed deserialization for GroupUpdate: %d classes match result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", match, errorMessages, jsonElement.toString())); + } + }.nullSafe(); + } + } + + // store a list of schema names defined in oneOf + public static final Map> schemas = new HashMap>(); + + public GroupUpdate() { + super("oneOf", Boolean.FALSE); + } + + public GroupUpdate(Object o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + static { + schemas.put("GroupInfoDtoGroupUpdate", GroupInfoDtoGroupUpdate.class); + schemas.put("GroupStateUpdateGroupUpdate", GroupStateUpdateGroupUpdate.class); + schemas.put("StringGroupUpdate", StringGroupUpdate.class); + schemas.put("PlayQueueUpdateGroupUpdate", PlayQueueUpdateGroupUpdate.class); + } + + @Override + public Map> getSchemas() { + return GroupUpdate.schemas; + } + + /** + * Set the instance that matches the oneOf child schema, check + * the instance parameter is valid against the oneOf child schemas: + * GroupInfoDtoGroupUpdate, GroupStateUpdateGroupUpdate, PlayQueueUpdateGroupUpdate, StringGroupUpdate + * + * It could be an instance of the 'oneOf' schemas. + */ + @Override + public void setActualInstance(Object instance) { + if (instance instanceof GroupInfoDtoGroupUpdate) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof GroupStateUpdateGroupUpdate) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof StringGroupUpdate) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof PlayQueueUpdateGroupUpdate) { + super.setActualInstance(instance); + return; + } + + throw new RuntimeException("Invalid instance type. Must be GroupInfoDtoGroupUpdate, GroupStateUpdateGroupUpdate, PlayQueueUpdateGroupUpdate, StringGroupUpdate"); + } + + /** + * Get the actual instance, which can be the following: + * GroupInfoDtoGroupUpdate, GroupStateUpdateGroupUpdate, PlayQueueUpdateGroupUpdate, StringGroupUpdate + * + * @return The actual instance (GroupInfoDtoGroupUpdate, GroupStateUpdateGroupUpdate, PlayQueueUpdateGroupUpdate, StringGroupUpdate) + */ + @SuppressWarnings("unchecked") + @Override + public Object getActualInstance() { + return super.getActualInstance(); + } + + /** + * Get the actual instance of `GroupInfoDtoGroupUpdate`. If the actual instance is not `GroupInfoDtoGroupUpdate`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `GroupInfoDtoGroupUpdate` + * @throws ClassCastException if the instance is not `GroupInfoDtoGroupUpdate` + */ + public GroupInfoDtoGroupUpdate getGroupInfoDtoGroupUpdate() throws ClassCastException { + return (GroupInfoDtoGroupUpdate)super.getActualInstance(); + } + + /** + * Get the actual instance of `GroupStateUpdateGroupUpdate`. If the actual instance is not `GroupStateUpdateGroupUpdate`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `GroupStateUpdateGroupUpdate` + * @throws ClassCastException if the instance is not `GroupStateUpdateGroupUpdate` + */ + public GroupStateUpdateGroupUpdate getGroupStateUpdateGroupUpdate() throws ClassCastException { + return (GroupStateUpdateGroupUpdate)super.getActualInstance(); + } + + /** + * Get the actual instance of `StringGroupUpdate`. If the actual instance is not `StringGroupUpdate`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `StringGroupUpdate` + * @throws ClassCastException if the instance is not `StringGroupUpdate` + */ + public StringGroupUpdate getStringGroupUpdate() throws ClassCastException { + return (StringGroupUpdate)super.getActualInstance(); + } + + /** + * Get the actual instance of `PlayQueueUpdateGroupUpdate`. If the actual instance is not `PlayQueueUpdateGroupUpdate`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `PlayQueueUpdateGroupUpdate` + * @throws ClassCastException if the instance is not `PlayQueueUpdateGroupUpdate` + */ + public PlayQueueUpdateGroupUpdate getPlayQueueUpdateGroupUpdate() throws ClassCastException { + return (PlayQueueUpdateGroupUpdate)super.getActualInstance(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to GroupUpdate + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + // validate oneOf schemas one by one + int validCount = 0; + ArrayList errorMessages = new ArrayList<>(); + // validate the json string with GroupInfoDtoGroupUpdate + try { + GroupInfoDtoGroupUpdate.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for GroupInfoDtoGroupUpdate failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with GroupStateUpdateGroupUpdate + try { + GroupStateUpdateGroupUpdate.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for GroupStateUpdateGroupUpdate failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with StringGroupUpdate + try { + StringGroupUpdate.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for StringGroupUpdate failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with PlayQueueUpdateGroupUpdate + try { + PlayQueueUpdateGroupUpdate.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for PlayQueueUpdateGroupUpdate failed with `%s`.", e.getMessage())); + // continue to the next one + } + if (validCount != 1) { + throw new IOException(String.format("The JSON string is invalid for GroupUpdate with oneOf schemas: GroupInfoDtoGroupUpdate, GroupStateUpdateGroupUpdate, PlayQueueUpdateGroupUpdate, StringGroupUpdate. %d class(es) match the result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", validCount, errorMessages, jsonElement.toString())); + } + } + + /** + * Create an instance of GroupUpdate given an JSON string + * + * @param jsonString JSON string + * @return An instance of GroupUpdate + * @throws IOException if the JSON string is invalid with respect to GroupUpdate + */ + public static GroupUpdate fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GroupUpdate.class); + } + + /** + * Convert an instance of GroupUpdate to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GroupUpdateType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupUpdateType.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GroupUpdateType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupUpdateType.java index c18a83d6b3d..8e60d1cc05c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GroupUpdateType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GroupUpdateType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GuideInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GuideInfo.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GuideInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GuideInfo.java index 2caf700901b..7598e7e1bdb 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GuideInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/GuideInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * GuideInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class GuideInfo { public static final String SERIALIZED_NAME_START_DATE = "StartDate"; @SerializedName(SERIALIZED_NAME_START_DATE) diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/HardwareAccelerationType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/HardwareAccelerationType.java new file mode 100644 index 00000000000..40828d2fa04 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/HardwareAccelerationType.java @@ -0,0 +1,90 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.JsonElement; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Enum containing hardware acceleration types. + */ +@JsonAdapter(HardwareAccelerationType.Adapter.class) +public enum HardwareAccelerationType { + + NONE("none"), + + AMF("amf"), + + QSV("qsv"), + + NVENC("nvenc"), + + V4L2M2M("v4l2m2m"), + + VAAPI("vaapi"), + + VIDEOTOOLBOX("videotoolbox"), + + RKMPP("rkmpp"); + + private String value; + + HardwareAccelerationType(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static HardwareAccelerationType fromValue(String value) { + for (HardwareAccelerationType b : HardwareAccelerationType.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final HardwareAccelerationType enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public HardwareAccelerationType read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return HardwareAccelerationType.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + HardwareAccelerationType.fromValue(value); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/IPlugin.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/IPlugin.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/IPlugin.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/IPlugin.java index 0e79a9e8cc2..145072670b0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/IPlugin.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/IPlugin.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Defines the MediaBrowser.Common.Plugins.IPlugin. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class IPlugin { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/IgnoreWaitRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/IgnoreWaitRequestDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/IgnoreWaitRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/IgnoreWaitRequestDto.java index b48cd65c0f4..4a626abc6db 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/IgnoreWaitRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/IgnoreWaitRequestDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Class IgnoreWaitRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class IgnoreWaitRequestDto { public static final String SERIALIZED_NAME_IGNORE_WAIT = "IgnoreWait"; @SerializedName(SERIALIZED_NAME_IGNORE_WAIT) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageFormat.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageFormat.java similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageFormat.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageFormat.java index 78543496c0b..b5d62ab510b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageFormat.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageFormat.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -37,7 +37,9 @@ public enum ImageFormat { PNG("Png"), - WEBP("Webp"); + WEBP("Webp"), + + SVG("Svg"); private String value; diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageInfo.java index a8a8d5b7f90..2b8358e43b0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Class ImageInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ImageInfo { public static final String SERIALIZED_NAME_IMAGE_TYPE = "ImageType"; @SerializedName(SERIALIZED_NAME_IMAGE_TYPE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageOption.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageOption.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageOption.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageOption.java index 982369e0530..8d118434923 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageOption.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageOption.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * ImageOption */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ImageOption { public static final String SERIALIZED_NAME_TYPE = "Type"; @SerializedName(SERIALIZED_NAME_TYPE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageOrientation.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageOrientation.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageOrientation.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageOrientation.java index 8b30e3d956d..560e7512b4f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageOrientation.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageOrientation.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageProviderInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageProviderInfo.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageProviderInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageProviderInfo.java index b6c87ddb94e..caabed78d6c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageProviderInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageProviderInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class ImageProviderInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ImageProviderInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportFieldType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageResolution.java similarity index 62% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportFieldType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageResolution.java index f6f83c32ae8..207847229d4 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportFieldType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageResolution.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,32 +24,32 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; /** - * Gets or Sets ReportFieldType + * Enum ImageResolution. */ -@JsonAdapter(ReportFieldType.Adapter.class) -public enum ReportFieldType { +@JsonAdapter(ImageResolution.Adapter.class) +public enum ImageResolution { - STRING("String"), + MATCH_SOURCE("MatchSource"), - BOOLEAN("Boolean"), + P144("P144"), - DATE("Date"), + P240("P240"), - TIME("Time"), + P360("P360"), - DATE_TIME("DateTime"), + P480("P480"), - INT("Int"), + P720("P720"), - IMAGE("Image"), + P1080("P1080"), - OBJECT("Object"), + P1440("P1440"), - MINUTES("Minutes"); + P2160("P2160"); private String value; - ReportFieldType(String value) { + ImageResolution(String value) { this.value = value; } @@ -62,8 +62,8 @@ public enum ReportFieldType { return String.valueOf(value); } - public static ReportFieldType fromValue(String value) { - for (ReportFieldType b : ReportFieldType.values()) { + public static ImageResolution fromValue(String value) { + for (ImageResolution b : ImageResolution.values()) { if (b.value.equals(value)) { return b; } @@ -71,22 +71,22 @@ public enum ReportFieldType { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - public static class Adapter extends TypeAdapter { + public static class Adapter extends TypeAdapter { @Override - public void write(final JsonWriter jsonWriter, final ReportFieldType enumeration) throws IOException { + public void write(final JsonWriter jsonWriter, final ImageResolution enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override - public ReportFieldType read(final JsonReader jsonReader) throws IOException { + public ImageResolution read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); - return ReportFieldType.fromValue(value); + return ImageResolution.fromValue(value); } } public static void validateJsonElement(JsonElement jsonElement) throws IOException { String value = jsonElement.getAsString(); - ReportFieldType.fromValue(value); + ImageResolution.fromValue(value); } } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageSavingConvention.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageSavingConvention.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageSavingConvention.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageSavingConvention.java index 90d06c0e993..03a22f21ca5 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageSavingConvention.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageSavingConvention.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageType.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageType.java index e8c4d6f65b0..0fd53a553df 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ImageType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/InboundKeepAliveMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/InboundKeepAliveMessage.java new file mode 100644 index 00000000000..95032febf0c --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/InboundKeepAliveMessage.java @@ -0,0 +1,207 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.openapitools.client.model.SessionMessageType; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Keep alive websocket messages. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class InboundKeepAliveMessage { + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.KEEP_ALIVE; + + public InboundKeepAliveMessage() { + } + + public InboundKeepAliveMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InboundKeepAliveMessage inboundKeepAliveMessage = (InboundKeepAliveMessage) o; + return Objects.equals(this.messageType, inboundKeepAliveMessage.messageType); + } + + @Override + public int hashCode() { + return Objects.hash(messageType); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InboundKeepAliveMessage {\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to InboundKeepAliveMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!InboundKeepAliveMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in InboundKeepAliveMessage is not found in the empty JSON string", InboundKeepAliveMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!InboundKeepAliveMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `InboundKeepAliveMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!InboundKeepAliveMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'InboundKeepAliveMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(InboundKeepAliveMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, InboundKeepAliveMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public InboundKeepAliveMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of InboundKeepAliveMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of InboundKeepAliveMessage + * @throws IOException if the JSON string is invalid with respect to InboundKeepAliveMessage + */ + public static InboundKeepAliveMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, InboundKeepAliveMessage.class); + } + + /** + * Convert an instance of InboundKeepAliveMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/InboundWebSocketMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/InboundWebSocketMessage.java new file mode 100644 index 00000000000..4038a5cdafc --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/InboundWebSocketMessage.java @@ -0,0 +1,502 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.openapitools.client.model.ActivityLogEntryStartMessage; +import org.openapitools.client.model.ActivityLogEntryStopMessage; +import org.openapitools.client.model.InboundKeepAliveMessage; +import org.openapitools.client.model.ScheduledTasksInfoStartMessage; +import org.openapitools.client.model.ScheduledTasksInfoStopMessage; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.client.model.SessionsStartMessage; +import org.openapitools.client.model.SessionsStopMessage; +import org.openapitools.jackson.nullable.JsonNullable; + + + +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapter; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.JsonPrimitive; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonArray; +import com.google.gson.JsonParseException; + +import org.openapitools.client.JSON; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class InboundWebSocketMessage extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(InboundWebSocketMessage.class.getName()); + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!InboundWebSocketMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'InboundWebSocketMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter adapterActivityLogEntryStartMessage = gson.getDelegateAdapter(this, TypeToken.get(ActivityLogEntryStartMessage.class)); + final TypeAdapter adapterActivityLogEntryStopMessage = gson.getDelegateAdapter(this, TypeToken.get(ActivityLogEntryStopMessage.class)); + final TypeAdapter adapterInboundKeepAliveMessage = gson.getDelegateAdapter(this, TypeToken.get(InboundKeepAliveMessage.class)); + final TypeAdapter adapterScheduledTasksInfoStartMessage = gson.getDelegateAdapter(this, TypeToken.get(ScheduledTasksInfoStartMessage.class)); + final TypeAdapter adapterScheduledTasksInfoStopMessage = gson.getDelegateAdapter(this, TypeToken.get(ScheduledTasksInfoStopMessage.class)); + final TypeAdapter adapterSessionsStartMessage = gson.getDelegateAdapter(this, TypeToken.get(SessionsStartMessage.class)); + final TypeAdapter adapterSessionsStopMessage = gson.getDelegateAdapter(this, TypeToken.get(SessionsStopMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, InboundWebSocketMessage value) throws IOException { + if (value == null || value.getActualInstance() == null) { + elementAdapter.write(out, null); + return; + } + + // check if the actual instance is of the type `ActivityLogEntryStartMessage` + if (value.getActualInstance() instanceof ActivityLogEntryStartMessage) { + JsonElement element = adapterActivityLogEntryStartMessage.toJsonTree((ActivityLogEntryStartMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `ActivityLogEntryStopMessage` + if (value.getActualInstance() instanceof ActivityLogEntryStopMessage) { + JsonElement element = adapterActivityLogEntryStopMessage.toJsonTree((ActivityLogEntryStopMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `InboundKeepAliveMessage` + if (value.getActualInstance() instanceof InboundKeepAliveMessage) { + JsonElement element = adapterInboundKeepAliveMessage.toJsonTree((InboundKeepAliveMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `ScheduledTasksInfoStartMessage` + if (value.getActualInstance() instanceof ScheduledTasksInfoStartMessage) { + JsonElement element = adapterScheduledTasksInfoStartMessage.toJsonTree((ScheduledTasksInfoStartMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `ScheduledTasksInfoStopMessage` + if (value.getActualInstance() instanceof ScheduledTasksInfoStopMessage) { + JsonElement element = adapterScheduledTasksInfoStopMessage.toJsonTree((ScheduledTasksInfoStopMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `SessionsStartMessage` + if (value.getActualInstance() instanceof SessionsStartMessage) { + JsonElement element = adapterSessionsStartMessage.toJsonTree((SessionsStartMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `SessionsStopMessage` + if (value.getActualInstance() instanceof SessionsStopMessage) { + JsonElement element = adapterSessionsStopMessage.toJsonTree((SessionsStopMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + throw new IOException("Failed to serialize as the type doesn't match oneOf schemas: ActivityLogEntryStartMessage, ActivityLogEntryStopMessage, InboundKeepAliveMessage, ScheduledTasksInfoStartMessage, ScheduledTasksInfoStopMessage, SessionsStartMessage, SessionsStopMessage"); + } + + @Override + public InboundWebSocketMessage read(JsonReader in) throws IOException { + Object deserialized = null; + JsonElement jsonElement = elementAdapter.read(in); + + int match = 0; + ArrayList errorMessages = new ArrayList<>(); + TypeAdapter actualAdapter = elementAdapter; + + // deserialize ActivityLogEntryStartMessage + try { + // validate the JSON object to see if any exception is thrown + ActivityLogEntryStartMessage.validateJsonElement(jsonElement); + actualAdapter = adapterActivityLogEntryStartMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'ActivityLogEntryStartMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for ActivityLogEntryStartMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'ActivityLogEntryStartMessage'", e); + } + // deserialize ActivityLogEntryStopMessage + try { + // validate the JSON object to see if any exception is thrown + ActivityLogEntryStopMessage.validateJsonElement(jsonElement); + actualAdapter = adapterActivityLogEntryStopMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'ActivityLogEntryStopMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for ActivityLogEntryStopMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'ActivityLogEntryStopMessage'", e); + } + // deserialize InboundKeepAliveMessage + try { + // validate the JSON object to see if any exception is thrown + InboundKeepAliveMessage.validateJsonElement(jsonElement); + actualAdapter = adapterInboundKeepAliveMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'InboundKeepAliveMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for InboundKeepAliveMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'InboundKeepAliveMessage'", e); + } + // deserialize ScheduledTasksInfoStartMessage + try { + // validate the JSON object to see if any exception is thrown + ScheduledTasksInfoStartMessage.validateJsonElement(jsonElement); + actualAdapter = adapterScheduledTasksInfoStartMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'ScheduledTasksInfoStartMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for ScheduledTasksInfoStartMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'ScheduledTasksInfoStartMessage'", e); + } + // deserialize ScheduledTasksInfoStopMessage + try { + // validate the JSON object to see if any exception is thrown + ScheduledTasksInfoStopMessage.validateJsonElement(jsonElement); + actualAdapter = adapterScheduledTasksInfoStopMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'ScheduledTasksInfoStopMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for ScheduledTasksInfoStopMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'ScheduledTasksInfoStopMessage'", e); + } + // deserialize SessionsStartMessage + try { + // validate the JSON object to see if any exception is thrown + SessionsStartMessage.validateJsonElement(jsonElement); + actualAdapter = adapterSessionsStartMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'SessionsStartMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for SessionsStartMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'SessionsStartMessage'", e); + } + // deserialize SessionsStopMessage + try { + // validate the JSON object to see if any exception is thrown + SessionsStopMessage.validateJsonElement(jsonElement); + actualAdapter = adapterSessionsStopMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'SessionsStopMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for SessionsStopMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'SessionsStopMessage'", e); + } + + if (match == 1) { + InboundWebSocketMessage ret = new InboundWebSocketMessage(); + ret.setActualInstance(actualAdapter.fromJsonTree(jsonElement)); + return ret; + } + + throw new IOException(String.format("Failed deserialization for InboundWebSocketMessage: %d classes match result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", match, errorMessages, jsonElement.toString())); + } + }.nullSafe(); + } + } + + // store a list of schema names defined in oneOf + public static final Map> schemas = new HashMap>(); + + public InboundWebSocketMessage() { + super("oneOf", Boolean.FALSE); + } + + public InboundWebSocketMessage(Object o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + static { + schemas.put("ActivityLogEntryStartMessage", ActivityLogEntryStartMessage.class); + schemas.put("ActivityLogEntryStopMessage", ActivityLogEntryStopMessage.class); + schemas.put("InboundKeepAliveMessage", InboundKeepAliveMessage.class); + schemas.put("ScheduledTasksInfoStartMessage", ScheduledTasksInfoStartMessage.class); + schemas.put("ScheduledTasksInfoStopMessage", ScheduledTasksInfoStopMessage.class); + schemas.put("SessionsStartMessage", SessionsStartMessage.class); + schemas.put("SessionsStopMessage", SessionsStopMessage.class); + } + + @Override + public Map> getSchemas() { + return InboundWebSocketMessage.schemas; + } + + /** + * Set the instance that matches the oneOf child schema, check + * the instance parameter is valid against the oneOf child schemas: + * ActivityLogEntryStartMessage, ActivityLogEntryStopMessage, InboundKeepAliveMessage, ScheduledTasksInfoStartMessage, ScheduledTasksInfoStopMessage, SessionsStartMessage, SessionsStopMessage + * + * It could be an instance of the 'oneOf' schemas. + */ + @Override + public void setActualInstance(Object instance) { + if (instance instanceof ActivityLogEntryStartMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof ActivityLogEntryStopMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof InboundKeepAliveMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof ScheduledTasksInfoStartMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof ScheduledTasksInfoStopMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof SessionsStartMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof SessionsStopMessage) { + super.setActualInstance(instance); + return; + } + + throw new RuntimeException("Invalid instance type. Must be ActivityLogEntryStartMessage, ActivityLogEntryStopMessage, InboundKeepAliveMessage, ScheduledTasksInfoStartMessage, ScheduledTasksInfoStopMessage, SessionsStartMessage, SessionsStopMessage"); + } + + /** + * Get the actual instance, which can be the following: + * ActivityLogEntryStartMessage, ActivityLogEntryStopMessage, InboundKeepAliveMessage, ScheduledTasksInfoStartMessage, ScheduledTasksInfoStopMessage, SessionsStartMessage, SessionsStopMessage + * + * @return The actual instance (ActivityLogEntryStartMessage, ActivityLogEntryStopMessage, InboundKeepAliveMessage, ScheduledTasksInfoStartMessage, ScheduledTasksInfoStopMessage, SessionsStartMessage, SessionsStopMessage) + */ + @SuppressWarnings("unchecked") + @Override + public Object getActualInstance() { + return super.getActualInstance(); + } + + /** + * Get the actual instance of `ActivityLogEntryStartMessage`. If the actual instance is not `ActivityLogEntryStartMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `ActivityLogEntryStartMessage` + * @throws ClassCastException if the instance is not `ActivityLogEntryStartMessage` + */ + public ActivityLogEntryStartMessage getActivityLogEntryStartMessage() throws ClassCastException { + return (ActivityLogEntryStartMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `ActivityLogEntryStopMessage`. If the actual instance is not `ActivityLogEntryStopMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `ActivityLogEntryStopMessage` + * @throws ClassCastException if the instance is not `ActivityLogEntryStopMessage` + */ + public ActivityLogEntryStopMessage getActivityLogEntryStopMessage() throws ClassCastException { + return (ActivityLogEntryStopMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `InboundKeepAliveMessage`. If the actual instance is not `InboundKeepAliveMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `InboundKeepAliveMessage` + * @throws ClassCastException if the instance is not `InboundKeepAliveMessage` + */ + public InboundKeepAliveMessage getInboundKeepAliveMessage() throws ClassCastException { + return (InboundKeepAliveMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `ScheduledTasksInfoStartMessage`. If the actual instance is not `ScheduledTasksInfoStartMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `ScheduledTasksInfoStartMessage` + * @throws ClassCastException if the instance is not `ScheduledTasksInfoStartMessage` + */ + public ScheduledTasksInfoStartMessage getScheduledTasksInfoStartMessage() throws ClassCastException { + return (ScheduledTasksInfoStartMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `ScheduledTasksInfoStopMessage`. If the actual instance is not `ScheduledTasksInfoStopMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `ScheduledTasksInfoStopMessage` + * @throws ClassCastException if the instance is not `ScheduledTasksInfoStopMessage` + */ + public ScheduledTasksInfoStopMessage getScheduledTasksInfoStopMessage() throws ClassCastException { + return (ScheduledTasksInfoStopMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `SessionsStartMessage`. If the actual instance is not `SessionsStartMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `SessionsStartMessage` + * @throws ClassCastException if the instance is not `SessionsStartMessage` + */ + public SessionsStartMessage getSessionsStartMessage() throws ClassCastException { + return (SessionsStartMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `SessionsStopMessage`. If the actual instance is not `SessionsStopMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `SessionsStopMessage` + * @throws ClassCastException if the instance is not `SessionsStopMessage` + */ + public SessionsStopMessage getSessionsStopMessage() throws ClassCastException { + return (SessionsStopMessage)super.getActualInstance(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to InboundWebSocketMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + // validate oneOf schemas one by one + int validCount = 0; + ArrayList errorMessages = new ArrayList<>(); + // validate the json string with ActivityLogEntryStartMessage + try { + ActivityLogEntryStartMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for ActivityLogEntryStartMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with ActivityLogEntryStopMessage + try { + ActivityLogEntryStopMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for ActivityLogEntryStopMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with InboundKeepAliveMessage + try { + InboundKeepAliveMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for InboundKeepAliveMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with ScheduledTasksInfoStartMessage + try { + ScheduledTasksInfoStartMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for ScheduledTasksInfoStartMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with ScheduledTasksInfoStopMessage + try { + ScheduledTasksInfoStopMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for ScheduledTasksInfoStopMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with SessionsStartMessage + try { + SessionsStartMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for SessionsStartMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with SessionsStopMessage + try { + SessionsStopMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for SessionsStopMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + if (validCount != 1) { + throw new IOException(String.format("The JSON string is invalid for InboundWebSocketMessage with oneOf schemas: ActivityLogEntryStartMessage, ActivityLogEntryStopMessage, InboundKeepAliveMessage, ScheduledTasksInfoStartMessage, ScheduledTasksInfoStopMessage, SessionsStartMessage, SessionsStopMessage. %d class(es) match the result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", validCount, errorMessages, jsonElement.toString())); + } + } + + /** + * Create an instance of InboundWebSocketMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of InboundWebSocketMessage + * @throws IOException if the JSON string is invalid with respect to InboundWebSocketMessage + */ + public static InboundWebSocketMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, InboundWebSocketMessage.class); + } + + /** + * Convert an instance of InboundWebSocketMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/InstallationInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/InstallationInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/InstallationInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/InstallationInfo.java index f2d4246a8b4..588cdb0483c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/InstallationInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/InstallationInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class InstallationInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class InstallationInfo { public static final String SERIALIZED_NAME_GUID = "Guid"; @SerializedName(SERIALIZED_NAME_GUID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/IsoType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/IsoType.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/IsoType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/IsoType.java index a79f772cf03..0bde5dff6f2 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/IsoType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/IsoType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ItemCounts.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ItemCounts.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ItemCounts.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ItemCounts.java index 57172c73ad8..d012b43a9d6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ItemCounts.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ItemCounts.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Class LibrarySummary. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ItemCounts { public static final String SERIALIZED_NAME_MOVIE_COUNT = "MovieCount"; @SerializedName(SERIALIZED_NAME_MOVIE_COUNT) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ItemFields.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ItemFields.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ItemFields.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ItemFields.java index 611c77a551e..e8a9a4fdd96 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ItemFields.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ItemFields.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -39,6 +39,8 @@ public enum ItemFields { CHAPTERS("Chapters"), + TRICKPLAY("Trickplay"), + CHILD_COUNT("ChildCount"), CUMULATIVE_RUN_TIME_TICKS("CumulativeRunTimeTicks"), @@ -99,10 +101,6 @@ public enum ItemFields { STUDIOS("Studios"), - BASIC_SYNC_INFO("BasicSyncInfo"), - - SYNC_INFO("SyncInfo"), - TAGLINES("Taglines"), TAGS("Tags"), diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ItemFilter.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ItemFilter.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ItemFilter.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ItemFilter.java index a83a1744cec..5f473a2b3d5 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ItemFilter.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ItemFilter.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ItemSortBy.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ItemSortBy.java new file mode 100644 index 00000000000..c6bc6b80928 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ItemSortBy.java @@ -0,0 +1,138 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.JsonElement; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * These represent sort orders. + */ +@JsonAdapter(ItemSortBy.Adapter.class) +public enum ItemSortBy { + + DEFAULT("Default"), + + AIRED_EPISODE_ORDER("AiredEpisodeOrder"), + + ALBUM("Album"), + + ALBUM_ARTIST("AlbumArtist"), + + ARTIST("Artist"), + + DATE_CREATED("DateCreated"), + + OFFICIAL_RATING("OfficialRating"), + + DATE_PLAYED("DatePlayed"), + + PREMIERE_DATE("PremiereDate"), + + START_DATE("StartDate"), + + SORT_NAME("SortName"), + + NAME("Name"), + + RANDOM("Random"), + + RUNTIME("Runtime"), + + COMMUNITY_RATING("CommunityRating"), + + PRODUCTION_YEAR("ProductionYear"), + + PLAY_COUNT("PlayCount"), + + CRITIC_RATING("CriticRating"), + + IS_FOLDER("IsFolder"), + + IS_UNPLAYED("IsUnplayed"), + + IS_PLAYED("IsPlayed"), + + SERIES_SORT_NAME("SeriesSortName"), + + VIDEO_BIT_RATE("VideoBitRate"), + + AIR_TIME("AirTime"), + + STUDIO("Studio"), + + IS_FAVORITE_OR_LIKED("IsFavoriteOrLiked"), + + DATE_LAST_CONTENT_ADDED("DateLastContentAdded"), + + SERIES_DATE_PLAYED("SeriesDatePlayed"), + + PARENT_INDEX_NUMBER("ParentIndexNumber"), + + INDEX_NUMBER("IndexNumber"), + + SIMILARITY_SCORE("SimilarityScore"), + + SEARCH_SCORE("SearchScore"); + + private String value; + + ItemSortBy(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ItemSortBy fromValue(String value) { + for (ItemSortBy b : ItemSortBy.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ItemSortBy enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ItemSortBy read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ItemSortBy.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + ItemSortBy.fromValue(value); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/JoinGroupRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/JoinGroupRequestDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/JoinGroupRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/JoinGroupRequestDto.java index 0717ff8a126..fa0320ca967 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/JoinGroupRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/JoinGroupRequestDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class JoinGroupRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class JoinGroupRequestDto { public static final String SERIALIZED_NAME_GROUP_ID = "GroupId"; @SerializedName(SERIALIZED_NAME_GROUP_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/KeepUntil.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/KeepUntil.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/KeepUntil.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/KeepUntil.java index 0b51550f3d9..ec3111de3ab 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/KeepUntil.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/KeepUntil.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LibraryChangedMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LibraryChangedMessage.java new file mode 100644 index 00000000000..98584895c04 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LibraryChangedMessage.java @@ -0,0 +1,282 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.LibraryUpdateInfo; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Library changed message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class LibraryChangedMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private LibraryUpdateInfo data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.LIBRARY_CHANGED; + + public LibraryChangedMessage() { + } + + public LibraryChangedMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public LibraryChangedMessage data(@javax.annotation.Nullable LibraryUpdateInfo data) { + this.data = data; + return this; + } + + /** + * Class LibraryUpdateInfo. + * @return data + */ + @javax.annotation.Nullable + public LibraryUpdateInfo getData() { + return data; + } + + public void setData(@javax.annotation.Nullable LibraryUpdateInfo data) { + this.data = data; + } + + + public LibraryChangedMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LibraryChangedMessage libraryChangedMessage = (LibraryChangedMessage) o; + return Objects.equals(this.data, libraryChangedMessage.data) && + Objects.equals(this.messageId, libraryChangedMessage.messageId) && + Objects.equals(this.messageType, libraryChangedMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LibraryChangedMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to LibraryChangedMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!LibraryChangedMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in LibraryChangedMessage is not found in the empty JSON string", LibraryChangedMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!LibraryChangedMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `LibraryChangedMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + LibraryUpdateInfo.validateJsonElement(jsonObj.get("Data")); + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!LibraryChangedMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'LibraryChangedMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(LibraryChangedMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, LibraryChangedMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public LibraryChangedMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of LibraryChangedMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of LibraryChangedMessage + * @throws IOException if the JSON string is invalid with respect to LibraryChangedMessage + */ + public static LibraryChangedMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, LibraryChangedMessage.class); + } + + /** + * Convert an instance of LibraryChangedMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LibraryOptionInfoDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LibraryOptionInfoDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LibraryOptionInfoDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LibraryOptionInfoDto.java index 9b0c6fe6223..63dfb28f2e9 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LibraryOptionInfoDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LibraryOptionInfoDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Library option info dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LibraryOptionInfoDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LibraryOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LibraryOptions.java similarity index 66% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LibraryOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LibraryOptions.java index e94e182be43..d39bbfd1d57 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LibraryOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LibraryOptions.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -54,8 +54,13 @@ import org.openapitools.client.JSON; /** * LibraryOptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LibraryOptions { + public static final String SERIALIZED_NAME_ENABLED = "Enabled"; + @SerializedName(SERIALIZED_NAME_ENABLED) + @javax.annotation.Nullable + private Boolean enabled; + public static final String SERIALIZED_NAME_ENABLE_PHOTOS = "EnablePhotos"; @SerializedName(SERIALIZED_NAME_ENABLE_PHOTOS) @javax.annotation.Nullable @@ -66,6 +71,11 @@ public class LibraryOptions { @javax.annotation.Nullable private Boolean enableRealtimeMonitor; + public static final String SERIALIZED_NAME_ENABLE_L_U_F_S_SCAN = "EnableLUFSScan"; + @SerializedName(SERIALIZED_NAME_ENABLE_L_U_F_S_SCAN) + @javax.annotation.Nullable + private Boolean enableLUFSScan; + public static final String SERIALIZED_NAME_ENABLE_CHAPTER_IMAGE_EXTRACTION = "EnableChapterImageExtraction"; @SerializedName(SERIALIZED_NAME_ENABLE_CHAPTER_IMAGE_EXTRACTION) @javax.annotation.Nullable @@ -76,6 +86,16 @@ public class LibraryOptions { @javax.annotation.Nullable private Boolean extractChapterImagesDuringLibraryScan; + public static final String SERIALIZED_NAME_ENABLE_TRICKPLAY_IMAGE_EXTRACTION = "EnableTrickplayImageExtraction"; + @SerializedName(SERIALIZED_NAME_ENABLE_TRICKPLAY_IMAGE_EXTRACTION) + @javax.annotation.Nullable + private Boolean enableTrickplayImageExtraction; + + public static final String SERIALIZED_NAME_EXTRACT_TRICKPLAY_IMAGES_DURING_LIBRARY_SCAN = "ExtractTrickplayImagesDuringLibraryScan"; + @SerializedName(SERIALIZED_NAME_EXTRACT_TRICKPLAY_IMAGES_DURING_LIBRARY_SCAN) + @javax.annotation.Nullable + private Boolean extractTrickplayImagesDuringLibraryScan; + public static final String SERIALIZED_NAME_PATH_INFOS = "PathInfos"; @SerializedName(SERIALIZED_NAME_PATH_INFOS) @javax.annotation.Nullable @@ -102,6 +122,11 @@ public class LibraryOptions { @javax.annotation.Nullable private Boolean enableEmbeddedTitles; + public static final String SERIALIZED_NAME_ENABLE_EMBEDDED_EXTRAS_TITLES = "EnableEmbeddedExtrasTitles"; + @SerializedName(SERIALIZED_NAME_ENABLE_EMBEDDED_EXTRAS_TITLES) + @javax.annotation.Nullable + private Boolean enableEmbeddedExtrasTitles; + public static final String SERIALIZED_NAME_ENABLE_EMBEDDED_EPISODE_INFOS = "EnableEmbeddedEpisodeInfos"; @SerializedName(SERIALIZED_NAME_ENABLE_EMBEDDED_EPISODE_INFOS) @javax.annotation.Nullable @@ -152,6 +177,16 @@ public class LibraryOptions { @javax.annotation.Nullable private List subtitleFetcherOrder = new ArrayList<>(); + public static final String SERIALIZED_NAME_DISABLED_MEDIA_SEGMENT_PROVIDERS = "DisabledMediaSegmentProviders"; + @SerializedName(SERIALIZED_NAME_DISABLED_MEDIA_SEGMENT_PROVIDERS) + @javax.annotation.Nullable + private List disabledMediaSegmentProviders = new ArrayList<>(); + + public static final String SERIALIZED_NAME_MEDIA_SEGMENT_PROVIDE_ORDER = "MediaSegmentProvideOrder"; + @SerializedName(SERIALIZED_NAME_MEDIA_SEGMENT_PROVIDE_ORDER) + @javax.annotation.Nullable + private List mediaSegmentProvideOrder = new ArrayList<>(); + public static final String SERIALIZED_NAME_SKIP_SUBTITLES_IF_EMBEDDED_SUBTITLES_PRESENT = "SkipSubtitlesIfEmbeddedSubtitlesPresent"; @SerializedName(SERIALIZED_NAME_SKIP_SUBTITLES_IF_EMBEDDED_SUBTITLES_PRESENT) @javax.annotation.Nullable @@ -177,6 +212,46 @@ public class LibraryOptions { @javax.annotation.Nullable private Boolean saveSubtitlesWithMedia; + public static final String SERIALIZED_NAME_SAVE_LYRICS_WITH_MEDIA = "SaveLyricsWithMedia"; + @SerializedName(SERIALIZED_NAME_SAVE_LYRICS_WITH_MEDIA) + @javax.annotation.Nullable + private Boolean saveLyricsWithMedia = false; + + public static final String SERIALIZED_NAME_SAVE_TRICKPLAY_WITH_MEDIA = "SaveTrickplayWithMedia"; + @SerializedName(SERIALIZED_NAME_SAVE_TRICKPLAY_WITH_MEDIA) + @javax.annotation.Nullable + private Boolean saveTrickplayWithMedia = false; + + public static final String SERIALIZED_NAME_DISABLED_LYRIC_FETCHERS = "DisabledLyricFetchers"; + @SerializedName(SERIALIZED_NAME_DISABLED_LYRIC_FETCHERS) + @javax.annotation.Nullable + private List disabledLyricFetchers = new ArrayList<>(); + + public static final String SERIALIZED_NAME_LYRIC_FETCHER_ORDER = "LyricFetcherOrder"; + @SerializedName(SERIALIZED_NAME_LYRIC_FETCHER_ORDER) + @javax.annotation.Nullable + private List lyricFetcherOrder = new ArrayList<>(); + + public static final String SERIALIZED_NAME_PREFER_NONSTANDARD_ARTISTS_TAG = "PreferNonstandardArtistsTag"; + @SerializedName(SERIALIZED_NAME_PREFER_NONSTANDARD_ARTISTS_TAG) + @javax.annotation.Nullable + private Boolean preferNonstandardArtistsTag = false; + + public static final String SERIALIZED_NAME_USE_CUSTOM_TAG_DELIMITERS = "UseCustomTagDelimiters"; + @SerializedName(SERIALIZED_NAME_USE_CUSTOM_TAG_DELIMITERS) + @javax.annotation.Nullable + private Boolean useCustomTagDelimiters = false; + + public static final String SERIALIZED_NAME_CUSTOM_TAG_DELIMITERS = "CustomTagDelimiters"; + @SerializedName(SERIALIZED_NAME_CUSTOM_TAG_DELIMITERS) + @javax.annotation.Nullable + private List customTagDelimiters = new ArrayList<>(); + + public static final String SERIALIZED_NAME_DELIMITER_WHITELIST = "DelimiterWhitelist"; + @SerializedName(SERIALIZED_NAME_DELIMITER_WHITELIST) + @javax.annotation.Nullable + private List delimiterWhitelist = new ArrayList<>(); + public static final String SERIALIZED_NAME_AUTOMATICALLY_ADD_TO_COLLECTION = "AutomaticallyAddToCollection"; @SerializedName(SERIALIZED_NAME_AUTOMATICALLY_ADD_TO_COLLECTION) @javax.annotation.Nullable @@ -195,6 +270,25 @@ public class LibraryOptions { public LibraryOptions() { } + public LibraryOptions enabled(@javax.annotation.Nullable Boolean enabled) { + this.enabled = enabled; + return this; + } + + /** + * Get enabled + * @return enabled + */ + @javax.annotation.Nullable + public Boolean getEnabled() { + return enabled; + } + + public void setEnabled(@javax.annotation.Nullable Boolean enabled) { + this.enabled = enabled; + } + + public LibraryOptions enablePhotos(@javax.annotation.Nullable Boolean enablePhotos) { this.enablePhotos = enablePhotos; return this; @@ -233,6 +327,25 @@ public class LibraryOptions { } + public LibraryOptions enableLUFSScan(@javax.annotation.Nullable Boolean enableLUFSScan) { + this.enableLUFSScan = enableLUFSScan; + return this; + } + + /** + * Get enableLUFSScan + * @return enableLUFSScan + */ + @javax.annotation.Nullable + public Boolean getEnableLUFSScan() { + return enableLUFSScan; + } + + public void setEnableLUFSScan(@javax.annotation.Nullable Boolean enableLUFSScan) { + this.enableLUFSScan = enableLUFSScan; + } + + public LibraryOptions enableChapterImageExtraction(@javax.annotation.Nullable Boolean enableChapterImageExtraction) { this.enableChapterImageExtraction = enableChapterImageExtraction; return this; @@ -271,6 +384,44 @@ public class LibraryOptions { } + public LibraryOptions enableTrickplayImageExtraction(@javax.annotation.Nullable Boolean enableTrickplayImageExtraction) { + this.enableTrickplayImageExtraction = enableTrickplayImageExtraction; + return this; + } + + /** + * Get enableTrickplayImageExtraction + * @return enableTrickplayImageExtraction + */ + @javax.annotation.Nullable + public Boolean getEnableTrickplayImageExtraction() { + return enableTrickplayImageExtraction; + } + + public void setEnableTrickplayImageExtraction(@javax.annotation.Nullable Boolean enableTrickplayImageExtraction) { + this.enableTrickplayImageExtraction = enableTrickplayImageExtraction; + } + + + public LibraryOptions extractTrickplayImagesDuringLibraryScan(@javax.annotation.Nullable Boolean extractTrickplayImagesDuringLibraryScan) { + this.extractTrickplayImagesDuringLibraryScan = extractTrickplayImagesDuringLibraryScan; + return this; + } + + /** + * Get extractTrickplayImagesDuringLibraryScan + * @return extractTrickplayImagesDuringLibraryScan + */ + @javax.annotation.Nullable + public Boolean getExtractTrickplayImagesDuringLibraryScan() { + return extractTrickplayImagesDuringLibraryScan; + } + + public void setExtractTrickplayImagesDuringLibraryScan(@javax.annotation.Nullable Boolean extractTrickplayImagesDuringLibraryScan) { + this.extractTrickplayImagesDuringLibraryScan = extractTrickplayImagesDuringLibraryScan; + } + + public LibraryOptions pathInfos(@javax.annotation.Nullable List pathInfos) { this.pathInfos = pathInfos; return this; @@ -378,6 +529,25 @@ public class LibraryOptions { } + public LibraryOptions enableEmbeddedExtrasTitles(@javax.annotation.Nullable Boolean enableEmbeddedExtrasTitles) { + this.enableEmbeddedExtrasTitles = enableEmbeddedExtrasTitles; + return this; + } + + /** + * Get enableEmbeddedExtrasTitles + * @return enableEmbeddedExtrasTitles + */ + @javax.annotation.Nullable + public Boolean getEnableEmbeddedExtrasTitles() { + return enableEmbeddedExtrasTitles; + } + + public void setEnableEmbeddedExtrasTitles(@javax.annotation.Nullable Boolean enableEmbeddedExtrasTitles) { + this.enableEmbeddedExtrasTitles = enableEmbeddedExtrasTitles; + } + + public LibraryOptions enableEmbeddedEpisodeInfos(@javax.annotation.Nullable Boolean enableEmbeddedEpisodeInfos) { this.enableEmbeddedEpisodeInfos = enableEmbeddedEpisodeInfos; return this; @@ -608,6 +778,60 @@ public class LibraryOptions { } + public LibraryOptions disabledMediaSegmentProviders(@javax.annotation.Nullable List disabledMediaSegmentProviders) { + this.disabledMediaSegmentProviders = disabledMediaSegmentProviders; + return this; + } + + public LibraryOptions addDisabledMediaSegmentProvidersItem(String disabledMediaSegmentProvidersItem) { + if (this.disabledMediaSegmentProviders == null) { + this.disabledMediaSegmentProviders = new ArrayList<>(); + } + this.disabledMediaSegmentProviders.add(disabledMediaSegmentProvidersItem); + return this; + } + + /** + * Get disabledMediaSegmentProviders + * @return disabledMediaSegmentProviders + */ + @javax.annotation.Nullable + public List getDisabledMediaSegmentProviders() { + return disabledMediaSegmentProviders; + } + + public void setDisabledMediaSegmentProviders(@javax.annotation.Nullable List disabledMediaSegmentProviders) { + this.disabledMediaSegmentProviders = disabledMediaSegmentProviders; + } + + + public LibraryOptions mediaSegmentProvideOrder(@javax.annotation.Nullable List mediaSegmentProvideOrder) { + this.mediaSegmentProvideOrder = mediaSegmentProvideOrder; + return this; + } + + public LibraryOptions addMediaSegmentProvideOrderItem(String mediaSegmentProvideOrderItem) { + if (this.mediaSegmentProvideOrder == null) { + this.mediaSegmentProvideOrder = new ArrayList<>(); + } + this.mediaSegmentProvideOrder.add(mediaSegmentProvideOrderItem); + return this; + } + + /** + * Get mediaSegmentProvideOrder + * @return mediaSegmentProvideOrder + */ + @javax.annotation.Nullable + public List getMediaSegmentProvideOrder() { + return mediaSegmentProvideOrder; + } + + public void setMediaSegmentProvideOrder(@javax.annotation.Nullable List mediaSegmentProvideOrder) { + this.mediaSegmentProvideOrder = mediaSegmentProvideOrder; + } + + public LibraryOptions skipSubtitlesIfEmbeddedSubtitlesPresent(@javax.annotation.Nullable Boolean skipSubtitlesIfEmbeddedSubtitlesPresent) { this.skipSubtitlesIfEmbeddedSubtitlesPresent = skipSubtitlesIfEmbeddedSubtitlesPresent; return this; @@ -711,6 +935,190 @@ public class LibraryOptions { } + public LibraryOptions saveLyricsWithMedia(@javax.annotation.Nullable Boolean saveLyricsWithMedia) { + this.saveLyricsWithMedia = saveLyricsWithMedia; + return this; + } + + /** + * Get saveLyricsWithMedia + * @return saveLyricsWithMedia + */ + @javax.annotation.Nullable + public Boolean getSaveLyricsWithMedia() { + return saveLyricsWithMedia; + } + + public void setSaveLyricsWithMedia(@javax.annotation.Nullable Boolean saveLyricsWithMedia) { + this.saveLyricsWithMedia = saveLyricsWithMedia; + } + + + public LibraryOptions saveTrickplayWithMedia(@javax.annotation.Nullable Boolean saveTrickplayWithMedia) { + this.saveTrickplayWithMedia = saveTrickplayWithMedia; + return this; + } + + /** + * Get saveTrickplayWithMedia + * @return saveTrickplayWithMedia + */ + @javax.annotation.Nullable + public Boolean getSaveTrickplayWithMedia() { + return saveTrickplayWithMedia; + } + + public void setSaveTrickplayWithMedia(@javax.annotation.Nullable Boolean saveTrickplayWithMedia) { + this.saveTrickplayWithMedia = saveTrickplayWithMedia; + } + + + public LibraryOptions disabledLyricFetchers(@javax.annotation.Nullable List disabledLyricFetchers) { + this.disabledLyricFetchers = disabledLyricFetchers; + return this; + } + + public LibraryOptions addDisabledLyricFetchersItem(String disabledLyricFetchersItem) { + if (this.disabledLyricFetchers == null) { + this.disabledLyricFetchers = new ArrayList<>(); + } + this.disabledLyricFetchers.add(disabledLyricFetchersItem); + return this; + } + + /** + * Get disabledLyricFetchers + * @return disabledLyricFetchers + */ + @javax.annotation.Nullable + public List getDisabledLyricFetchers() { + return disabledLyricFetchers; + } + + public void setDisabledLyricFetchers(@javax.annotation.Nullable List disabledLyricFetchers) { + this.disabledLyricFetchers = disabledLyricFetchers; + } + + + public LibraryOptions lyricFetcherOrder(@javax.annotation.Nullable List lyricFetcherOrder) { + this.lyricFetcherOrder = lyricFetcherOrder; + return this; + } + + public LibraryOptions addLyricFetcherOrderItem(String lyricFetcherOrderItem) { + if (this.lyricFetcherOrder == null) { + this.lyricFetcherOrder = new ArrayList<>(); + } + this.lyricFetcherOrder.add(lyricFetcherOrderItem); + return this; + } + + /** + * Get lyricFetcherOrder + * @return lyricFetcherOrder + */ + @javax.annotation.Nullable + public List getLyricFetcherOrder() { + return lyricFetcherOrder; + } + + public void setLyricFetcherOrder(@javax.annotation.Nullable List lyricFetcherOrder) { + this.lyricFetcherOrder = lyricFetcherOrder; + } + + + public LibraryOptions preferNonstandardArtistsTag(@javax.annotation.Nullable Boolean preferNonstandardArtistsTag) { + this.preferNonstandardArtistsTag = preferNonstandardArtistsTag; + return this; + } + + /** + * Get preferNonstandardArtistsTag + * @return preferNonstandardArtistsTag + */ + @javax.annotation.Nullable + public Boolean getPreferNonstandardArtistsTag() { + return preferNonstandardArtistsTag; + } + + public void setPreferNonstandardArtistsTag(@javax.annotation.Nullable Boolean preferNonstandardArtistsTag) { + this.preferNonstandardArtistsTag = preferNonstandardArtistsTag; + } + + + public LibraryOptions useCustomTagDelimiters(@javax.annotation.Nullable Boolean useCustomTagDelimiters) { + this.useCustomTagDelimiters = useCustomTagDelimiters; + return this; + } + + /** + * Get useCustomTagDelimiters + * @return useCustomTagDelimiters + */ + @javax.annotation.Nullable + public Boolean getUseCustomTagDelimiters() { + return useCustomTagDelimiters; + } + + public void setUseCustomTagDelimiters(@javax.annotation.Nullable Boolean useCustomTagDelimiters) { + this.useCustomTagDelimiters = useCustomTagDelimiters; + } + + + public LibraryOptions customTagDelimiters(@javax.annotation.Nullable List customTagDelimiters) { + this.customTagDelimiters = customTagDelimiters; + return this; + } + + public LibraryOptions addCustomTagDelimitersItem(String customTagDelimitersItem) { + if (this.customTagDelimiters == null) { + this.customTagDelimiters = new ArrayList<>(); + } + this.customTagDelimiters.add(customTagDelimitersItem); + return this; + } + + /** + * Get customTagDelimiters + * @return customTagDelimiters + */ + @javax.annotation.Nullable + public List getCustomTagDelimiters() { + return customTagDelimiters; + } + + public void setCustomTagDelimiters(@javax.annotation.Nullable List customTagDelimiters) { + this.customTagDelimiters = customTagDelimiters; + } + + + public LibraryOptions delimiterWhitelist(@javax.annotation.Nullable List delimiterWhitelist) { + this.delimiterWhitelist = delimiterWhitelist; + return this; + } + + public LibraryOptions addDelimiterWhitelistItem(String delimiterWhitelistItem) { + if (this.delimiterWhitelist == null) { + this.delimiterWhitelist = new ArrayList<>(); + } + this.delimiterWhitelist.add(delimiterWhitelistItem); + return this; + } + + /** + * Get delimiterWhitelist + * @return delimiterWhitelist + */ + @javax.annotation.Nullable + public List getDelimiterWhitelist() { + return delimiterWhitelist; + } + + public void setDelimiterWhitelist(@javax.annotation.Nullable List delimiterWhitelist) { + this.delimiterWhitelist = delimiterWhitelist; + } + + public LibraryOptions automaticallyAddToCollection(@javax.annotation.Nullable Boolean automaticallyAddToCollection) { this.automaticallyAddToCollection = automaticallyAddToCollection; return this; @@ -786,15 +1194,20 @@ public class LibraryOptions { return false; } LibraryOptions libraryOptions = (LibraryOptions) o; - return Objects.equals(this.enablePhotos, libraryOptions.enablePhotos) && + return Objects.equals(this.enabled, libraryOptions.enabled) && + Objects.equals(this.enablePhotos, libraryOptions.enablePhotos) && Objects.equals(this.enableRealtimeMonitor, libraryOptions.enableRealtimeMonitor) && + Objects.equals(this.enableLUFSScan, libraryOptions.enableLUFSScan) && Objects.equals(this.enableChapterImageExtraction, libraryOptions.enableChapterImageExtraction) && Objects.equals(this.extractChapterImagesDuringLibraryScan, libraryOptions.extractChapterImagesDuringLibraryScan) && + Objects.equals(this.enableTrickplayImageExtraction, libraryOptions.enableTrickplayImageExtraction) && + Objects.equals(this.extractTrickplayImagesDuringLibraryScan, libraryOptions.extractTrickplayImagesDuringLibraryScan) && Objects.equals(this.pathInfos, libraryOptions.pathInfos) && Objects.equals(this.saveLocalMetadata, libraryOptions.saveLocalMetadata) && Objects.equals(this.enableInternetProviders, libraryOptions.enableInternetProviders) && Objects.equals(this.enableAutomaticSeriesGrouping, libraryOptions.enableAutomaticSeriesGrouping) && Objects.equals(this.enableEmbeddedTitles, libraryOptions.enableEmbeddedTitles) && + Objects.equals(this.enableEmbeddedExtrasTitles, libraryOptions.enableEmbeddedExtrasTitles) && Objects.equals(this.enableEmbeddedEpisodeInfos, libraryOptions.enableEmbeddedEpisodeInfos) && Objects.equals(this.automaticRefreshIntervalDays, libraryOptions.automaticRefreshIntervalDays) && Objects.equals(this.preferredMetadataLanguage, libraryOptions.preferredMetadataLanguage) && @@ -805,11 +1218,21 @@ public class LibraryOptions { Objects.equals(this.localMetadataReaderOrder, libraryOptions.localMetadataReaderOrder) && Objects.equals(this.disabledSubtitleFetchers, libraryOptions.disabledSubtitleFetchers) && Objects.equals(this.subtitleFetcherOrder, libraryOptions.subtitleFetcherOrder) && + Objects.equals(this.disabledMediaSegmentProviders, libraryOptions.disabledMediaSegmentProviders) && + Objects.equals(this.mediaSegmentProvideOrder, libraryOptions.mediaSegmentProvideOrder) && Objects.equals(this.skipSubtitlesIfEmbeddedSubtitlesPresent, libraryOptions.skipSubtitlesIfEmbeddedSubtitlesPresent) && Objects.equals(this.skipSubtitlesIfAudioTrackMatches, libraryOptions.skipSubtitlesIfAudioTrackMatches) && Objects.equals(this.subtitleDownloadLanguages, libraryOptions.subtitleDownloadLanguages) && Objects.equals(this.requirePerfectSubtitleMatch, libraryOptions.requirePerfectSubtitleMatch) && Objects.equals(this.saveSubtitlesWithMedia, libraryOptions.saveSubtitlesWithMedia) && + Objects.equals(this.saveLyricsWithMedia, libraryOptions.saveLyricsWithMedia) && + Objects.equals(this.saveTrickplayWithMedia, libraryOptions.saveTrickplayWithMedia) && + Objects.equals(this.disabledLyricFetchers, libraryOptions.disabledLyricFetchers) && + Objects.equals(this.lyricFetcherOrder, libraryOptions.lyricFetcherOrder) && + Objects.equals(this.preferNonstandardArtistsTag, libraryOptions.preferNonstandardArtistsTag) && + Objects.equals(this.useCustomTagDelimiters, libraryOptions.useCustomTagDelimiters) && + Objects.equals(this.customTagDelimiters, libraryOptions.customTagDelimiters) && + Objects.equals(this.delimiterWhitelist, libraryOptions.delimiterWhitelist) && Objects.equals(this.automaticallyAddToCollection, libraryOptions.automaticallyAddToCollection) && Objects.equals(this.allowEmbeddedSubtitles, libraryOptions.allowEmbeddedSubtitles) && Objects.equals(this.typeOptions, libraryOptions.typeOptions); @@ -821,7 +1244,7 @@ public class LibraryOptions { @Override public int hashCode() { - return Objects.hash(enablePhotos, enableRealtimeMonitor, enableChapterImageExtraction, extractChapterImagesDuringLibraryScan, pathInfos, saveLocalMetadata, enableInternetProviders, enableAutomaticSeriesGrouping, enableEmbeddedTitles, enableEmbeddedEpisodeInfos, automaticRefreshIntervalDays, preferredMetadataLanguage, metadataCountryCode, seasonZeroDisplayName, metadataSavers, disabledLocalMetadataReaders, localMetadataReaderOrder, disabledSubtitleFetchers, subtitleFetcherOrder, skipSubtitlesIfEmbeddedSubtitlesPresent, skipSubtitlesIfAudioTrackMatches, subtitleDownloadLanguages, requirePerfectSubtitleMatch, saveSubtitlesWithMedia, automaticallyAddToCollection, allowEmbeddedSubtitles, typeOptions); + return Objects.hash(enabled, enablePhotos, enableRealtimeMonitor, enableLUFSScan, enableChapterImageExtraction, extractChapterImagesDuringLibraryScan, enableTrickplayImageExtraction, extractTrickplayImagesDuringLibraryScan, pathInfos, saveLocalMetadata, enableInternetProviders, enableAutomaticSeriesGrouping, enableEmbeddedTitles, enableEmbeddedExtrasTitles, enableEmbeddedEpisodeInfos, automaticRefreshIntervalDays, preferredMetadataLanguage, metadataCountryCode, seasonZeroDisplayName, metadataSavers, disabledLocalMetadataReaders, localMetadataReaderOrder, disabledSubtitleFetchers, subtitleFetcherOrder, disabledMediaSegmentProviders, mediaSegmentProvideOrder, skipSubtitlesIfEmbeddedSubtitlesPresent, skipSubtitlesIfAudioTrackMatches, subtitleDownloadLanguages, requirePerfectSubtitleMatch, saveSubtitlesWithMedia, saveLyricsWithMedia, saveTrickplayWithMedia, disabledLyricFetchers, lyricFetcherOrder, preferNonstandardArtistsTag, useCustomTagDelimiters, customTagDelimiters, delimiterWhitelist, automaticallyAddToCollection, allowEmbeddedSubtitles, typeOptions); } private static int hashCodeNullable(JsonNullable a) { @@ -835,15 +1258,20 @@ public class LibraryOptions { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class LibraryOptions {\n"); + sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); sb.append(" enablePhotos: ").append(toIndentedString(enablePhotos)).append("\n"); sb.append(" enableRealtimeMonitor: ").append(toIndentedString(enableRealtimeMonitor)).append("\n"); + sb.append(" enableLUFSScan: ").append(toIndentedString(enableLUFSScan)).append("\n"); sb.append(" enableChapterImageExtraction: ").append(toIndentedString(enableChapterImageExtraction)).append("\n"); sb.append(" extractChapterImagesDuringLibraryScan: ").append(toIndentedString(extractChapterImagesDuringLibraryScan)).append("\n"); + sb.append(" enableTrickplayImageExtraction: ").append(toIndentedString(enableTrickplayImageExtraction)).append("\n"); + sb.append(" extractTrickplayImagesDuringLibraryScan: ").append(toIndentedString(extractTrickplayImagesDuringLibraryScan)).append("\n"); sb.append(" pathInfos: ").append(toIndentedString(pathInfos)).append("\n"); sb.append(" saveLocalMetadata: ").append(toIndentedString(saveLocalMetadata)).append("\n"); sb.append(" enableInternetProviders: ").append(toIndentedString(enableInternetProviders)).append("\n"); sb.append(" enableAutomaticSeriesGrouping: ").append(toIndentedString(enableAutomaticSeriesGrouping)).append("\n"); sb.append(" enableEmbeddedTitles: ").append(toIndentedString(enableEmbeddedTitles)).append("\n"); + sb.append(" enableEmbeddedExtrasTitles: ").append(toIndentedString(enableEmbeddedExtrasTitles)).append("\n"); sb.append(" enableEmbeddedEpisodeInfos: ").append(toIndentedString(enableEmbeddedEpisodeInfos)).append("\n"); sb.append(" automaticRefreshIntervalDays: ").append(toIndentedString(automaticRefreshIntervalDays)).append("\n"); sb.append(" preferredMetadataLanguage: ").append(toIndentedString(preferredMetadataLanguage)).append("\n"); @@ -854,11 +1282,21 @@ public class LibraryOptions { sb.append(" localMetadataReaderOrder: ").append(toIndentedString(localMetadataReaderOrder)).append("\n"); sb.append(" disabledSubtitleFetchers: ").append(toIndentedString(disabledSubtitleFetchers)).append("\n"); sb.append(" subtitleFetcherOrder: ").append(toIndentedString(subtitleFetcherOrder)).append("\n"); + sb.append(" disabledMediaSegmentProviders: ").append(toIndentedString(disabledMediaSegmentProviders)).append("\n"); + sb.append(" mediaSegmentProvideOrder: ").append(toIndentedString(mediaSegmentProvideOrder)).append("\n"); sb.append(" skipSubtitlesIfEmbeddedSubtitlesPresent: ").append(toIndentedString(skipSubtitlesIfEmbeddedSubtitlesPresent)).append("\n"); sb.append(" skipSubtitlesIfAudioTrackMatches: ").append(toIndentedString(skipSubtitlesIfAudioTrackMatches)).append("\n"); sb.append(" subtitleDownloadLanguages: ").append(toIndentedString(subtitleDownloadLanguages)).append("\n"); sb.append(" requirePerfectSubtitleMatch: ").append(toIndentedString(requirePerfectSubtitleMatch)).append("\n"); sb.append(" saveSubtitlesWithMedia: ").append(toIndentedString(saveSubtitlesWithMedia)).append("\n"); + sb.append(" saveLyricsWithMedia: ").append(toIndentedString(saveLyricsWithMedia)).append("\n"); + sb.append(" saveTrickplayWithMedia: ").append(toIndentedString(saveTrickplayWithMedia)).append("\n"); + sb.append(" disabledLyricFetchers: ").append(toIndentedString(disabledLyricFetchers)).append("\n"); + sb.append(" lyricFetcherOrder: ").append(toIndentedString(lyricFetcherOrder)).append("\n"); + sb.append(" preferNonstandardArtistsTag: ").append(toIndentedString(preferNonstandardArtistsTag)).append("\n"); + sb.append(" useCustomTagDelimiters: ").append(toIndentedString(useCustomTagDelimiters)).append("\n"); + sb.append(" customTagDelimiters: ").append(toIndentedString(customTagDelimiters)).append("\n"); + sb.append(" delimiterWhitelist: ").append(toIndentedString(delimiterWhitelist)).append("\n"); sb.append(" automaticallyAddToCollection: ").append(toIndentedString(automaticallyAddToCollection)).append("\n"); sb.append(" allowEmbeddedSubtitles: ").append(toIndentedString(allowEmbeddedSubtitles)).append("\n"); sb.append(" typeOptions: ").append(toIndentedString(typeOptions)).append("\n"); @@ -884,15 +1322,20 @@ public class LibraryOptions { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); + openapiFields.add("Enabled"); openapiFields.add("EnablePhotos"); openapiFields.add("EnableRealtimeMonitor"); + openapiFields.add("EnableLUFSScan"); openapiFields.add("EnableChapterImageExtraction"); openapiFields.add("ExtractChapterImagesDuringLibraryScan"); + openapiFields.add("EnableTrickplayImageExtraction"); + openapiFields.add("ExtractTrickplayImagesDuringLibraryScan"); openapiFields.add("PathInfos"); openapiFields.add("SaveLocalMetadata"); openapiFields.add("EnableInternetProviders"); openapiFields.add("EnableAutomaticSeriesGrouping"); openapiFields.add("EnableEmbeddedTitles"); + openapiFields.add("EnableEmbeddedExtrasTitles"); openapiFields.add("EnableEmbeddedEpisodeInfos"); openapiFields.add("AutomaticRefreshIntervalDays"); openapiFields.add("PreferredMetadataLanguage"); @@ -903,11 +1346,21 @@ public class LibraryOptions { openapiFields.add("LocalMetadataReaderOrder"); openapiFields.add("DisabledSubtitleFetchers"); openapiFields.add("SubtitleFetcherOrder"); + openapiFields.add("DisabledMediaSegmentProviders"); + openapiFields.add("MediaSegmentProvideOrder"); openapiFields.add("SkipSubtitlesIfEmbeddedSubtitlesPresent"); openapiFields.add("SkipSubtitlesIfAudioTrackMatches"); openapiFields.add("SubtitleDownloadLanguages"); openapiFields.add("RequirePerfectSubtitleMatch"); openapiFields.add("SaveSubtitlesWithMedia"); + openapiFields.add("SaveLyricsWithMedia"); + openapiFields.add("SaveTrickplayWithMedia"); + openapiFields.add("DisabledLyricFetchers"); + openapiFields.add("LyricFetcherOrder"); + openapiFields.add("PreferNonstandardArtistsTag"); + openapiFields.add("UseCustomTagDelimiters"); + openapiFields.add("CustomTagDelimiters"); + openapiFields.add("DelimiterWhitelist"); openapiFields.add("AutomaticallyAddToCollection"); openapiFields.add("AllowEmbeddedSubtitles"); openapiFields.add("TypeOptions"); @@ -981,9 +1434,33 @@ public class LibraryOptions { throw new IllegalArgumentException(String.format("Expected the field `SubtitleFetcherOrder` to be an array in the JSON string but got `%s`", jsonObj.get("SubtitleFetcherOrder").toString())); } // ensure the optional json data is an array if present + if (jsonObj.get("DisabledMediaSegmentProviders") != null && !jsonObj.get("DisabledMediaSegmentProviders").isJsonNull() && !jsonObj.get("DisabledMediaSegmentProviders").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `DisabledMediaSegmentProviders` to be an array in the JSON string but got `%s`", jsonObj.get("DisabledMediaSegmentProviders").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("MediaSegmentProvideOrder") != null && !jsonObj.get("MediaSegmentProvideOrder").isJsonNull() && !jsonObj.get("MediaSegmentProvideOrder").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `MediaSegmentProvideOrder` to be an array in the JSON string but got `%s`", jsonObj.get("MediaSegmentProvideOrder").toString())); + } + // ensure the optional json data is an array if present if (jsonObj.get("SubtitleDownloadLanguages") != null && !jsonObj.get("SubtitleDownloadLanguages").isJsonNull() && !jsonObj.get("SubtitleDownloadLanguages").isJsonArray()) { throw new IllegalArgumentException(String.format("Expected the field `SubtitleDownloadLanguages` to be an array in the JSON string but got `%s`", jsonObj.get("SubtitleDownloadLanguages").toString())); } + // ensure the optional json data is an array if present + if (jsonObj.get("DisabledLyricFetchers") != null && !jsonObj.get("DisabledLyricFetchers").isJsonNull() && !jsonObj.get("DisabledLyricFetchers").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `DisabledLyricFetchers` to be an array in the JSON string but got `%s`", jsonObj.get("DisabledLyricFetchers").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("LyricFetcherOrder") != null && !jsonObj.get("LyricFetcherOrder").isJsonNull() && !jsonObj.get("LyricFetcherOrder").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `LyricFetcherOrder` to be an array in the JSON string but got `%s`", jsonObj.get("LyricFetcherOrder").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("CustomTagDelimiters") != null && !jsonObj.get("CustomTagDelimiters").isJsonNull() && !jsonObj.get("CustomTagDelimiters").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `CustomTagDelimiters` to be an array in the JSON string but got `%s`", jsonObj.get("CustomTagDelimiters").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("DelimiterWhitelist") != null && !jsonObj.get("DelimiterWhitelist").isJsonNull() && !jsonObj.get("DelimiterWhitelist").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `DelimiterWhitelist` to be an array in the JSON string but got `%s`", jsonObj.get("DelimiterWhitelist").toString())); + } // validate the optional field `AllowEmbeddedSubtitles` if (jsonObj.get("AllowEmbeddedSubtitles") != null && !jsonObj.get("AllowEmbeddedSubtitles").isJsonNull()) { EmbeddedSubtitleOptions.validateJsonElement(jsonObj.get("AllowEmbeddedSubtitles")); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LibraryOptionsResultDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LibraryOptionsResultDto.java similarity index 86% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LibraryOptionsResultDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LibraryOptionsResultDto.java index c52d3378fbb..6e9fe3b3939 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LibraryOptionsResultDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LibraryOptionsResultDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * Library options result dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LibraryOptionsResultDto { public static final String SERIALIZED_NAME_METADATA_SAVERS = "MetadataSavers"; @SerializedName(SERIALIZED_NAME_METADATA_SAVERS) @@ -69,6 +69,11 @@ public class LibraryOptionsResultDto { @javax.annotation.Nullable private List subtitleFetchers = new ArrayList<>(); + public static final String SERIALIZED_NAME_LYRIC_FETCHERS = "LyricFetchers"; + @SerializedName(SERIALIZED_NAME_LYRIC_FETCHERS) + @javax.annotation.Nullable + private List lyricFetchers = new ArrayList<>(); + public static final String SERIALIZED_NAME_TYPE_OPTIONS = "TypeOptions"; @SerializedName(SERIALIZED_NAME_TYPE_OPTIONS) @javax.annotation.Nullable @@ -158,6 +163,33 @@ public class LibraryOptionsResultDto { } + public LibraryOptionsResultDto lyricFetchers(@javax.annotation.Nullable List lyricFetchers) { + this.lyricFetchers = lyricFetchers; + return this; + } + + public LibraryOptionsResultDto addLyricFetchersItem(LibraryOptionInfoDto lyricFetchersItem) { + if (this.lyricFetchers == null) { + this.lyricFetchers = new ArrayList<>(); + } + this.lyricFetchers.add(lyricFetchersItem); + return this; + } + + /** + * Gets or sets the list of lyric fetchers. + * @return lyricFetchers + */ + @javax.annotation.Nullable + public List getLyricFetchers() { + return lyricFetchers; + } + + public void setLyricFetchers(@javax.annotation.Nullable List lyricFetchers) { + this.lyricFetchers = lyricFetchers; + } + + public LibraryOptionsResultDto typeOptions(@javax.annotation.Nullable List typeOptions) { this.typeOptions = typeOptions; return this; @@ -198,12 +230,13 @@ public class LibraryOptionsResultDto { return Objects.equals(this.metadataSavers, libraryOptionsResultDto.metadataSavers) && Objects.equals(this.metadataReaders, libraryOptionsResultDto.metadataReaders) && Objects.equals(this.subtitleFetchers, libraryOptionsResultDto.subtitleFetchers) && + Objects.equals(this.lyricFetchers, libraryOptionsResultDto.lyricFetchers) && Objects.equals(this.typeOptions, libraryOptionsResultDto.typeOptions); } @Override public int hashCode() { - return Objects.hash(metadataSavers, metadataReaders, subtitleFetchers, typeOptions); + return Objects.hash(metadataSavers, metadataReaders, subtitleFetchers, lyricFetchers, typeOptions); } @Override @@ -213,6 +246,7 @@ public class LibraryOptionsResultDto { sb.append(" metadataSavers: ").append(toIndentedString(metadataSavers)).append("\n"); sb.append(" metadataReaders: ").append(toIndentedString(metadataReaders)).append("\n"); sb.append(" subtitleFetchers: ").append(toIndentedString(subtitleFetchers)).append("\n"); + sb.append(" lyricFetchers: ").append(toIndentedString(lyricFetchers)).append("\n"); sb.append(" typeOptions: ").append(toIndentedString(typeOptions)).append("\n"); sb.append("}"); return sb.toString(); @@ -239,6 +273,7 @@ public class LibraryOptionsResultDto { openapiFields.add("MetadataSavers"); openapiFields.add("MetadataReaders"); openapiFields.add("SubtitleFetchers"); + openapiFields.add("LyricFetchers"); openapiFields.add("TypeOptions"); // a set of required properties/fields (JSON key names) @@ -308,6 +343,20 @@ public class LibraryOptionsResultDto { }; } } + if (jsonObj.get("LyricFetchers") != null && !jsonObj.get("LyricFetchers").isJsonNull()) { + JsonArray jsonArraylyricFetchers = jsonObj.getAsJsonArray("LyricFetchers"); + if (jsonArraylyricFetchers != null) { + // ensure the json data is an array + if (!jsonObj.get("LyricFetchers").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `LyricFetchers` to be an array in the JSON string but got `%s`", jsonObj.get("LyricFetchers").toString())); + } + + // validate the optional field `LyricFetchers` (array) + for (int i = 0; i < jsonArraylyricFetchers.size(); i++) { + LibraryOptionInfoDto.validateJsonElement(jsonArraylyricFetchers.get(i)); + }; + } + } if (jsonObj.get("TypeOptions") != null && !jsonObj.get("TypeOptions").isJsonNull()) { JsonArray jsonArraytypeOptions = jsonObj.getAsJsonArray("TypeOptions"); if (jsonArraytypeOptions != null) { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LibraryTypeOptionsDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LibraryTypeOptionsDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LibraryTypeOptionsDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LibraryTypeOptionsDto.java index 0c600c4680d..1a309f4d445 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LibraryTypeOptionsDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LibraryTypeOptionsDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * Library type options dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LibraryTypeOptionsDto { public static final String SERIALIZED_NAME_TYPE = "Type"; @SerializedName(SERIALIZED_NAME_TYPE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LibraryUpdateInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LibraryUpdateInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LibraryUpdateInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LibraryUpdateInfo.java index 77de5b3a8c7..cbd3d8a244a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LibraryUpdateInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LibraryUpdateInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Class LibraryUpdateInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LibraryUpdateInfo { public static final String SERIALIZED_NAME_FOLDERS_ADDED_TO = "FoldersAddedTo"; @SerializedName(SERIALIZED_NAME_FOLDERS_ADDED_TO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ListingsProviderInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ListingsProviderInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ListingsProviderInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ListingsProviderInfo.java index 374a47feb8f..163a7995afd 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ListingsProviderInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ListingsProviderInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * ListingsProviderInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ListingsProviderInfo { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LiveStreamResponse.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LiveStreamResponse.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LiveStreamResponse.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LiveStreamResponse.java index 1a249792912..a60771a9a10 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LiveStreamResponse.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LiveStreamResponse.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * LiveStreamResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LiveStreamResponse { public static final String SERIALIZED_NAME_MEDIA_SOURCE = "MediaSource"; @SerializedName(SERIALIZED_NAME_MEDIA_SOURCE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LiveTvInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LiveTvInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LiveTvInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LiveTvInfo.java index fc00a381589..b989a16fbda 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LiveTvInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LiveTvInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * LiveTvInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LiveTvInfo { public static final String SERIALIZED_NAME_SERVICES = "Services"; @SerializedName(SERIALIZED_NAME_SERVICES) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LiveTvOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LiveTvOptions.java similarity index 91% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LiveTvOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LiveTvOptions.java index 9dabf70b402..67fec57c373 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LiveTvOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LiveTvOptions.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * LiveTvOptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LiveTvOptions { public static final String SERIALIZED_NAME_GUIDE_DAYS = "GuideDays"; @SerializedName(SERIALIZED_NAME_GUIDE_DAYS) @@ -120,6 +120,16 @@ public class LiveTvOptions { @javax.annotation.Nullable private String recordingPostProcessorArguments; + public static final String SERIALIZED_NAME_SAVE_RECORDING_N_F_O = "SaveRecordingNFO"; + @SerializedName(SERIALIZED_NAME_SAVE_RECORDING_N_F_O) + @javax.annotation.Nullable + private Boolean saveRecordingNFO; + + public static final String SERIALIZED_NAME_SAVE_RECORDING_IMAGES = "SaveRecordingImages"; + @SerializedName(SERIALIZED_NAME_SAVE_RECORDING_IMAGES) + @javax.annotation.Nullable + private Boolean saveRecordingImages; + public LiveTvOptions() { } @@ -394,6 +404,44 @@ public class LiveTvOptions { } + public LiveTvOptions saveRecordingNFO(@javax.annotation.Nullable Boolean saveRecordingNFO) { + this.saveRecordingNFO = saveRecordingNFO; + return this; + } + + /** + * Get saveRecordingNFO + * @return saveRecordingNFO + */ + @javax.annotation.Nullable + public Boolean getSaveRecordingNFO() { + return saveRecordingNFO; + } + + public void setSaveRecordingNFO(@javax.annotation.Nullable Boolean saveRecordingNFO) { + this.saveRecordingNFO = saveRecordingNFO; + } + + + public LiveTvOptions saveRecordingImages(@javax.annotation.Nullable Boolean saveRecordingImages) { + this.saveRecordingImages = saveRecordingImages; + return this; + } + + /** + * Get saveRecordingImages + * @return saveRecordingImages + */ + @javax.annotation.Nullable + public Boolean getSaveRecordingImages() { + return saveRecordingImages; + } + + public void setSaveRecordingImages(@javax.annotation.Nullable Boolean saveRecordingImages) { + this.saveRecordingImages = saveRecordingImages; + } + + @Override public boolean equals(Object o) { @@ -416,7 +464,9 @@ public class LiveTvOptions { Objects.equals(this.postPaddingSeconds, liveTvOptions.postPaddingSeconds) && Objects.equals(this.mediaLocationsCreated, liveTvOptions.mediaLocationsCreated) && Objects.equals(this.recordingPostProcessor, liveTvOptions.recordingPostProcessor) && - Objects.equals(this.recordingPostProcessorArguments, liveTvOptions.recordingPostProcessorArguments); + Objects.equals(this.recordingPostProcessorArguments, liveTvOptions.recordingPostProcessorArguments) && + Objects.equals(this.saveRecordingNFO, liveTvOptions.saveRecordingNFO) && + Objects.equals(this.saveRecordingImages, liveTvOptions.saveRecordingImages); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -425,7 +475,7 @@ public class LiveTvOptions { @Override public int hashCode() { - return Objects.hash(guideDays, recordingPath, movieRecordingPath, seriesRecordingPath, enableRecordingSubfolders, enableOriginalAudioWithEncodedRecordings, tunerHosts, listingProviders, prePaddingSeconds, postPaddingSeconds, mediaLocationsCreated, recordingPostProcessor, recordingPostProcessorArguments); + return Objects.hash(guideDays, recordingPath, movieRecordingPath, seriesRecordingPath, enableRecordingSubfolders, enableOriginalAudioWithEncodedRecordings, tunerHosts, listingProviders, prePaddingSeconds, postPaddingSeconds, mediaLocationsCreated, recordingPostProcessor, recordingPostProcessorArguments, saveRecordingNFO, saveRecordingImages); } private static int hashCodeNullable(JsonNullable a) { @@ -452,6 +502,8 @@ public class LiveTvOptions { sb.append(" mediaLocationsCreated: ").append(toIndentedString(mediaLocationsCreated)).append("\n"); sb.append(" recordingPostProcessor: ").append(toIndentedString(recordingPostProcessor)).append("\n"); sb.append(" recordingPostProcessorArguments: ").append(toIndentedString(recordingPostProcessorArguments)).append("\n"); + sb.append(" saveRecordingNFO: ").append(toIndentedString(saveRecordingNFO)).append("\n"); + sb.append(" saveRecordingImages: ").append(toIndentedString(saveRecordingImages)).append("\n"); sb.append("}"); return sb.toString(); } @@ -487,6 +539,8 @@ public class LiveTvOptions { openapiFields.add("MediaLocationsCreated"); openapiFields.add("RecordingPostProcessor"); openapiFields.add("RecordingPostProcessorArguments"); + openapiFields.add("SaveRecordingNFO"); + openapiFields.add("SaveRecordingImages"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LiveTvServiceInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LiveTvServiceInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LiveTvServiceInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LiveTvServiceInfo.java index fd5d2d0a542..3ae350d1ac8 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LiveTvServiceInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LiveTvServiceInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * Class ServiceInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LiveTvServiceInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LiveTvServiceStatus.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LiveTvServiceStatus.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LiveTvServiceStatus.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LiveTvServiceStatus.java index b368255a701..f778257822f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LiveTvServiceStatus.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LiveTvServiceStatus.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LocalizationOption.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LocalizationOption.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LocalizationOption.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LocalizationOption.java index 135b59f09e6..02a57f76f98 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LocalizationOption.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LocalizationOption.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * LocalizationOption */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LocalizationOption { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LocationType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LocationType.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LocationType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LocationType.java index e53965eb4fe..e6c1d3737c9 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LocationType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LocationType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LogFile.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LogFile.java similarity index 93% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LogFile.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LogFile.java index 501e150acfe..3df429b8305 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LogFile.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LogFile.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,7 +22,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.time.OffsetDateTime; import java.util.Arrays; -import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -50,7 +49,7 @@ import org.openapitools.client.JSON; /** * LogFile */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LogFile { public static final String SERIALIZED_NAME_DATE_CREATED = "DateCreated"; @SerializedName(SERIALIZED_NAME_DATE_CREATED) @@ -167,22 +166,11 @@ public class LogFile { Objects.equals(this.name, logFile.name); } - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - @Override public int hashCode() { return Objects.hash(dateCreated, dateModified, size, name); } - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - @Override public String toString() { StringBuilder sb = new StringBuilder(); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LogLevel.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LogLevel.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LogLevel.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LogLevel.java index bb546c39170..d8fe6d58423 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LogLevel.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LogLevel.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportGroup.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LyricDto.java similarity index 54% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportGroup.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LyricDto.java index 912550202a0..d49c1716e12 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportGroup.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LyricDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,7 +23,8 @@ import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import org.openapitools.client.model.ReportRow; +import org.openapitools.client.model.LyricLine; +import org.openapitools.client.model.LyricMetadata; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -49,66 +50,66 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * ReportGroup + * LyricResponse model. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class ReportGroup { - public static final String SERIALIZED_NAME_NAME = "Name"; - @SerializedName(SERIALIZED_NAME_NAME) +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class LyricDto { + public static final String SERIALIZED_NAME_METADATA = "Metadata"; + @SerializedName(SERIALIZED_NAME_METADATA) @javax.annotation.Nullable - private String name; + private LyricMetadata metadata; - public static final String SERIALIZED_NAME_ROWS = "Rows"; - @SerializedName(SERIALIZED_NAME_ROWS) + public static final String SERIALIZED_NAME_LYRICS = "Lyrics"; + @SerializedName(SERIALIZED_NAME_LYRICS) @javax.annotation.Nullable - private List rows = new ArrayList<>(); + private List lyrics = new ArrayList<>(); - public ReportGroup() { + public LyricDto() { } - public ReportGroup name(@javax.annotation.Nullable String name) { - this.name = name; + public LyricDto metadata(@javax.annotation.Nullable LyricMetadata metadata) { + this.metadata = metadata; return this; } /** - * Get name - * @return name + * Gets or sets Metadata for the lyrics. + * @return metadata */ @javax.annotation.Nullable - public String getName() { - return name; + public LyricMetadata getMetadata() { + return metadata; } - public void setName(@javax.annotation.Nullable String name) { - this.name = name; + public void setMetadata(@javax.annotation.Nullable LyricMetadata metadata) { + this.metadata = metadata; } - public ReportGroup rows(@javax.annotation.Nullable List rows) { - this.rows = rows; + public LyricDto lyrics(@javax.annotation.Nullable List lyrics) { + this.lyrics = lyrics; return this; } - public ReportGroup addRowsItem(ReportRow rowsItem) { - if (this.rows == null) { - this.rows = new ArrayList<>(); + public LyricDto addLyricsItem(LyricLine lyricsItem) { + if (this.lyrics == null) { + this.lyrics = new ArrayList<>(); } - this.rows.add(rowsItem); + this.lyrics.add(lyricsItem); return this; } /** - * Get rows - * @return rows + * Gets or sets a collection of individual lyric lines. + * @return lyrics */ @javax.annotation.Nullable - public List getRows() { - return rows; + public List getLyrics() { + return lyrics; } - public void setRows(@javax.annotation.Nullable List rows) { - this.rows = rows; + public void setLyrics(@javax.annotation.Nullable List lyrics) { + this.lyrics = lyrics; } @@ -121,22 +122,22 @@ public class ReportGroup { if (o == null || getClass() != o.getClass()) { return false; } - ReportGroup reportGroup = (ReportGroup) o; - return Objects.equals(this.name, reportGroup.name) && - Objects.equals(this.rows, reportGroup.rows); + LyricDto lyricDto = (LyricDto) o; + return Objects.equals(this.metadata, lyricDto.metadata) && + Objects.equals(this.lyrics, lyricDto.lyrics); } @Override public int hashCode() { - return Objects.hash(name, rows); + return Objects.hash(metadata, lyrics); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class ReportGroup {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" rows: ").append(toIndentedString(rows)).append("\n"); + sb.append("class LyricDto {\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" lyrics: ").append(toIndentedString(lyrics)).append("\n"); sb.append("}"); return sb.toString(); } @@ -159,8 +160,8 @@ public class ReportGroup { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("Name"); - openapiFields.add("Rows"); + openapiFields.add("Metadata"); + openapiFields.add("Lyrics"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -170,37 +171,38 @@ public class ReportGroup { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ReportGroup + * @throws IOException if the JSON Element is invalid with respect to LyricDto */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!ReportGroup.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ReportGroup is not found in the empty JSON string", ReportGroup.openapiRequiredFields.toString())); + if (!LyricDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in LyricDto is not found in the empty JSON string", LyricDto.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!ReportGroup.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ReportGroup` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!LyricDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `LyricDto` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Name") != null && !jsonObj.get("Name").isJsonNull()) && !jsonObj.get("Name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Name").toString())); + // validate the optional field `Metadata` + if (jsonObj.get("Metadata") != null && !jsonObj.get("Metadata").isJsonNull()) { + LyricMetadata.validateJsonElement(jsonObj.get("Metadata")); } - if (jsonObj.get("Rows") != null && !jsonObj.get("Rows").isJsonNull()) { - JsonArray jsonArrayrows = jsonObj.getAsJsonArray("Rows"); - if (jsonArrayrows != null) { + if (jsonObj.get("Lyrics") != null && !jsonObj.get("Lyrics").isJsonNull()) { + JsonArray jsonArraylyrics = jsonObj.getAsJsonArray("Lyrics"); + if (jsonArraylyrics != null) { // ensure the json data is an array - if (!jsonObj.get("Rows").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `Rows` to be an array in the JSON string but got `%s`", jsonObj.get("Rows").toString())); + if (!jsonObj.get("Lyrics").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `Lyrics` to be an array in the JSON string but got `%s`", jsonObj.get("Lyrics").toString())); } - // validate the optional field `Rows` (array) - for (int i = 0; i < jsonArrayrows.size(); i++) { - ReportRow.validateJsonElement(jsonArrayrows.get(i)); + // validate the optional field `Lyrics` (array) + for (int i = 0; i < jsonArraylyrics.size(); i++) { + LyricLine.validateJsonElement(jsonArraylyrics.get(i)); }; } } @@ -210,22 +212,22 @@ public class ReportGroup { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!ReportGroup.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ReportGroup' and its subtypes + if (!LyricDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'LyricDto' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ReportGroup.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(LyricDto.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, ReportGroup value) throws IOException { + public void write(JsonWriter out, LyricDto value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public ReportGroup read(JsonReader in) throws IOException { + public LyricDto read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -236,18 +238,18 @@ public class ReportGroup { } /** - * Create an instance of ReportGroup given an JSON string + * Create an instance of LyricDto given an JSON string * * @param jsonString JSON string - * @return An instance of ReportGroup - * @throws IOException if the JSON string is invalid with respect to ReportGroup + * @return An instance of LyricDto + * @throws IOException if the JSON string is invalid with respect to LyricDto */ - public static ReportGroup fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ReportGroup.class); + public static LyricDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, LyricDto.class); } /** - * Convert an instance of ReportGroup to an JSON string + * Convert an instance of LyricDto to an JSON string * * @return JSON string */ diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LyricLine.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LyricLine.java new file mode 100644 index 00000000000..10f73247e29 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LyricLine.java @@ -0,0 +1,245 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Lyric model. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class LyricLine { + public static final String SERIALIZED_NAME_TEXT = "Text"; + @SerializedName(SERIALIZED_NAME_TEXT) + @javax.annotation.Nullable + private String text; + + public static final String SERIALIZED_NAME_START = "Start"; + @SerializedName(SERIALIZED_NAME_START) + @javax.annotation.Nullable + private Long start; + + public LyricLine() { + } + + public LyricLine text(@javax.annotation.Nullable String text) { + this.text = text; + return this; + } + + /** + * Gets the text of this lyric line. + * @return text + */ + @javax.annotation.Nullable + public String getText() { + return text; + } + + public void setText(@javax.annotation.Nullable String text) { + this.text = text; + } + + + public LyricLine start(@javax.annotation.Nullable Long start) { + this.start = start; + return this; + } + + /** + * Gets the start time in ticks. + * @return start + */ + @javax.annotation.Nullable + public Long getStart() { + return start; + } + + public void setStart(@javax.annotation.Nullable Long start) { + this.start = start; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LyricLine lyricLine = (LyricLine) o; + return Objects.equals(this.text, lyricLine.text) && + Objects.equals(this.start, lyricLine.start); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(text, start); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LyricLine {\n"); + sb.append(" text: ").append(toIndentedString(text)).append("\n"); + sb.append(" start: ").append(toIndentedString(start)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Text"); + openapiFields.add("Start"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to LyricLine + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!LyricLine.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in LyricLine is not found in the empty JSON string", LyricLine.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!LyricLine.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `LyricLine` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("Text") != null && !jsonObj.get("Text").isJsonNull()) && !jsonObj.get("Text").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Text").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!LyricLine.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'LyricLine' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(LyricLine.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, LyricLine value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public LyricLine read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of LyricLine given an JSON string + * + * @param jsonString JSON string + * @return An instance of LyricLine + * @throws IOException if the JSON string is invalid with respect to LyricLine + */ + public static LyricLine fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, LyricLine.class); + } + + /** + * Convert an instance of LyricLine to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LyricMetadata.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LyricMetadata.java new file mode 100644 index 00000000000..37b9af24990 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/LyricMetadata.java @@ -0,0 +1,479 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * LyricMetadata model. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class LyricMetadata { + public static final String SERIALIZED_NAME_ARTIST = "Artist"; + @SerializedName(SERIALIZED_NAME_ARTIST) + @javax.annotation.Nullable + private String artist; + + public static final String SERIALIZED_NAME_ALBUM = "Album"; + @SerializedName(SERIALIZED_NAME_ALBUM) + @javax.annotation.Nullable + private String album; + + public static final String SERIALIZED_NAME_TITLE = "Title"; + @SerializedName(SERIALIZED_NAME_TITLE) + @javax.annotation.Nullable + private String title; + + public static final String SERIALIZED_NAME_AUTHOR = "Author"; + @SerializedName(SERIALIZED_NAME_AUTHOR) + @javax.annotation.Nullable + private String author; + + public static final String SERIALIZED_NAME_LENGTH = "Length"; + @SerializedName(SERIALIZED_NAME_LENGTH) + @javax.annotation.Nullable + private Long length; + + public static final String SERIALIZED_NAME_BY = "By"; + @SerializedName(SERIALIZED_NAME_BY) + @javax.annotation.Nullable + private String by; + + public static final String SERIALIZED_NAME_OFFSET = "Offset"; + @SerializedName(SERIALIZED_NAME_OFFSET) + @javax.annotation.Nullable + private Long offset; + + public static final String SERIALIZED_NAME_CREATOR = "Creator"; + @SerializedName(SERIALIZED_NAME_CREATOR) + @javax.annotation.Nullable + private String creator; + + public static final String SERIALIZED_NAME_VERSION = "Version"; + @SerializedName(SERIALIZED_NAME_VERSION) + @javax.annotation.Nullable + private String version; + + public static final String SERIALIZED_NAME_IS_SYNCED = "IsSynced"; + @SerializedName(SERIALIZED_NAME_IS_SYNCED) + @javax.annotation.Nullable + private Boolean isSynced; + + public LyricMetadata() { + } + + public LyricMetadata artist(@javax.annotation.Nullable String artist) { + this.artist = artist; + return this; + } + + /** + * Gets or sets the song artist. + * @return artist + */ + @javax.annotation.Nullable + public String getArtist() { + return artist; + } + + public void setArtist(@javax.annotation.Nullable String artist) { + this.artist = artist; + } + + + public LyricMetadata album(@javax.annotation.Nullable String album) { + this.album = album; + return this; + } + + /** + * Gets or sets the album this song is on. + * @return album + */ + @javax.annotation.Nullable + public String getAlbum() { + return album; + } + + public void setAlbum(@javax.annotation.Nullable String album) { + this.album = album; + } + + + public LyricMetadata title(@javax.annotation.Nullable String title) { + this.title = title; + return this; + } + + /** + * Gets or sets the title of the song. + * @return title + */ + @javax.annotation.Nullable + public String getTitle() { + return title; + } + + public void setTitle(@javax.annotation.Nullable String title) { + this.title = title; + } + + + public LyricMetadata author(@javax.annotation.Nullable String author) { + this.author = author; + return this; + } + + /** + * Gets or sets the author of the lyric data. + * @return author + */ + @javax.annotation.Nullable + public String getAuthor() { + return author; + } + + public void setAuthor(@javax.annotation.Nullable String author) { + this.author = author; + } + + + public LyricMetadata length(@javax.annotation.Nullable Long length) { + this.length = length; + return this; + } + + /** + * Gets or sets the length of the song in ticks. + * @return length + */ + @javax.annotation.Nullable + public Long getLength() { + return length; + } + + public void setLength(@javax.annotation.Nullable Long length) { + this.length = length; + } + + + public LyricMetadata by(@javax.annotation.Nullable String by) { + this.by = by; + return this; + } + + /** + * Gets or sets who the LRC file was created by. + * @return by + */ + @javax.annotation.Nullable + public String getBy() { + return by; + } + + public void setBy(@javax.annotation.Nullable String by) { + this.by = by; + } + + + public LyricMetadata offset(@javax.annotation.Nullable Long offset) { + this.offset = offset; + return this; + } + + /** + * Gets or sets the lyric offset compared to audio in ticks. + * @return offset + */ + @javax.annotation.Nullable + public Long getOffset() { + return offset; + } + + public void setOffset(@javax.annotation.Nullable Long offset) { + this.offset = offset; + } + + + public LyricMetadata creator(@javax.annotation.Nullable String creator) { + this.creator = creator; + return this; + } + + /** + * Gets or sets the software used to create the LRC file. + * @return creator + */ + @javax.annotation.Nullable + public String getCreator() { + return creator; + } + + public void setCreator(@javax.annotation.Nullable String creator) { + this.creator = creator; + } + + + public LyricMetadata version(@javax.annotation.Nullable String version) { + this.version = version; + return this; + } + + /** + * Gets or sets the version of the creator used. + * @return version + */ + @javax.annotation.Nullable + public String getVersion() { + return version; + } + + public void setVersion(@javax.annotation.Nullable String version) { + this.version = version; + } + + + public LyricMetadata isSynced(@javax.annotation.Nullable Boolean isSynced) { + this.isSynced = isSynced; + return this; + } + + /** + * Gets or sets a value indicating whether this lyric is synced. + * @return isSynced + */ + @javax.annotation.Nullable + public Boolean getIsSynced() { + return isSynced; + } + + public void setIsSynced(@javax.annotation.Nullable Boolean isSynced) { + this.isSynced = isSynced; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LyricMetadata lyricMetadata = (LyricMetadata) o; + return Objects.equals(this.artist, lyricMetadata.artist) && + Objects.equals(this.album, lyricMetadata.album) && + Objects.equals(this.title, lyricMetadata.title) && + Objects.equals(this.author, lyricMetadata.author) && + Objects.equals(this.length, lyricMetadata.length) && + Objects.equals(this.by, lyricMetadata.by) && + Objects.equals(this.offset, lyricMetadata.offset) && + Objects.equals(this.creator, lyricMetadata.creator) && + Objects.equals(this.version, lyricMetadata.version) && + Objects.equals(this.isSynced, lyricMetadata.isSynced); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(artist, album, title, author, length, by, offset, creator, version, isSynced); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LyricMetadata {\n"); + sb.append(" artist: ").append(toIndentedString(artist)).append("\n"); + sb.append(" album: ").append(toIndentedString(album)).append("\n"); + sb.append(" title: ").append(toIndentedString(title)).append("\n"); + sb.append(" author: ").append(toIndentedString(author)).append("\n"); + sb.append(" length: ").append(toIndentedString(length)).append("\n"); + sb.append(" by: ").append(toIndentedString(by)).append("\n"); + sb.append(" offset: ").append(toIndentedString(offset)).append("\n"); + sb.append(" creator: ").append(toIndentedString(creator)).append("\n"); + sb.append(" version: ").append(toIndentedString(version)).append("\n"); + sb.append(" isSynced: ").append(toIndentedString(isSynced)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Artist"); + openapiFields.add("Album"); + openapiFields.add("Title"); + openapiFields.add("Author"); + openapiFields.add("Length"); + openapiFields.add("By"); + openapiFields.add("Offset"); + openapiFields.add("Creator"); + openapiFields.add("Version"); + openapiFields.add("IsSynced"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to LyricMetadata + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!LyricMetadata.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in LyricMetadata is not found in the empty JSON string", LyricMetadata.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!LyricMetadata.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `LyricMetadata` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("Artist") != null && !jsonObj.get("Artist").isJsonNull()) && !jsonObj.get("Artist").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Artist` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Artist").toString())); + } + if ((jsonObj.get("Album") != null && !jsonObj.get("Album").isJsonNull()) && !jsonObj.get("Album").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Album` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Album").toString())); + } + if ((jsonObj.get("Title") != null && !jsonObj.get("Title").isJsonNull()) && !jsonObj.get("Title").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Title` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Title").toString())); + } + if ((jsonObj.get("Author") != null && !jsonObj.get("Author").isJsonNull()) && !jsonObj.get("Author").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Author` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Author").toString())); + } + if ((jsonObj.get("By") != null && !jsonObj.get("By").isJsonNull()) && !jsonObj.get("By").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `By` to be a primitive type in the JSON string but got `%s`", jsonObj.get("By").toString())); + } + if ((jsonObj.get("Creator") != null && !jsonObj.get("Creator").isJsonNull()) && !jsonObj.get("Creator").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Creator` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Creator").toString())); + } + if ((jsonObj.get("Version") != null && !jsonObj.get("Version").isJsonNull()) && !jsonObj.get("Version").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Version` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Version").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!LyricMetadata.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'LyricMetadata' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(LyricMetadata.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, LyricMetadata value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public LyricMetadata read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of LyricMetadata given an JSON string + * + * @param jsonString JSON string + * @return An instance of LyricMetadata + * @throws IOException if the JSON string is invalid with respect to LyricMetadata + */ + public static LyricMetadata fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, LyricMetadata.class); + } + + /** + * Convert an instance of LyricMetadata to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaAttachment.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaAttachment.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaAttachment.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaAttachment.java index 5ee64f46cfe..57952f434c5 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaAttachment.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaAttachment.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class MediaAttachment. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MediaAttachment { public static final String SERIALIZED_NAME_CODEC = "Codec"; @SerializedName(SERIALIZED_NAME_CODEC) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaPathDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaPathDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaPathDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaPathDto.java index dbf03e00125..7d0eb2dee8a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaPathDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaPathDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Media Path dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MediaPathDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaPathInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaPathInfo.java similarity index 77% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaPathInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaPathInfo.java index 5df47e6ffc8..c36a7f3cedb 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaPathInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaPathInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,7 +21,6 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.util.Arrays; -import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -49,18 +48,13 @@ import org.openapitools.client.JSON; /** * MediaPathInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MediaPathInfo { public static final String SERIALIZED_NAME_PATH = "Path"; @SerializedName(SERIALIZED_NAME_PATH) @javax.annotation.Nullable private String path; - public static final String SERIALIZED_NAME_NETWORK_PATH = "NetworkPath"; - @SerializedName(SERIALIZED_NAME_NETWORK_PATH) - @javax.annotation.Nullable - private String networkPath; - public MediaPathInfo() { } @@ -83,25 +77,6 @@ public class MediaPathInfo { } - public MediaPathInfo networkPath(@javax.annotation.Nullable String networkPath) { - this.networkPath = networkPath; - return this; - } - - /** - * Get networkPath - * @return networkPath - */ - @javax.annotation.Nullable - public String getNetworkPath() { - return networkPath; - } - - public void setNetworkPath(@javax.annotation.Nullable String networkPath) { - this.networkPath = networkPath; - } - - @Override public boolean equals(Object o) { @@ -112,24 +87,12 @@ public class MediaPathInfo { return false; } MediaPathInfo mediaPathInfo = (MediaPathInfo) o; - return Objects.equals(this.path, mediaPathInfo.path) && - Objects.equals(this.networkPath, mediaPathInfo.networkPath); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + return Objects.equals(this.path, mediaPathInfo.path); } @Override public int hashCode() { - return Objects.hash(path, networkPath); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + return Objects.hash(path); } @Override @@ -137,7 +100,6 @@ public class MediaPathInfo { StringBuilder sb = new StringBuilder(); sb.append("class MediaPathInfo {\n"); sb.append(" path: ").append(toIndentedString(path)).append("\n"); - sb.append(" networkPath: ").append(toIndentedString(networkPath)).append("\n"); sb.append("}"); return sb.toString(); } @@ -161,7 +123,6 @@ public class MediaPathInfo { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("Path"); - openapiFields.add("NetworkPath"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -191,9 +152,6 @@ public class MediaPathInfo { if ((jsonObj.get("Path") != null && !jsonObj.get("Path").isJsonNull()) && !jsonObj.get("Path").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `Path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Path").toString())); } - if ((jsonObj.get("NetworkPath") != null && !jsonObj.get("NetworkPath").isJsonNull()) && !jsonObj.get("NetworkPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `NetworkPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("NetworkPath").toString())); - } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaProtocol.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaProtocol.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaProtocol.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaProtocol.java index c3e9ade96f6..e446b9189b0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaProtocol.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaProtocol.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceProfileInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaSegmentDto.java similarity index 52% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceProfileInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaSegmentDto.java index 8391ffd0923..b09cfa5d4c8 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceProfileInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaSegmentDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,8 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.util.Arrays; -import org.openapitools.client.model.DeviceProfileType; -import org.openapitools.jackson.nullable.JsonNullable; +import java.util.UUID; +import org.openapitools.client.model.MediaSegmentType; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -48,85 +48,133 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * DeviceProfileInfo + * Api model for MediaSegment's. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class DeviceProfileInfo { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class MediaSegmentDto { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) @javax.annotation.Nullable - private String id; + private UUID id; - public static final String SERIALIZED_NAME_NAME = "Name"; - @SerializedName(SERIALIZED_NAME_NAME) + public static final String SERIALIZED_NAME_ITEM_ID = "ItemId"; + @SerializedName(SERIALIZED_NAME_ITEM_ID) @javax.annotation.Nullable - private String name; + private UUID itemId; public static final String SERIALIZED_NAME_TYPE = "Type"; @SerializedName(SERIALIZED_NAME_TYPE) @javax.annotation.Nullable - private DeviceProfileType type; + private MediaSegmentType type; - public DeviceProfileInfo() { + public static final String SERIALIZED_NAME_START_TICKS = "StartTicks"; + @SerializedName(SERIALIZED_NAME_START_TICKS) + @javax.annotation.Nullable + private Long startTicks; + + public static final String SERIALIZED_NAME_END_TICKS = "EndTicks"; + @SerializedName(SERIALIZED_NAME_END_TICKS) + @javax.annotation.Nullable + private Long endTicks; + + public MediaSegmentDto() { } - public DeviceProfileInfo id(@javax.annotation.Nullable String id) { + public MediaSegmentDto id(@javax.annotation.Nullable UUID id) { this.id = id; return this; } /** - * Gets or sets the identifier. + * Gets or sets the id of the media segment. * @return id */ @javax.annotation.Nullable - public String getId() { + public UUID getId() { return id; } - public void setId(@javax.annotation.Nullable String id) { + public void setId(@javax.annotation.Nullable UUID id) { this.id = id; } - public DeviceProfileInfo name(@javax.annotation.Nullable String name) { - this.name = name; + public MediaSegmentDto itemId(@javax.annotation.Nullable UUID itemId) { + this.itemId = itemId; return this; } /** - * Gets or sets the name. - * @return name + * Gets or sets the id of the associated item. + * @return itemId */ @javax.annotation.Nullable - public String getName() { - return name; + public UUID getItemId() { + return itemId; } - public void setName(@javax.annotation.Nullable String name) { - this.name = name; + public void setItemId(@javax.annotation.Nullable UUID itemId) { + this.itemId = itemId; } - public DeviceProfileInfo type(@javax.annotation.Nullable DeviceProfileType type) { + public MediaSegmentDto type(@javax.annotation.Nullable MediaSegmentType type) { this.type = type; return this; } /** - * Gets or sets the type. + * Defines the types of content an individual Jellyfin.Data.Entities.MediaSegment represents. * @return type */ @javax.annotation.Nullable - public DeviceProfileType getType() { + public MediaSegmentType getType() { return type; } - public void setType(@javax.annotation.Nullable DeviceProfileType type) { + public void setType(@javax.annotation.Nullable MediaSegmentType type) { this.type = type; } + public MediaSegmentDto startTicks(@javax.annotation.Nullable Long startTicks) { + this.startTicks = startTicks; + return this; + } + + /** + * Gets or sets the start of the segment. + * @return startTicks + */ + @javax.annotation.Nullable + public Long getStartTicks() { + return startTicks; + } + + public void setStartTicks(@javax.annotation.Nullable Long startTicks) { + this.startTicks = startTicks; + } + + + public MediaSegmentDto endTicks(@javax.annotation.Nullable Long endTicks) { + this.endTicks = endTicks; + return this; + } + + /** + * Gets or sets the end of the segment. + * @return endTicks + */ + @javax.annotation.Nullable + public Long getEndTicks() { + return endTicks; + } + + public void setEndTicks(@javax.annotation.Nullable Long endTicks) { + this.endTicks = endTicks; + } + + @Override public boolean equals(Object o) { @@ -136,35 +184,28 @@ public class DeviceProfileInfo { if (o == null || getClass() != o.getClass()) { return false; } - DeviceProfileInfo deviceProfileInfo = (DeviceProfileInfo) o; - return Objects.equals(this.id, deviceProfileInfo.id) && - Objects.equals(this.name, deviceProfileInfo.name) && - Objects.equals(this.type, deviceProfileInfo.type); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + MediaSegmentDto mediaSegmentDto = (MediaSegmentDto) o; + return Objects.equals(this.id, mediaSegmentDto.id) && + Objects.equals(this.itemId, mediaSegmentDto.itemId) && + Objects.equals(this.type, mediaSegmentDto.type) && + Objects.equals(this.startTicks, mediaSegmentDto.startTicks) && + Objects.equals(this.endTicks, mediaSegmentDto.endTicks); } @Override public int hashCode() { - return Objects.hash(id, name, type); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + return Objects.hash(id, itemId, type, startTicks, endTicks); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class DeviceProfileInfo {\n"); + sb.append("class MediaSegmentDto {\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" startTicks: ").append(toIndentedString(startTicks)).append("\n"); + sb.append(" endTicks: ").append(toIndentedString(endTicks)).append("\n"); sb.append("}"); return sb.toString(); } @@ -188,8 +229,10 @@ public class DeviceProfileInfo { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("Id"); - openapiFields.add("Name"); + openapiFields.add("ItemId"); openapiFields.add("Type"); + openapiFields.add("StartTicks"); + openapiFields.add("EndTicks"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -199,32 +242,32 @@ public class DeviceProfileInfo { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DeviceProfileInfo + * @throws IOException if the JSON Element is invalid with respect to MediaSegmentDto */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!DeviceProfileInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in DeviceProfileInfo is not found in the empty JSON string", DeviceProfileInfo.openapiRequiredFields.toString())); + if (!MediaSegmentDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in MediaSegmentDto is not found in the empty JSON string", MediaSegmentDto.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!DeviceProfileInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DeviceProfileInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!MediaSegmentDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `MediaSegmentDto` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("Id") != null && !jsonObj.get("Id").isJsonNull()) && !jsonObj.get("Id").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `Id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Id").toString())); } - if ((jsonObj.get("Name") != null && !jsonObj.get("Name").isJsonNull()) && !jsonObj.get("Name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Name").toString())); + if ((jsonObj.get("ItemId") != null && !jsonObj.get("ItemId").isJsonNull()) && !jsonObj.get("ItemId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `ItemId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ItemId").toString())); } // validate the optional field `Type` if (jsonObj.get("Type") != null && !jsonObj.get("Type").isJsonNull()) { - DeviceProfileType.validateJsonElement(jsonObj.get("Type")); + MediaSegmentType.validateJsonElement(jsonObj.get("Type")); } } @@ -232,22 +275,22 @@ public class DeviceProfileInfo { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!DeviceProfileInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'DeviceProfileInfo' and its subtypes + if (!MediaSegmentDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'MediaSegmentDto' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(DeviceProfileInfo.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(MediaSegmentDto.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, DeviceProfileInfo value) throws IOException { + public void write(JsonWriter out, MediaSegmentDto value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public DeviceProfileInfo read(JsonReader in) throws IOException { + public MediaSegmentDto read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -258,18 +301,18 @@ public class DeviceProfileInfo { } /** - * Create an instance of DeviceProfileInfo given an JSON string + * Create an instance of MediaSegmentDto given an JSON string * * @param jsonString JSON string - * @return An instance of DeviceProfileInfo - * @throws IOException if the JSON string is invalid with respect to DeviceProfileInfo + * @return An instance of MediaSegmentDto + * @throws IOException if the JSON string is invalid with respect to MediaSegmentDto */ - public static DeviceProfileInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, DeviceProfileInfo.class); + public static MediaSegmentDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, MediaSegmentDto.class); } /** - * Convert an instance of DeviceProfileInfo to an JSON string + * Convert an instance of MediaSegmentDto to an JSON string * * @return JSON string */ diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaSegmentDtoQueryResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaSegmentDtoQueryResult.java new file mode 100644 index 00000000000..b2282f6ad06 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaSegmentDtoQueryResult.java @@ -0,0 +1,282 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.openapitools.client.model.MediaSegmentDto; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Query result container. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class MediaSegmentDtoQueryResult { + public static final String SERIALIZED_NAME_ITEMS = "Items"; + @SerializedName(SERIALIZED_NAME_ITEMS) + @javax.annotation.Nullable + private List items = new ArrayList<>(); + + public static final String SERIALIZED_NAME_TOTAL_RECORD_COUNT = "TotalRecordCount"; + @SerializedName(SERIALIZED_NAME_TOTAL_RECORD_COUNT) + @javax.annotation.Nullable + private Integer totalRecordCount; + + public static final String SERIALIZED_NAME_START_INDEX = "StartIndex"; + @SerializedName(SERIALIZED_NAME_START_INDEX) + @javax.annotation.Nullable + private Integer startIndex; + + public MediaSegmentDtoQueryResult() { + } + + public MediaSegmentDtoQueryResult items(@javax.annotation.Nullable List items) { + this.items = items; + return this; + } + + public MediaSegmentDtoQueryResult addItemsItem(MediaSegmentDto itemsItem) { + if (this.items == null) { + this.items = new ArrayList<>(); + } + this.items.add(itemsItem); + return this; + } + + /** + * Gets or sets the items. + * @return items + */ + @javax.annotation.Nullable + public List getItems() { + return items; + } + + public void setItems(@javax.annotation.Nullable List items) { + this.items = items; + } + + + public MediaSegmentDtoQueryResult totalRecordCount(@javax.annotation.Nullable Integer totalRecordCount) { + this.totalRecordCount = totalRecordCount; + return this; + } + + /** + * Gets or sets the total number of records available. + * @return totalRecordCount + */ + @javax.annotation.Nullable + public Integer getTotalRecordCount() { + return totalRecordCount; + } + + public void setTotalRecordCount(@javax.annotation.Nullable Integer totalRecordCount) { + this.totalRecordCount = totalRecordCount; + } + + + public MediaSegmentDtoQueryResult startIndex(@javax.annotation.Nullable Integer startIndex) { + this.startIndex = startIndex; + return this; + } + + /** + * Gets or sets the index of the first record in Items. + * @return startIndex + */ + @javax.annotation.Nullable + public Integer getStartIndex() { + return startIndex; + } + + public void setStartIndex(@javax.annotation.Nullable Integer startIndex) { + this.startIndex = startIndex; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MediaSegmentDtoQueryResult mediaSegmentDtoQueryResult = (MediaSegmentDtoQueryResult) o; + return Objects.equals(this.items, mediaSegmentDtoQueryResult.items) && + Objects.equals(this.totalRecordCount, mediaSegmentDtoQueryResult.totalRecordCount) && + Objects.equals(this.startIndex, mediaSegmentDtoQueryResult.startIndex); + } + + @Override + public int hashCode() { + return Objects.hash(items, totalRecordCount, startIndex); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MediaSegmentDtoQueryResult {\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" totalRecordCount: ").append(toIndentedString(totalRecordCount)).append("\n"); + sb.append(" startIndex: ").append(toIndentedString(startIndex)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Items"); + openapiFields.add("TotalRecordCount"); + openapiFields.add("StartIndex"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to MediaSegmentDtoQueryResult + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!MediaSegmentDtoQueryResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in MediaSegmentDtoQueryResult is not found in the empty JSON string", MediaSegmentDtoQueryResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!MediaSegmentDtoQueryResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `MediaSegmentDtoQueryResult` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (jsonObj.get("Items") != null && !jsonObj.get("Items").isJsonNull()) { + JsonArray jsonArrayitems = jsonObj.getAsJsonArray("Items"); + if (jsonArrayitems != null) { + // ensure the json data is an array + if (!jsonObj.get("Items").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `Items` to be an array in the JSON string but got `%s`", jsonObj.get("Items").toString())); + } + + // validate the optional field `Items` (array) + for (int i = 0; i < jsonArrayitems.size(); i++) { + MediaSegmentDto.validateJsonElement(jsonArrayitems.get(i)); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!MediaSegmentDtoQueryResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'MediaSegmentDtoQueryResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(MediaSegmentDtoQueryResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, MediaSegmentDtoQueryResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public MediaSegmentDtoQueryResult read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of MediaSegmentDtoQueryResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of MediaSegmentDtoQueryResult + * @throws IOException if the JSON string is invalid with respect to MediaSegmentDtoQueryResult + */ + public static MediaSegmentDtoQueryResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, MediaSegmentDtoQueryResult.class); + } + + /** + * Convert an instance of MediaSegmentDtoQueryResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaSegmentType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaSegmentType.java new file mode 100644 index 00000000000..eb603f14dd0 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaSegmentType.java @@ -0,0 +1,86 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.JsonElement; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Defines the types of content an individual Jellyfin.Data.Entities.MediaSegment represents. + */ +@JsonAdapter(MediaSegmentType.Adapter.class) +public enum MediaSegmentType { + + UNKNOWN("Unknown"), + + COMMERCIAL("Commercial"), + + PREVIEW("Preview"), + + RECAP("Recap"), + + OUTRO("Outro"), + + INTRO("Intro"); + + private String value; + + MediaSegmentType(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static MediaSegmentType fromValue(String value) { + for (MediaSegmentType b : MediaSegmentType.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final MediaSegmentType enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public MediaSegmentType read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return MediaSegmentType.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + MediaSegmentType.fromValue(value); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaSourceInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaSourceInfo.java similarity index 91% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaSourceInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaSourceInfo.java index d297cc0ad08..a15e4499eee 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaSourceInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaSourceInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,6 +30,7 @@ import org.openapitools.client.model.MediaAttachment; import org.openapitools.client.model.MediaProtocol; import org.openapitools.client.model.MediaSourceType; import org.openapitools.client.model.MediaStream; +import org.openapitools.client.model.MediaStreamProtocol; import org.openapitools.client.model.TransportStreamTimestamp; import org.openapitools.client.model.Video3DFormat; import org.openapitools.client.model.VideoType; @@ -61,7 +62,7 @@ import org.openapitools.client.JSON; /** * MediaSourceInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MediaSourceInfo { public static final String SERIALIZED_NAME_PROTOCOL = "Protocol"; @SerializedName(SERIALIZED_NAME_PROTOCOL) @@ -163,6 +164,11 @@ public class MediaSourceInfo { @javax.annotation.Nullable private Boolean isInfiniteStream; + public static final String SERIALIZED_NAME_USE_MOST_COMPATIBLE_TRANSCODING_PROFILE = "UseMostCompatibleTranscodingProfile"; + @SerializedName(SERIALIZED_NAME_USE_MOST_COMPATIBLE_TRANSCODING_PROFILE) + @javax.annotation.Nullable + private Boolean useMostCompatibleTranscodingProfile = false; + public static final String SERIALIZED_NAME_REQUIRES_OPENING = "RequiresOpening"; @SerializedName(SERIALIZED_NAME_REQUIRES_OPENING) @javax.annotation.Nullable @@ -233,6 +239,11 @@ public class MediaSourceInfo { @javax.annotation.Nullable private Integer bitrate; + public static final String SERIALIZED_NAME_FALLBACK_MAX_STREAMING_BITRATE = "FallbackMaxStreamingBitrate"; + @SerializedName(SERIALIZED_NAME_FALLBACK_MAX_STREAMING_BITRATE) + @javax.annotation.Nullable + private Integer fallbackMaxStreamingBitrate; + public static final String SERIALIZED_NAME_TIMESTAMP = "Timestamp"; @SerializedName(SERIALIZED_NAME_TIMESTAMP) @javax.annotation.Nullable @@ -251,7 +262,7 @@ public class MediaSourceInfo { public static final String SERIALIZED_NAME_TRANSCODING_SUB_PROTOCOL = "TranscodingSubProtocol"; @SerializedName(SERIALIZED_NAME_TRANSCODING_SUB_PROTOCOL) @javax.annotation.Nullable - private String transcodingSubProtocol; + private MediaStreamProtocol transcodingSubProtocol; public static final String SERIALIZED_NAME_TRANSCODING_CONTAINER = "TranscodingContainer"; @SerializedName(SERIALIZED_NAME_TRANSCODING_CONTAINER) @@ -273,6 +284,11 @@ public class MediaSourceInfo { @javax.annotation.Nullable private Integer defaultSubtitleStreamIndex; + public static final String SERIALIZED_NAME_HAS_SEGMENTS = "HasSegments"; + @SerializedName(SERIALIZED_NAME_HAS_SEGMENTS) + @javax.annotation.Nullable + private Boolean hasSegments; + public MediaSourceInfo() { } @@ -656,6 +672,25 @@ public class MediaSourceInfo { } + public MediaSourceInfo useMostCompatibleTranscodingProfile(@javax.annotation.Nullable Boolean useMostCompatibleTranscodingProfile) { + this.useMostCompatibleTranscodingProfile = useMostCompatibleTranscodingProfile; + return this; + } + + /** + * Get useMostCompatibleTranscodingProfile + * @return useMostCompatibleTranscodingProfile + */ + @javax.annotation.Nullable + public Boolean getUseMostCompatibleTranscodingProfile() { + return useMostCompatibleTranscodingProfile; + } + + public void setUseMostCompatibleTranscodingProfile(@javax.annotation.Nullable Boolean useMostCompatibleTranscodingProfile) { + this.useMostCompatibleTranscodingProfile = useMostCompatibleTranscodingProfile; + } + + public MediaSourceInfo requiresOpening(@javax.annotation.Nullable Boolean requiresOpening) { this.requiresOpening = requiresOpening; return this; @@ -946,6 +981,25 @@ public class MediaSourceInfo { } + public MediaSourceInfo fallbackMaxStreamingBitrate(@javax.annotation.Nullable Integer fallbackMaxStreamingBitrate) { + this.fallbackMaxStreamingBitrate = fallbackMaxStreamingBitrate; + return this; + } + + /** + * Get fallbackMaxStreamingBitrate + * @return fallbackMaxStreamingBitrate + */ + @javax.annotation.Nullable + public Integer getFallbackMaxStreamingBitrate() { + return fallbackMaxStreamingBitrate; + } + + public void setFallbackMaxStreamingBitrate(@javax.annotation.Nullable Integer fallbackMaxStreamingBitrate) { + this.fallbackMaxStreamingBitrate = fallbackMaxStreamingBitrate; + } + + public MediaSourceInfo timestamp(@javax.annotation.Nullable TransportStreamTimestamp timestamp) { this.timestamp = timestamp; return this; @@ -1011,21 +1065,21 @@ public class MediaSourceInfo { } - public MediaSourceInfo transcodingSubProtocol(@javax.annotation.Nullable String transcodingSubProtocol) { + public MediaSourceInfo transcodingSubProtocol(@javax.annotation.Nullable MediaStreamProtocol transcodingSubProtocol) { this.transcodingSubProtocol = transcodingSubProtocol; return this; } /** - * Get transcodingSubProtocol + * Media streaming protocol. Lowercase for backwards compatibility. * @return transcodingSubProtocol */ @javax.annotation.Nullable - public String getTranscodingSubProtocol() { + public MediaStreamProtocol getTranscodingSubProtocol() { return transcodingSubProtocol; } - public void setTranscodingSubProtocol(@javax.annotation.Nullable String transcodingSubProtocol) { + public void setTranscodingSubProtocol(@javax.annotation.Nullable MediaStreamProtocol transcodingSubProtocol) { this.transcodingSubProtocol = transcodingSubProtocol; } @@ -1106,6 +1160,25 @@ public class MediaSourceInfo { } + public MediaSourceInfo hasSegments(@javax.annotation.Nullable Boolean hasSegments) { + this.hasSegments = hasSegments; + return this; + } + + /** + * Get hasSegments + * @return hasSegments + */ + @javax.annotation.Nullable + public Boolean getHasSegments() { + return hasSegments; + } + + public void setHasSegments(@javax.annotation.Nullable Boolean hasSegments) { + this.hasSegments = hasSegments; + } + + @Override public boolean equals(Object o) { @@ -1136,6 +1209,7 @@ public class MediaSourceInfo { Objects.equals(this.supportsDirectStream, mediaSourceInfo.supportsDirectStream) && Objects.equals(this.supportsDirectPlay, mediaSourceInfo.supportsDirectPlay) && Objects.equals(this.isInfiniteStream, mediaSourceInfo.isInfiniteStream) && + Objects.equals(this.useMostCompatibleTranscodingProfile, mediaSourceInfo.useMostCompatibleTranscodingProfile) && Objects.equals(this.requiresOpening, mediaSourceInfo.requiresOpening) && Objects.equals(this.openToken, mediaSourceInfo.openToken) && Objects.equals(this.requiresClosing, mediaSourceInfo.requiresClosing) && @@ -1150,6 +1224,7 @@ public class MediaSourceInfo { Objects.equals(this.mediaAttachments, mediaSourceInfo.mediaAttachments) && Objects.equals(this.formats, mediaSourceInfo.formats) && Objects.equals(this.bitrate, mediaSourceInfo.bitrate) && + Objects.equals(this.fallbackMaxStreamingBitrate, mediaSourceInfo.fallbackMaxStreamingBitrate) && Objects.equals(this.timestamp, mediaSourceInfo.timestamp) && Objects.equals(this.requiredHttpHeaders, mediaSourceInfo.requiredHttpHeaders) && Objects.equals(this.transcodingUrl, mediaSourceInfo.transcodingUrl) && @@ -1157,7 +1232,8 @@ public class MediaSourceInfo { Objects.equals(this.transcodingContainer, mediaSourceInfo.transcodingContainer) && Objects.equals(this.analyzeDurationMs, mediaSourceInfo.analyzeDurationMs) && Objects.equals(this.defaultAudioStreamIndex, mediaSourceInfo.defaultAudioStreamIndex) && - Objects.equals(this.defaultSubtitleStreamIndex, mediaSourceInfo.defaultSubtitleStreamIndex); + Objects.equals(this.defaultSubtitleStreamIndex, mediaSourceInfo.defaultSubtitleStreamIndex) && + Objects.equals(this.hasSegments, mediaSourceInfo.hasSegments); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -1166,7 +1242,7 @@ public class MediaSourceInfo { @Override public int hashCode() { - return Objects.hash(protocol, id, path, encoderPath, encoderProtocol, type, container, size, name, isRemote, etag, runTimeTicks, readAtNativeFramerate, ignoreDts, ignoreIndex, genPtsInput, supportsTranscoding, supportsDirectStream, supportsDirectPlay, isInfiniteStream, requiresOpening, openToken, requiresClosing, liveStreamId, bufferMs, requiresLooping, supportsProbing, videoType, isoType, video3DFormat, mediaStreams, mediaAttachments, formats, bitrate, timestamp, requiredHttpHeaders, transcodingUrl, transcodingSubProtocol, transcodingContainer, analyzeDurationMs, defaultAudioStreamIndex, defaultSubtitleStreamIndex); + return Objects.hash(protocol, id, path, encoderPath, encoderProtocol, type, container, size, name, isRemote, etag, runTimeTicks, readAtNativeFramerate, ignoreDts, ignoreIndex, genPtsInput, supportsTranscoding, supportsDirectStream, supportsDirectPlay, isInfiniteStream, useMostCompatibleTranscodingProfile, requiresOpening, openToken, requiresClosing, liveStreamId, bufferMs, requiresLooping, supportsProbing, videoType, isoType, video3DFormat, mediaStreams, mediaAttachments, formats, bitrate, fallbackMaxStreamingBitrate, timestamp, requiredHttpHeaders, transcodingUrl, transcodingSubProtocol, transcodingContainer, analyzeDurationMs, defaultAudioStreamIndex, defaultSubtitleStreamIndex, hasSegments); } private static int hashCodeNullable(JsonNullable a) { @@ -1200,6 +1276,7 @@ public class MediaSourceInfo { sb.append(" supportsDirectStream: ").append(toIndentedString(supportsDirectStream)).append("\n"); sb.append(" supportsDirectPlay: ").append(toIndentedString(supportsDirectPlay)).append("\n"); sb.append(" isInfiniteStream: ").append(toIndentedString(isInfiniteStream)).append("\n"); + sb.append(" useMostCompatibleTranscodingProfile: ").append(toIndentedString(useMostCompatibleTranscodingProfile)).append("\n"); sb.append(" requiresOpening: ").append(toIndentedString(requiresOpening)).append("\n"); sb.append(" openToken: ").append(toIndentedString(openToken)).append("\n"); sb.append(" requiresClosing: ").append(toIndentedString(requiresClosing)).append("\n"); @@ -1214,6 +1291,7 @@ public class MediaSourceInfo { sb.append(" mediaAttachments: ").append(toIndentedString(mediaAttachments)).append("\n"); sb.append(" formats: ").append(toIndentedString(formats)).append("\n"); sb.append(" bitrate: ").append(toIndentedString(bitrate)).append("\n"); + sb.append(" fallbackMaxStreamingBitrate: ").append(toIndentedString(fallbackMaxStreamingBitrate)).append("\n"); sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n"); sb.append(" requiredHttpHeaders: ").append(toIndentedString(requiredHttpHeaders)).append("\n"); sb.append(" transcodingUrl: ").append(toIndentedString(transcodingUrl)).append("\n"); @@ -1222,6 +1300,7 @@ public class MediaSourceInfo { sb.append(" analyzeDurationMs: ").append(toIndentedString(analyzeDurationMs)).append("\n"); sb.append(" defaultAudioStreamIndex: ").append(toIndentedString(defaultAudioStreamIndex)).append("\n"); sb.append(" defaultSubtitleStreamIndex: ").append(toIndentedString(defaultSubtitleStreamIndex)).append("\n"); + sb.append(" hasSegments: ").append(toIndentedString(hasSegments)).append("\n"); sb.append("}"); return sb.toString(); } @@ -1264,6 +1343,7 @@ public class MediaSourceInfo { openapiFields.add("SupportsDirectStream"); openapiFields.add("SupportsDirectPlay"); openapiFields.add("IsInfiniteStream"); + openapiFields.add("UseMostCompatibleTranscodingProfile"); openapiFields.add("RequiresOpening"); openapiFields.add("OpenToken"); openapiFields.add("RequiresClosing"); @@ -1278,6 +1358,7 @@ public class MediaSourceInfo { openapiFields.add("MediaAttachments"); openapiFields.add("Formats"); openapiFields.add("Bitrate"); + openapiFields.add("FallbackMaxStreamingBitrate"); openapiFields.add("Timestamp"); openapiFields.add("RequiredHttpHeaders"); openapiFields.add("TranscodingUrl"); @@ -1286,6 +1367,7 @@ public class MediaSourceInfo { openapiFields.add("AnalyzeDurationMs"); openapiFields.add("DefaultAudioStreamIndex"); openapiFields.add("DefaultSubtitleStreamIndex"); + openapiFields.add("HasSegments"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -1399,8 +1481,9 @@ public class MediaSourceInfo { if ((jsonObj.get("TranscodingUrl") != null && !jsonObj.get("TranscodingUrl").isJsonNull()) && !jsonObj.get("TranscodingUrl").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `TranscodingUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("TranscodingUrl").toString())); } - if ((jsonObj.get("TranscodingSubProtocol") != null && !jsonObj.get("TranscodingSubProtocol").isJsonNull()) && !jsonObj.get("TranscodingSubProtocol").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `TranscodingSubProtocol` to be a primitive type in the JSON string but got `%s`", jsonObj.get("TranscodingSubProtocol").toString())); + // validate the optional field `TranscodingSubProtocol` + if (jsonObj.get("TranscodingSubProtocol") != null && !jsonObj.get("TranscodingSubProtocol").isJsonNull()) { + MediaStreamProtocol.validateJsonElement(jsonObj.get("TranscodingSubProtocol")); } if ((jsonObj.get("TranscodingContainer") != null && !jsonObj.get("TranscodingContainer").isJsonNull()) && !jsonObj.get("TranscodingContainer").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `TranscodingContainer` to be a primitive type in the JSON string but got `%s`", jsonObj.get("TranscodingContainer").toString())); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaSourceType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaSourceType.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaSourceType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaSourceType.java index ed189794d8b..279a5c61fad 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaSourceType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaSourceType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaStream.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaStream.java similarity index 89% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaStream.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaStream.java index 6f8d9cc0774..2af89a86b41 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaStream.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaStream.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,8 +21,11 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.util.Arrays; +import org.openapitools.client.model.AudioSpatialFormat; import org.openapitools.client.model.MediaStreamType; import org.openapitools.client.model.SubtitleDeliveryMethod; +import org.openapitools.client.model.VideoRange; +import org.openapitools.client.model.VideoRangeType; import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; @@ -51,7 +54,7 @@ import org.openapitools.client.JSON; /** * Class MediaStream. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MediaStream { public static final String SERIALIZED_NAME_CODEC = "Codec"; @SerializedName(SERIALIZED_NAME_CODEC) @@ -128,6 +131,11 @@ public class MediaStream { @javax.annotation.Nullable private Integer dvBlSignalCompatibilityId; + public static final String SERIALIZED_NAME_ROTATION = "Rotation"; + @SerializedName(SERIALIZED_NAME_ROTATION) + @javax.annotation.Nullable + private Integer rotation; + public static final String SERIALIZED_NAME_COMMENT = "Comment"; @SerializedName(SERIALIZED_NAME_COMMENT) @javax.annotation.Nullable @@ -151,18 +159,23 @@ public class MediaStream { public static final String SERIALIZED_NAME_VIDEO_RANGE = "VideoRange"; @SerializedName(SERIALIZED_NAME_VIDEO_RANGE) @javax.annotation.Nullable - private String videoRange; + private VideoRange videoRange; public static final String SERIALIZED_NAME_VIDEO_RANGE_TYPE = "VideoRangeType"; @SerializedName(SERIALIZED_NAME_VIDEO_RANGE_TYPE) @javax.annotation.Nullable - private String videoRangeType; + private VideoRangeType videoRangeType; public static final String SERIALIZED_NAME_VIDEO_DO_VI_TITLE = "VideoDoViTitle"; @SerializedName(SERIALIZED_NAME_VIDEO_DO_VI_TITLE) @javax.annotation.Nullable private String videoDoViTitle; + public static final String SERIALIZED_NAME_AUDIO_SPATIAL_FORMAT = "AudioSpatialFormat"; + @SerializedName(SERIALIZED_NAME_AUDIO_SPATIAL_FORMAT) + @javax.annotation.Nullable + private AudioSpatialFormat audioSpatialFormat = AudioSpatialFormat.NONE; + public static final String SERIALIZED_NAME_LOCALIZED_UNDEFINED = "LocalizedUndefined"; @SerializedName(SERIALIZED_NAME_LOCALIZED_UNDEFINED) @javax.annotation.Nullable @@ -183,6 +196,11 @@ public class MediaStream { @javax.annotation.Nullable private String localizedExternal; + public static final String SERIALIZED_NAME_LOCALIZED_HEARING_IMPAIRED = "LocalizedHearingImpaired"; + @SerializedName(SERIALIZED_NAME_LOCALIZED_HEARING_IMPAIRED) + @javax.annotation.Nullable + private String localizedHearingImpaired; + public static final String SERIALIZED_NAME_DISPLAY_TITLE = "DisplayTitle"; @SerializedName(SERIALIZED_NAME_DISPLAY_TITLE) @javax.annotation.Nullable @@ -248,6 +266,11 @@ public class MediaStream { @javax.annotation.Nullable private Boolean isForced; + public static final String SERIALIZED_NAME_IS_HEARING_IMPAIRED = "IsHearingImpaired"; + @SerializedName(SERIALIZED_NAME_IS_HEARING_IMPAIRED) + @javax.annotation.Nullable + private Boolean isHearingImpaired; + public static final String SERIALIZED_NAME_HEIGHT = "Height"; @SerializedName(SERIALIZED_NAME_HEIGHT) @javax.annotation.Nullable @@ -268,6 +291,11 @@ public class MediaStream { @javax.annotation.Nullable private Float realFrameRate; + public static final String SERIALIZED_NAME_REFERENCE_FRAME_RATE = "ReferenceFrameRate"; + @SerializedName(SERIALIZED_NAME_REFERENCE_FRAME_RATE) + @javax.annotation.Nullable + private Float referenceFrameRate; + public static final String SERIALIZED_NAME_PROFILE = "Profile"; @SerializedName(SERIALIZED_NAME_PROFILE) @javax.annotation.Nullable @@ -347,17 +375,21 @@ public class MediaStream { } public MediaStream( - String videoRange, - String videoRangeType, + VideoRange videoRange, + VideoRangeType videoRangeType, String videoDoViTitle, + AudioSpatialFormat audioSpatialFormat, String displayTitle, + Float referenceFrameRate, Boolean isTextSubtitleStream ) { this(); this.videoRange = videoRange; this.videoRangeType = videoRangeType; this.videoDoViTitle = videoDoViTitle; + this.audioSpatialFormat = audioSpatialFormat; this.displayTitle = displayTitle; + this.referenceFrameRate = referenceFrameRate; this.isTextSubtitleStream = isTextSubtitleStream; } @@ -646,6 +678,25 @@ public class MediaStream { } + public MediaStream rotation(@javax.annotation.Nullable Integer rotation) { + this.rotation = rotation; + return this; + } + + /** + * Gets or sets the Rotation in degrees. + * @return rotation + */ + @javax.annotation.Nullable + public Integer getRotation() { + return rotation; + } + + public void setRotation(@javax.annotation.Nullable Integer rotation) { + this.rotation = rotation; + } + + public MediaStream comment(@javax.annotation.Nullable String comment) { this.comment = comment; return this; @@ -723,22 +774,22 @@ public class MediaStream { /** - * Gets the video range. + * An enum representing video ranges. * @return videoRange */ @javax.annotation.Nullable - public String getVideoRange() { + public VideoRange getVideoRange() { return videoRange; } /** - * Gets the video range type. + * An enum representing types of video ranges. * @return videoRangeType */ @javax.annotation.Nullable - public String getVideoRangeType() { + public VideoRangeType getVideoRangeType() { return videoRangeType; } @@ -755,6 +806,17 @@ public class MediaStream { + /** + * An enum representing formats of spatial audio. + * @return audioSpatialFormat + */ + @javax.annotation.Nullable + public AudioSpatialFormat getAudioSpatialFormat() { + return audioSpatialFormat; + } + + + public MediaStream localizedUndefined(@javax.annotation.Nullable String localizedUndefined) { this.localizedUndefined = localizedUndefined; return this; @@ -831,6 +893,25 @@ public class MediaStream { } + public MediaStream localizedHearingImpaired(@javax.annotation.Nullable String localizedHearingImpaired) { + this.localizedHearingImpaired = localizedHearingImpaired; + return this; + } + + /** + * Get localizedHearingImpaired + * @return localizedHearingImpaired + */ + @javax.annotation.Nullable + public String getLocalizedHearingImpaired() { + return localizedHearingImpaired; + } + + public void setLocalizedHearingImpaired(@javax.annotation.Nullable String localizedHearingImpaired) { + this.localizedHearingImpaired = localizedHearingImpaired; + } + + /** * Get displayTitle * @return displayTitle @@ -1070,6 +1151,25 @@ public class MediaStream { } + public MediaStream isHearingImpaired(@javax.annotation.Nullable Boolean isHearingImpaired) { + this.isHearingImpaired = isHearingImpaired; + return this; + } + + /** + * Gets or sets a value indicating whether this instance is for the hearing impaired. + * @return isHearingImpaired + */ + @javax.annotation.Nullable + public Boolean getIsHearingImpaired() { + return isHearingImpaired; + } + + public void setIsHearingImpaired(@javax.annotation.Nullable Boolean isHearingImpaired) { + this.isHearingImpaired = isHearingImpaired; + } + + public MediaStream height(@javax.annotation.Nullable Integer height) { this.height = height; return this; @@ -1146,6 +1246,17 @@ public class MediaStream { } + /** + * Gets the framerate used as reference. Prefer AverageFrameRate, if that is null or an unrealistic value then fallback to RealFrameRate. + * @return referenceFrameRate + */ + @javax.annotation.Nullable + public Float getReferenceFrameRate() { + return referenceFrameRate; + } + + + public MediaStream profile(@javax.annotation.Nullable String profile) { this.profile = profile; return this; @@ -1448,6 +1559,7 @@ public class MediaStream { Objects.equals(this.elPresentFlag, mediaStream.elPresentFlag) && Objects.equals(this.blPresentFlag, mediaStream.blPresentFlag) && Objects.equals(this.dvBlSignalCompatibilityId, mediaStream.dvBlSignalCompatibilityId) && + Objects.equals(this.rotation, mediaStream.rotation) && Objects.equals(this.comment, mediaStream.comment) && Objects.equals(this.timeBase, mediaStream.timeBase) && Objects.equals(this.codecTimeBase, mediaStream.codecTimeBase) && @@ -1455,10 +1567,12 @@ public class MediaStream { Objects.equals(this.videoRange, mediaStream.videoRange) && Objects.equals(this.videoRangeType, mediaStream.videoRangeType) && Objects.equals(this.videoDoViTitle, mediaStream.videoDoViTitle) && + Objects.equals(this.audioSpatialFormat, mediaStream.audioSpatialFormat) && Objects.equals(this.localizedUndefined, mediaStream.localizedUndefined) && Objects.equals(this.localizedDefault, mediaStream.localizedDefault) && Objects.equals(this.localizedForced, mediaStream.localizedForced) && Objects.equals(this.localizedExternal, mediaStream.localizedExternal) && + Objects.equals(this.localizedHearingImpaired, mediaStream.localizedHearingImpaired) && Objects.equals(this.displayTitle, mediaStream.displayTitle) && Objects.equals(this.nalLengthSize, mediaStream.nalLengthSize) && Objects.equals(this.isInterlaced, mediaStream.isInterlaced) && @@ -1472,10 +1586,12 @@ public class MediaStream { Objects.equals(this.sampleRate, mediaStream.sampleRate) && Objects.equals(this.isDefault, mediaStream.isDefault) && Objects.equals(this.isForced, mediaStream.isForced) && + Objects.equals(this.isHearingImpaired, mediaStream.isHearingImpaired) && Objects.equals(this.height, mediaStream.height) && Objects.equals(this.width, mediaStream.width) && Objects.equals(this.averageFrameRate, mediaStream.averageFrameRate) && Objects.equals(this.realFrameRate, mediaStream.realFrameRate) && + Objects.equals(this.referenceFrameRate, mediaStream.referenceFrameRate) && Objects.equals(this.profile, mediaStream.profile) && Objects.equals(this.type, mediaStream.type) && Objects.equals(this.aspectRatio, mediaStream.aspectRatio) && @@ -1499,7 +1615,7 @@ public class MediaStream { @Override public int hashCode() { - return Objects.hash(codec, codecTag, language, colorRange, colorSpace, colorTransfer, colorPrimaries, dvVersionMajor, dvVersionMinor, dvProfile, dvLevel, rpuPresentFlag, elPresentFlag, blPresentFlag, dvBlSignalCompatibilityId, comment, timeBase, codecTimeBase, title, videoRange, videoRangeType, videoDoViTitle, localizedUndefined, localizedDefault, localizedForced, localizedExternal, displayTitle, nalLengthSize, isInterlaced, isAVC, channelLayout, bitRate, bitDepth, refFrames, packetLength, channels, sampleRate, isDefault, isForced, height, width, averageFrameRate, realFrameRate, profile, type, aspectRatio, index, score, isExternal, deliveryMethod, deliveryUrl, isExternalUrl, isTextSubtitleStream, supportsExternalStream, path, pixelFormat, level, isAnamorphic); + return Objects.hash(codec, codecTag, language, colorRange, colorSpace, colorTransfer, colorPrimaries, dvVersionMajor, dvVersionMinor, dvProfile, dvLevel, rpuPresentFlag, elPresentFlag, blPresentFlag, dvBlSignalCompatibilityId, rotation, comment, timeBase, codecTimeBase, title, videoRange, videoRangeType, videoDoViTitle, audioSpatialFormat, localizedUndefined, localizedDefault, localizedForced, localizedExternal, localizedHearingImpaired, displayTitle, nalLengthSize, isInterlaced, isAVC, channelLayout, bitRate, bitDepth, refFrames, packetLength, channels, sampleRate, isDefault, isForced, isHearingImpaired, height, width, averageFrameRate, realFrameRate, referenceFrameRate, profile, type, aspectRatio, index, score, isExternal, deliveryMethod, deliveryUrl, isExternalUrl, isTextSubtitleStream, supportsExternalStream, path, pixelFormat, level, isAnamorphic); } private static int hashCodeNullable(JsonNullable a) { @@ -1528,6 +1644,7 @@ public class MediaStream { sb.append(" elPresentFlag: ").append(toIndentedString(elPresentFlag)).append("\n"); sb.append(" blPresentFlag: ").append(toIndentedString(blPresentFlag)).append("\n"); sb.append(" dvBlSignalCompatibilityId: ").append(toIndentedString(dvBlSignalCompatibilityId)).append("\n"); + sb.append(" rotation: ").append(toIndentedString(rotation)).append("\n"); sb.append(" comment: ").append(toIndentedString(comment)).append("\n"); sb.append(" timeBase: ").append(toIndentedString(timeBase)).append("\n"); sb.append(" codecTimeBase: ").append(toIndentedString(codecTimeBase)).append("\n"); @@ -1535,10 +1652,12 @@ public class MediaStream { sb.append(" videoRange: ").append(toIndentedString(videoRange)).append("\n"); sb.append(" videoRangeType: ").append(toIndentedString(videoRangeType)).append("\n"); sb.append(" videoDoViTitle: ").append(toIndentedString(videoDoViTitle)).append("\n"); + sb.append(" audioSpatialFormat: ").append(toIndentedString(audioSpatialFormat)).append("\n"); sb.append(" localizedUndefined: ").append(toIndentedString(localizedUndefined)).append("\n"); sb.append(" localizedDefault: ").append(toIndentedString(localizedDefault)).append("\n"); sb.append(" localizedForced: ").append(toIndentedString(localizedForced)).append("\n"); sb.append(" localizedExternal: ").append(toIndentedString(localizedExternal)).append("\n"); + sb.append(" localizedHearingImpaired: ").append(toIndentedString(localizedHearingImpaired)).append("\n"); sb.append(" displayTitle: ").append(toIndentedString(displayTitle)).append("\n"); sb.append(" nalLengthSize: ").append(toIndentedString(nalLengthSize)).append("\n"); sb.append(" isInterlaced: ").append(toIndentedString(isInterlaced)).append("\n"); @@ -1552,10 +1671,12 @@ public class MediaStream { sb.append(" sampleRate: ").append(toIndentedString(sampleRate)).append("\n"); sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n"); sb.append(" isForced: ").append(toIndentedString(isForced)).append("\n"); + sb.append(" isHearingImpaired: ").append(toIndentedString(isHearingImpaired)).append("\n"); sb.append(" height: ").append(toIndentedString(height)).append("\n"); sb.append(" width: ").append(toIndentedString(width)).append("\n"); sb.append(" averageFrameRate: ").append(toIndentedString(averageFrameRate)).append("\n"); sb.append(" realFrameRate: ").append(toIndentedString(realFrameRate)).append("\n"); + sb.append(" referenceFrameRate: ").append(toIndentedString(referenceFrameRate)).append("\n"); sb.append(" profile: ").append(toIndentedString(profile)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" aspectRatio: ").append(toIndentedString(aspectRatio)).append("\n"); @@ -1608,6 +1729,7 @@ public class MediaStream { openapiFields.add("ElPresentFlag"); openapiFields.add("BlPresentFlag"); openapiFields.add("DvBlSignalCompatibilityId"); + openapiFields.add("Rotation"); openapiFields.add("Comment"); openapiFields.add("TimeBase"); openapiFields.add("CodecTimeBase"); @@ -1615,10 +1737,12 @@ public class MediaStream { openapiFields.add("VideoRange"); openapiFields.add("VideoRangeType"); openapiFields.add("VideoDoViTitle"); + openapiFields.add("AudioSpatialFormat"); openapiFields.add("LocalizedUndefined"); openapiFields.add("LocalizedDefault"); openapiFields.add("LocalizedForced"); openapiFields.add("LocalizedExternal"); + openapiFields.add("LocalizedHearingImpaired"); openapiFields.add("DisplayTitle"); openapiFields.add("NalLengthSize"); openapiFields.add("IsInterlaced"); @@ -1632,10 +1756,12 @@ public class MediaStream { openapiFields.add("SampleRate"); openapiFields.add("IsDefault"); openapiFields.add("IsForced"); + openapiFields.add("IsHearingImpaired"); openapiFields.add("Height"); openapiFields.add("Width"); openapiFields.add("AverageFrameRate"); openapiFields.add("RealFrameRate"); + openapiFields.add("ReferenceFrameRate"); openapiFields.add("Profile"); openapiFields.add("Type"); openapiFields.add("AspectRatio"); @@ -1710,15 +1836,21 @@ public class MediaStream { if ((jsonObj.get("Title") != null && !jsonObj.get("Title").isJsonNull()) && !jsonObj.get("Title").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `Title` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Title").toString())); } - if ((jsonObj.get("VideoRange") != null && !jsonObj.get("VideoRange").isJsonNull()) && !jsonObj.get("VideoRange").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `VideoRange` to be a primitive type in the JSON string but got `%s`", jsonObj.get("VideoRange").toString())); + // validate the optional field `VideoRange` + if (jsonObj.get("VideoRange") != null && !jsonObj.get("VideoRange").isJsonNull()) { + VideoRange.validateJsonElement(jsonObj.get("VideoRange")); } - if ((jsonObj.get("VideoRangeType") != null && !jsonObj.get("VideoRangeType").isJsonNull()) && !jsonObj.get("VideoRangeType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `VideoRangeType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("VideoRangeType").toString())); + // validate the optional field `VideoRangeType` + if (jsonObj.get("VideoRangeType") != null && !jsonObj.get("VideoRangeType").isJsonNull()) { + VideoRangeType.validateJsonElement(jsonObj.get("VideoRangeType")); } if ((jsonObj.get("VideoDoViTitle") != null && !jsonObj.get("VideoDoViTitle").isJsonNull()) && !jsonObj.get("VideoDoViTitle").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `VideoDoViTitle` to be a primitive type in the JSON string but got `%s`", jsonObj.get("VideoDoViTitle").toString())); } + // validate the optional field `AudioSpatialFormat` + if (jsonObj.get("AudioSpatialFormat") != null && !jsonObj.get("AudioSpatialFormat").isJsonNull()) { + AudioSpatialFormat.validateJsonElement(jsonObj.get("AudioSpatialFormat")); + } if ((jsonObj.get("LocalizedUndefined") != null && !jsonObj.get("LocalizedUndefined").isJsonNull()) && !jsonObj.get("LocalizedUndefined").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `LocalizedUndefined` to be a primitive type in the JSON string but got `%s`", jsonObj.get("LocalizedUndefined").toString())); } @@ -1731,6 +1863,9 @@ public class MediaStream { if ((jsonObj.get("LocalizedExternal") != null && !jsonObj.get("LocalizedExternal").isJsonNull()) && !jsonObj.get("LocalizedExternal").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `LocalizedExternal` to be a primitive type in the JSON string but got `%s`", jsonObj.get("LocalizedExternal").toString())); } + if ((jsonObj.get("LocalizedHearingImpaired") != null && !jsonObj.get("LocalizedHearingImpaired").isJsonNull()) && !jsonObj.get("LocalizedHearingImpaired").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `LocalizedHearingImpaired` to be a primitive type in the JSON string but got `%s`", jsonObj.get("LocalizedHearingImpaired").toString())); + } if ((jsonObj.get("DisplayTitle") != null && !jsonObj.get("DisplayTitle").isJsonNull()) && !jsonObj.get("DisplayTitle").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `DisplayTitle` to be a primitive type in the JSON string but got `%s`", jsonObj.get("DisplayTitle").toString())); } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/Architecture.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaStreamProtocol.java similarity index 62% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/Architecture.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaStreamProtocol.java index 8fca436afe0..01363fb0609 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/Architecture.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaStreamProtocol.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,26 +24,18 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; /** - * Gets or Sets Architecture + * Media streaming protocol. Lowercase for backwards compatibility. */ -@JsonAdapter(Architecture.Adapter.class) -public enum Architecture { +@JsonAdapter(MediaStreamProtocol.Adapter.class) +public enum MediaStreamProtocol { - X86("X86"), + HTTP("http"), - X64("X64"), - - ARM("Arm"), - - ARM64("Arm64"), - - WASM("Wasm"), - - S390X("S390x"); + HLS("hls"); private String value; - Architecture(String value) { + MediaStreamProtocol(String value) { this.value = value; } @@ -56,8 +48,8 @@ public enum Architecture { return String.valueOf(value); } - public static Architecture fromValue(String value) { - for (Architecture b : Architecture.values()) { + public static MediaStreamProtocol fromValue(String value) { + for (MediaStreamProtocol b : MediaStreamProtocol.values()) { if (b.value.equals(value)) { return b; } @@ -65,22 +57,22 @@ public enum Architecture { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - public static class Adapter extends TypeAdapter { + public static class Adapter extends TypeAdapter { @Override - public void write(final JsonWriter jsonWriter, final Architecture enumeration) throws IOException { + public void write(final JsonWriter jsonWriter, final MediaStreamProtocol enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override - public Architecture read(final JsonReader jsonReader) throws IOException { + public MediaStreamProtocol read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); - return Architecture.fromValue(value); + return MediaStreamProtocol.fromValue(value); } } public static void validateJsonElement(JsonElement jsonElement) throws IOException { String value = jsonElement.getAsString(); - Architecture.fromValue(value); + MediaStreamProtocol.fromValue(value); } } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaStreamType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaStreamType.java similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaStreamType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaStreamType.java index ba394dbec98..d3471c38943 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaStreamType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaStreamType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -37,7 +37,9 @@ public enum MediaStreamType { EMBEDDED_IMAGE("EmbeddedImage"), - DATA("Data"); + DATA("Data"), + + LYRIC("Lyric"); private String value; diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SendToUserType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaType.java similarity index 65% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SendToUserType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaType.java index ad08655c1a3..aa8aadb5a50 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SendToUserType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,20 +24,24 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; /** - * Gets or Sets SendToUserType + * Media types. */ -@JsonAdapter(SendToUserType.Adapter.class) -public enum SendToUserType { +@JsonAdapter(MediaType.Adapter.class) +public enum MediaType { - ALL("All"), + UNKNOWN("Unknown"), - ADMINS("Admins"), + VIDEO("Video"), - CUSTOM("Custom"); + AUDIO("Audio"), + + PHOTO("Photo"), + + BOOK("Book"); private String value; - SendToUserType(String value) { + MediaType(String value) { this.value = value; } @@ -50,8 +54,8 @@ public enum SendToUserType { return String.valueOf(value); } - public static SendToUserType fromValue(String value) { - for (SendToUserType b : SendToUserType.values()) { + public static MediaType fromValue(String value) { + for (MediaType b : MediaType.values()) { if (b.value.equals(value)) { return b; } @@ -59,22 +63,22 @@ public enum SendToUserType { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - public static class Adapter extends TypeAdapter { + public static class Adapter extends TypeAdapter { @Override - public void write(final JsonWriter jsonWriter, final SendToUserType enumeration) throws IOException { + public void write(final JsonWriter jsonWriter, final MediaType enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override - public SendToUserType read(final JsonReader jsonReader) throws IOException { + public MediaType read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); - return SendToUserType.fromValue(value); + return MediaType.fromValue(value); } } public static void validateJsonElement(JsonElement jsonElement) throws IOException { String value = jsonElement.getAsString(); - SendToUserType.fromValue(value); + MediaType.fromValue(value); } } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaUpdateInfoDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaUpdateInfoDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaUpdateInfoDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaUpdateInfoDto.java index 840d9c25e53..051346b5150 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaUpdateInfoDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaUpdateInfoDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Media Update Info Dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MediaUpdateInfoDto { public static final String SERIALIZED_NAME_UPDATES = "Updates"; @SerializedName(SERIALIZED_NAME_UPDATES) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaUpdateInfoPathDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaUpdateInfoPathDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaUpdateInfoPathDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaUpdateInfoPathDto.java index 383eb5d02e3..e7724d43a77 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaUpdateInfoPathDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaUpdateInfoPathDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * The media update info path. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MediaUpdateInfoPathDto { public static final String SERIALIZED_NAME_PATH = "Path"; @SerializedName(SERIALIZED_NAME_PATH) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaUrl.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaUrl.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaUrl.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaUrl.java index 731b8f43980..bb8f132fb37 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaUrl.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MediaUrl.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * MediaUrl */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MediaUrl { public static final String SERIALIZED_NAME_URL = "Url"; @SerializedName(SERIALIZED_NAME_URL) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MessageCommand.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MessageCommand.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MessageCommand.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MessageCommand.java index 8e4abf59af5..fae0726f4ac 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MessageCommand.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MessageCommand.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * MessageCommand */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MessageCommand { public static final String SERIALIZED_NAME_HEADER = "Header"; @SerializedName(SERIALIZED_NAME_HEADER) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MetadataConfiguration.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MetadataConfiguration.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MetadataConfiguration.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MetadataConfiguration.java index d680c0dbc6c..32bc4e2cd94 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MetadataConfiguration.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MetadataConfiguration.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * MetadataConfiguration */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MetadataConfiguration { public static final String SERIALIZED_NAME_USE_FILE_CREATION_TIME_FOR_DATE_ADDED = "UseFileCreationTimeForDateAdded"; @SerializedName(SERIALIZED_NAME_USE_FILE_CREATION_TIME_FOR_DATE_ADDED) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MetadataEditorInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MetadataEditorInfo.java similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MetadataEditorInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MetadataEditorInfo.java index 2f5128e65a0..d3596071c1f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MetadataEditorInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MetadataEditorInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,6 +23,7 @@ import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; +import org.openapitools.client.model.CollectionType; import org.openapitools.client.model.CountryInfo; import org.openapitools.client.model.CultureDto; import org.openapitools.client.model.ExternalIdInfo; @@ -56,7 +57,7 @@ import org.openapitools.client.JSON; /** * MetadataEditorInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MetadataEditorInfo { public static final String SERIALIZED_NAME_PARENTAL_RATING_OPTIONS = "ParentalRatingOptions"; @SerializedName(SERIALIZED_NAME_PARENTAL_RATING_OPTIONS) @@ -81,7 +82,7 @@ public class MetadataEditorInfo { public static final String SERIALIZED_NAME_CONTENT_TYPE = "ContentType"; @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) @javax.annotation.Nullable - private String contentType; + private CollectionType contentType; public static final String SERIALIZED_NAME_CONTENT_TYPE_OPTIONS = "ContentTypeOptions"; @SerializedName(SERIALIZED_NAME_CONTENT_TYPE_OPTIONS) @@ -199,7 +200,7 @@ public class MetadataEditorInfo { } - public MetadataEditorInfo contentType(@javax.annotation.Nullable String contentType) { + public MetadataEditorInfo contentType(@javax.annotation.Nullable CollectionType contentType) { this.contentType = contentType; return this; } @@ -209,11 +210,11 @@ public class MetadataEditorInfo { * @return contentType */ @javax.annotation.Nullable - public String getContentType() { + public CollectionType getContentType() { return contentType; } - public void setContentType(@javax.annotation.Nullable String contentType) { + public void setContentType(@javax.annotation.Nullable CollectionType contentType) { this.contentType = contentType; } @@ -399,8 +400,9 @@ public class MetadataEditorInfo { }; } } - if ((jsonObj.get("ContentType") != null && !jsonObj.get("ContentType").isJsonNull()) && !jsonObj.get("ContentType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ContentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ContentType").toString())); + // validate the optional field `ContentType` + if (jsonObj.get("ContentType") != null && !jsonObj.get("ContentType").isJsonNull()) { + CollectionType.validateJsonElement(jsonObj.get("ContentType")); } if (jsonObj.get("ContentTypeOptions") != null && !jsonObj.get("ContentTypeOptions").isJsonNull()) { JsonArray jsonArraycontentTypeOptions = jsonObj.getAsJsonArray("ContentTypeOptions"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MetadataField.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MetadataField.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MetadataField.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MetadataField.java index 852d88e5ae2..0e47f01b2a8 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MetadataField.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MetadataField.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MetadataOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MetadataOptions.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MetadataOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MetadataOptions.java index 5bc2f69f256..f83419e2aea 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MetadataOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MetadataOptions.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class MetadataOptions. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MetadataOptions { public static final String SERIALIZED_NAME_ITEM_TYPE = "ItemType"; @SerializedName(SERIALIZED_NAME_ITEM_TYPE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MetadataRefreshMode.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MetadataRefreshMode.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MetadataRefreshMode.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MetadataRefreshMode.java index a47bf103edf..9d39e7e6446 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MetadataRefreshMode.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MetadataRefreshMode.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MovePlaylistItemRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MovePlaylistItemRequestDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MovePlaylistItemRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MovePlaylistItemRequestDto.java index 409310a9acf..7b4e7d03dda 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MovePlaylistItemRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MovePlaylistItemRequestDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class MovePlaylistItemRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MovePlaylistItemRequestDto { public static final String SERIALIZED_NAME_PLAYLIST_ITEM_ID = "PlaylistItemId"; @SerializedName(SERIALIZED_NAME_PLAYLIST_ITEM_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MovieInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MovieInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MovieInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MovieInfo.java index 0b8059350d3..78026333c75 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MovieInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MovieInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * MovieInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MovieInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MovieInfoRemoteSearchQuery.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MovieInfoRemoteSearchQuery.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MovieInfoRemoteSearchQuery.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MovieInfoRemoteSearchQuery.java index 053b4ed9164..17f93cb704f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MovieInfoRemoteSearchQuery.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MovieInfoRemoteSearchQuery.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * MovieInfoRemoteSearchQuery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MovieInfoRemoteSearchQuery { public static final String SERIALIZED_NAME_SEARCH_INFO = "SearchInfo"; @SerializedName(SERIALIZED_NAME_SEARCH_INFO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MusicVideoInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MusicVideoInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MusicVideoInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MusicVideoInfo.java index 098bf09a884..4e3899b17b8 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MusicVideoInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MusicVideoInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * MusicVideoInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MusicVideoInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MusicVideoInfoRemoteSearchQuery.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MusicVideoInfoRemoteSearchQuery.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MusicVideoInfoRemoteSearchQuery.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MusicVideoInfoRemoteSearchQuery.java index 0d141c64ce6..5964be946eb 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MusicVideoInfoRemoteSearchQuery.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/MusicVideoInfoRemoteSearchQuery.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * MusicVideoInfoRemoteSearchQuery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MusicVideoInfoRemoteSearchQuery { public static final String SERIALIZED_NAME_SEARCH_INFO = "SearchInfo"; @SerializedName(SERIALIZED_NAME_SEARCH_INFO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NameGuidPair.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/NameGuidPair.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NameGuidPair.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/NameGuidPair.java index 44980b3accd..38244682a37 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NameGuidPair.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/NameGuidPair.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * NameGuidPair */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class NameGuidPair { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NameIdPair.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/NameIdPair.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NameIdPair.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/NameIdPair.java index 18cc20aad4b..db1316b5eee 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NameIdPair.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/NameIdPair.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * NameIdPair */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class NameIdPair { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NameValuePair.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/NameValuePair.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NameValuePair.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/NameValuePair.java index 361b105c68f..653f4f0ca23 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NameValuePair.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/NameValuePair.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * NameValuePair */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class NameValuePair { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NetworkConfiguration.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/NetworkConfiguration.java similarity index 60% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NetworkConfiguration.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/NetworkConfiguration.java index fd7ee8231ff..6560538a6f5 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NetworkConfiguration.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/NetworkConfiguration.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,10 +48,20 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * Defines the Jellyfin.Networking.Configuration.NetworkConfiguration. + * Defines the MediaBrowser.Common.Net.NetworkConfiguration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class NetworkConfiguration { + public static final String SERIALIZED_NAME_BASE_URL = "BaseUrl"; + @SerializedName(SERIALIZED_NAME_BASE_URL) + @javax.annotation.Nullable + private String baseUrl; + + public static final String SERIALIZED_NAME_ENABLE_HTTPS = "EnableHttps"; + @SerializedName(SERIALIZED_NAME_ENABLE_HTTPS) + @javax.annotation.Nullable + private Boolean enableHttps; + public static final String SERIALIZED_NAME_REQUIRE_HTTPS = "RequireHttps"; @SerializedName(SERIALIZED_NAME_REQUIRE_HTTPS) @javax.annotation.Nullable @@ -67,136 +77,46 @@ public class NetworkConfiguration { @javax.annotation.Nullable private String certificatePassword; - public static final String SERIALIZED_NAME_BASE_URL = "BaseUrl"; - @SerializedName(SERIALIZED_NAME_BASE_URL) + public static final String SERIALIZED_NAME_INTERNAL_HTTP_PORT = "InternalHttpPort"; + @SerializedName(SERIALIZED_NAME_INTERNAL_HTTP_PORT) @javax.annotation.Nullable - private String baseUrl; + private Integer internalHttpPort; + + public static final String SERIALIZED_NAME_INTERNAL_HTTPS_PORT = "InternalHttpsPort"; + @SerializedName(SERIALIZED_NAME_INTERNAL_HTTPS_PORT) + @javax.annotation.Nullable + private Integer internalHttpsPort; + + public static final String SERIALIZED_NAME_PUBLIC_HTTP_PORT = "PublicHttpPort"; + @SerializedName(SERIALIZED_NAME_PUBLIC_HTTP_PORT) + @javax.annotation.Nullable + private Integer publicHttpPort; public static final String SERIALIZED_NAME_PUBLIC_HTTPS_PORT = "PublicHttpsPort"; @SerializedName(SERIALIZED_NAME_PUBLIC_HTTPS_PORT) @javax.annotation.Nullable private Integer publicHttpsPort; - public static final String SERIALIZED_NAME_HTTP_SERVER_PORT_NUMBER = "HttpServerPortNumber"; - @SerializedName(SERIALIZED_NAME_HTTP_SERVER_PORT_NUMBER) - @javax.annotation.Nullable - private Integer httpServerPortNumber; - - public static final String SERIALIZED_NAME_HTTPS_PORT_NUMBER = "HttpsPortNumber"; - @SerializedName(SERIALIZED_NAME_HTTPS_PORT_NUMBER) - @javax.annotation.Nullable - private Integer httpsPortNumber; - - public static final String SERIALIZED_NAME_ENABLE_HTTPS = "EnableHttps"; - @SerializedName(SERIALIZED_NAME_ENABLE_HTTPS) - @javax.annotation.Nullable - private Boolean enableHttps; - - public static final String SERIALIZED_NAME_PUBLIC_PORT = "PublicPort"; - @SerializedName(SERIALIZED_NAME_PUBLIC_PORT) - @javax.annotation.Nullable - private Integer publicPort; - - public static final String SERIALIZED_NAME_UPN_P_CREATE_HTTP_PORT_MAP = "UPnPCreateHttpPortMap"; - @SerializedName(SERIALIZED_NAME_UPN_P_CREATE_HTTP_PORT_MAP) - @javax.annotation.Nullable - private Boolean upnPCreateHttpPortMap; - - public static final String SERIALIZED_NAME_UD_P_PORT_RANGE = "UDPPortRange"; - @SerializedName(SERIALIZED_NAME_UD_P_PORT_RANGE) - @javax.annotation.Nullable - private String udPPortRange; - - public static final String SERIALIZED_NAME_ENABLE_I_P_V6 = "EnableIPV6"; - @SerializedName(SERIALIZED_NAME_ENABLE_I_P_V6) - @javax.annotation.Nullable - private Boolean enableIPV6; - - public static final String SERIALIZED_NAME_ENABLE_I_P_V4 = "EnableIPV4"; - @SerializedName(SERIALIZED_NAME_ENABLE_I_P_V4) - @javax.annotation.Nullable - private Boolean enableIPV4; - - public static final String SERIALIZED_NAME_ENABLE_S_S_D_P_TRACING = "EnableSSDPTracing"; - @SerializedName(SERIALIZED_NAME_ENABLE_S_S_D_P_TRACING) - @javax.annotation.Nullable - private Boolean enableSSDPTracing; - - public static final String SERIALIZED_NAME_SS_D_P_TRACING_FILTER = "SSDPTracingFilter"; - @SerializedName(SERIALIZED_NAME_SS_D_P_TRACING_FILTER) - @javax.annotation.Nullable - private String ssDPTracingFilter; - - public static final String SERIALIZED_NAME_UD_P_SEND_COUNT = "UDPSendCount"; - @SerializedName(SERIALIZED_NAME_UD_P_SEND_COUNT) - @javax.annotation.Nullable - private Integer udPSendCount; - - public static final String SERIALIZED_NAME_UD_P_SEND_DELAY = "UDPSendDelay"; - @SerializedName(SERIALIZED_NAME_UD_P_SEND_DELAY) - @javax.annotation.Nullable - private Integer udPSendDelay; - - public static final String SERIALIZED_NAME_IGNORE_VIRTUAL_INTERFACES = "IgnoreVirtualInterfaces"; - @SerializedName(SERIALIZED_NAME_IGNORE_VIRTUAL_INTERFACES) - @javax.annotation.Nullable - private Boolean ignoreVirtualInterfaces; - - public static final String SERIALIZED_NAME_VIRTUAL_INTERFACE_NAMES = "VirtualInterfaceNames"; - @SerializedName(SERIALIZED_NAME_VIRTUAL_INTERFACE_NAMES) - @javax.annotation.Nullable - private String virtualInterfaceNames; - - public static final String SERIALIZED_NAME_GATEWAY_MONITOR_PERIOD = "GatewayMonitorPeriod"; - @SerializedName(SERIALIZED_NAME_GATEWAY_MONITOR_PERIOD) - @javax.annotation.Nullable - private Integer gatewayMonitorPeriod; - - public static final String SERIALIZED_NAME_ENABLE_MULTI_SOCKET_BINDING = "EnableMultiSocketBinding"; - @SerializedName(SERIALIZED_NAME_ENABLE_MULTI_SOCKET_BINDING) - @javax.annotation.Nullable - private Boolean enableMultiSocketBinding; - - public static final String SERIALIZED_NAME_TRUST_ALL_I_P6_INTERFACES = "TrustAllIP6Interfaces"; - @SerializedName(SERIALIZED_NAME_TRUST_ALL_I_P6_INTERFACES) - @javax.annotation.Nullable - private Boolean trustAllIP6Interfaces; - - public static final String SERIALIZED_NAME_HD_HOMERUN_PORT_RANGE = "HDHomerunPortRange"; - @SerializedName(SERIALIZED_NAME_HD_HOMERUN_PORT_RANGE) - @javax.annotation.Nullable - private String hdHomerunPortRange; - - public static final String SERIALIZED_NAME_PUBLISHED_SERVER_URI_BY_SUBNET = "PublishedServerUriBySubnet"; - @SerializedName(SERIALIZED_NAME_PUBLISHED_SERVER_URI_BY_SUBNET) - @javax.annotation.Nullable - private List publishedServerUriBySubnet = new ArrayList<>(); - - public static final String SERIALIZED_NAME_AUTO_DISCOVERY_TRACING = "AutoDiscoveryTracing"; - @SerializedName(SERIALIZED_NAME_AUTO_DISCOVERY_TRACING) - @javax.annotation.Nullable - private Boolean autoDiscoveryTracing; - public static final String SERIALIZED_NAME_AUTO_DISCOVERY = "AutoDiscovery"; @SerializedName(SERIALIZED_NAME_AUTO_DISCOVERY) @javax.annotation.Nullable private Boolean autoDiscovery; - public static final String SERIALIZED_NAME_REMOTE_I_P_FILTER = "RemoteIPFilter"; - @SerializedName(SERIALIZED_NAME_REMOTE_I_P_FILTER) - @javax.annotation.Nullable - private List remoteIPFilter = new ArrayList<>(); - - public static final String SERIALIZED_NAME_IS_REMOTE_I_P_FILTER_BLACKLIST = "IsRemoteIPFilterBlacklist"; - @SerializedName(SERIALIZED_NAME_IS_REMOTE_I_P_FILTER_BLACKLIST) - @javax.annotation.Nullable - private Boolean isRemoteIPFilterBlacklist; - public static final String SERIALIZED_NAME_ENABLE_U_PN_P = "EnableUPnP"; @SerializedName(SERIALIZED_NAME_ENABLE_U_PN_P) @javax.annotation.Nullable private Boolean enableUPnP; + public static final String SERIALIZED_NAME_ENABLE_I_PV4 = "EnableIPv4"; + @SerializedName(SERIALIZED_NAME_ENABLE_I_PV4) + @javax.annotation.Nullable + private Boolean enableIPv4; + + public static final String SERIALIZED_NAME_ENABLE_I_PV6 = "EnableIPv6"; + @SerializedName(SERIALIZED_NAME_ENABLE_I_PV6) + @javax.annotation.Nullable + private Boolean enableIPv6; + public static final String SERIALIZED_NAME_ENABLE_REMOTE_ACCESS = "EnableRemoteAccess"; @SerializedName(SERIALIZED_NAME_ENABLE_REMOTE_ACCESS) @javax.annotation.Nullable @@ -217,21 +137,77 @@ public class NetworkConfiguration { @javax.annotation.Nullable private List knownProxies = new ArrayList<>(); + public static final String SERIALIZED_NAME_IGNORE_VIRTUAL_INTERFACES = "IgnoreVirtualInterfaces"; + @SerializedName(SERIALIZED_NAME_IGNORE_VIRTUAL_INTERFACES) + @javax.annotation.Nullable + private Boolean ignoreVirtualInterfaces; + + public static final String SERIALIZED_NAME_VIRTUAL_INTERFACE_NAMES = "VirtualInterfaceNames"; + @SerializedName(SERIALIZED_NAME_VIRTUAL_INTERFACE_NAMES) + @javax.annotation.Nullable + private List virtualInterfaceNames = new ArrayList<>(); + public static final String SERIALIZED_NAME_ENABLE_PUBLISHED_SERVER_URI_BY_REQUEST = "EnablePublishedServerUriByRequest"; @SerializedName(SERIALIZED_NAME_ENABLE_PUBLISHED_SERVER_URI_BY_REQUEST) @javax.annotation.Nullable private Boolean enablePublishedServerUriByRequest; + public static final String SERIALIZED_NAME_PUBLISHED_SERVER_URI_BY_SUBNET = "PublishedServerUriBySubnet"; + @SerializedName(SERIALIZED_NAME_PUBLISHED_SERVER_URI_BY_SUBNET) + @javax.annotation.Nullable + private List publishedServerUriBySubnet = new ArrayList<>(); + + public static final String SERIALIZED_NAME_REMOTE_I_P_FILTER = "RemoteIPFilter"; + @SerializedName(SERIALIZED_NAME_REMOTE_I_P_FILTER) + @javax.annotation.Nullable + private List remoteIPFilter = new ArrayList<>(); + + public static final String SERIALIZED_NAME_IS_REMOTE_I_P_FILTER_BLACKLIST = "IsRemoteIPFilterBlacklist"; + @SerializedName(SERIALIZED_NAME_IS_REMOTE_I_P_FILTER_BLACKLIST) + @javax.annotation.Nullable + private Boolean isRemoteIPFilterBlacklist; + public NetworkConfiguration() { } - public NetworkConfiguration( - Boolean enableMultiSocketBinding - ) { - this(); - this.enableMultiSocketBinding = enableMultiSocketBinding; + public NetworkConfiguration baseUrl(@javax.annotation.Nullable String baseUrl) { + this.baseUrl = baseUrl; + return this; } + /** + * Gets or sets a value used to specify the URL prefix that your Jellyfin instance can be accessed at. + * @return baseUrl + */ + @javax.annotation.Nullable + public String getBaseUrl() { + return baseUrl; + } + + public void setBaseUrl(@javax.annotation.Nullable String baseUrl) { + this.baseUrl = baseUrl; + } + + + public NetworkConfiguration enableHttps(@javax.annotation.Nullable Boolean enableHttps) { + this.enableHttps = enableHttps; + return this; + } + + /** + * Gets or sets a value indicating whether to use HTTPS. + * @return enableHttps + */ + @javax.annotation.Nullable + public Boolean getEnableHttps() { + return enableHttps; + } + + public void setEnableHttps(@javax.annotation.Nullable Boolean enableHttps) { + this.enableHttps = enableHttps; + } + + public NetworkConfiguration requireHttps(@javax.annotation.Nullable Boolean requireHttps) { this.requireHttps = requireHttps; return this; @@ -276,7 +252,7 @@ public class NetworkConfiguration { } /** - * Gets or sets the password required to access the X.509 certificate data in the file specified by Jellyfin.Networking.Configuration.NetworkConfiguration.CertificatePath. + * Gets or sets the password required to access the X.509 certificate data in the file specified by MediaBrowser.Common.Net.NetworkConfiguration.CertificatePath. * @return certificatePassword */ @javax.annotation.Nullable @@ -289,22 +265,60 @@ public class NetworkConfiguration { } - public NetworkConfiguration baseUrl(@javax.annotation.Nullable String baseUrl) { - this.baseUrl = baseUrl; + public NetworkConfiguration internalHttpPort(@javax.annotation.Nullable Integer internalHttpPort) { + this.internalHttpPort = internalHttpPort; return this; } /** - * Gets or sets a value used to specify the URL prefix that your Jellyfin instance can be accessed at. - * @return baseUrl + * Gets or sets the internal HTTP server port. + * @return internalHttpPort */ @javax.annotation.Nullable - public String getBaseUrl() { - return baseUrl; + public Integer getInternalHttpPort() { + return internalHttpPort; } - public void setBaseUrl(@javax.annotation.Nullable String baseUrl) { - this.baseUrl = baseUrl; + public void setInternalHttpPort(@javax.annotation.Nullable Integer internalHttpPort) { + this.internalHttpPort = internalHttpPort; + } + + + public NetworkConfiguration internalHttpsPort(@javax.annotation.Nullable Integer internalHttpsPort) { + this.internalHttpsPort = internalHttpsPort; + return this; + } + + /** + * Gets or sets the internal HTTPS server port. + * @return internalHttpsPort + */ + @javax.annotation.Nullable + public Integer getInternalHttpsPort() { + return internalHttpsPort; + } + + public void setInternalHttpsPort(@javax.annotation.Nullable Integer internalHttpsPort) { + this.internalHttpsPort = internalHttpsPort; + } + + + public NetworkConfiguration publicHttpPort(@javax.annotation.Nullable Integer publicHttpPort) { + this.publicHttpPort = publicHttpPort; + return this; + } + + /** + * Gets or sets the public HTTP port. + * @return publicHttpPort + */ + @javax.annotation.Nullable + public Integer getPublicHttpPort() { + return publicHttpPort; + } + + public void setPublicHttpPort(@javax.annotation.Nullable Integer publicHttpPort) { + this.publicHttpPort = publicHttpPort; } @@ -327,386 +341,6 @@ public class NetworkConfiguration { } - public NetworkConfiguration httpServerPortNumber(@javax.annotation.Nullable Integer httpServerPortNumber) { - this.httpServerPortNumber = httpServerPortNumber; - return this; - } - - /** - * Gets or sets the HTTP server port number. - * @return httpServerPortNumber - */ - @javax.annotation.Nullable - public Integer getHttpServerPortNumber() { - return httpServerPortNumber; - } - - public void setHttpServerPortNumber(@javax.annotation.Nullable Integer httpServerPortNumber) { - this.httpServerPortNumber = httpServerPortNumber; - } - - - public NetworkConfiguration httpsPortNumber(@javax.annotation.Nullable Integer httpsPortNumber) { - this.httpsPortNumber = httpsPortNumber; - return this; - } - - /** - * Gets or sets the HTTPS server port number. - * @return httpsPortNumber - */ - @javax.annotation.Nullable - public Integer getHttpsPortNumber() { - return httpsPortNumber; - } - - public void setHttpsPortNumber(@javax.annotation.Nullable Integer httpsPortNumber) { - this.httpsPortNumber = httpsPortNumber; - } - - - public NetworkConfiguration enableHttps(@javax.annotation.Nullable Boolean enableHttps) { - this.enableHttps = enableHttps; - return this; - } - - /** - * Gets or sets a value indicating whether to use HTTPS. - * @return enableHttps - */ - @javax.annotation.Nullable - public Boolean getEnableHttps() { - return enableHttps; - } - - public void setEnableHttps(@javax.annotation.Nullable Boolean enableHttps) { - this.enableHttps = enableHttps; - } - - - public NetworkConfiguration publicPort(@javax.annotation.Nullable Integer publicPort) { - this.publicPort = publicPort; - return this; - } - - /** - * Gets or sets the public mapped port. - * @return publicPort - */ - @javax.annotation.Nullable - public Integer getPublicPort() { - return publicPort; - } - - public void setPublicPort(@javax.annotation.Nullable Integer publicPort) { - this.publicPort = publicPort; - } - - - public NetworkConfiguration upnPCreateHttpPortMap(@javax.annotation.Nullable Boolean upnPCreateHttpPortMap) { - this.upnPCreateHttpPortMap = upnPCreateHttpPortMap; - return this; - } - - /** - * Gets or sets a value indicating whether the http port should be mapped as part of UPnP automatic port forwarding. - * @return upnPCreateHttpPortMap - */ - @javax.annotation.Nullable - public Boolean getUpnPCreateHttpPortMap() { - return upnPCreateHttpPortMap; - } - - public void setUpnPCreateHttpPortMap(@javax.annotation.Nullable Boolean upnPCreateHttpPortMap) { - this.upnPCreateHttpPortMap = upnPCreateHttpPortMap; - } - - - public NetworkConfiguration udPPortRange(@javax.annotation.Nullable String udPPortRange) { - this.udPPortRange = udPPortRange; - return this; - } - - /** - * Gets or sets the UDPPortRange. - * @return udPPortRange - */ - @javax.annotation.Nullable - public String getUdPPortRange() { - return udPPortRange; - } - - public void setUdPPortRange(@javax.annotation.Nullable String udPPortRange) { - this.udPPortRange = udPPortRange; - } - - - public NetworkConfiguration enableIPV6(@javax.annotation.Nullable Boolean enableIPV6) { - this.enableIPV6 = enableIPV6; - return this; - } - - /** - * Gets or sets a value indicating whether gets or sets IPV6 capability. - * @return enableIPV6 - */ - @javax.annotation.Nullable - public Boolean getEnableIPV6() { - return enableIPV6; - } - - public void setEnableIPV6(@javax.annotation.Nullable Boolean enableIPV6) { - this.enableIPV6 = enableIPV6; - } - - - public NetworkConfiguration enableIPV4(@javax.annotation.Nullable Boolean enableIPV4) { - this.enableIPV4 = enableIPV4; - return this; - } - - /** - * Gets or sets a value indicating whether gets or sets IPV4 capability. - * @return enableIPV4 - */ - @javax.annotation.Nullable - public Boolean getEnableIPV4() { - return enableIPV4; - } - - public void setEnableIPV4(@javax.annotation.Nullable Boolean enableIPV4) { - this.enableIPV4 = enableIPV4; - } - - - public NetworkConfiguration enableSSDPTracing(@javax.annotation.Nullable Boolean enableSSDPTracing) { - this.enableSSDPTracing = enableSSDPTracing; - return this; - } - - /** - * Gets or sets a value indicating whether detailed SSDP logs are sent to the console/log. \"Emby.Dlna\": \"Debug\" must be set in logging.default.json for this property to have any effect. - * @return enableSSDPTracing - */ - @javax.annotation.Nullable - public Boolean getEnableSSDPTracing() { - return enableSSDPTracing; - } - - public void setEnableSSDPTracing(@javax.annotation.Nullable Boolean enableSSDPTracing) { - this.enableSSDPTracing = enableSSDPTracing; - } - - - public NetworkConfiguration ssDPTracingFilter(@javax.annotation.Nullable String ssDPTracingFilter) { - this.ssDPTracingFilter = ssDPTracingFilter; - return this; - } - - /** - * Gets or sets the SSDPTracingFilter Gets or sets a value indicating whether an IP address is to be used to filter the detailed ssdp logs that are being sent to the console/log. If the setting \"Emby.Dlna\": \"Debug\" msut be set in logging.default.json for this property to work. - * @return ssDPTracingFilter - */ - @javax.annotation.Nullable - public String getSsDPTracingFilter() { - return ssDPTracingFilter; - } - - public void setSsDPTracingFilter(@javax.annotation.Nullable String ssDPTracingFilter) { - this.ssDPTracingFilter = ssDPTracingFilter; - } - - - public NetworkConfiguration udPSendCount(@javax.annotation.Nullable Integer udPSendCount) { - this.udPSendCount = udPSendCount; - return this; - } - - /** - * Gets or sets the number of times SSDP UDP messages are sent. - * @return udPSendCount - */ - @javax.annotation.Nullable - public Integer getUdPSendCount() { - return udPSendCount; - } - - public void setUdPSendCount(@javax.annotation.Nullable Integer udPSendCount) { - this.udPSendCount = udPSendCount; - } - - - public NetworkConfiguration udPSendDelay(@javax.annotation.Nullable Integer udPSendDelay) { - this.udPSendDelay = udPSendDelay; - return this; - } - - /** - * Gets or sets the delay between each groups of SSDP messages (in ms). - * @return udPSendDelay - */ - @javax.annotation.Nullable - public Integer getUdPSendDelay() { - return udPSendDelay; - } - - public void setUdPSendDelay(@javax.annotation.Nullable Integer udPSendDelay) { - this.udPSendDelay = udPSendDelay; - } - - - public NetworkConfiguration ignoreVirtualInterfaces(@javax.annotation.Nullable Boolean ignoreVirtualInterfaces) { - this.ignoreVirtualInterfaces = ignoreVirtualInterfaces; - return this; - } - - /** - * Gets or sets a value indicating whether address names that match Jellyfin.Networking.Configuration.NetworkConfiguration.VirtualInterfaceNames should be Ignore for the purposes of binding. - * @return ignoreVirtualInterfaces - */ - @javax.annotation.Nullable - public Boolean getIgnoreVirtualInterfaces() { - return ignoreVirtualInterfaces; - } - - public void setIgnoreVirtualInterfaces(@javax.annotation.Nullable Boolean ignoreVirtualInterfaces) { - this.ignoreVirtualInterfaces = ignoreVirtualInterfaces; - } - - - public NetworkConfiguration virtualInterfaceNames(@javax.annotation.Nullable String virtualInterfaceNames) { - this.virtualInterfaceNames = virtualInterfaceNames; - return this; - } - - /** - * Gets or sets a value indicating the interfaces that should be ignored. The list can be comma separated. <seealso cref=\"P:Jellyfin.Networking.Configuration.NetworkConfiguration.IgnoreVirtualInterfaces\" />. - * @return virtualInterfaceNames - */ - @javax.annotation.Nullable - public String getVirtualInterfaceNames() { - return virtualInterfaceNames; - } - - public void setVirtualInterfaceNames(@javax.annotation.Nullable String virtualInterfaceNames) { - this.virtualInterfaceNames = virtualInterfaceNames; - } - - - public NetworkConfiguration gatewayMonitorPeriod(@javax.annotation.Nullable Integer gatewayMonitorPeriod) { - this.gatewayMonitorPeriod = gatewayMonitorPeriod; - return this; - } - - /** - * Gets or sets the time (in seconds) between the pings of SSDP gateway monitor. - * @return gatewayMonitorPeriod - */ - @javax.annotation.Nullable - public Integer getGatewayMonitorPeriod() { - return gatewayMonitorPeriod; - } - - public void setGatewayMonitorPeriod(@javax.annotation.Nullable Integer gatewayMonitorPeriod) { - this.gatewayMonitorPeriod = gatewayMonitorPeriod; - } - - - /** - * Gets a value indicating whether multi-socket binding is available. - * @return enableMultiSocketBinding - */ - @javax.annotation.Nullable - public Boolean getEnableMultiSocketBinding() { - return enableMultiSocketBinding; - } - - - - public NetworkConfiguration trustAllIP6Interfaces(@javax.annotation.Nullable Boolean trustAllIP6Interfaces) { - this.trustAllIP6Interfaces = trustAllIP6Interfaces; - return this; - } - - /** - * Gets or sets a value indicating whether all IPv6 interfaces should be treated as on the internal network. Depending on the address range implemented ULA ranges might not be used. - * @return trustAllIP6Interfaces - */ - @javax.annotation.Nullable - public Boolean getTrustAllIP6Interfaces() { - return trustAllIP6Interfaces; - } - - public void setTrustAllIP6Interfaces(@javax.annotation.Nullable Boolean trustAllIP6Interfaces) { - this.trustAllIP6Interfaces = trustAllIP6Interfaces; - } - - - public NetworkConfiguration hdHomerunPortRange(@javax.annotation.Nullable String hdHomerunPortRange) { - this.hdHomerunPortRange = hdHomerunPortRange; - return this; - } - - /** - * Gets or sets the ports that HDHomerun uses. - * @return hdHomerunPortRange - */ - @javax.annotation.Nullable - public String getHdHomerunPortRange() { - return hdHomerunPortRange; - } - - public void setHdHomerunPortRange(@javax.annotation.Nullable String hdHomerunPortRange) { - this.hdHomerunPortRange = hdHomerunPortRange; - } - - - public NetworkConfiguration publishedServerUriBySubnet(@javax.annotation.Nullable List publishedServerUriBySubnet) { - this.publishedServerUriBySubnet = publishedServerUriBySubnet; - return this; - } - - public NetworkConfiguration addPublishedServerUriBySubnetItem(String publishedServerUriBySubnetItem) { - if (this.publishedServerUriBySubnet == null) { - this.publishedServerUriBySubnet = new ArrayList<>(); - } - this.publishedServerUriBySubnet.add(publishedServerUriBySubnetItem); - return this; - } - - /** - * Gets or sets the PublishedServerUriBySubnet Gets or sets PublishedServerUri to advertise for specific subnets. - * @return publishedServerUriBySubnet - */ - @javax.annotation.Nullable - public List getPublishedServerUriBySubnet() { - return publishedServerUriBySubnet; - } - - public void setPublishedServerUriBySubnet(@javax.annotation.Nullable List publishedServerUriBySubnet) { - this.publishedServerUriBySubnet = publishedServerUriBySubnet; - } - - - public NetworkConfiguration autoDiscoveryTracing(@javax.annotation.Nullable Boolean autoDiscoveryTracing) { - this.autoDiscoveryTracing = autoDiscoveryTracing; - return this; - } - - /** - * Gets or sets a value indicating whether Autodiscovery tracing is enabled. - * @return autoDiscoveryTracing - */ - @javax.annotation.Nullable - public Boolean getAutoDiscoveryTracing() { - return autoDiscoveryTracing; - } - - public void setAutoDiscoveryTracing(@javax.annotation.Nullable Boolean autoDiscoveryTracing) { - this.autoDiscoveryTracing = autoDiscoveryTracing; - } - - public NetworkConfiguration autoDiscovery(@javax.annotation.Nullable Boolean autoDiscovery) { this.autoDiscovery = autoDiscovery; return this; @@ -726,52 +360,6 @@ public class NetworkConfiguration { } - public NetworkConfiguration remoteIPFilter(@javax.annotation.Nullable List remoteIPFilter) { - this.remoteIPFilter = remoteIPFilter; - return this; - } - - public NetworkConfiguration addRemoteIPFilterItem(String remoteIPFilterItem) { - if (this.remoteIPFilter == null) { - this.remoteIPFilter = new ArrayList<>(); - } - this.remoteIPFilter.add(remoteIPFilterItem); - return this; - } - - /** - * Gets or sets the filter for remote IP connectivity. Used in conjuntion with <seealso cref=\"P:Jellyfin.Networking.Configuration.NetworkConfiguration.IsRemoteIPFilterBlacklist\" />. - * @return remoteIPFilter - */ - @javax.annotation.Nullable - public List getRemoteIPFilter() { - return remoteIPFilter; - } - - public void setRemoteIPFilter(@javax.annotation.Nullable List remoteIPFilter) { - this.remoteIPFilter = remoteIPFilter; - } - - - public NetworkConfiguration isRemoteIPFilterBlacklist(@javax.annotation.Nullable Boolean isRemoteIPFilterBlacklist) { - this.isRemoteIPFilterBlacklist = isRemoteIPFilterBlacklist; - return this; - } - - /** - * Gets or sets a value indicating whether <seealso cref=\"P:Jellyfin.Networking.Configuration.NetworkConfiguration.RemoteIPFilter\" /> contains a blacklist or a whitelist. Default is a whitelist. - * @return isRemoteIPFilterBlacklist - */ - @javax.annotation.Nullable - public Boolean getIsRemoteIPFilterBlacklist() { - return isRemoteIPFilterBlacklist; - } - - public void setIsRemoteIPFilterBlacklist(@javax.annotation.Nullable Boolean isRemoteIPFilterBlacklist) { - this.isRemoteIPFilterBlacklist = isRemoteIPFilterBlacklist; - } - - public NetworkConfiguration enableUPnP(@javax.annotation.Nullable Boolean enableUPnP) { this.enableUPnP = enableUPnP; return this; @@ -791,13 +379,51 @@ public class NetworkConfiguration { } + public NetworkConfiguration enableIPv4(@javax.annotation.Nullable Boolean enableIPv4) { + this.enableIPv4 = enableIPv4; + return this; + } + + /** + * Gets or sets a value indicating whether IPv6 is enabled. + * @return enableIPv4 + */ + @javax.annotation.Nullable + public Boolean getEnableIPv4() { + return enableIPv4; + } + + public void setEnableIPv4(@javax.annotation.Nullable Boolean enableIPv4) { + this.enableIPv4 = enableIPv4; + } + + + public NetworkConfiguration enableIPv6(@javax.annotation.Nullable Boolean enableIPv6) { + this.enableIPv6 = enableIPv6; + return this; + } + + /** + * Gets or sets a value indicating whether IPv6 is enabled. + * @return enableIPv6 + */ + @javax.annotation.Nullable + public Boolean getEnableIPv6() { + return enableIPv6; + } + + public void setEnableIPv6(@javax.annotation.Nullable Boolean enableIPv6) { + this.enableIPv6 = enableIPv6; + } + + public NetworkConfiguration enableRemoteAccess(@javax.annotation.Nullable Boolean enableRemoteAccess) { this.enableRemoteAccess = enableRemoteAccess; return this; } /** - * Gets or sets a value indicating whether access outside of the LAN is permitted. + * Gets or sets a value indicating whether access from outside of the LAN is permitted. * @return enableRemoteAccess */ @javax.annotation.Nullable @@ -878,7 +504,7 @@ public class NetworkConfiguration { } /** - * Gets or sets the known proxies. If the proxy is a network, it's added to the KnownNetworks. + * Gets or sets the known proxies. * @return knownProxies */ @javax.annotation.Nullable @@ -891,6 +517,52 @@ public class NetworkConfiguration { } + public NetworkConfiguration ignoreVirtualInterfaces(@javax.annotation.Nullable Boolean ignoreVirtualInterfaces) { + this.ignoreVirtualInterfaces = ignoreVirtualInterfaces; + return this; + } + + /** + * Gets or sets a value indicating whether address names that match MediaBrowser.Common.Net.NetworkConfiguration.VirtualInterfaceNames should be ignored for the purposes of binding. + * @return ignoreVirtualInterfaces + */ + @javax.annotation.Nullable + public Boolean getIgnoreVirtualInterfaces() { + return ignoreVirtualInterfaces; + } + + public void setIgnoreVirtualInterfaces(@javax.annotation.Nullable Boolean ignoreVirtualInterfaces) { + this.ignoreVirtualInterfaces = ignoreVirtualInterfaces; + } + + + public NetworkConfiguration virtualInterfaceNames(@javax.annotation.Nullable List virtualInterfaceNames) { + this.virtualInterfaceNames = virtualInterfaceNames; + return this; + } + + public NetworkConfiguration addVirtualInterfaceNamesItem(String virtualInterfaceNamesItem) { + if (this.virtualInterfaceNames == null) { + this.virtualInterfaceNames = new ArrayList<>(); + } + this.virtualInterfaceNames.add(virtualInterfaceNamesItem); + return this; + } + + /** + * Gets or sets a value indicating the interface name prefixes that should be ignored. The list can be comma separated and values are case-insensitive. <seealso cref=\"P:MediaBrowser.Common.Net.NetworkConfiguration.IgnoreVirtualInterfaces\" />. + * @return virtualInterfaceNames + */ + @javax.annotation.Nullable + public List getVirtualInterfaceNames() { + return virtualInterfaceNames; + } + + public void setVirtualInterfaceNames(@javax.annotation.Nullable List virtualInterfaceNames) { + this.virtualInterfaceNames = virtualInterfaceNames; + } + + public NetworkConfiguration enablePublishedServerUriByRequest(@javax.annotation.Nullable Boolean enablePublishedServerUriByRequest) { this.enablePublishedServerUriByRequest = enablePublishedServerUriByRequest; return this; @@ -910,6 +582,79 @@ public class NetworkConfiguration { } + public NetworkConfiguration publishedServerUriBySubnet(@javax.annotation.Nullable List publishedServerUriBySubnet) { + this.publishedServerUriBySubnet = publishedServerUriBySubnet; + return this; + } + + public NetworkConfiguration addPublishedServerUriBySubnetItem(String publishedServerUriBySubnetItem) { + if (this.publishedServerUriBySubnet == null) { + this.publishedServerUriBySubnet = new ArrayList<>(); + } + this.publishedServerUriBySubnet.add(publishedServerUriBySubnetItem); + return this; + } + + /** + * Gets or sets the PublishedServerUriBySubnet Gets or sets PublishedServerUri to advertise for specific subnets. + * @return publishedServerUriBySubnet + */ + @javax.annotation.Nullable + public List getPublishedServerUriBySubnet() { + return publishedServerUriBySubnet; + } + + public void setPublishedServerUriBySubnet(@javax.annotation.Nullable List publishedServerUriBySubnet) { + this.publishedServerUriBySubnet = publishedServerUriBySubnet; + } + + + public NetworkConfiguration remoteIPFilter(@javax.annotation.Nullable List remoteIPFilter) { + this.remoteIPFilter = remoteIPFilter; + return this; + } + + public NetworkConfiguration addRemoteIPFilterItem(String remoteIPFilterItem) { + if (this.remoteIPFilter == null) { + this.remoteIPFilter = new ArrayList<>(); + } + this.remoteIPFilter.add(remoteIPFilterItem); + return this; + } + + /** + * Gets or sets the filter for remote IP connectivity. Used in conjunction with <seealso cref=\"P:MediaBrowser.Common.Net.NetworkConfiguration.IsRemoteIPFilterBlacklist\" />. + * @return remoteIPFilter + */ + @javax.annotation.Nullable + public List getRemoteIPFilter() { + return remoteIPFilter; + } + + public void setRemoteIPFilter(@javax.annotation.Nullable List remoteIPFilter) { + this.remoteIPFilter = remoteIPFilter; + } + + + public NetworkConfiguration isRemoteIPFilterBlacklist(@javax.annotation.Nullable Boolean isRemoteIPFilterBlacklist) { + this.isRemoteIPFilterBlacklist = isRemoteIPFilterBlacklist; + return this; + } + + /** + * Gets or sets a value indicating whether <seealso cref=\"P:MediaBrowser.Common.Net.NetworkConfiguration.RemoteIPFilter\" /> contains a blacklist or a whitelist. Default is a whitelist. + * @return isRemoteIPFilterBlacklist + */ + @javax.annotation.Nullable + public Boolean getIsRemoteIPFilterBlacklist() { + return isRemoteIPFilterBlacklist; + } + + public void setIsRemoteIPFilterBlacklist(@javax.annotation.Nullable Boolean isRemoteIPFilterBlacklist) { + this.isRemoteIPFilterBlacklist = isRemoteIPFilterBlacklist; + } + + @Override public boolean equals(Object o) { @@ -920,85 +665,63 @@ public class NetworkConfiguration { return false; } NetworkConfiguration networkConfiguration = (NetworkConfiguration) o; - return Objects.equals(this.requireHttps, networkConfiguration.requireHttps) && + return Objects.equals(this.baseUrl, networkConfiguration.baseUrl) && + Objects.equals(this.enableHttps, networkConfiguration.enableHttps) && + Objects.equals(this.requireHttps, networkConfiguration.requireHttps) && Objects.equals(this.certificatePath, networkConfiguration.certificatePath) && Objects.equals(this.certificatePassword, networkConfiguration.certificatePassword) && - Objects.equals(this.baseUrl, networkConfiguration.baseUrl) && + Objects.equals(this.internalHttpPort, networkConfiguration.internalHttpPort) && + Objects.equals(this.internalHttpsPort, networkConfiguration.internalHttpsPort) && + Objects.equals(this.publicHttpPort, networkConfiguration.publicHttpPort) && Objects.equals(this.publicHttpsPort, networkConfiguration.publicHttpsPort) && - Objects.equals(this.httpServerPortNumber, networkConfiguration.httpServerPortNumber) && - Objects.equals(this.httpsPortNumber, networkConfiguration.httpsPortNumber) && - Objects.equals(this.enableHttps, networkConfiguration.enableHttps) && - Objects.equals(this.publicPort, networkConfiguration.publicPort) && - Objects.equals(this.upnPCreateHttpPortMap, networkConfiguration.upnPCreateHttpPortMap) && - Objects.equals(this.udPPortRange, networkConfiguration.udPPortRange) && - Objects.equals(this.enableIPV6, networkConfiguration.enableIPV6) && - Objects.equals(this.enableIPV4, networkConfiguration.enableIPV4) && - Objects.equals(this.enableSSDPTracing, networkConfiguration.enableSSDPTracing) && - Objects.equals(this.ssDPTracingFilter, networkConfiguration.ssDPTracingFilter) && - Objects.equals(this.udPSendCount, networkConfiguration.udPSendCount) && - Objects.equals(this.udPSendDelay, networkConfiguration.udPSendDelay) && - Objects.equals(this.ignoreVirtualInterfaces, networkConfiguration.ignoreVirtualInterfaces) && - Objects.equals(this.virtualInterfaceNames, networkConfiguration.virtualInterfaceNames) && - Objects.equals(this.gatewayMonitorPeriod, networkConfiguration.gatewayMonitorPeriod) && - Objects.equals(this.enableMultiSocketBinding, networkConfiguration.enableMultiSocketBinding) && - Objects.equals(this.trustAllIP6Interfaces, networkConfiguration.trustAllIP6Interfaces) && - Objects.equals(this.hdHomerunPortRange, networkConfiguration.hdHomerunPortRange) && - Objects.equals(this.publishedServerUriBySubnet, networkConfiguration.publishedServerUriBySubnet) && - Objects.equals(this.autoDiscoveryTracing, networkConfiguration.autoDiscoveryTracing) && Objects.equals(this.autoDiscovery, networkConfiguration.autoDiscovery) && - Objects.equals(this.remoteIPFilter, networkConfiguration.remoteIPFilter) && - Objects.equals(this.isRemoteIPFilterBlacklist, networkConfiguration.isRemoteIPFilterBlacklist) && Objects.equals(this.enableUPnP, networkConfiguration.enableUPnP) && + Objects.equals(this.enableIPv4, networkConfiguration.enableIPv4) && + Objects.equals(this.enableIPv6, networkConfiguration.enableIPv6) && Objects.equals(this.enableRemoteAccess, networkConfiguration.enableRemoteAccess) && Objects.equals(this.localNetworkSubnets, networkConfiguration.localNetworkSubnets) && Objects.equals(this.localNetworkAddresses, networkConfiguration.localNetworkAddresses) && Objects.equals(this.knownProxies, networkConfiguration.knownProxies) && - Objects.equals(this.enablePublishedServerUriByRequest, networkConfiguration.enablePublishedServerUriByRequest); + Objects.equals(this.ignoreVirtualInterfaces, networkConfiguration.ignoreVirtualInterfaces) && + Objects.equals(this.virtualInterfaceNames, networkConfiguration.virtualInterfaceNames) && + Objects.equals(this.enablePublishedServerUriByRequest, networkConfiguration.enablePublishedServerUriByRequest) && + Objects.equals(this.publishedServerUriBySubnet, networkConfiguration.publishedServerUriBySubnet) && + Objects.equals(this.remoteIPFilter, networkConfiguration.remoteIPFilter) && + Objects.equals(this.isRemoteIPFilterBlacklist, networkConfiguration.isRemoteIPFilterBlacklist); } @Override public int hashCode() { - return Objects.hash(requireHttps, certificatePath, certificatePassword, baseUrl, publicHttpsPort, httpServerPortNumber, httpsPortNumber, enableHttps, publicPort, upnPCreateHttpPortMap, udPPortRange, enableIPV6, enableIPV4, enableSSDPTracing, ssDPTracingFilter, udPSendCount, udPSendDelay, ignoreVirtualInterfaces, virtualInterfaceNames, gatewayMonitorPeriod, enableMultiSocketBinding, trustAllIP6Interfaces, hdHomerunPortRange, publishedServerUriBySubnet, autoDiscoveryTracing, autoDiscovery, remoteIPFilter, isRemoteIPFilterBlacklist, enableUPnP, enableRemoteAccess, localNetworkSubnets, localNetworkAddresses, knownProxies, enablePublishedServerUriByRequest); + return Objects.hash(baseUrl, enableHttps, requireHttps, certificatePath, certificatePassword, internalHttpPort, internalHttpsPort, publicHttpPort, publicHttpsPort, autoDiscovery, enableUPnP, enableIPv4, enableIPv6, enableRemoteAccess, localNetworkSubnets, localNetworkAddresses, knownProxies, ignoreVirtualInterfaces, virtualInterfaceNames, enablePublishedServerUriByRequest, publishedServerUriBySubnet, remoteIPFilter, isRemoteIPFilterBlacklist); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class NetworkConfiguration {\n"); + sb.append(" baseUrl: ").append(toIndentedString(baseUrl)).append("\n"); + sb.append(" enableHttps: ").append(toIndentedString(enableHttps)).append("\n"); sb.append(" requireHttps: ").append(toIndentedString(requireHttps)).append("\n"); sb.append(" certificatePath: ").append(toIndentedString(certificatePath)).append("\n"); sb.append(" certificatePassword: ").append(toIndentedString(certificatePassword)).append("\n"); - sb.append(" baseUrl: ").append(toIndentedString(baseUrl)).append("\n"); + sb.append(" internalHttpPort: ").append(toIndentedString(internalHttpPort)).append("\n"); + sb.append(" internalHttpsPort: ").append(toIndentedString(internalHttpsPort)).append("\n"); + sb.append(" publicHttpPort: ").append(toIndentedString(publicHttpPort)).append("\n"); sb.append(" publicHttpsPort: ").append(toIndentedString(publicHttpsPort)).append("\n"); - sb.append(" httpServerPortNumber: ").append(toIndentedString(httpServerPortNumber)).append("\n"); - sb.append(" httpsPortNumber: ").append(toIndentedString(httpsPortNumber)).append("\n"); - sb.append(" enableHttps: ").append(toIndentedString(enableHttps)).append("\n"); - sb.append(" publicPort: ").append(toIndentedString(publicPort)).append("\n"); - sb.append(" upnPCreateHttpPortMap: ").append(toIndentedString(upnPCreateHttpPortMap)).append("\n"); - sb.append(" udPPortRange: ").append(toIndentedString(udPPortRange)).append("\n"); - sb.append(" enableIPV6: ").append(toIndentedString(enableIPV6)).append("\n"); - sb.append(" enableIPV4: ").append(toIndentedString(enableIPV4)).append("\n"); - sb.append(" enableSSDPTracing: ").append(toIndentedString(enableSSDPTracing)).append("\n"); - sb.append(" ssDPTracingFilter: ").append(toIndentedString(ssDPTracingFilter)).append("\n"); - sb.append(" udPSendCount: ").append(toIndentedString(udPSendCount)).append("\n"); - sb.append(" udPSendDelay: ").append(toIndentedString(udPSendDelay)).append("\n"); - sb.append(" ignoreVirtualInterfaces: ").append(toIndentedString(ignoreVirtualInterfaces)).append("\n"); - sb.append(" virtualInterfaceNames: ").append(toIndentedString(virtualInterfaceNames)).append("\n"); - sb.append(" gatewayMonitorPeriod: ").append(toIndentedString(gatewayMonitorPeriod)).append("\n"); - sb.append(" enableMultiSocketBinding: ").append(toIndentedString(enableMultiSocketBinding)).append("\n"); - sb.append(" trustAllIP6Interfaces: ").append(toIndentedString(trustAllIP6Interfaces)).append("\n"); - sb.append(" hdHomerunPortRange: ").append(toIndentedString(hdHomerunPortRange)).append("\n"); - sb.append(" publishedServerUriBySubnet: ").append(toIndentedString(publishedServerUriBySubnet)).append("\n"); - sb.append(" autoDiscoveryTracing: ").append(toIndentedString(autoDiscoveryTracing)).append("\n"); sb.append(" autoDiscovery: ").append(toIndentedString(autoDiscovery)).append("\n"); - sb.append(" remoteIPFilter: ").append(toIndentedString(remoteIPFilter)).append("\n"); - sb.append(" isRemoteIPFilterBlacklist: ").append(toIndentedString(isRemoteIPFilterBlacklist)).append("\n"); sb.append(" enableUPnP: ").append(toIndentedString(enableUPnP)).append("\n"); + sb.append(" enableIPv4: ").append(toIndentedString(enableIPv4)).append("\n"); + sb.append(" enableIPv6: ").append(toIndentedString(enableIPv6)).append("\n"); sb.append(" enableRemoteAccess: ").append(toIndentedString(enableRemoteAccess)).append("\n"); sb.append(" localNetworkSubnets: ").append(toIndentedString(localNetworkSubnets)).append("\n"); sb.append(" localNetworkAddresses: ").append(toIndentedString(localNetworkAddresses)).append("\n"); sb.append(" knownProxies: ").append(toIndentedString(knownProxies)).append("\n"); + sb.append(" ignoreVirtualInterfaces: ").append(toIndentedString(ignoreVirtualInterfaces)).append("\n"); + sb.append(" virtualInterfaceNames: ").append(toIndentedString(virtualInterfaceNames)).append("\n"); sb.append(" enablePublishedServerUriByRequest: ").append(toIndentedString(enablePublishedServerUriByRequest)).append("\n"); + sb.append(" publishedServerUriBySubnet: ").append(toIndentedString(publishedServerUriBySubnet)).append("\n"); + sb.append(" remoteIPFilter: ").append(toIndentedString(remoteIPFilter)).append("\n"); + sb.append(" isRemoteIPFilterBlacklist: ").append(toIndentedString(isRemoteIPFilterBlacklist)).append("\n"); sb.append("}"); return sb.toString(); } @@ -1021,40 +744,29 @@ public class NetworkConfiguration { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); + openapiFields.add("BaseUrl"); + openapiFields.add("EnableHttps"); openapiFields.add("RequireHttps"); openapiFields.add("CertificatePath"); openapiFields.add("CertificatePassword"); - openapiFields.add("BaseUrl"); + openapiFields.add("InternalHttpPort"); + openapiFields.add("InternalHttpsPort"); + openapiFields.add("PublicHttpPort"); openapiFields.add("PublicHttpsPort"); - openapiFields.add("HttpServerPortNumber"); - openapiFields.add("HttpsPortNumber"); - openapiFields.add("EnableHttps"); - openapiFields.add("PublicPort"); - openapiFields.add("UPnPCreateHttpPortMap"); - openapiFields.add("UDPPortRange"); - openapiFields.add("EnableIPV6"); - openapiFields.add("EnableIPV4"); - openapiFields.add("EnableSSDPTracing"); - openapiFields.add("SSDPTracingFilter"); - openapiFields.add("UDPSendCount"); - openapiFields.add("UDPSendDelay"); - openapiFields.add("IgnoreVirtualInterfaces"); - openapiFields.add("VirtualInterfaceNames"); - openapiFields.add("GatewayMonitorPeriod"); - openapiFields.add("EnableMultiSocketBinding"); - openapiFields.add("TrustAllIP6Interfaces"); - openapiFields.add("HDHomerunPortRange"); - openapiFields.add("PublishedServerUriBySubnet"); - openapiFields.add("AutoDiscoveryTracing"); openapiFields.add("AutoDiscovery"); - openapiFields.add("RemoteIPFilter"); - openapiFields.add("IsRemoteIPFilterBlacklist"); openapiFields.add("EnableUPnP"); + openapiFields.add("EnableIPv4"); + openapiFields.add("EnableIPv6"); openapiFields.add("EnableRemoteAccess"); openapiFields.add("LocalNetworkSubnets"); openapiFields.add("LocalNetworkAddresses"); openapiFields.add("KnownProxies"); + openapiFields.add("IgnoreVirtualInterfaces"); + openapiFields.add("VirtualInterfaceNames"); openapiFields.add("EnablePublishedServerUriByRequest"); + openapiFields.add("PublishedServerUriBySubnet"); + openapiFields.add("RemoteIPFilter"); + openapiFields.add("IsRemoteIPFilterBlacklist"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -1081,35 +793,15 @@ public class NetworkConfiguration { } } JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("BaseUrl") != null && !jsonObj.get("BaseUrl").isJsonNull()) && !jsonObj.get("BaseUrl").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `BaseUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("BaseUrl").toString())); + } if ((jsonObj.get("CertificatePath") != null && !jsonObj.get("CertificatePath").isJsonNull()) && !jsonObj.get("CertificatePath").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `CertificatePath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("CertificatePath").toString())); } if ((jsonObj.get("CertificatePassword") != null && !jsonObj.get("CertificatePassword").isJsonNull()) && !jsonObj.get("CertificatePassword").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `CertificatePassword` to be a primitive type in the JSON string but got `%s`", jsonObj.get("CertificatePassword").toString())); } - if ((jsonObj.get("BaseUrl") != null && !jsonObj.get("BaseUrl").isJsonNull()) && !jsonObj.get("BaseUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `BaseUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("BaseUrl").toString())); - } - if ((jsonObj.get("UDPPortRange") != null && !jsonObj.get("UDPPortRange").isJsonNull()) && !jsonObj.get("UDPPortRange").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `UDPPortRange` to be a primitive type in the JSON string but got `%s`", jsonObj.get("UDPPortRange").toString())); - } - if ((jsonObj.get("SSDPTracingFilter") != null && !jsonObj.get("SSDPTracingFilter").isJsonNull()) && !jsonObj.get("SSDPTracingFilter").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `SSDPTracingFilter` to be a primitive type in the JSON string but got `%s`", jsonObj.get("SSDPTracingFilter").toString())); - } - if ((jsonObj.get("VirtualInterfaceNames") != null && !jsonObj.get("VirtualInterfaceNames").isJsonNull()) && !jsonObj.get("VirtualInterfaceNames").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `VirtualInterfaceNames` to be a primitive type in the JSON string but got `%s`", jsonObj.get("VirtualInterfaceNames").toString())); - } - if ((jsonObj.get("HDHomerunPortRange") != null && !jsonObj.get("HDHomerunPortRange").isJsonNull()) && !jsonObj.get("HDHomerunPortRange").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `HDHomerunPortRange` to be a primitive type in the JSON string but got `%s`", jsonObj.get("HDHomerunPortRange").toString())); - } - // ensure the optional json data is an array if present - if (jsonObj.get("PublishedServerUriBySubnet") != null && !jsonObj.get("PublishedServerUriBySubnet").isJsonNull() && !jsonObj.get("PublishedServerUriBySubnet").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `PublishedServerUriBySubnet` to be an array in the JSON string but got `%s`", jsonObj.get("PublishedServerUriBySubnet").toString())); - } - // ensure the optional json data is an array if present - if (jsonObj.get("RemoteIPFilter") != null && !jsonObj.get("RemoteIPFilter").isJsonNull() && !jsonObj.get("RemoteIPFilter").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `RemoteIPFilter` to be an array in the JSON string but got `%s`", jsonObj.get("RemoteIPFilter").toString())); - } // ensure the optional json data is an array if present if (jsonObj.get("LocalNetworkSubnets") != null && !jsonObj.get("LocalNetworkSubnets").isJsonNull() && !jsonObj.get("LocalNetworkSubnets").isJsonArray()) { throw new IllegalArgumentException(String.format("Expected the field `LocalNetworkSubnets` to be an array in the JSON string but got `%s`", jsonObj.get("LocalNetworkSubnets").toString())); @@ -1122,6 +814,18 @@ public class NetworkConfiguration { if (jsonObj.get("KnownProxies") != null && !jsonObj.get("KnownProxies").isJsonNull() && !jsonObj.get("KnownProxies").isJsonArray()) { throw new IllegalArgumentException(String.format("Expected the field `KnownProxies` to be an array in the JSON string but got `%s`", jsonObj.get("KnownProxies").toString())); } + // ensure the optional json data is an array if present + if (jsonObj.get("VirtualInterfaceNames") != null && !jsonObj.get("VirtualInterfaceNames").isJsonNull() && !jsonObj.get("VirtualInterfaceNames").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `VirtualInterfaceNames` to be an array in the JSON string but got `%s`", jsonObj.get("VirtualInterfaceNames").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("PublishedServerUriBySubnet") != null && !jsonObj.get("PublishedServerUriBySubnet").isJsonNull() && !jsonObj.get("PublishedServerUriBySubnet").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `PublishedServerUriBySubnet` to be an array in the JSON string but got `%s`", jsonObj.get("PublishedServerUriBySubnet").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("RemoteIPFilter") != null && !jsonObj.get("RemoteIPFilter").isJsonNull() && !jsonObj.get("RemoteIPFilter").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `RemoteIPFilter` to be an array in the JSON string but got `%s`", jsonObj.get("RemoteIPFilter").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NewGroupRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/NewGroupRequestDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NewGroupRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/NewGroupRequestDto.java index 55d7980a319..34a827b7ed2 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NewGroupRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/NewGroupRequestDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Class NewGroupRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class NewGroupRequestDto { public static final String SERIALIZED_NAME_GROUP_NAME = "GroupName"; @SerializedName(SERIALIZED_NAME_GROUP_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NextItemRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/NextItemRequestDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NextItemRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/NextItemRequestDto.java index 6d00cf29c51..680028f6b3b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NextItemRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/NextItemRequestDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class NextItemRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class NextItemRequestDto { public static final String SERIALIZED_NAME_PLAYLIST_ITEM_ID = "PlaylistItemId"; @SerializedName(SERIALIZED_NAME_PLAYLIST_ITEM_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/OpenLiveStreamDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/OpenLiveStreamDto.java similarity index 92% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/OpenLiveStreamDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/OpenLiveStreamDto.java index 32522ef5293..a084979b775 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/OpenLiveStreamDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/OpenLiveStreamDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * Open live stream dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class OpenLiveStreamDto { public static final String SERIALIZED_NAME_OPEN_TOKEN = "OpenToken"; @SerializedName(SERIALIZED_NAME_OPEN_TOKEN) @@ -111,6 +111,11 @@ public class OpenLiveStreamDto { @javax.annotation.Nullable private Boolean enableDirectStream; + public static final String SERIALIZED_NAME_ALWAYS_BURN_IN_SUBTITLE_WHEN_TRANSCODING = "AlwaysBurnInSubtitleWhenTranscoding"; + @SerializedName(SERIALIZED_NAME_ALWAYS_BURN_IN_SUBTITLE_WHEN_TRANSCODING) + @javax.annotation.Nullable + private Boolean alwaysBurnInSubtitleWhenTranscoding; + public static final String SERIALIZED_NAME_DEVICE_PROFILE = "DeviceProfile"; @SerializedName(SERIALIZED_NAME_DEVICE_PROFILE) @javax.annotation.Nullable @@ -333,6 +338,25 @@ public class OpenLiveStreamDto { } + public OpenLiveStreamDto alwaysBurnInSubtitleWhenTranscoding(@javax.annotation.Nullable Boolean alwaysBurnInSubtitleWhenTranscoding) { + this.alwaysBurnInSubtitleWhenTranscoding = alwaysBurnInSubtitleWhenTranscoding; + return this; + } + + /** + * Gets or sets a value indicating whether always burn in subtitles when transcoding. + * @return alwaysBurnInSubtitleWhenTranscoding + */ + @javax.annotation.Nullable + public Boolean getAlwaysBurnInSubtitleWhenTranscoding() { + return alwaysBurnInSubtitleWhenTranscoding; + } + + public void setAlwaysBurnInSubtitleWhenTranscoding(@javax.annotation.Nullable Boolean alwaysBurnInSubtitleWhenTranscoding) { + this.alwaysBurnInSubtitleWhenTranscoding = alwaysBurnInSubtitleWhenTranscoding; + } + + public OpenLiveStreamDto deviceProfile(@javax.annotation.Nullable DeviceProfile deviceProfile) { this.deviceProfile = deviceProfile; return this; @@ -400,6 +424,7 @@ public class OpenLiveStreamDto { Objects.equals(this.itemId, openLiveStreamDto.itemId) && Objects.equals(this.enableDirectPlay, openLiveStreamDto.enableDirectPlay) && Objects.equals(this.enableDirectStream, openLiveStreamDto.enableDirectStream) && + Objects.equals(this.alwaysBurnInSubtitleWhenTranscoding, openLiveStreamDto.alwaysBurnInSubtitleWhenTranscoding) && Objects.equals(this.deviceProfile, openLiveStreamDto.deviceProfile) && Objects.equals(this.directPlayProtocols, openLiveStreamDto.directPlayProtocols); } @@ -410,7 +435,7 @@ public class OpenLiveStreamDto { @Override public int hashCode() { - return Objects.hash(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, deviceProfile, directPlayProtocols); + return Objects.hash(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, alwaysBurnInSubtitleWhenTranscoding, deviceProfile, directPlayProtocols); } private static int hashCodeNullable(JsonNullable a) { @@ -435,6 +460,7 @@ public class OpenLiveStreamDto { sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n"); sb.append(" enableDirectPlay: ").append(toIndentedString(enableDirectPlay)).append("\n"); sb.append(" enableDirectStream: ").append(toIndentedString(enableDirectStream)).append("\n"); + sb.append(" alwaysBurnInSubtitleWhenTranscoding: ").append(toIndentedString(alwaysBurnInSubtitleWhenTranscoding)).append("\n"); sb.append(" deviceProfile: ").append(toIndentedString(deviceProfile)).append("\n"); sb.append(" directPlayProtocols: ").append(toIndentedString(directPlayProtocols)).append("\n"); sb.append("}"); @@ -470,6 +496,7 @@ public class OpenLiveStreamDto { openapiFields.add("ItemId"); openapiFields.add("EnableDirectPlay"); openapiFields.add("EnableDirectStream"); + openapiFields.add("AlwaysBurnInSubtitleWhenTranscoding"); openapiFields.add("DeviceProfile"); openapiFields.add("DirectPlayProtocols"); diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/OutboundKeepAliveMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/OutboundKeepAliveMessage.java new file mode 100644 index 00000000000..867efa217ed --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/OutboundKeepAliveMessage.java @@ -0,0 +1,238 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.SessionMessageType; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Keep alive websocket messages. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class OutboundKeepAliveMessage { + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.KEEP_ALIVE; + + public OutboundKeepAliveMessage() { + } + + public OutboundKeepAliveMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public OutboundKeepAliveMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OutboundKeepAliveMessage outboundKeepAliveMessage = (OutboundKeepAliveMessage) o; + return Objects.equals(this.messageId, outboundKeepAliveMessage.messageId) && + Objects.equals(this.messageType, outboundKeepAliveMessage.messageType); + } + + @Override + public int hashCode() { + return Objects.hash(messageId, messageType); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OutboundKeepAliveMessage {\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to OutboundKeepAliveMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!OutboundKeepAliveMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in OutboundKeepAliveMessage is not found in the empty JSON string", OutboundKeepAliveMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!OutboundKeepAliveMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `OutboundKeepAliveMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!OutboundKeepAliveMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'OutboundKeepAliveMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(OutboundKeepAliveMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, OutboundKeepAliveMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public OutboundKeepAliveMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of OutboundKeepAliveMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of OutboundKeepAliveMessage + * @throws IOException if the JSON string is invalid with respect to OutboundKeepAliveMessage + */ + public static OutboundKeepAliveMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, OutboundKeepAliveMessage.class); + } + + /** + * Convert an instance of OutboundKeepAliveMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/OutboundWebSocketMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/OutboundWebSocketMessage.java new file mode 100644 index 00000000000..39eee249d26 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/OutboundWebSocketMessage.java @@ -0,0 +1,1449 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.ActivityLogEntryMessage; +import org.openapitools.client.model.ForceKeepAliveMessage; +import org.openapitools.client.model.GeneralCommandMessage; +import org.openapitools.client.model.LibraryChangedMessage; +import org.openapitools.client.model.OutboundKeepAliveMessage; +import org.openapitools.client.model.PlayMessage; +import org.openapitools.client.model.PlaystateMessage; +import org.openapitools.client.model.PluginInstallationCancelledMessage; +import org.openapitools.client.model.PluginInstallationCompletedMessage; +import org.openapitools.client.model.PluginInstallationFailedMessage; +import org.openapitools.client.model.PluginInstallingMessage; +import org.openapitools.client.model.PluginUninstalledMessage; +import org.openapitools.client.model.RefreshProgressMessage; +import org.openapitools.client.model.RestartRequiredMessage; +import org.openapitools.client.model.ScheduledTaskEndedMessage; +import org.openapitools.client.model.ScheduledTasksInfoMessage; +import org.openapitools.client.model.SeriesTimerCancelledMessage; +import org.openapitools.client.model.SeriesTimerCreatedMessage; +import org.openapitools.client.model.ServerRestartingMessage; +import org.openapitools.client.model.ServerShuttingDownMessage; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.client.model.SessionsMessage; +import org.openapitools.client.model.SyncPlayCommandMessage; +import org.openapitools.client.model.SyncPlayGroupUpdateCommandMessage; +import org.openapitools.client.model.TimerCancelledMessage; +import org.openapitools.client.model.TimerCreatedMessage; +import org.openapitools.client.model.UserDataChangedMessage; +import org.openapitools.client.model.UserDeletedMessage; +import org.openapitools.client.model.UserDto; +import org.openapitools.client.model.UserUpdatedMessage; +import org.openapitools.jackson.nullable.JsonNullable; + + + +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapter; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.JsonPrimitive; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonArray; +import com.google.gson.JsonParseException; + +import org.openapitools.client.JSON; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class OutboundWebSocketMessage extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(OutboundWebSocketMessage.class.getName()); + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!OutboundWebSocketMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'OutboundWebSocketMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter adapterActivityLogEntryMessage = gson.getDelegateAdapter(this, TypeToken.get(ActivityLogEntryMessage.class)); + final TypeAdapter adapterForceKeepAliveMessage = gson.getDelegateAdapter(this, TypeToken.get(ForceKeepAliveMessage.class)); + final TypeAdapter adapterGeneralCommandMessage = gson.getDelegateAdapter(this, TypeToken.get(GeneralCommandMessage.class)); + final TypeAdapter adapterLibraryChangedMessage = gson.getDelegateAdapter(this, TypeToken.get(LibraryChangedMessage.class)); + final TypeAdapter adapterOutboundKeepAliveMessage = gson.getDelegateAdapter(this, TypeToken.get(OutboundKeepAliveMessage.class)); + final TypeAdapter adapterPlayMessage = gson.getDelegateAdapter(this, TypeToken.get(PlayMessage.class)); + final TypeAdapter adapterPlaystateMessage = gson.getDelegateAdapter(this, TypeToken.get(PlaystateMessage.class)); + final TypeAdapter adapterPluginInstallationCancelledMessage = gson.getDelegateAdapter(this, TypeToken.get(PluginInstallationCancelledMessage.class)); + final TypeAdapter adapterPluginInstallationCompletedMessage = gson.getDelegateAdapter(this, TypeToken.get(PluginInstallationCompletedMessage.class)); + final TypeAdapter adapterPluginInstallationFailedMessage = gson.getDelegateAdapter(this, TypeToken.get(PluginInstallationFailedMessage.class)); + final TypeAdapter adapterPluginInstallingMessage = gson.getDelegateAdapter(this, TypeToken.get(PluginInstallingMessage.class)); + final TypeAdapter adapterPluginUninstalledMessage = gson.getDelegateAdapter(this, TypeToken.get(PluginUninstalledMessage.class)); + final TypeAdapter adapterRefreshProgressMessage = gson.getDelegateAdapter(this, TypeToken.get(RefreshProgressMessage.class)); + final TypeAdapter adapterRestartRequiredMessage = gson.getDelegateAdapter(this, TypeToken.get(RestartRequiredMessage.class)); + final TypeAdapter adapterScheduledTaskEndedMessage = gson.getDelegateAdapter(this, TypeToken.get(ScheduledTaskEndedMessage.class)); + final TypeAdapter adapterScheduledTasksInfoMessage = gson.getDelegateAdapter(this, TypeToken.get(ScheduledTasksInfoMessage.class)); + final TypeAdapter adapterSeriesTimerCancelledMessage = gson.getDelegateAdapter(this, TypeToken.get(SeriesTimerCancelledMessage.class)); + final TypeAdapter adapterSeriesTimerCreatedMessage = gson.getDelegateAdapter(this, TypeToken.get(SeriesTimerCreatedMessage.class)); + final TypeAdapter adapterServerRestartingMessage = gson.getDelegateAdapter(this, TypeToken.get(ServerRestartingMessage.class)); + final TypeAdapter adapterServerShuttingDownMessage = gson.getDelegateAdapter(this, TypeToken.get(ServerShuttingDownMessage.class)); + final TypeAdapter adapterSessionsMessage = gson.getDelegateAdapter(this, TypeToken.get(SessionsMessage.class)); + final TypeAdapter adapterSyncPlayCommandMessage = gson.getDelegateAdapter(this, TypeToken.get(SyncPlayCommandMessage.class)); + final TypeAdapter adapterSyncPlayGroupUpdateCommandMessage = gson.getDelegateAdapter(this, TypeToken.get(SyncPlayGroupUpdateCommandMessage.class)); + final TypeAdapter adapterTimerCancelledMessage = gson.getDelegateAdapter(this, TypeToken.get(TimerCancelledMessage.class)); + final TypeAdapter adapterTimerCreatedMessage = gson.getDelegateAdapter(this, TypeToken.get(TimerCreatedMessage.class)); + final TypeAdapter adapterUserDataChangedMessage = gson.getDelegateAdapter(this, TypeToken.get(UserDataChangedMessage.class)); + final TypeAdapter adapterUserDeletedMessage = gson.getDelegateAdapter(this, TypeToken.get(UserDeletedMessage.class)); + final TypeAdapter adapterUserUpdatedMessage = gson.getDelegateAdapter(this, TypeToken.get(UserUpdatedMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, OutboundWebSocketMessage value) throws IOException { + if (value == null || value.getActualInstance() == null) { + elementAdapter.write(out, null); + return; + } + + // check if the actual instance is of the type `ActivityLogEntryMessage` + if (value.getActualInstance() instanceof ActivityLogEntryMessage) { + JsonElement element = adapterActivityLogEntryMessage.toJsonTree((ActivityLogEntryMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `ForceKeepAliveMessage` + if (value.getActualInstance() instanceof ForceKeepAliveMessage) { + JsonElement element = adapterForceKeepAliveMessage.toJsonTree((ForceKeepAliveMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `GeneralCommandMessage` + if (value.getActualInstance() instanceof GeneralCommandMessage) { + JsonElement element = adapterGeneralCommandMessage.toJsonTree((GeneralCommandMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `LibraryChangedMessage` + if (value.getActualInstance() instanceof LibraryChangedMessage) { + JsonElement element = adapterLibraryChangedMessage.toJsonTree((LibraryChangedMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `OutboundKeepAliveMessage` + if (value.getActualInstance() instanceof OutboundKeepAliveMessage) { + JsonElement element = adapterOutboundKeepAliveMessage.toJsonTree((OutboundKeepAliveMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `PlayMessage` + if (value.getActualInstance() instanceof PlayMessage) { + JsonElement element = adapterPlayMessage.toJsonTree((PlayMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `PlaystateMessage` + if (value.getActualInstance() instanceof PlaystateMessage) { + JsonElement element = adapterPlaystateMessage.toJsonTree((PlaystateMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `PluginInstallationCancelledMessage` + if (value.getActualInstance() instanceof PluginInstallationCancelledMessage) { + JsonElement element = adapterPluginInstallationCancelledMessage.toJsonTree((PluginInstallationCancelledMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `PluginInstallationCompletedMessage` + if (value.getActualInstance() instanceof PluginInstallationCompletedMessage) { + JsonElement element = adapterPluginInstallationCompletedMessage.toJsonTree((PluginInstallationCompletedMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `PluginInstallationFailedMessage` + if (value.getActualInstance() instanceof PluginInstallationFailedMessage) { + JsonElement element = adapterPluginInstallationFailedMessage.toJsonTree((PluginInstallationFailedMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `PluginInstallingMessage` + if (value.getActualInstance() instanceof PluginInstallingMessage) { + JsonElement element = adapterPluginInstallingMessage.toJsonTree((PluginInstallingMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `PluginUninstalledMessage` + if (value.getActualInstance() instanceof PluginUninstalledMessage) { + JsonElement element = adapterPluginUninstalledMessage.toJsonTree((PluginUninstalledMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `RefreshProgressMessage` + if (value.getActualInstance() instanceof RefreshProgressMessage) { + JsonElement element = adapterRefreshProgressMessage.toJsonTree((RefreshProgressMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `RestartRequiredMessage` + if (value.getActualInstance() instanceof RestartRequiredMessage) { + JsonElement element = adapterRestartRequiredMessage.toJsonTree((RestartRequiredMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `ScheduledTaskEndedMessage` + if (value.getActualInstance() instanceof ScheduledTaskEndedMessage) { + JsonElement element = adapterScheduledTaskEndedMessage.toJsonTree((ScheduledTaskEndedMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `ScheduledTasksInfoMessage` + if (value.getActualInstance() instanceof ScheduledTasksInfoMessage) { + JsonElement element = adapterScheduledTasksInfoMessage.toJsonTree((ScheduledTasksInfoMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `SeriesTimerCancelledMessage` + if (value.getActualInstance() instanceof SeriesTimerCancelledMessage) { + JsonElement element = adapterSeriesTimerCancelledMessage.toJsonTree((SeriesTimerCancelledMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `SeriesTimerCreatedMessage` + if (value.getActualInstance() instanceof SeriesTimerCreatedMessage) { + JsonElement element = adapterSeriesTimerCreatedMessage.toJsonTree((SeriesTimerCreatedMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `ServerRestartingMessage` + if (value.getActualInstance() instanceof ServerRestartingMessage) { + JsonElement element = adapterServerRestartingMessage.toJsonTree((ServerRestartingMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `ServerShuttingDownMessage` + if (value.getActualInstance() instanceof ServerShuttingDownMessage) { + JsonElement element = adapterServerShuttingDownMessage.toJsonTree((ServerShuttingDownMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `SessionsMessage` + if (value.getActualInstance() instanceof SessionsMessage) { + JsonElement element = adapterSessionsMessage.toJsonTree((SessionsMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `SyncPlayCommandMessage` + if (value.getActualInstance() instanceof SyncPlayCommandMessage) { + JsonElement element = adapterSyncPlayCommandMessage.toJsonTree((SyncPlayCommandMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `SyncPlayGroupUpdateCommandMessage` + if (value.getActualInstance() instanceof SyncPlayGroupUpdateCommandMessage) { + JsonElement element = adapterSyncPlayGroupUpdateCommandMessage.toJsonTree((SyncPlayGroupUpdateCommandMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `TimerCancelledMessage` + if (value.getActualInstance() instanceof TimerCancelledMessage) { + JsonElement element = adapterTimerCancelledMessage.toJsonTree((TimerCancelledMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `TimerCreatedMessage` + if (value.getActualInstance() instanceof TimerCreatedMessage) { + JsonElement element = adapterTimerCreatedMessage.toJsonTree((TimerCreatedMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `UserDataChangedMessage` + if (value.getActualInstance() instanceof UserDataChangedMessage) { + JsonElement element = adapterUserDataChangedMessage.toJsonTree((UserDataChangedMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `UserDeletedMessage` + if (value.getActualInstance() instanceof UserDeletedMessage) { + JsonElement element = adapterUserDeletedMessage.toJsonTree((UserDeletedMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `UserUpdatedMessage` + if (value.getActualInstance() instanceof UserUpdatedMessage) { + JsonElement element = adapterUserUpdatedMessage.toJsonTree((UserUpdatedMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + throw new IOException("Failed to serialize as the type doesn't match oneOf schemas: ActivityLogEntryMessage, ForceKeepAliveMessage, GeneralCommandMessage, LibraryChangedMessage, OutboundKeepAliveMessage, PlayMessage, PlaystateMessage, PluginInstallationCancelledMessage, PluginInstallationCompletedMessage, PluginInstallationFailedMessage, PluginInstallingMessage, PluginUninstalledMessage, RefreshProgressMessage, RestartRequiredMessage, ScheduledTaskEndedMessage, ScheduledTasksInfoMessage, SeriesTimerCancelledMessage, SeriesTimerCreatedMessage, ServerRestartingMessage, ServerShuttingDownMessage, SessionsMessage, SyncPlayCommandMessage, SyncPlayGroupUpdateCommandMessage, TimerCancelledMessage, TimerCreatedMessage, UserDataChangedMessage, UserDeletedMessage, UserUpdatedMessage"); + } + + @Override + public OutboundWebSocketMessage read(JsonReader in) throws IOException { + Object deserialized = null; + JsonElement jsonElement = elementAdapter.read(in); + + int match = 0; + ArrayList errorMessages = new ArrayList<>(); + TypeAdapter actualAdapter = elementAdapter; + + // deserialize ActivityLogEntryMessage + try { + // validate the JSON object to see if any exception is thrown + ActivityLogEntryMessage.validateJsonElement(jsonElement); + actualAdapter = adapterActivityLogEntryMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'ActivityLogEntryMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for ActivityLogEntryMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'ActivityLogEntryMessage'", e); + } + // deserialize ForceKeepAliveMessage + try { + // validate the JSON object to see if any exception is thrown + ForceKeepAliveMessage.validateJsonElement(jsonElement); + actualAdapter = adapterForceKeepAliveMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'ForceKeepAliveMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for ForceKeepAliveMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'ForceKeepAliveMessage'", e); + } + // deserialize GeneralCommandMessage + try { + // validate the JSON object to see if any exception is thrown + GeneralCommandMessage.validateJsonElement(jsonElement); + actualAdapter = adapterGeneralCommandMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'GeneralCommandMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for GeneralCommandMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'GeneralCommandMessage'", e); + } + // deserialize LibraryChangedMessage + try { + // validate the JSON object to see if any exception is thrown + LibraryChangedMessage.validateJsonElement(jsonElement); + actualAdapter = adapterLibraryChangedMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'LibraryChangedMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for LibraryChangedMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'LibraryChangedMessage'", e); + } + // deserialize OutboundKeepAliveMessage + try { + // validate the JSON object to see if any exception is thrown + OutboundKeepAliveMessage.validateJsonElement(jsonElement); + actualAdapter = adapterOutboundKeepAliveMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'OutboundKeepAliveMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for OutboundKeepAliveMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'OutboundKeepAliveMessage'", e); + } + // deserialize PlayMessage + try { + // validate the JSON object to see if any exception is thrown + PlayMessage.validateJsonElement(jsonElement); + actualAdapter = adapterPlayMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'PlayMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for PlayMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'PlayMessage'", e); + } + // deserialize PlaystateMessage + try { + // validate the JSON object to see if any exception is thrown + PlaystateMessage.validateJsonElement(jsonElement); + actualAdapter = adapterPlaystateMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'PlaystateMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for PlaystateMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'PlaystateMessage'", e); + } + // deserialize PluginInstallationCancelledMessage + try { + // validate the JSON object to see if any exception is thrown + PluginInstallationCancelledMessage.validateJsonElement(jsonElement); + actualAdapter = adapterPluginInstallationCancelledMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'PluginInstallationCancelledMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for PluginInstallationCancelledMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'PluginInstallationCancelledMessage'", e); + } + // deserialize PluginInstallationCompletedMessage + try { + // validate the JSON object to see if any exception is thrown + PluginInstallationCompletedMessage.validateJsonElement(jsonElement); + actualAdapter = adapterPluginInstallationCompletedMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'PluginInstallationCompletedMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for PluginInstallationCompletedMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'PluginInstallationCompletedMessage'", e); + } + // deserialize PluginInstallationFailedMessage + try { + // validate the JSON object to see if any exception is thrown + PluginInstallationFailedMessage.validateJsonElement(jsonElement); + actualAdapter = adapterPluginInstallationFailedMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'PluginInstallationFailedMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for PluginInstallationFailedMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'PluginInstallationFailedMessage'", e); + } + // deserialize PluginInstallingMessage + try { + // validate the JSON object to see if any exception is thrown + PluginInstallingMessage.validateJsonElement(jsonElement); + actualAdapter = adapterPluginInstallingMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'PluginInstallingMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for PluginInstallingMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'PluginInstallingMessage'", e); + } + // deserialize PluginUninstalledMessage + try { + // validate the JSON object to see if any exception is thrown + PluginUninstalledMessage.validateJsonElement(jsonElement); + actualAdapter = adapterPluginUninstalledMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'PluginUninstalledMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for PluginUninstalledMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'PluginUninstalledMessage'", e); + } + // deserialize RefreshProgressMessage + try { + // validate the JSON object to see if any exception is thrown + RefreshProgressMessage.validateJsonElement(jsonElement); + actualAdapter = adapterRefreshProgressMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'RefreshProgressMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for RefreshProgressMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'RefreshProgressMessage'", e); + } + // deserialize RestartRequiredMessage + try { + // validate the JSON object to see if any exception is thrown + RestartRequiredMessage.validateJsonElement(jsonElement); + actualAdapter = adapterRestartRequiredMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'RestartRequiredMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for RestartRequiredMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'RestartRequiredMessage'", e); + } + // deserialize ScheduledTaskEndedMessage + try { + // validate the JSON object to see if any exception is thrown + ScheduledTaskEndedMessage.validateJsonElement(jsonElement); + actualAdapter = adapterScheduledTaskEndedMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'ScheduledTaskEndedMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for ScheduledTaskEndedMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'ScheduledTaskEndedMessage'", e); + } + // deserialize ScheduledTasksInfoMessage + try { + // validate the JSON object to see if any exception is thrown + ScheduledTasksInfoMessage.validateJsonElement(jsonElement); + actualAdapter = adapterScheduledTasksInfoMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'ScheduledTasksInfoMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for ScheduledTasksInfoMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'ScheduledTasksInfoMessage'", e); + } + // deserialize SeriesTimerCancelledMessage + try { + // validate the JSON object to see if any exception is thrown + SeriesTimerCancelledMessage.validateJsonElement(jsonElement); + actualAdapter = adapterSeriesTimerCancelledMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'SeriesTimerCancelledMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for SeriesTimerCancelledMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'SeriesTimerCancelledMessage'", e); + } + // deserialize SeriesTimerCreatedMessage + try { + // validate the JSON object to see if any exception is thrown + SeriesTimerCreatedMessage.validateJsonElement(jsonElement); + actualAdapter = adapterSeriesTimerCreatedMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'SeriesTimerCreatedMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for SeriesTimerCreatedMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'SeriesTimerCreatedMessage'", e); + } + // deserialize ServerRestartingMessage + try { + // validate the JSON object to see if any exception is thrown + ServerRestartingMessage.validateJsonElement(jsonElement); + actualAdapter = adapterServerRestartingMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'ServerRestartingMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for ServerRestartingMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'ServerRestartingMessage'", e); + } + // deserialize ServerShuttingDownMessage + try { + // validate the JSON object to see if any exception is thrown + ServerShuttingDownMessage.validateJsonElement(jsonElement); + actualAdapter = adapterServerShuttingDownMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'ServerShuttingDownMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for ServerShuttingDownMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'ServerShuttingDownMessage'", e); + } + // deserialize SessionsMessage + try { + // validate the JSON object to see if any exception is thrown + SessionsMessage.validateJsonElement(jsonElement); + actualAdapter = adapterSessionsMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'SessionsMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for SessionsMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'SessionsMessage'", e); + } + // deserialize SyncPlayCommandMessage + try { + // validate the JSON object to see if any exception is thrown + SyncPlayCommandMessage.validateJsonElement(jsonElement); + actualAdapter = adapterSyncPlayCommandMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'SyncPlayCommandMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for SyncPlayCommandMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'SyncPlayCommandMessage'", e); + } + // deserialize SyncPlayGroupUpdateCommandMessage + try { + // validate the JSON object to see if any exception is thrown + SyncPlayGroupUpdateCommandMessage.validateJsonElement(jsonElement); + actualAdapter = adapterSyncPlayGroupUpdateCommandMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'SyncPlayGroupUpdateCommandMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for SyncPlayGroupUpdateCommandMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'SyncPlayGroupUpdateCommandMessage'", e); + } + // deserialize TimerCancelledMessage + try { + // validate the JSON object to see if any exception is thrown + TimerCancelledMessage.validateJsonElement(jsonElement); + actualAdapter = adapterTimerCancelledMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'TimerCancelledMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for TimerCancelledMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'TimerCancelledMessage'", e); + } + // deserialize TimerCreatedMessage + try { + // validate the JSON object to see if any exception is thrown + TimerCreatedMessage.validateJsonElement(jsonElement); + actualAdapter = adapterTimerCreatedMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'TimerCreatedMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for TimerCreatedMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'TimerCreatedMessage'", e); + } + // deserialize UserDataChangedMessage + try { + // validate the JSON object to see if any exception is thrown + UserDataChangedMessage.validateJsonElement(jsonElement); + actualAdapter = adapterUserDataChangedMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'UserDataChangedMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for UserDataChangedMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'UserDataChangedMessage'", e); + } + // deserialize UserDeletedMessage + try { + // validate the JSON object to see if any exception is thrown + UserDeletedMessage.validateJsonElement(jsonElement); + actualAdapter = adapterUserDeletedMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'UserDeletedMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for UserDeletedMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'UserDeletedMessage'", e); + } + // deserialize UserUpdatedMessage + try { + // validate the JSON object to see if any exception is thrown + UserUpdatedMessage.validateJsonElement(jsonElement); + actualAdapter = adapterUserUpdatedMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'UserUpdatedMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for UserUpdatedMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'UserUpdatedMessage'", e); + } + + if (match == 1) { + OutboundWebSocketMessage ret = new OutboundWebSocketMessage(); + ret.setActualInstance(actualAdapter.fromJsonTree(jsonElement)); + return ret; + } + + throw new IOException(String.format("Failed deserialization for OutboundWebSocketMessage: %d classes match result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", match, errorMessages, jsonElement.toString())); + } + }.nullSafe(); + } + } + + // store a list of schema names defined in oneOf + public static final Map> schemas = new HashMap>(); + + public OutboundWebSocketMessage() { + super("oneOf", Boolean.FALSE); + } + + public OutboundWebSocketMessage(Object o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + static { + schemas.put("ActivityLogEntryMessage", ActivityLogEntryMessage.class); + schemas.put("ForceKeepAliveMessage", ForceKeepAliveMessage.class); + schemas.put("GeneralCommandMessage", GeneralCommandMessage.class); + schemas.put("LibraryChangedMessage", LibraryChangedMessage.class); + schemas.put("OutboundKeepAliveMessage", OutboundKeepAliveMessage.class); + schemas.put("PlayMessage", PlayMessage.class); + schemas.put("PlaystateMessage", PlaystateMessage.class); + schemas.put("PluginInstallationCancelledMessage", PluginInstallationCancelledMessage.class); + schemas.put("PluginInstallationCompletedMessage", PluginInstallationCompletedMessage.class); + schemas.put("PluginInstallationFailedMessage", PluginInstallationFailedMessage.class); + schemas.put("PluginInstallingMessage", PluginInstallingMessage.class); + schemas.put("PluginUninstalledMessage", PluginUninstalledMessage.class); + schemas.put("RefreshProgressMessage", RefreshProgressMessage.class); + schemas.put("RestartRequiredMessage", RestartRequiredMessage.class); + schemas.put("ScheduledTaskEndedMessage", ScheduledTaskEndedMessage.class); + schemas.put("ScheduledTasksInfoMessage", ScheduledTasksInfoMessage.class); + schemas.put("SeriesTimerCancelledMessage", SeriesTimerCancelledMessage.class); + schemas.put("SeriesTimerCreatedMessage", SeriesTimerCreatedMessage.class); + schemas.put("ServerRestartingMessage", ServerRestartingMessage.class); + schemas.put("ServerShuttingDownMessage", ServerShuttingDownMessage.class); + schemas.put("SessionsMessage", SessionsMessage.class); + schemas.put("SyncPlayCommandMessage", SyncPlayCommandMessage.class); + schemas.put("SyncPlayGroupUpdateCommandMessage", SyncPlayGroupUpdateCommandMessage.class); + schemas.put("TimerCancelledMessage", TimerCancelledMessage.class); + schemas.put("TimerCreatedMessage", TimerCreatedMessage.class); + schemas.put("UserDataChangedMessage", UserDataChangedMessage.class); + schemas.put("UserDeletedMessage", UserDeletedMessage.class); + schemas.put("UserUpdatedMessage", UserUpdatedMessage.class); + } + + @Override + public Map> getSchemas() { + return OutboundWebSocketMessage.schemas; + } + + /** + * Set the instance that matches the oneOf child schema, check + * the instance parameter is valid against the oneOf child schemas: + * ActivityLogEntryMessage, ForceKeepAliveMessage, GeneralCommandMessage, LibraryChangedMessage, OutboundKeepAliveMessage, PlayMessage, PlaystateMessage, PluginInstallationCancelledMessage, PluginInstallationCompletedMessage, PluginInstallationFailedMessage, PluginInstallingMessage, PluginUninstalledMessage, RefreshProgressMessage, RestartRequiredMessage, ScheduledTaskEndedMessage, ScheduledTasksInfoMessage, SeriesTimerCancelledMessage, SeriesTimerCreatedMessage, ServerRestartingMessage, ServerShuttingDownMessage, SessionsMessage, SyncPlayCommandMessage, SyncPlayGroupUpdateCommandMessage, TimerCancelledMessage, TimerCreatedMessage, UserDataChangedMessage, UserDeletedMessage, UserUpdatedMessage + * + * It could be an instance of the 'oneOf' schemas. + */ + @Override + public void setActualInstance(Object instance) { + if (instance instanceof ActivityLogEntryMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof ForceKeepAliveMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof GeneralCommandMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof LibraryChangedMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof OutboundKeepAliveMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof PlayMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof PlaystateMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof PluginInstallationCancelledMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof PluginInstallationCompletedMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof PluginInstallationFailedMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof PluginInstallingMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof PluginUninstalledMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof RefreshProgressMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof RestartRequiredMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof ScheduledTaskEndedMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof ScheduledTasksInfoMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof SeriesTimerCancelledMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof SeriesTimerCreatedMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof ServerRestartingMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof ServerShuttingDownMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof SessionsMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof SyncPlayCommandMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof SyncPlayGroupUpdateCommandMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof TimerCancelledMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof TimerCreatedMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof UserDataChangedMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof UserDeletedMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof UserUpdatedMessage) { + super.setActualInstance(instance); + return; + } + + throw new RuntimeException("Invalid instance type. Must be ActivityLogEntryMessage, ForceKeepAliveMessage, GeneralCommandMessage, LibraryChangedMessage, OutboundKeepAliveMessage, PlayMessage, PlaystateMessage, PluginInstallationCancelledMessage, PluginInstallationCompletedMessage, PluginInstallationFailedMessage, PluginInstallingMessage, PluginUninstalledMessage, RefreshProgressMessage, RestartRequiredMessage, ScheduledTaskEndedMessage, ScheduledTasksInfoMessage, SeriesTimerCancelledMessage, SeriesTimerCreatedMessage, ServerRestartingMessage, ServerShuttingDownMessage, SessionsMessage, SyncPlayCommandMessage, SyncPlayGroupUpdateCommandMessage, TimerCancelledMessage, TimerCreatedMessage, UserDataChangedMessage, UserDeletedMessage, UserUpdatedMessage"); + } + + /** + * Get the actual instance, which can be the following: + * ActivityLogEntryMessage, ForceKeepAliveMessage, GeneralCommandMessage, LibraryChangedMessage, OutboundKeepAliveMessage, PlayMessage, PlaystateMessage, PluginInstallationCancelledMessage, PluginInstallationCompletedMessage, PluginInstallationFailedMessage, PluginInstallingMessage, PluginUninstalledMessage, RefreshProgressMessage, RestartRequiredMessage, ScheduledTaskEndedMessage, ScheduledTasksInfoMessage, SeriesTimerCancelledMessage, SeriesTimerCreatedMessage, ServerRestartingMessage, ServerShuttingDownMessage, SessionsMessage, SyncPlayCommandMessage, SyncPlayGroupUpdateCommandMessage, TimerCancelledMessage, TimerCreatedMessage, UserDataChangedMessage, UserDeletedMessage, UserUpdatedMessage + * + * @return The actual instance (ActivityLogEntryMessage, ForceKeepAliveMessage, GeneralCommandMessage, LibraryChangedMessage, OutboundKeepAliveMessage, PlayMessage, PlaystateMessage, PluginInstallationCancelledMessage, PluginInstallationCompletedMessage, PluginInstallationFailedMessage, PluginInstallingMessage, PluginUninstalledMessage, RefreshProgressMessage, RestartRequiredMessage, ScheduledTaskEndedMessage, ScheduledTasksInfoMessage, SeriesTimerCancelledMessage, SeriesTimerCreatedMessage, ServerRestartingMessage, ServerShuttingDownMessage, SessionsMessage, SyncPlayCommandMessage, SyncPlayGroupUpdateCommandMessage, TimerCancelledMessage, TimerCreatedMessage, UserDataChangedMessage, UserDeletedMessage, UserUpdatedMessage) + */ + @SuppressWarnings("unchecked") + @Override + public Object getActualInstance() { + return super.getActualInstance(); + } + + /** + * Get the actual instance of `ActivityLogEntryMessage`. If the actual instance is not `ActivityLogEntryMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `ActivityLogEntryMessage` + * @throws ClassCastException if the instance is not `ActivityLogEntryMessage` + */ + public ActivityLogEntryMessage getActivityLogEntryMessage() throws ClassCastException { + return (ActivityLogEntryMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `ForceKeepAliveMessage`. If the actual instance is not `ForceKeepAliveMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `ForceKeepAliveMessage` + * @throws ClassCastException if the instance is not `ForceKeepAliveMessage` + */ + public ForceKeepAliveMessage getForceKeepAliveMessage() throws ClassCastException { + return (ForceKeepAliveMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `GeneralCommandMessage`. If the actual instance is not `GeneralCommandMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `GeneralCommandMessage` + * @throws ClassCastException if the instance is not `GeneralCommandMessage` + */ + public GeneralCommandMessage getGeneralCommandMessage() throws ClassCastException { + return (GeneralCommandMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `LibraryChangedMessage`. If the actual instance is not `LibraryChangedMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `LibraryChangedMessage` + * @throws ClassCastException if the instance is not `LibraryChangedMessage` + */ + public LibraryChangedMessage getLibraryChangedMessage() throws ClassCastException { + return (LibraryChangedMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `OutboundKeepAliveMessage`. If the actual instance is not `OutboundKeepAliveMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `OutboundKeepAliveMessage` + * @throws ClassCastException if the instance is not `OutboundKeepAliveMessage` + */ + public OutboundKeepAliveMessage getOutboundKeepAliveMessage() throws ClassCastException { + return (OutboundKeepAliveMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `PlayMessage`. If the actual instance is not `PlayMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `PlayMessage` + * @throws ClassCastException if the instance is not `PlayMessage` + */ + public PlayMessage getPlayMessage() throws ClassCastException { + return (PlayMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `PlaystateMessage`. If the actual instance is not `PlaystateMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `PlaystateMessage` + * @throws ClassCastException if the instance is not `PlaystateMessage` + */ + public PlaystateMessage getPlaystateMessage() throws ClassCastException { + return (PlaystateMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `PluginInstallationCancelledMessage`. If the actual instance is not `PluginInstallationCancelledMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `PluginInstallationCancelledMessage` + * @throws ClassCastException if the instance is not `PluginInstallationCancelledMessage` + */ + public PluginInstallationCancelledMessage getPluginInstallationCancelledMessage() throws ClassCastException { + return (PluginInstallationCancelledMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `PluginInstallationCompletedMessage`. If the actual instance is not `PluginInstallationCompletedMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `PluginInstallationCompletedMessage` + * @throws ClassCastException if the instance is not `PluginInstallationCompletedMessage` + */ + public PluginInstallationCompletedMessage getPluginInstallationCompletedMessage() throws ClassCastException { + return (PluginInstallationCompletedMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `PluginInstallationFailedMessage`. If the actual instance is not `PluginInstallationFailedMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `PluginInstallationFailedMessage` + * @throws ClassCastException if the instance is not `PluginInstallationFailedMessage` + */ + public PluginInstallationFailedMessage getPluginInstallationFailedMessage() throws ClassCastException { + return (PluginInstallationFailedMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `PluginInstallingMessage`. If the actual instance is not `PluginInstallingMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `PluginInstallingMessage` + * @throws ClassCastException if the instance is not `PluginInstallingMessage` + */ + public PluginInstallingMessage getPluginInstallingMessage() throws ClassCastException { + return (PluginInstallingMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `PluginUninstalledMessage`. If the actual instance is not `PluginUninstalledMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `PluginUninstalledMessage` + * @throws ClassCastException if the instance is not `PluginUninstalledMessage` + */ + public PluginUninstalledMessage getPluginUninstalledMessage() throws ClassCastException { + return (PluginUninstalledMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `RefreshProgressMessage`. If the actual instance is not `RefreshProgressMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `RefreshProgressMessage` + * @throws ClassCastException if the instance is not `RefreshProgressMessage` + */ + public RefreshProgressMessage getRefreshProgressMessage() throws ClassCastException { + return (RefreshProgressMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `RestartRequiredMessage`. If the actual instance is not `RestartRequiredMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `RestartRequiredMessage` + * @throws ClassCastException if the instance is not `RestartRequiredMessage` + */ + public RestartRequiredMessage getRestartRequiredMessage() throws ClassCastException { + return (RestartRequiredMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `ScheduledTaskEndedMessage`. If the actual instance is not `ScheduledTaskEndedMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `ScheduledTaskEndedMessage` + * @throws ClassCastException if the instance is not `ScheduledTaskEndedMessage` + */ + public ScheduledTaskEndedMessage getScheduledTaskEndedMessage() throws ClassCastException { + return (ScheduledTaskEndedMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `ScheduledTasksInfoMessage`. If the actual instance is not `ScheduledTasksInfoMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `ScheduledTasksInfoMessage` + * @throws ClassCastException if the instance is not `ScheduledTasksInfoMessage` + */ + public ScheduledTasksInfoMessage getScheduledTasksInfoMessage() throws ClassCastException { + return (ScheduledTasksInfoMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `SeriesTimerCancelledMessage`. If the actual instance is not `SeriesTimerCancelledMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `SeriesTimerCancelledMessage` + * @throws ClassCastException if the instance is not `SeriesTimerCancelledMessage` + */ + public SeriesTimerCancelledMessage getSeriesTimerCancelledMessage() throws ClassCastException { + return (SeriesTimerCancelledMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `SeriesTimerCreatedMessage`. If the actual instance is not `SeriesTimerCreatedMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `SeriesTimerCreatedMessage` + * @throws ClassCastException if the instance is not `SeriesTimerCreatedMessage` + */ + public SeriesTimerCreatedMessage getSeriesTimerCreatedMessage() throws ClassCastException { + return (SeriesTimerCreatedMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `ServerRestartingMessage`. If the actual instance is not `ServerRestartingMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `ServerRestartingMessage` + * @throws ClassCastException if the instance is not `ServerRestartingMessage` + */ + public ServerRestartingMessage getServerRestartingMessage() throws ClassCastException { + return (ServerRestartingMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `ServerShuttingDownMessage`. If the actual instance is not `ServerShuttingDownMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `ServerShuttingDownMessage` + * @throws ClassCastException if the instance is not `ServerShuttingDownMessage` + */ + public ServerShuttingDownMessage getServerShuttingDownMessage() throws ClassCastException { + return (ServerShuttingDownMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `SessionsMessage`. If the actual instance is not `SessionsMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `SessionsMessage` + * @throws ClassCastException if the instance is not `SessionsMessage` + */ + public SessionsMessage getSessionsMessage() throws ClassCastException { + return (SessionsMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `SyncPlayCommandMessage`. If the actual instance is not `SyncPlayCommandMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `SyncPlayCommandMessage` + * @throws ClassCastException if the instance is not `SyncPlayCommandMessage` + */ + public SyncPlayCommandMessage getSyncPlayCommandMessage() throws ClassCastException { + return (SyncPlayCommandMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `SyncPlayGroupUpdateCommandMessage`. If the actual instance is not `SyncPlayGroupUpdateCommandMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `SyncPlayGroupUpdateCommandMessage` + * @throws ClassCastException if the instance is not `SyncPlayGroupUpdateCommandMessage` + */ + public SyncPlayGroupUpdateCommandMessage getSyncPlayGroupUpdateCommandMessage() throws ClassCastException { + return (SyncPlayGroupUpdateCommandMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `TimerCancelledMessage`. If the actual instance is not `TimerCancelledMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `TimerCancelledMessage` + * @throws ClassCastException if the instance is not `TimerCancelledMessage` + */ + public TimerCancelledMessage getTimerCancelledMessage() throws ClassCastException { + return (TimerCancelledMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `TimerCreatedMessage`. If the actual instance is not `TimerCreatedMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `TimerCreatedMessage` + * @throws ClassCastException if the instance is not `TimerCreatedMessage` + */ + public TimerCreatedMessage getTimerCreatedMessage() throws ClassCastException { + return (TimerCreatedMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `UserDataChangedMessage`. If the actual instance is not `UserDataChangedMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `UserDataChangedMessage` + * @throws ClassCastException if the instance is not `UserDataChangedMessage` + */ + public UserDataChangedMessage getUserDataChangedMessage() throws ClassCastException { + return (UserDataChangedMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `UserDeletedMessage`. If the actual instance is not `UserDeletedMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `UserDeletedMessage` + * @throws ClassCastException if the instance is not `UserDeletedMessage` + */ + public UserDeletedMessage getUserDeletedMessage() throws ClassCastException { + return (UserDeletedMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `UserUpdatedMessage`. If the actual instance is not `UserUpdatedMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `UserUpdatedMessage` + * @throws ClassCastException if the instance is not `UserUpdatedMessage` + */ + public UserUpdatedMessage getUserUpdatedMessage() throws ClassCastException { + return (UserUpdatedMessage)super.getActualInstance(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to OutboundWebSocketMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + // validate oneOf schemas one by one + int validCount = 0; + ArrayList errorMessages = new ArrayList<>(); + // validate the json string with ActivityLogEntryMessage + try { + ActivityLogEntryMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for ActivityLogEntryMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with ForceKeepAliveMessage + try { + ForceKeepAliveMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for ForceKeepAliveMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with GeneralCommandMessage + try { + GeneralCommandMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for GeneralCommandMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with LibraryChangedMessage + try { + LibraryChangedMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for LibraryChangedMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with OutboundKeepAliveMessage + try { + OutboundKeepAliveMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for OutboundKeepAliveMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with PlayMessage + try { + PlayMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for PlayMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with PlaystateMessage + try { + PlaystateMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for PlaystateMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with PluginInstallationCancelledMessage + try { + PluginInstallationCancelledMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for PluginInstallationCancelledMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with PluginInstallationCompletedMessage + try { + PluginInstallationCompletedMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for PluginInstallationCompletedMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with PluginInstallationFailedMessage + try { + PluginInstallationFailedMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for PluginInstallationFailedMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with PluginInstallingMessage + try { + PluginInstallingMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for PluginInstallingMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with PluginUninstalledMessage + try { + PluginUninstalledMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for PluginUninstalledMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with RefreshProgressMessage + try { + RefreshProgressMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for RefreshProgressMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with RestartRequiredMessage + try { + RestartRequiredMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for RestartRequiredMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with ScheduledTaskEndedMessage + try { + ScheduledTaskEndedMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for ScheduledTaskEndedMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with ScheduledTasksInfoMessage + try { + ScheduledTasksInfoMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for ScheduledTasksInfoMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with SeriesTimerCancelledMessage + try { + SeriesTimerCancelledMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for SeriesTimerCancelledMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with SeriesTimerCreatedMessage + try { + SeriesTimerCreatedMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for SeriesTimerCreatedMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with ServerRestartingMessage + try { + ServerRestartingMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for ServerRestartingMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with ServerShuttingDownMessage + try { + ServerShuttingDownMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for ServerShuttingDownMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with SessionsMessage + try { + SessionsMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for SessionsMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with SyncPlayCommandMessage + try { + SyncPlayCommandMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for SyncPlayCommandMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with SyncPlayGroupUpdateCommandMessage + try { + SyncPlayGroupUpdateCommandMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for SyncPlayGroupUpdateCommandMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with TimerCancelledMessage + try { + TimerCancelledMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for TimerCancelledMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with TimerCreatedMessage + try { + TimerCreatedMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for TimerCreatedMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with UserDataChangedMessage + try { + UserDataChangedMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for UserDataChangedMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with UserDeletedMessage + try { + UserDeletedMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for UserDeletedMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with UserUpdatedMessage + try { + UserUpdatedMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for UserUpdatedMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + if (validCount != 1) { + throw new IOException(String.format("The JSON string is invalid for OutboundWebSocketMessage with oneOf schemas: ActivityLogEntryMessage, ForceKeepAliveMessage, GeneralCommandMessage, LibraryChangedMessage, OutboundKeepAliveMessage, PlayMessage, PlaystateMessage, PluginInstallationCancelledMessage, PluginInstallationCompletedMessage, PluginInstallationFailedMessage, PluginInstallingMessage, PluginUninstalledMessage, RefreshProgressMessage, RestartRequiredMessage, ScheduledTaskEndedMessage, ScheduledTasksInfoMessage, SeriesTimerCancelledMessage, SeriesTimerCreatedMessage, ServerRestartingMessage, ServerShuttingDownMessage, SessionsMessage, SyncPlayCommandMessage, SyncPlayGroupUpdateCommandMessage, TimerCancelledMessage, TimerCreatedMessage, UserDataChangedMessage, UserDeletedMessage, UserUpdatedMessage. %d class(es) match the result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", validCount, errorMessages, jsonElement.toString())); + } + } + + /** + * Create an instance of OutboundWebSocketMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of OutboundWebSocketMessage + * @throws IOException if the JSON string is invalid with respect to OutboundWebSocketMessage + */ + public static OutboundWebSocketMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, OutboundWebSocketMessage.class); + } + + /** + * Convert an instance of OutboundWebSocketMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PackageInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PackageInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PackageInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PackageInfo.java index 42d360c6a5a..ae77e3274f2 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PackageInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PackageInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * Class PackageInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PackageInfo { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ParentalRating.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ParentalRating.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ParentalRating.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ParentalRating.java index 14014590f74..7e8e4b43c14 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ParentalRating.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ParentalRating.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class ParentalRating. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ParentalRating { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PathSubstitution.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PathSubstitution.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PathSubstitution.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PathSubstitution.java index 93ca13117d2..0d202622b08 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PathSubstitution.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PathSubstitution.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Defines the MediaBrowser.Model.Configuration.PathSubstitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PathSubstitution { public static final String SERIALIZED_NAME_FROM = "From"; @SerializedName(SERIALIZED_NAME_FROM) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ItemViewType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PersonKind.java similarity index 52% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ItemViewType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PersonKind.java index f00d54bcd6a..db29a3267d0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ItemViewType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PersonKind.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,44 +24,64 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; /** - * Gets or Sets ItemViewType + * The person kind. */ -@JsonAdapter(ItemViewType.Adapter.class) -public enum ItemViewType { +@JsonAdapter(PersonKind.Adapter.class) +public enum PersonKind { - NONE("None"), + UNKNOWN("Unknown"), - DETAIL("Detail"), + ACTOR("Actor"), - EDIT("Edit"), + DIRECTOR("Director"), - LIST("List"), + COMPOSER("Composer"), - ITEM_BY_NAME_DETAILS("ItemByNameDetails"), + WRITER("Writer"), - STATUS_IMAGE("StatusImage"), + GUEST_STAR("GuestStar"), - EMBEDDED_IMAGE("EmbeddedImage"), + PRODUCER("Producer"), - SUBTITLE_IMAGE("SubtitleImage"), + CONDUCTOR("Conductor"), - TRAILERS_IMAGE("TrailersImage"), + LYRICIST("Lyricist"), - SPECIALS_IMAGE("SpecialsImage"), + ARRANGER("Arranger"), - LOCK_DATA_IMAGE("LockDataImage"), + ENGINEER("Engineer"), - TAGS_PRIMARY_IMAGE("TagsPrimaryImage"), + MIXER("Mixer"), - TAGS_BACKDROP_IMAGE("TagsBackdropImage"), + REMIXER("Remixer"), - TAGS_LOGO_IMAGE("TagsLogoImage"), + CREATOR("Creator"), - USER_PRIMARY_IMAGE("UserPrimaryImage"); + ARTIST("Artist"), + + ALBUM_ARTIST("AlbumArtist"), + + AUTHOR("Author"), + + ILLUSTRATOR("Illustrator"), + + PENCILLER("Penciller"), + + INKER("Inker"), + + COLORIST("Colorist"), + + LETTERER("Letterer"), + + COVER_ARTIST("CoverArtist"), + + EDITOR("Editor"), + + TRANSLATOR("Translator"); private String value; - ItemViewType(String value) { + PersonKind(String value) { this.value = value; } @@ -74,8 +94,8 @@ public enum ItemViewType { return String.valueOf(value); } - public static ItemViewType fromValue(String value) { - for (ItemViewType b : ItemViewType.values()) { + public static PersonKind fromValue(String value) { + for (PersonKind b : PersonKind.values()) { if (b.value.equals(value)) { return b; } @@ -83,22 +103,22 @@ public enum ItemViewType { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - public static class Adapter extends TypeAdapter { + public static class Adapter extends TypeAdapter { @Override - public void write(final JsonWriter jsonWriter, final ItemViewType enumeration) throws IOException { + public void write(final JsonWriter jsonWriter, final PersonKind enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override - public ItemViewType read(final JsonReader jsonReader) throws IOException { + public PersonKind read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); - return ItemViewType.fromValue(value); + return PersonKind.fromValue(value); } } public static void validateJsonElement(JsonElement jsonElement) throws IOException { String value = jsonElement.getAsString(); - ItemViewType.fromValue(value); + PersonKind.fromValue(value); } } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PersonLookupInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PersonLookupInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PersonLookupInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PersonLookupInfo.java index a40b245e2c3..345bd912134 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PersonLookupInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PersonLookupInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * PersonLookupInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PersonLookupInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PersonLookupInfoRemoteSearchQuery.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PersonLookupInfoRemoteSearchQuery.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PersonLookupInfoRemoteSearchQuery.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PersonLookupInfoRemoteSearchQuery.java index 04556851ea6..7fb590697b9 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PersonLookupInfoRemoteSearchQuery.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PersonLookupInfoRemoteSearchQuery.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * PersonLookupInfoRemoteSearchQuery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PersonLookupInfoRemoteSearchQuery { public static final String SERIALIZED_NAME_SEARCH_INFO = "SearchInfo"; @SerializedName(SERIALIZED_NAME_SEARCH_INFO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PinRedeemResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PinRedeemResult.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PinRedeemResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PinRedeemResult.java index 430354c8a2d..541a680527f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PinRedeemResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PinRedeemResult.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * PinRedeemResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PinRedeemResult { public static final String SERIALIZED_NAME_SUCCESS = "Success"; @SerializedName(SERIALIZED_NAME_SUCCESS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PingRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PingRequestDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PingRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PingRequestDto.java index a7e9951c539..3d4af2dbaec 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PingRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PingRequestDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Class PingRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PingRequestDto { public static final String SERIALIZED_NAME_PING = "Ping"; @SerializedName(SERIALIZED_NAME_PING) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlayAccess.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayAccess.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlayAccess.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayAccess.java index 9014df678b3..19d30a3f170 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlayAccess.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayAccess.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlayCommand.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayCommand.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlayCommand.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayCommand.java index eb8b4d7ea58..d2fff1a7b77 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlayCommand.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayCommand.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayMessage.java new file mode 100644 index 00000000000..cdadfaadfc6 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayMessage.java @@ -0,0 +1,282 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.PlayRequest; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Play command websocket message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class PlayMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private PlayRequest data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.PLAY; + + public PlayMessage() { + } + + public PlayMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public PlayMessage data(@javax.annotation.Nullable PlayRequest data) { + this.data = data; + return this; + } + + /** + * Class PlayRequest. + * @return data + */ + @javax.annotation.Nullable + public PlayRequest getData() { + return data; + } + + public void setData(@javax.annotation.Nullable PlayRequest data) { + this.data = data; + } + + + public PlayMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PlayMessage playMessage = (PlayMessage) o; + return Objects.equals(this.data, playMessage.data) && + Objects.equals(this.messageId, playMessage.messageId) && + Objects.equals(this.messageType, playMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PlayMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to PlayMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!PlayMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PlayMessage is not found in the empty JSON string", PlayMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!PlayMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PlayMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + PlayRequest.validateJsonElement(jsonObj.get("Data")); + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PlayMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PlayMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PlayMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PlayMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PlayMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PlayMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of PlayMessage + * @throws IOException if the JSON string is invalid with respect to PlayMessage + */ + public static PlayMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PlayMessage.class); + } + + /** + * Convert an instance of PlayMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlayMethod.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayMethod.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlayMethod.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayMethod.java index 3859658f950..be1bb9fb769 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlayMethod.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayMethod.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayQueueUpdate.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayQueueUpdate.java new file mode 100644 index 00000000000..1542d3c2195 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayQueueUpdate.java @@ -0,0 +1,433 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.openapitools.client.model.GroupRepeatMode; +import org.openapitools.client.model.GroupShuffleMode; +import org.openapitools.client.model.PlayQueueUpdateReason; +import org.openapitools.client.model.SyncPlayQueueItem; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Class PlayQueueUpdate. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class PlayQueueUpdate { + public static final String SERIALIZED_NAME_REASON = "Reason"; + @SerializedName(SERIALIZED_NAME_REASON) + @javax.annotation.Nullable + private PlayQueueUpdateReason reason; + + public static final String SERIALIZED_NAME_LAST_UPDATE = "LastUpdate"; + @SerializedName(SERIALIZED_NAME_LAST_UPDATE) + @javax.annotation.Nullable + private OffsetDateTime lastUpdate; + + public static final String SERIALIZED_NAME_PLAYLIST = "Playlist"; + @SerializedName(SERIALIZED_NAME_PLAYLIST) + @javax.annotation.Nullable + private List playlist = new ArrayList<>(); + + public static final String SERIALIZED_NAME_PLAYING_ITEM_INDEX = "PlayingItemIndex"; + @SerializedName(SERIALIZED_NAME_PLAYING_ITEM_INDEX) + @javax.annotation.Nullable + private Integer playingItemIndex; + + public static final String SERIALIZED_NAME_START_POSITION_TICKS = "StartPositionTicks"; + @SerializedName(SERIALIZED_NAME_START_POSITION_TICKS) + @javax.annotation.Nullable + private Long startPositionTicks; + + public static final String SERIALIZED_NAME_IS_PLAYING = "IsPlaying"; + @SerializedName(SERIALIZED_NAME_IS_PLAYING) + @javax.annotation.Nullable + private Boolean isPlaying; + + public static final String SERIALIZED_NAME_SHUFFLE_MODE = "ShuffleMode"; + @SerializedName(SERIALIZED_NAME_SHUFFLE_MODE) + @javax.annotation.Nullable + private GroupShuffleMode shuffleMode; + + public static final String SERIALIZED_NAME_REPEAT_MODE = "RepeatMode"; + @SerializedName(SERIALIZED_NAME_REPEAT_MODE) + @javax.annotation.Nullable + private GroupRepeatMode repeatMode; + + public PlayQueueUpdate() { + } + + public PlayQueueUpdate reason(@javax.annotation.Nullable PlayQueueUpdateReason reason) { + this.reason = reason; + return this; + } + + /** + * Gets the request type that originated this update. + * @return reason + */ + @javax.annotation.Nullable + public PlayQueueUpdateReason getReason() { + return reason; + } + + public void setReason(@javax.annotation.Nullable PlayQueueUpdateReason reason) { + this.reason = reason; + } + + + public PlayQueueUpdate lastUpdate(@javax.annotation.Nullable OffsetDateTime lastUpdate) { + this.lastUpdate = lastUpdate; + return this; + } + + /** + * Gets the UTC time of the last change to the playing queue. + * @return lastUpdate + */ + @javax.annotation.Nullable + public OffsetDateTime getLastUpdate() { + return lastUpdate; + } + + public void setLastUpdate(@javax.annotation.Nullable OffsetDateTime lastUpdate) { + this.lastUpdate = lastUpdate; + } + + + public PlayQueueUpdate playlist(@javax.annotation.Nullable List playlist) { + this.playlist = playlist; + return this; + } + + public PlayQueueUpdate addPlaylistItem(SyncPlayQueueItem playlistItem) { + if (this.playlist == null) { + this.playlist = new ArrayList<>(); + } + this.playlist.add(playlistItem); + return this; + } + + /** + * Gets the playlist. + * @return playlist + */ + @javax.annotation.Nullable + public List getPlaylist() { + return playlist; + } + + public void setPlaylist(@javax.annotation.Nullable List playlist) { + this.playlist = playlist; + } + + + public PlayQueueUpdate playingItemIndex(@javax.annotation.Nullable Integer playingItemIndex) { + this.playingItemIndex = playingItemIndex; + return this; + } + + /** + * Gets the playing item index in the playlist. + * @return playingItemIndex + */ + @javax.annotation.Nullable + public Integer getPlayingItemIndex() { + return playingItemIndex; + } + + public void setPlayingItemIndex(@javax.annotation.Nullable Integer playingItemIndex) { + this.playingItemIndex = playingItemIndex; + } + + + public PlayQueueUpdate startPositionTicks(@javax.annotation.Nullable Long startPositionTicks) { + this.startPositionTicks = startPositionTicks; + return this; + } + + /** + * Gets the start position ticks. + * @return startPositionTicks + */ + @javax.annotation.Nullable + public Long getStartPositionTicks() { + return startPositionTicks; + } + + public void setStartPositionTicks(@javax.annotation.Nullable Long startPositionTicks) { + this.startPositionTicks = startPositionTicks; + } + + + public PlayQueueUpdate isPlaying(@javax.annotation.Nullable Boolean isPlaying) { + this.isPlaying = isPlaying; + return this; + } + + /** + * Gets a value indicating whether the current item is playing. + * @return isPlaying + */ + @javax.annotation.Nullable + public Boolean getIsPlaying() { + return isPlaying; + } + + public void setIsPlaying(@javax.annotation.Nullable Boolean isPlaying) { + this.isPlaying = isPlaying; + } + + + public PlayQueueUpdate shuffleMode(@javax.annotation.Nullable GroupShuffleMode shuffleMode) { + this.shuffleMode = shuffleMode; + return this; + } + + /** + * Gets the shuffle mode. + * @return shuffleMode + */ + @javax.annotation.Nullable + public GroupShuffleMode getShuffleMode() { + return shuffleMode; + } + + public void setShuffleMode(@javax.annotation.Nullable GroupShuffleMode shuffleMode) { + this.shuffleMode = shuffleMode; + } + + + public PlayQueueUpdate repeatMode(@javax.annotation.Nullable GroupRepeatMode repeatMode) { + this.repeatMode = repeatMode; + return this; + } + + /** + * Gets the repeat mode. + * @return repeatMode + */ + @javax.annotation.Nullable + public GroupRepeatMode getRepeatMode() { + return repeatMode; + } + + public void setRepeatMode(@javax.annotation.Nullable GroupRepeatMode repeatMode) { + this.repeatMode = repeatMode; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PlayQueueUpdate playQueueUpdate = (PlayQueueUpdate) o; + return Objects.equals(this.reason, playQueueUpdate.reason) && + Objects.equals(this.lastUpdate, playQueueUpdate.lastUpdate) && + Objects.equals(this.playlist, playQueueUpdate.playlist) && + Objects.equals(this.playingItemIndex, playQueueUpdate.playingItemIndex) && + Objects.equals(this.startPositionTicks, playQueueUpdate.startPositionTicks) && + Objects.equals(this.isPlaying, playQueueUpdate.isPlaying) && + Objects.equals(this.shuffleMode, playQueueUpdate.shuffleMode) && + Objects.equals(this.repeatMode, playQueueUpdate.repeatMode); + } + + @Override + public int hashCode() { + return Objects.hash(reason, lastUpdate, playlist, playingItemIndex, startPositionTicks, isPlaying, shuffleMode, repeatMode); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PlayQueueUpdate {\n"); + sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append(" lastUpdate: ").append(toIndentedString(lastUpdate)).append("\n"); + sb.append(" playlist: ").append(toIndentedString(playlist)).append("\n"); + sb.append(" playingItemIndex: ").append(toIndentedString(playingItemIndex)).append("\n"); + sb.append(" startPositionTicks: ").append(toIndentedString(startPositionTicks)).append("\n"); + sb.append(" isPlaying: ").append(toIndentedString(isPlaying)).append("\n"); + sb.append(" shuffleMode: ").append(toIndentedString(shuffleMode)).append("\n"); + sb.append(" repeatMode: ").append(toIndentedString(repeatMode)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Reason"); + openapiFields.add("LastUpdate"); + openapiFields.add("Playlist"); + openapiFields.add("PlayingItemIndex"); + openapiFields.add("StartPositionTicks"); + openapiFields.add("IsPlaying"); + openapiFields.add("ShuffleMode"); + openapiFields.add("RepeatMode"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to PlayQueueUpdate + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!PlayQueueUpdate.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PlayQueueUpdate is not found in the empty JSON string", PlayQueueUpdate.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!PlayQueueUpdate.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PlayQueueUpdate` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `Reason` + if (jsonObj.get("Reason") != null && !jsonObj.get("Reason").isJsonNull()) { + PlayQueueUpdateReason.validateJsonElement(jsonObj.get("Reason")); + } + if (jsonObj.get("Playlist") != null && !jsonObj.get("Playlist").isJsonNull()) { + JsonArray jsonArrayplaylist = jsonObj.getAsJsonArray("Playlist"); + if (jsonArrayplaylist != null) { + // ensure the json data is an array + if (!jsonObj.get("Playlist").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `Playlist` to be an array in the JSON string but got `%s`", jsonObj.get("Playlist").toString())); + } + + // validate the optional field `Playlist` (array) + for (int i = 0; i < jsonArrayplaylist.size(); i++) { + SyncPlayQueueItem.validateJsonElement(jsonArrayplaylist.get(i)); + }; + } + } + // validate the optional field `ShuffleMode` + if (jsonObj.get("ShuffleMode") != null && !jsonObj.get("ShuffleMode").isJsonNull()) { + GroupShuffleMode.validateJsonElement(jsonObj.get("ShuffleMode")); + } + // validate the optional field `RepeatMode` + if (jsonObj.get("RepeatMode") != null && !jsonObj.get("RepeatMode").isJsonNull()) { + GroupRepeatMode.validateJsonElement(jsonObj.get("RepeatMode")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PlayQueueUpdate.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PlayQueueUpdate' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PlayQueueUpdate.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PlayQueueUpdate value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PlayQueueUpdate read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PlayQueueUpdate given an JSON string + * + * @param jsonString JSON string + * @return An instance of PlayQueueUpdate + * @throws IOException if the JSON string is invalid with respect to PlayQueueUpdate + */ + public static PlayQueueUpdate fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PlayQueueUpdate.class); + } + + /** + * Convert an instance of PlayQueueUpdate to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayQueueUpdateGroupUpdate.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayQueueUpdateGroupUpdate.java new file mode 100644 index 00000000000..482e179a7d6 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayQueueUpdateGroupUpdate.java @@ -0,0 +1,270 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.GroupUpdateType; +import org.openapitools.client.model.PlayQueueUpdate; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Class GroupUpdate. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class PlayQueueUpdateGroupUpdate { + public static final String SERIALIZED_NAME_GROUP_ID = "GroupId"; + @SerializedName(SERIALIZED_NAME_GROUP_ID) + @javax.annotation.Nullable + private UUID groupId; + + public static final String SERIALIZED_NAME_TYPE = "Type"; + @SerializedName(SERIALIZED_NAME_TYPE) + @javax.annotation.Nullable + private GroupUpdateType type; + + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private PlayQueueUpdate data; + + public PlayQueueUpdateGroupUpdate() { + } + + public PlayQueueUpdateGroupUpdate( + UUID groupId + ) { + this(); + this.groupId = groupId; + } + + /** + * Gets the group identifier. + * @return groupId + */ + @javax.annotation.Nullable + public UUID getGroupId() { + return groupId; + } + + + + public PlayQueueUpdateGroupUpdate type(@javax.annotation.Nullable GroupUpdateType type) { + this.type = type; + return this; + } + + /** + * Gets the update type. + * @return type + */ + @javax.annotation.Nullable + public GroupUpdateType getType() { + return type; + } + + public void setType(@javax.annotation.Nullable GroupUpdateType type) { + this.type = type; + } + + + public PlayQueueUpdateGroupUpdate data(@javax.annotation.Nullable PlayQueueUpdate data) { + this.data = data; + return this; + } + + /** + * Gets the update data. + * @return data + */ + @javax.annotation.Nullable + public PlayQueueUpdate getData() { + return data; + } + + public void setData(@javax.annotation.Nullable PlayQueueUpdate data) { + this.data = data; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PlayQueueUpdateGroupUpdate playQueueUpdateGroupUpdate = (PlayQueueUpdateGroupUpdate) o; + return Objects.equals(this.groupId, playQueueUpdateGroupUpdate.groupId) && + Objects.equals(this.type, playQueueUpdateGroupUpdate.type) && + Objects.equals(this.data, playQueueUpdateGroupUpdate.data); + } + + @Override + public int hashCode() { + return Objects.hash(groupId, type, data); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PlayQueueUpdateGroupUpdate {\n"); + sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("GroupId"); + openapiFields.add("Type"); + openapiFields.add("Data"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to PlayQueueUpdateGroupUpdate + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!PlayQueueUpdateGroupUpdate.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PlayQueueUpdateGroupUpdate is not found in the empty JSON string", PlayQueueUpdateGroupUpdate.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!PlayQueueUpdateGroupUpdate.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PlayQueueUpdateGroupUpdate` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("GroupId") != null && !jsonObj.get("GroupId").isJsonNull()) && !jsonObj.get("GroupId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `GroupId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("GroupId").toString())); + } + // validate the optional field `Type` + if (jsonObj.get("Type") != null && !jsonObj.get("Type").isJsonNull()) { + GroupUpdateType.validateJsonElement(jsonObj.get("Type")); + } + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + PlayQueueUpdate.validateJsonElement(jsonObj.get("Data")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PlayQueueUpdateGroupUpdate.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PlayQueueUpdateGroupUpdate' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PlayQueueUpdateGroupUpdate.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PlayQueueUpdateGroupUpdate value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PlayQueueUpdateGroupUpdate read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PlayQueueUpdateGroupUpdate given an JSON string + * + * @param jsonString JSON string + * @return An instance of PlayQueueUpdateGroupUpdate + * @throws IOException if the JSON string is invalid with respect to PlayQueueUpdateGroupUpdate + */ + public static PlayQueueUpdateGroupUpdate fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PlayQueueUpdateGroupUpdate.class); + } + + /** + * Convert an instance of PlayQueueUpdateGroupUpdate to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayQueueUpdateReason.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayQueueUpdateReason.java new file mode 100644 index 00000000000..bb401af175b --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayQueueUpdateReason.java @@ -0,0 +1,94 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.JsonElement; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Enum PlayQueueUpdateReason. + */ +@JsonAdapter(PlayQueueUpdateReason.Adapter.class) +public enum PlayQueueUpdateReason { + + NEW_PLAYLIST("NewPlaylist"), + + SET_CURRENT_ITEM("SetCurrentItem"), + + REMOVE_ITEMS("RemoveItems"), + + MOVE_ITEM("MoveItem"), + + QUEUE("Queue"), + + QUEUE_NEXT("QueueNext"), + + NEXT_ITEM("NextItem"), + + PREVIOUS_ITEM("PreviousItem"), + + REPEAT_MODE("RepeatMode"), + + SHUFFLE_MODE("ShuffleMode"); + + private String value; + + PlayQueueUpdateReason(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static PlayQueueUpdateReason fromValue(String value) { + for (PlayQueueUpdateReason b : PlayQueueUpdateReason.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final PlayQueueUpdateReason enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public PlayQueueUpdateReason read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return PlayQueueUpdateReason.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + PlayQueueUpdateReason.fromValue(value); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlayRequest.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayRequest.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlayRequest.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayRequest.java index bc503423732..872216f32e1 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlayRequest.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayRequest.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * Class PlayRequest. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlayRequest { public static final String SERIALIZED_NAME_ITEM_IDS = "ItemIds"; @SerializedName(SERIALIZED_NAME_ITEM_IDS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlayRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayRequestDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlayRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayRequestDto.java index a0c8599d66b..470be917be0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlayRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayRequestDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class PlayRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlayRequestDto { public static final String SERIALIZED_NAME_PLAYING_QUEUE = "PlayingQueue"; @SerializedName(SERIALIZED_NAME_PLAYING_QUEUE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaybackErrorCode.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackErrorCode.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaybackErrorCode.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackErrorCode.java index 110e8feb0f2..a6e96de7f15 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaybackErrorCode.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackErrorCode.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaybackInfoDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackInfoDto.java similarity index 92% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaybackInfoDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackInfoDto.java index 76f2a438d10..9b6129ccc6e 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaybackInfoDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackInfoDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Plabyback info dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlaybackInfoDto { public static final String SERIALIZED_NAME_USER_ID = "UserId"; @SerializedName(SERIALIZED_NAME_USER_ID) @@ -128,6 +128,11 @@ public class PlaybackInfoDto { @javax.annotation.Nullable private Boolean autoOpenLiveStream; + public static final String SERIALIZED_NAME_ALWAYS_BURN_IN_SUBTITLE_WHEN_TRANSCODING = "AlwaysBurnInSubtitleWhenTranscoding"; + @SerializedName(SERIALIZED_NAME_ALWAYS_BURN_IN_SUBTITLE_WHEN_TRANSCODING) + @javax.annotation.Nullable + private Boolean alwaysBurnInSubtitleWhenTranscoding; + public PlaybackInfoDto() { } @@ -416,6 +421,25 @@ public class PlaybackInfoDto { } + public PlaybackInfoDto alwaysBurnInSubtitleWhenTranscoding(@javax.annotation.Nullable Boolean alwaysBurnInSubtitleWhenTranscoding) { + this.alwaysBurnInSubtitleWhenTranscoding = alwaysBurnInSubtitleWhenTranscoding; + return this; + } + + /** + * Gets or sets a value indicating whether always burn in subtitles when transcoding. + * @return alwaysBurnInSubtitleWhenTranscoding + */ + @javax.annotation.Nullable + public Boolean getAlwaysBurnInSubtitleWhenTranscoding() { + return alwaysBurnInSubtitleWhenTranscoding; + } + + public void setAlwaysBurnInSubtitleWhenTranscoding(@javax.annotation.Nullable Boolean alwaysBurnInSubtitleWhenTranscoding) { + this.alwaysBurnInSubtitleWhenTranscoding = alwaysBurnInSubtitleWhenTranscoding; + } + + @Override public boolean equals(Object o) { @@ -440,7 +464,8 @@ public class PlaybackInfoDto { Objects.equals(this.enableTranscoding, playbackInfoDto.enableTranscoding) && Objects.equals(this.allowVideoStreamCopy, playbackInfoDto.allowVideoStreamCopy) && Objects.equals(this.allowAudioStreamCopy, playbackInfoDto.allowAudioStreamCopy) && - Objects.equals(this.autoOpenLiveStream, playbackInfoDto.autoOpenLiveStream); + Objects.equals(this.autoOpenLiveStream, playbackInfoDto.autoOpenLiveStream) && + Objects.equals(this.alwaysBurnInSubtitleWhenTranscoding, playbackInfoDto.alwaysBurnInSubtitleWhenTranscoding); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -449,7 +474,7 @@ public class PlaybackInfoDto { @Override public int hashCode() { - return Objects.hash(userId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, mediaSourceId, liveStreamId, deviceProfile, enableDirectPlay, enableDirectStream, enableTranscoding, allowVideoStreamCopy, allowAudioStreamCopy, autoOpenLiveStream); + return Objects.hash(userId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, mediaSourceId, liveStreamId, deviceProfile, enableDirectPlay, enableDirectStream, enableTranscoding, allowVideoStreamCopy, allowAudioStreamCopy, autoOpenLiveStream, alwaysBurnInSubtitleWhenTranscoding); } private static int hashCodeNullable(JsonNullable a) { @@ -478,6 +503,7 @@ public class PlaybackInfoDto { sb.append(" allowVideoStreamCopy: ").append(toIndentedString(allowVideoStreamCopy)).append("\n"); sb.append(" allowAudioStreamCopy: ").append(toIndentedString(allowAudioStreamCopy)).append("\n"); sb.append(" autoOpenLiveStream: ").append(toIndentedString(autoOpenLiveStream)).append("\n"); + sb.append(" alwaysBurnInSubtitleWhenTranscoding: ").append(toIndentedString(alwaysBurnInSubtitleWhenTranscoding)).append("\n"); sb.append("}"); return sb.toString(); } @@ -515,6 +541,7 @@ public class PlaybackInfoDto { openapiFields.add("AllowVideoStreamCopy"); openapiFields.add("AllowAudioStreamCopy"); openapiFields.add("AutoOpenLiveStream"); + openapiFields.add("AlwaysBurnInSubtitleWhenTranscoding"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaybackInfoResponse.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackInfoResponse.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaybackInfoResponse.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackInfoResponse.java index ff5130aaf43..b8b99ba3d49 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaybackInfoResponse.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackInfoResponse.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * Class PlaybackInfoResponse. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlaybackInfoResponse { public static final String SERIALIZED_NAME_MEDIA_SOURCES = "MediaSources"; @SerializedName(SERIALIZED_NAME_MEDIA_SOURCES) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportExportType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackOrder.java similarity index 65% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportExportType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackOrder.java index 00a75f25ccd..0a6e7a8c647 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportExportType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackOrder.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,18 +24,18 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; /** - * Gets or Sets ReportExportType + * Enum PlaybackOrder. */ -@JsonAdapter(ReportExportType.Adapter.class) -public enum ReportExportType { +@JsonAdapter(PlaybackOrder.Adapter.class) +public enum PlaybackOrder { - CSV("CSV"), + DEFAULT("Default"), - EXCEL("Excel"); + SHUFFLE("Shuffle"); private String value; - ReportExportType(String value) { + PlaybackOrder(String value) { this.value = value; } @@ -48,8 +48,8 @@ public enum ReportExportType { return String.valueOf(value); } - public static ReportExportType fromValue(String value) { - for (ReportExportType b : ReportExportType.values()) { + public static PlaybackOrder fromValue(String value) { + for (PlaybackOrder b : PlaybackOrder.values()) { if (b.value.equals(value)) { return b; } @@ -57,22 +57,22 @@ public enum ReportExportType { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - public static class Adapter extends TypeAdapter { + public static class Adapter extends TypeAdapter { @Override - public void write(final JsonWriter jsonWriter, final ReportExportType enumeration) throws IOException { + public void write(final JsonWriter jsonWriter, final PlaybackOrder enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override - public ReportExportType read(final JsonReader jsonReader) throws IOException { + public PlaybackOrder read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); - return ReportExportType.fromValue(value); + return PlaybackOrder.fromValue(value); } } public static void validateJsonElement(JsonElement jsonElement) throws IOException { String value = jsonElement.getAsString(); - ReportExportType.fromValue(value); + PlaybackOrder.fromValue(value); } } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaybackProgressInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackProgressInfo.java similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaybackProgressInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackProgressInfo.java index 05f32aa4639..179e0dcbc9b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaybackProgressInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackProgressInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -26,6 +26,7 @@ import java.util.List; import java.util.UUID; import org.openapitools.client.model.BaseItemDto; import org.openapitools.client.model.PlayMethod; +import org.openapitools.client.model.PlaybackOrder; import org.openapitools.client.model.QueueItem; import org.openapitools.client.model.RepeatMode; import org.openapitools.jackson.nullable.JsonNullable; @@ -56,7 +57,7 @@ import org.openapitools.client.JSON; /** * Class PlaybackProgressInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlaybackProgressInfo { public static final String SERIALIZED_NAME_CAN_SEEK = "CanSeek"; @SerializedName(SERIALIZED_NAME_CAN_SEEK) @@ -148,6 +149,11 @@ public class PlaybackProgressInfo { @javax.annotation.Nullable private RepeatMode repeatMode; + public static final String SERIALIZED_NAME_PLAYBACK_ORDER = "PlaybackOrder"; + @SerializedName(SERIALIZED_NAME_PLAYBACK_ORDER) + @javax.annotation.Nullable + private PlaybackOrder playbackOrder; + public static final String SERIALIZED_NAME_NOW_PLAYING_QUEUE = "NowPlayingQueue"; @SerializedName(SERIALIZED_NAME_NOW_PLAYING_QUEUE) @javax.annotation.Nullable @@ -503,6 +509,25 @@ public class PlaybackProgressInfo { } + public PlaybackProgressInfo playbackOrder(@javax.annotation.Nullable PlaybackOrder playbackOrder) { + this.playbackOrder = playbackOrder; + return this; + } + + /** + * Gets or sets the playback order. + * @return playbackOrder + */ + @javax.annotation.Nullable + public PlaybackOrder getPlaybackOrder() { + return playbackOrder; + } + + public void setPlaybackOrder(@javax.annotation.Nullable PlaybackOrder playbackOrder) { + this.playbackOrder = playbackOrder; + } + + public PlaybackProgressInfo nowPlayingQueue(@javax.annotation.Nullable List nowPlayingQueue) { this.nowPlayingQueue = nowPlayingQueue; return this; @@ -577,6 +602,7 @@ public class PlaybackProgressInfo { Objects.equals(this.liveStreamId, playbackProgressInfo.liveStreamId) && Objects.equals(this.playSessionId, playbackProgressInfo.playSessionId) && Objects.equals(this.repeatMode, playbackProgressInfo.repeatMode) && + Objects.equals(this.playbackOrder, playbackProgressInfo.playbackOrder) && Objects.equals(this.nowPlayingQueue, playbackProgressInfo.nowPlayingQueue) && Objects.equals(this.playlistItemId, playbackProgressInfo.playlistItemId); } @@ -587,7 +613,7 @@ public class PlaybackProgressInfo { @Override public int hashCode() { - return Objects.hash(canSeek, item, itemId, sessionId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, isPaused, isMuted, positionTicks, playbackStartTimeTicks, volumeLevel, brightness, aspectRatio, playMethod, liveStreamId, playSessionId, repeatMode, nowPlayingQueue, playlistItemId); + return Objects.hash(canSeek, item, itemId, sessionId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, isPaused, isMuted, positionTicks, playbackStartTimeTicks, volumeLevel, brightness, aspectRatio, playMethod, liveStreamId, playSessionId, repeatMode, playbackOrder, nowPlayingQueue, playlistItemId); } private static int hashCodeNullable(JsonNullable a) { @@ -619,6 +645,7 @@ public class PlaybackProgressInfo { sb.append(" liveStreamId: ").append(toIndentedString(liveStreamId)).append("\n"); sb.append(" playSessionId: ").append(toIndentedString(playSessionId)).append("\n"); sb.append(" repeatMode: ").append(toIndentedString(repeatMode)).append("\n"); + sb.append(" playbackOrder: ").append(toIndentedString(playbackOrder)).append("\n"); sb.append(" nowPlayingQueue: ").append(toIndentedString(nowPlayingQueue)).append("\n"); sb.append(" playlistItemId: ").append(toIndentedString(playlistItemId)).append("\n"); sb.append("}"); @@ -661,6 +688,7 @@ public class PlaybackProgressInfo { openapiFields.add("LiveStreamId"); openapiFields.add("PlaySessionId"); openapiFields.add("RepeatMode"); + openapiFields.add("PlaybackOrder"); openapiFields.add("NowPlayingQueue"); openapiFields.add("PlaylistItemId"); @@ -719,6 +747,10 @@ public class PlaybackProgressInfo { if (jsonObj.get("RepeatMode") != null && !jsonObj.get("RepeatMode").isJsonNull()) { RepeatMode.validateJsonElement(jsonObj.get("RepeatMode")); } + // validate the optional field `PlaybackOrder` + if (jsonObj.get("PlaybackOrder") != null && !jsonObj.get("PlaybackOrder").isJsonNull()) { + PlaybackOrder.validateJsonElement(jsonObj.get("PlaybackOrder")); + } if (jsonObj.get("NowPlayingQueue") != null && !jsonObj.get("NowPlayingQueue").isJsonNull()) { JsonArray jsonArraynowPlayingQueue = jsonObj.getAsJsonArray("NowPlayingQueue"); if (jsonArraynowPlayingQueue != null) { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ItemViewType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackRequestType.java similarity index 53% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ItemViewType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackRequestType.java index f00d54bcd6a..edc7f933f94 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ItemViewType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackRequestType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,44 +24,48 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; /** - * Gets or Sets ItemViewType + * Enum PlaybackRequestType. */ -@JsonAdapter(ItemViewType.Adapter.class) -public enum ItemViewType { +@JsonAdapter(PlaybackRequestType.Adapter.class) +public enum PlaybackRequestType { - NONE("None"), + PLAY("Play"), - DETAIL("Detail"), + SET_PLAYLIST_ITEM("SetPlaylistItem"), - EDIT("Edit"), + REMOVE_FROM_PLAYLIST("RemoveFromPlaylist"), - LIST("List"), + MOVE_PLAYLIST_ITEM("MovePlaylistItem"), - ITEM_BY_NAME_DETAILS("ItemByNameDetails"), + QUEUE("Queue"), - STATUS_IMAGE("StatusImage"), + UNPAUSE("Unpause"), - EMBEDDED_IMAGE("EmbeddedImage"), + PAUSE("Pause"), - SUBTITLE_IMAGE("SubtitleImage"), + STOP("Stop"), - TRAILERS_IMAGE("TrailersImage"), + SEEK("Seek"), - SPECIALS_IMAGE("SpecialsImage"), + BUFFER("Buffer"), - LOCK_DATA_IMAGE("LockDataImage"), + READY("Ready"), - TAGS_PRIMARY_IMAGE("TagsPrimaryImage"), + NEXT_ITEM("NextItem"), - TAGS_BACKDROP_IMAGE("TagsBackdropImage"), + PREVIOUS_ITEM("PreviousItem"), - TAGS_LOGO_IMAGE("TagsLogoImage"), + SET_REPEAT_MODE("SetRepeatMode"), - USER_PRIMARY_IMAGE("UserPrimaryImage"); + SET_SHUFFLE_MODE("SetShuffleMode"), + + PING("Ping"), + + IGNORE_WAIT("IgnoreWait"); private String value; - ItemViewType(String value) { + PlaybackRequestType(String value) { this.value = value; } @@ -74,8 +78,8 @@ public enum ItemViewType { return String.valueOf(value); } - public static ItemViewType fromValue(String value) { - for (ItemViewType b : ItemViewType.values()) { + public static PlaybackRequestType fromValue(String value) { + for (PlaybackRequestType b : PlaybackRequestType.values()) { if (b.value.equals(value)) { return b; } @@ -83,22 +87,22 @@ public enum ItemViewType { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - public static class Adapter extends TypeAdapter { + public static class Adapter extends TypeAdapter { @Override - public void write(final JsonWriter jsonWriter, final ItemViewType enumeration) throws IOException { + public void write(final JsonWriter jsonWriter, final PlaybackRequestType enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override - public ItemViewType read(final JsonReader jsonReader) throws IOException { + public PlaybackRequestType read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); - return ItemViewType.fromValue(value); + return PlaybackRequestType.fromValue(value); } } public static void validateJsonElement(JsonElement jsonElement) throws IOException { String value = jsonElement.getAsString(); - ItemViewType.fromValue(value); + PlaybackRequestType.fromValue(value); } } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaybackStartInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackStartInfo.java similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaybackStartInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackStartInfo.java index 55ccdebe8fb..30b9bc7ea34 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaybackStartInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackStartInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -26,6 +26,7 @@ import java.util.List; import java.util.UUID; import org.openapitools.client.model.BaseItemDto; import org.openapitools.client.model.PlayMethod; +import org.openapitools.client.model.PlaybackOrder; import org.openapitools.client.model.QueueItem; import org.openapitools.client.model.RepeatMode; import org.openapitools.jackson.nullable.JsonNullable; @@ -56,7 +57,7 @@ import org.openapitools.client.JSON; /** * Class PlaybackStartInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlaybackStartInfo { public static final String SERIALIZED_NAME_CAN_SEEK = "CanSeek"; @SerializedName(SERIALIZED_NAME_CAN_SEEK) @@ -148,6 +149,11 @@ public class PlaybackStartInfo { @javax.annotation.Nullable private RepeatMode repeatMode; + public static final String SERIALIZED_NAME_PLAYBACK_ORDER = "PlaybackOrder"; + @SerializedName(SERIALIZED_NAME_PLAYBACK_ORDER) + @javax.annotation.Nullable + private PlaybackOrder playbackOrder; + public static final String SERIALIZED_NAME_NOW_PLAYING_QUEUE = "NowPlayingQueue"; @SerializedName(SERIALIZED_NAME_NOW_PLAYING_QUEUE) @javax.annotation.Nullable @@ -503,6 +509,25 @@ public class PlaybackStartInfo { } + public PlaybackStartInfo playbackOrder(@javax.annotation.Nullable PlaybackOrder playbackOrder) { + this.playbackOrder = playbackOrder; + return this; + } + + /** + * Gets or sets the playback order. + * @return playbackOrder + */ + @javax.annotation.Nullable + public PlaybackOrder getPlaybackOrder() { + return playbackOrder; + } + + public void setPlaybackOrder(@javax.annotation.Nullable PlaybackOrder playbackOrder) { + this.playbackOrder = playbackOrder; + } + + public PlaybackStartInfo nowPlayingQueue(@javax.annotation.Nullable List nowPlayingQueue) { this.nowPlayingQueue = nowPlayingQueue; return this; @@ -577,6 +602,7 @@ public class PlaybackStartInfo { Objects.equals(this.liveStreamId, playbackStartInfo.liveStreamId) && Objects.equals(this.playSessionId, playbackStartInfo.playSessionId) && Objects.equals(this.repeatMode, playbackStartInfo.repeatMode) && + Objects.equals(this.playbackOrder, playbackStartInfo.playbackOrder) && Objects.equals(this.nowPlayingQueue, playbackStartInfo.nowPlayingQueue) && Objects.equals(this.playlistItemId, playbackStartInfo.playlistItemId); } @@ -587,7 +613,7 @@ public class PlaybackStartInfo { @Override public int hashCode() { - return Objects.hash(canSeek, item, itemId, sessionId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, isPaused, isMuted, positionTicks, playbackStartTimeTicks, volumeLevel, brightness, aspectRatio, playMethod, liveStreamId, playSessionId, repeatMode, nowPlayingQueue, playlistItemId); + return Objects.hash(canSeek, item, itemId, sessionId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, isPaused, isMuted, positionTicks, playbackStartTimeTicks, volumeLevel, brightness, aspectRatio, playMethod, liveStreamId, playSessionId, repeatMode, playbackOrder, nowPlayingQueue, playlistItemId); } private static int hashCodeNullable(JsonNullable a) { @@ -619,6 +645,7 @@ public class PlaybackStartInfo { sb.append(" liveStreamId: ").append(toIndentedString(liveStreamId)).append("\n"); sb.append(" playSessionId: ").append(toIndentedString(playSessionId)).append("\n"); sb.append(" repeatMode: ").append(toIndentedString(repeatMode)).append("\n"); + sb.append(" playbackOrder: ").append(toIndentedString(playbackOrder)).append("\n"); sb.append(" nowPlayingQueue: ").append(toIndentedString(nowPlayingQueue)).append("\n"); sb.append(" playlistItemId: ").append(toIndentedString(playlistItemId)).append("\n"); sb.append("}"); @@ -661,6 +688,7 @@ public class PlaybackStartInfo { openapiFields.add("LiveStreamId"); openapiFields.add("PlaySessionId"); openapiFields.add("RepeatMode"); + openapiFields.add("PlaybackOrder"); openapiFields.add("NowPlayingQueue"); openapiFields.add("PlaylistItemId"); @@ -719,6 +747,10 @@ public class PlaybackStartInfo { if (jsonObj.get("RepeatMode") != null && !jsonObj.get("RepeatMode").isJsonNull()) { RepeatMode.validateJsonElement(jsonObj.get("RepeatMode")); } + // validate the optional field `PlaybackOrder` + if (jsonObj.get("PlaybackOrder") != null && !jsonObj.get("PlaybackOrder").isJsonNull()) { + PlaybackOrder.validateJsonElement(jsonObj.get("PlaybackOrder")); + } if (jsonObj.get("NowPlayingQueue") != null && !jsonObj.get("NowPlayingQueue").isJsonNull()) { JsonArray jsonArraynowPlayingQueue = jsonObj.getAsJsonArray("NowPlayingQueue"); if (jsonArraynowPlayingQueue != null) { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaybackStopInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackStopInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaybackStopInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackStopInfo.java index 96444c2e0d2..c4d5ae135ba 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaybackStopInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaybackStopInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * Class PlaybackStopInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlaybackStopInfo { public static final String SERIALIZED_NAME_ITEM = "Item"; @SerializedName(SERIALIZED_NAME_ITEM) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlayerStateInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayerStateInfo.java similarity index 92% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlayerStateInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayerStateInfo.java index 8fc1f8bcaa9..387c518a6dd 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlayerStateInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlayerStateInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.util.Arrays; import org.openapitools.client.model.PlayMethod; +import org.openapitools.client.model.PlaybackOrder; import org.openapitools.client.model.RepeatMode; import org.openapitools.jackson.nullable.JsonNullable; @@ -51,7 +52,7 @@ import org.openapitools.client.JSON; /** * PlayerStateInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlayerStateInfo { public static final String SERIALIZED_NAME_POSITION_TICKS = "PositionTicks"; @SerializedName(SERIALIZED_NAME_POSITION_TICKS) @@ -103,6 +104,11 @@ public class PlayerStateInfo { @javax.annotation.Nullable private RepeatMode repeatMode; + public static final String SERIALIZED_NAME_PLAYBACK_ORDER = "PlaybackOrder"; + @SerializedName(SERIALIZED_NAME_PLAYBACK_ORDER) + @javax.annotation.Nullable + private PlaybackOrder playbackOrder; + public static final String SERIALIZED_NAME_LIVE_STREAM_ID = "LiveStreamId"; @SerializedName(SERIALIZED_NAME_LIVE_STREAM_ID) @javax.annotation.Nullable @@ -301,6 +307,25 @@ public class PlayerStateInfo { } + public PlayerStateInfo playbackOrder(@javax.annotation.Nullable PlaybackOrder playbackOrder) { + this.playbackOrder = playbackOrder; + return this; + } + + /** + * Gets or sets the playback order. + * @return playbackOrder + */ + @javax.annotation.Nullable + public PlaybackOrder getPlaybackOrder() { + return playbackOrder; + } + + public void setPlaybackOrder(@javax.annotation.Nullable PlaybackOrder playbackOrder) { + this.playbackOrder = playbackOrder; + } + + public PlayerStateInfo liveStreamId(@javax.annotation.Nullable String liveStreamId) { this.liveStreamId = liveStreamId; return this; @@ -340,6 +365,7 @@ public class PlayerStateInfo { Objects.equals(this.mediaSourceId, playerStateInfo.mediaSourceId) && Objects.equals(this.playMethod, playerStateInfo.playMethod) && Objects.equals(this.repeatMode, playerStateInfo.repeatMode) && + Objects.equals(this.playbackOrder, playerStateInfo.playbackOrder) && Objects.equals(this.liveStreamId, playerStateInfo.liveStreamId); } @@ -349,7 +375,7 @@ public class PlayerStateInfo { @Override public int hashCode() { - return Objects.hash(positionTicks, canSeek, isPaused, isMuted, volumeLevel, audioStreamIndex, subtitleStreamIndex, mediaSourceId, playMethod, repeatMode, liveStreamId); + return Objects.hash(positionTicks, canSeek, isPaused, isMuted, volumeLevel, audioStreamIndex, subtitleStreamIndex, mediaSourceId, playMethod, repeatMode, playbackOrder, liveStreamId); } private static int hashCodeNullable(JsonNullable a) { @@ -373,6 +399,7 @@ public class PlayerStateInfo { sb.append(" mediaSourceId: ").append(toIndentedString(mediaSourceId)).append("\n"); sb.append(" playMethod: ").append(toIndentedString(playMethod)).append("\n"); sb.append(" repeatMode: ").append(toIndentedString(repeatMode)).append("\n"); + sb.append(" playbackOrder: ").append(toIndentedString(playbackOrder)).append("\n"); sb.append(" liveStreamId: ").append(toIndentedString(liveStreamId)).append("\n"); sb.append("}"); return sb.toString(); @@ -406,6 +433,7 @@ public class PlayerStateInfo { openapiFields.add("MediaSourceId"); openapiFields.add("PlayMethod"); openapiFields.add("RepeatMode"); + openapiFields.add("PlaybackOrder"); openapiFields.add("LiveStreamId"); // a set of required properties/fields (JSON key names) @@ -444,6 +472,10 @@ public class PlayerStateInfo { if (jsonObj.get("RepeatMode") != null && !jsonObj.get("RepeatMode").isJsonNull()) { RepeatMode.validateJsonElement(jsonObj.get("RepeatMode")); } + // validate the optional field `PlaybackOrder` + if (jsonObj.get("PlaybackOrder") != null && !jsonObj.get("PlaybackOrder").isJsonNull()) { + PlaybackOrder.validateJsonElement(jsonObj.get("PlaybackOrder")); + } if ((jsonObj.get("LiveStreamId") != null && !jsonObj.get("LiveStreamId").isJsonNull()) && !jsonObj.get("LiveStreamId").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `LiveStreamId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("LiveStreamId").toString())); } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaylistCreationResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaylistCreationResult.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaylistCreationResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaylistCreationResult.java index 3487b92a354..3e5b4ebd17a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaylistCreationResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaylistCreationResult.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * PlaylistCreationResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlaylistCreationResult { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaylistDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaylistDto.java new file mode 100644 index 00000000000..804b89f5e1b --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaylistDto.java @@ -0,0 +1,295 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.UUID; +import org.openapitools.client.model.PlaylistUserPermissions; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * DTO for playlists. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class PlaylistDto { + public static final String SERIALIZED_NAME_OPEN_ACCESS = "OpenAccess"; + @SerializedName(SERIALIZED_NAME_OPEN_ACCESS) + @javax.annotation.Nullable + private Boolean openAccess; + + public static final String SERIALIZED_NAME_SHARES = "Shares"; + @SerializedName(SERIALIZED_NAME_SHARES) + @javax.annotation.Nullable + private List shares = new ArrayList<>(); + + public static final String SERIALIZED_NAME_ITEM_IDS = "ItemIds"; + @SerializedName(SERIALIZED_NAME_ITEM_IDS) + @javax.annotation.Nullable + private List itemIds = new ArrayList<>(); + + public PlaylistDto() { + } + + public PlaylistDto openAccess(@javax.annotation.Nullable Boolean openAccess) { + this.openAccess = openAccess; + return this; + } + + /** + * Gets or sets a value indicating whether the playlist is publicly readable. + * @return openAccess + */ + @javax.annotation.Nullable + public Boolean getOpenAccess() { + return openAccess; + } + + public void setOpenAccess(@javax.annotation.Nullable Boolean openAccess) { + this.openAccess = openAccess; + } + + + public PlaylistDto shares(@javax.annotation.Nullable List shares) { + this.shares = shares; + return this; + } + + public PlaylistDto addSharesItem(PlaylistUserPermissions sharesItem) { + if (this.shares == null) { + this.shares = new ArrayList<>(); + } + this.shares.add(sharesItem); + return this; + } + + /** + * Gets or sets the share permissions. + * @return shares + */ + @javax.annotation.Nullable + public List getShares() { + return shares; + } + + public void setShares(@javax.annotation.Nullable List shares) { + this.shares = shares; + } + + + public PlaylistDto itemIds(@javax.annotation.Nullable List itemIds) { + this.itemIds = itemIds; + return this; + } + + public PlaylistDto addItemIdsItem(UUID itemIdsItem) { + if (this.itemIds == null) { + this.itemIds = new ArrayList<>(); + } + this.itemIds.add(itemIdsItem); + return this; + } + + /** + * Gets or sets the item ids. + * @return itemIds + */ + @javax.annotation.Nullable + public List getItemIds() { + return itemIds; + } + + public void setItemIds(@javax.annotation.Nullable List itemIds) { + this.itemIds = itemIds; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PlaylistDto playlistDto = (PlaylistDto) o; + return Objects.equals(this.openAccess, playlistDto.openAccess) && + Objects.equals(this.shares, playlistDto.shares) && + Objects.equals(this.itemIds, playlistDto.itemIds); + } + + @Override + public int hashCode() { + return Objects.hash(openAccess, shares, itemIds); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PlaylistDto {\n"); + sb.append(" openAccess: ").append(toIndentedString(openAccess)).append("\n"); + sb.append(" shares: ").append(toIndentedString(shares)).append("\n"); + sb.append(" itemIds: ").append(toIndentedString(itemIds)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("OpenAccess"); + openapiFields.add("Shares"); + openapiFields.add("ItemIds"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to PlaylistDto + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!PlaylistDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PlaylistDto is not found in the empty JSON string", PlaylistDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!PlaylistDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PlaylistDto` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (jsonObj.get("Shares") != null && !jsonObj.get("Shares").isJsonNull()) { + JsonArray jsonArrayshares = jsonObj.getAsJsonArray("Shares"); + if (jsonArrayshares != null) { + // ensure the json data is an array + if (!jsonObj.get("Shares").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `Shares` to be an array in the JSON string but got `%s`", jsonObj.get("Shares").toString())); + } + + // validate the optional field `Shares` (array) + for (int i = 0; i < jsonArrayshares.size(); i++) { + PlaylistUserPermissions.validateJsonElement(jsonArrayshares.get(i)); + }; + } + } + // ensure the optional json data is an array if present + if (jsonObj.get("ItemIds") != null && !jsonObj.get("ItemIds").isJsonNull() && !jsonObj.get("ItemIds").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `ItemIds` to be an array in the JSON string but got `%s`", jsonObj.get("ItemIds").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PlaylistDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PlaylistDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PlaylistDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PlaylistDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PlaylistDto read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PlaylistDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of PlaylistDto + * @throws IOException if the JSON string is invalid with respect to PlaylistDto + */ + public static PlaylistDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PlaylistDto.class); + } + + /** + * Convert an instance of PlaylistDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaylistUserPermissions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaylistUserPermissions.java new file mode 100644 index 00000000000..4f86061b487 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaylistUserPermissions.java @@ -0,0 +1,234 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Class to hold data on user permissions for playlists. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class PlaylistUserPermissions { + public static final String SERIALIZED_NAME_USER_ID = "UserId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + @javax.annotation.Nullable + private UUID userId; + + public static final String SERIALIZED_NAME_CAN_EDIT = "CanEdit"; + @SerializedName(SERIALIZED_NAME_CAN_EDIT) + @javax.annotation.Nullable + private Boolean canEdit; + + public PlaylistUserPermissions() { + } + + public PlaylistUserPermissions userId(@javax.annotation.Nullable UUID userId) { + this.userId = userId; + return this; + } + + /** + * Gets or sets the user id. + * @return userId + */ + @javax.annotation.Nullable + public UUID getUserId() { + return userId; + } + + public void setUserId(@javax.annotation.Nullable UUID userId) { + this.userId = userId; + } + + + public PlaylistUserPermissions canEdit(@javax.annotation.Nullable Boolean canEdit) { + this.canEdit = canEdit; + return this; + } + + /** + * Gets or sets a value indicating whether the user has edit permissions. + * @return canEdit + */ + @javax.annotation.Nullable + public Boolean getCanEdit() { + return canEdit; + } + + public void setCanEdit(@javax.annotation.Nullable Boolean canEdit) { + this.canEdit = canEdit; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PlaylistUserPermissions playlistUserPermissions = (PlaylistUserPermissions) o; + return Objects.equals(this.userId, playlistUserPermissions.userId) && + Objects.equals(this.canEdit, playlistUserPermissions.canEdit); + } + + @Override + public int hashCode() { + return Objects.hash(userId, canEdit); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PlaylistUserPermissions {\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" canEdit: ").append(toIndentedString(canEdit)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("UserId"); + openapiFields.add("CanEdit"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to PlaylistUserPermissions + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!PlaylistUserPermissions.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PlaylistUserPermissions is not found in the empty JSON string", PlaylistUserPermissions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!PlaylistUserPermissions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PlaylistUserPermissions` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("UserId") != null && !jsonObj.get("UserId").isJsonNull()) && !jsonObj.get("UserId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `UserId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("UserId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PlaylistUserPermissions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PlaylistUserPermissions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PlaylistUserPermissions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PlaylistUserPermissions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PlaylistUserPermissions read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PlaylistUserPermissions given an JSON string + * + * @param jsonString JSON string + * @return An instance of PlaylistUserPermissions + * @throws IOException if the JSON string is invalid with respect to PlaylistUserPermissions + */ + public static PlaylistUserPermissions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PlaylistUserPermissions.class); + } + + /** + * Convert an instance of PlaylistUserPermissions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaystateCommand.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaystateCommand.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaystateCommand.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaystateCommand.java index 2909a6ffe2f..7e2059132bd 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaystateCommand.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaystateCommand.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaystateMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaystateMessage.java new file mode 100644 index 00000000000..5c2d8780953 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaystateMessage.java @@ -0,0 +1,282 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.PlaystateRequest; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Playstate message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class PlaystateMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private PlaystateRequest data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.PLAYSTATE; + + public PlaystateMessage() { + } + + public PlaystateMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public PlaystateMessage data(@javax.annotation.Nullable PlaystateRequest data) { + this.data = data; + return this; + } + + /** + * Gets or sets the data. + * @return data + */ + @javax.annotation.Nullable + public PlaystateRequest getData() { + return data; + } + + public void setData(@javax.annotation.Nullable PlaystateRequest data) { + this.data = data; + } + + + public PlaystateMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PlaystateMessage playstateMessage = (PlaystateMessage) o; + return Objects.equals(this.data, playstateMessage.data) && + Objects.equals(this.messageId, playstateMessage.messageId) && + Objects.equals(this.messageType, playstateMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PlaystateMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to PlaystateMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!PlaystateMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PlaystateMessage is not found in the empty JSON string", PlaystateMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!PlaystateMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PlaystateMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + PlaystateRequest.validateJsonElement(jsonObj.get("Data")); + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PlaystateMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PlaystateMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PlaystateMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PlaystateMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PlaystateMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PlaystateMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of PlaystateMessage + * @throws IOException if the JSON string is invalid with respect to PlaystateMessage + */ + public static PlaystateMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PlaystateMessage.class); + } + + /** + * Convert an instance of PlaystateMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaystateRequest.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaystateRequest.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaystateRequest.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaystateRequest.java index a7d408e4252..d37a6c04398 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaystateRequest.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PlaystateRequest.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * PlaystateRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlaystateRequest { public static final String SERIALIZED_NAME_COMMAND = "Command"; @SerializedName(SERIALIZED_NAME_COMMAND) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PluginInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PluginInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginInfo.java index 002cd5c025a..e1288e47d6f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PluginInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * This is a serializable stub class that is used by the api to provide information about installed plugins. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PluginInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginInstallationCancelledMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginInstallationCancelledMessage.java new file mode 100644 index 00000000000..f1961b2c041 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginInstallationCancelledMessage.java @@ -0,0 +1,282 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.InstallationInfo; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Plugin installation cancelled message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class PluginInstallationCancelledMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private InstallationInfo data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.PACKAGE_INSTALLATION_CANCELLED; + + public PluginInstallationCancelledMessage() { + } + + public PluginInstallationCancelledMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public PluginInstallationCancelledMessage data(@javax.annotation.Nullable InstallationInfo data) { + this.data = data; + return this; + } + + /** + * Class InstallationInfo. + * @return data + */ + @javax.annotation.Nullable + public InstallationInfo getData() { + return data; + } + + public void setData(@javax.annotation.Nullable InstallationInfo data) { + this.data = data; + } + + + public PluginInstallationCancelledMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PluginInstallationCancelledMessage pluginInstallationCancelledMessage = (PluginInstallationCancelledMessage) o; + return Objects.equals(this.data, pluginInstallationCancelledMessage.data) && + Objects.equals(this.messageId, pluginInstallationCancelledMessage.messageId) && + Objects.equals(this.messageType, pluginInstallationCancelledMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PluginInstallationCancelledMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to PluginInstallationCancelledMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!PluginInstallationCancelledMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PluginInstallationCancelledMessage is not found in the empty JSON string", PluginInstallationCancelledMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!PluginInstallationCancelledMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PluginInstallationCancelledMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + InstallationInfo.validateJsonElement(jsonObj.get("Data")); + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PluginInstallationCancelledMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PluginInstallationCancelledMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PluginInstallationCancelledMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PluginInstallationCancelledMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PluginInstallationCancelledMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PluginInstallationCancelledMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of PluginInstallationCancelledMessage + * @throws IOException if the JSON string is invalid with respect to PluginInstallationCancelledMessage + */ + public static PluginInstallationCancelledMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PluginInstallationCancelledMessage.class); + } + + /** + * Convert an instance of PluginInstallationCancelledMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginInstallationCompletedMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginInstallationCompletedMessage.java new file mode 100644 index 00000000000..7dde35ef943 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginInstallationCompletedMessage.java @@ -0,0 +1,282 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.InstallationInfo; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Plugin installation completed message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class PluginInstallationCompletedMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private InstallationInfo data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.PACKAGE_INSTALLATION_COMPLETED; + + public PluginInstallationCompletedMessage() { + } + + public PluginInstallationCompletedMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public PluginInstallationCompletedMessage data(@javax.annotation.Nullable InstallationInfo data) { + this.data = data; + return this; + } + + /** + * Class InstallationInfo. + * @return data + */ + @javax.annotation.Nullable + public InstallationInfo getData() { + return data; + } + + public void setData(@javax.annotation.Nullable InstallationInfo data) { + this.data = data; + } + + + public PluginInstallationCompletedMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PluginInstallationCompletedMessage pluginInstallationCompletedMessage = (PluginInstallationCompletedMessage) o; + return Objects.equals(this.data, pluginInstallationCompletedMessage.data) && + Objects.equals(this.messageId, pluginInstallationCompletedMessage.messageId) && + Objects.equals(this.messageType, pluginInstallationCompletedMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PluginInstallationCompletedMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to PluginInstallationCompletedMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!PluginInstallationCompletedMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PluginInstallationCompletedMessage is not found in the empty JSON string", PluginInstallationCompletedMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!PluginInstallationCompletedMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PluginInstallationCompletedMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + InstallationInfo.validateJsonElement(jsonObj.get("Data")); + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PluginInstallationCompletedMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PluginInstallationCompletedMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PluginInstallationCompletedMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PluginInstallationCompletedMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PluginInstallationCompletedMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PluginInstallationCompletedMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of PluginInstallationCompletedMessage + * @throws IOException if the JSON string is invalid with respect to PluginInstallationCompletedMessage + */ + public static PluginInstallationCompletedMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PluginInstallationCompletedMessage.class); + } + + /** + * Convert an instance of PluginInstallationCompletedMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginInstallationFailedMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginInstallationFailedMessage.java new file mode 100644 index 00000000000..769e1c1bc01 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginInstallationFailedMessage.java @@ -0,0 +1,282 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.InstallationInfo; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Plugin installation failed message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class PluginInstallationFailedMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private InstallationInfo data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.PACKAGE_INSTALLATION_FAILED; + + public PluginInstallationFailedMessage() { + } + + public PluginInstallationFailedMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public PluginInstallationFailedMessage data(@javax.annotation.Nullable InstallationInfo data) { + this.data = data; + return this; + } + + /** + * Class InstallationInfo. + * @return data + */ + @javax.annotation.Nullable + public InstallationInfo getData() { + return data; + } + + public void setData(@javax.annotation.Nullable InstallationInfo data) { + this.data = data; + } + + + public PluginInstallationFailedMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PluginInstallationFailedMessage pluginInstallationFailedMessage = (PluginInstallationFailedMessage) o; + return Objects.equals(this.data, pluginInstallationFailedMessage.data) && + Objects.equals(this.messageId, pluginInstallationFailedMessage.messageId) && + Objects.equals(this.messageType, pluginInstallationFailedMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PluginInstallationFailedMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to PluginInstallationFailedMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!PluginInstallationFailedMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PluginInstallationFailedMessage is not found in the empty JSON string", PluginInstallationFailedMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!PluginInstallationFailedMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PluginInstallationFailedMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + InstallationInfo.validateJsonElement(jsonObj.get("Data")); + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PluginInstallationFailedMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PluginInstallationFailedMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PluginInstallationFailedMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PluginInstallationFailedMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PluginInstallationFailedMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PluginInstallationFailedMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of PluginInstallationFailedMessage + * @throws IOException if the JSON string is invalid with respect to PluginInstallationFailedMessage + */ + public static PluginInstallationFailedMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PluginInstallationFailedMessage.class); + } + + /** + * Convert an instance of PluginInstallationFailedMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginInstallingMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginInstallingMessage.java new file mode 100644 index 00000000000..2e56a1aca32 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginInstallingMessage.java @@ -0,0 +1,282 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.InstallationInfo; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Package installing message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class PluginInstallingMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private InstallationInfo data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.PACKAGE_INSTALLING; + + public PluginInstallingMessage() { + } + + public PluginInstallingMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public PluginInstallingMessage data(@javax.annotation.Nullable InstallationInfo data) { + this.data = data; + return this; + } + + /** + * Class InstallationInfo. + * @return data + */ + @javax.annotation.Nullable + public InstallationInfo getData() { + return data; + } + + public void setData(@javax.annotation.Nullable InstallationInfo data) { + this.data = data; + } + + + public PluginInstallingMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PluginInstallingMessage pluginInstallingMessage = (PluginInstallingMessage) o; + return Objects.equals(this.data, pluginInstallingMessage.data) && + Objects.equals(this.messageId, pluginInstallingMessage.messageId) && + Objects.equals(this.messageType, pluginInstallingMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PluginInstallingMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to PluginInstallingMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!PluginInstallingMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PluginInstallingMessage is not found in the empty JSON string", PluginInstallingMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!PluginInstallingMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PluginInstallingMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + InstallationInfo.validateJsonElement(jsonObj.get("Data")); + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PluginInstallingMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PluginInstallingMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PluginInstallingMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PluginInstallingMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PluginInstallingMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PluginInstallingMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of PluginInstallingMessage + * @throws IOException if the JSON string is invalid with respect to PluginInstallingMessage + */ + public static PluginInstallingMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PluginInstallingMessage.class); + } + + /** + * Convert an instance of PluginInstallingMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PluginStatus.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginStatus.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PluginStatus.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginStatus.java index a17af3f09f9..190a95d8a2f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PluginStatus.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginStatus.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginUninstalledMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginUninstalledMessage.java new file mode 100644 index 00000000000..beb8a22e367 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PluginUninstalledMessage.java @@ -0,0 +1,282 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.PluginInfo; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Plugin uninstalled message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class PluginUninstalledMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private PluginInfo data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.PACKAGE_UNINSTALLED; + + public PluginUninstalledMessage() { + } + + public PluginUninstalledMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public PluginUninstalledMessage data(@javax.annotation.Nullable PluginInfo data) { + this.data = data; + return this; + } + + /** + * This is a serializable stub class that is used by the api to provide information about installed plugins. + * @return data + */ + @javax.annotation.Nullable + public PluginInfo getData() { + return data; + } + + public void setData(@javax.annotation.Nullable PluginInfo data) { + this.data = data; + } + + + public PluginUninstalledMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PluginUninstalledMessage pluginUninstalledMessage = (PluginUninstalledMessage) o; + return Objects.equals(this.data, pluginUninstalledMessage.data) && + Objects.equals(this.messageId, pluginUninstalledMessage.messageId) && + Objects.equals(this.messageType, pluginUninstalledMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PluginUninstalledMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to PluginUninstalledMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!PluginUninstalledMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PluginUninstalledMessage is not found in the empty JSON string", PluginUninstalledMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!PluginUninstalledMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `PluginUninstalledMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + PluginInfo.validateJsonElement(jsonObj.get("Data")); + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PluginUninstalledMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PluginUninstalledMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PluginUninstalledMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PluginUninstalledMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public PluginUninstalledMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PluginUninstalledMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of PluginUninstalledMessage + * @throws IOException if the JSON string is invalid with respect to PluginUninstalledMessage + */ + public static PluginUninstalledMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PluginUninstalledMessage.class); + } + + /** + * Convert an instance of PluginUninstalledMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PreviousItemRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PreviousItemRequestDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PreviousItemRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PreviousItemRequestDto.java index 195ce149ac6..c0b2c4815d1 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PreviousItemRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PreviousItemRequestDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class PreviousItemRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PreviousItemRequestDto { public static final String SERIALIZED_NAME_PLAYLIST_ITEM_ID = "PlaylistItemId"; @SerializedName(SERIALIZED_NAME_PLAYLIST_ITEM_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ProblemDetails.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ProblemDetails.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ProblemDetails.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ProblemDetails.java index b5e1701ab53..a89f45ffc14 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ProblemDetails.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ProblemDetails.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * ProblemDetails */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ProblemDetails { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/HardwareEncodingType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ProcessPriorityClass.java similarity index 61% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/HardwareEncodingType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ProcessPriorityClass.java index 85483d1cd38..01334cae01a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/HardwareEncodingType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ProcessPriorityClass.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,26 +24,26 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; /** - * Enum HardwareEncodingType. + * Gets or Sets ProcessPriorityClass */ -@JsonAdapter(HardwareEncodingType.Adapter.class) -public enum HardwareEncodingType { +@JsonAdapter(ProcessPriorityClass.Adapter.class) +public enum ProcessPriorityClass { - AMF("AMF"), + NORMAL("Normal"), - QSV("QSV"), + IDLE("Idle"), - NVENC("NVENC"), + HIGH("High"), - V4_L2_M2_M("V4L2M2M"), + REAL_TIME("RealTime"), - VAAPI("VAAPI"), + BELOW_NORMAL("BelowNormal"), - VIDEO_TOOL_BOX("VideoToolBox"); + ABOVE_NORMAL("AboveNormal"); private String value; - HardwareEncodingType(String value) { + ProcessPriorityClass(String value) { this.value = value; } @@ -56,8 +56,8 @@ public enum HardwareEncodingType { return String.valueOf(value); } - public static HardwareEncodingType fromValue(String value) { - for (HardwareEncodingType b : HardwareEncodingType.values()) { + public static ProcessPriorityClass fromValue(String value) { + for (ProcessPriorityClass b : ProcessPriorityClass.values()) { if (b.value.equals(value)) { return b; } @@ -65,22 +65,22 @@ public enum HardwareEncodingType { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - public static class Adapter extends TypeAdapter { + public static class Adapter extends TypeAdapter { @Override - public void write(final JsonWriter jsonWriter, final HardwareEncodingType enumeration) throws IOException { + public void write(final JsonWriter jsonWriter, final ProcessPriorityClass enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override - public HardwareEncodingType read(final JsonReader jsonReader) throws IOException { + public ProcessPriorityClass read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); - return HardwareEncodingType.fromValue(value); + return ProcessPriorityClass.fromValue(value); } } public static void validateJsonElement(JsonElement jsonElement) throws IOException { String value = jsonElement.getAsString(); - HardwareEncodingType.fromValue(value); + ProcessPriorityClass.fromValue(value); } } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ProfileCondition.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ProfileCondition.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ProfileCondition.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ProfileCondition.java index 90233b1df37..292667ffd64 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ProfileCondition.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ProfileCondition.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * ProfileCondition */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ProfileCondition { public static final String SERIALIZED_NAME_CONDITION = "Condition"; @SerializedName(SERIALIZED_NAME_CONDITION) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ProfileConditionType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ProfileConditionType.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ProfileConditionType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ProfileConditionType.java index 73d4a2c8fc0..0b6c8513a66 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ProfileConditionType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ProfileConditionType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ProfileConditionValue.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ProfileConditionValue.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ProfileConditionValue.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ProfileConditionValue.java index 6dabc378953..96dc8f6eb3f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ProfileConditionValue.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ProfileConditionValue.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ProgramAudio.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ProgramAudio.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ProgramAudio.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ProgramAudio.java index bd6c7ed7831..8ea14502d1c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ProgramAudio.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ProgramAudio.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PublicSystemInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PublicSystemInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PublicSystemInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PublicSystemInfo.java index a44f3793961..cfda1715b61 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PublicSystemInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/PublicSystemInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * PublicSystemInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PublicSystemInfo { public static final String SERIALIZED_NAME_LOCAL_ADDRESS = "LocalAddress"; @SerializedName(SERIALIZED_NAME_LOCAL_ADDRESS) @@ -72,6 +72,7 @@ public class PublicSystemInfo { private String productName; public static final String SERIALIZED_NAME_OPERATING_SYSTEM = "OperatingSystem"; + @Deprecated @SerializedName(SERIALIZED_NAME_OPERATING_SYSTEM) @javax.annotation.Nullable private String operatingSystem; @@ -165,6 +166,7 @@ public class PublicSystemInfo { } + @Deprecated public PublicSystemInfo operatingSystem(@javax.annotation.Nullable String operatingSystem) { this.operatingSystem = operatingSystem; return this; @@ -173,12 +175,15 @@ public class PublicSystemInfo { /** * Gets or sets the operating system. * @return operatingSystem + * @deprecated */ + @Deprecated @javax.annotation.Nullable public String getOperatingSystem() { return operatingSystem; } + @Deprecated public void setOperatingSystem(@javax.annotation.Nullable String operatingSystem) { this.operatingSystem = operatingSystem; } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/QueryFilters.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/QueryFilters.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/QueryFilters.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/QueryFilters.java index 346657499a9..916fc946d2f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/QueryFilters.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/QueryFilters.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * QueryFilters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class QueryFilters { public static final String SERIALIZED_NAME_GENRES = "Genres"; @SerializedName(SERIALIZED_NAME_GENRES) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/QueryFiltersLegacy.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/QueryFiltersLegacy.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/QueryFiltersLegacy.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/QueryFiltersLegacy.java index 236f4120dc2..8207e2b101e 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/QueryFiltersLegacy.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/QueryFiltersLegacy.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * QueryFiltersLegacy */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class QueryFiltersLegacy { public static final String SERIALIZED_NAME_GENRES = "Genres"; @SerializedName(SERIALIZED_NAME_GENRES) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/QueueItem.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/QueueItem.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/QueueItem.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/QueueItem.java index fe2be8a6e5c..3e5239d785f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/QueueItem.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/QueueItem.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * QueueItem */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class QueueItem { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/QueueRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/QueueRequestDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/QueueRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/QueueRequestDto.java index 0fecae7666f..43510af6dce 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/QueueRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/QueueRequestDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * Class QueueRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class QueueRequestDto { public static final String SERIALIZED_NAME_ITEM_IDS = "ItemIds"; @SerializedName(SERIALIZED_NAME_ITEM_IDS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/QuickConnectDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/QuickConnectDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/QuickConnectDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/QuickConnectDto.java index 3ab066f11cb..6c482f96042 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/QuickConnectDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/QuickConnectDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * The quick connect request body. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class QuickConnectDto { public static final String SERIALIZED_NAME_SECRET = "Secret"; @SerializedName(SERIALIZED_NAME_SECRET) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/QuickConnectResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/QuickConnectResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/QuickConnectResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/QuickConnectResult.java index f0f79e277e7..e1b8ccf291f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/QuickConnectResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/QuickConnectResult.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Stores the state of an quick connect request. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class QuickConnectResult { public static final String SERIALIZED_NAME_AUTHENTICATED = "Authenticated"; @SerializedName(SERIALIZED_NAME_AUTHENTICATED) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RatingType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RatingType.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RatingType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RatingType.java index c2860041e55..68cc3f307ae 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RatingType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RatingType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReadyRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ReadyRequestDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReadyRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ReadyRequestDto.java index 13a044ad914..bb7d35023d5 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReadyRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ReadyRequestDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Class ReadyRequest. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ReadyRequestDto { public static final String SERIALIZED_NAME_WHEN = "When"; @SerializedName(SERIALIZED_NAME_WHEN) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RecommendationDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RecommendationDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RecommendationDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RecommendationDto.java index 51e073f68e1..b05772730a6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RecommendationDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RecommendationDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * RecommendationDto */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class RecommendationDto { public static final String SERIALIZED_NAME_ITEMS = "Items"; @SerializedName(SERIALIZED_NAME_ITEMS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RecommendationType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RecommendationType.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RecommendationType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RecommendationType.java index 7f4daaf4ebb..f72c0acd4a7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RecommendationType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RecommendationType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RecordingStatus.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RecordingStatus.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RecordingStatus.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RecordingStatus.java index afe4dfb0815..7015ca4f505 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RecordingStatus.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RecordingStatus.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RefreshProgressMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RefreshProgressMessage.java new file mode 100644 index 00000000000..746e032fa30 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RefreshProgressMessage.java @@ -0,0 +1,287 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; +import java.util.UUID; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Refresh progress message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class RefreshProgressMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private Map data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.REFRESH_PROGRESS; + + public RefreshProgressMessage() { + } + + public RefreshProgressMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public RefreshProgressMessage data(@javax.annotation.Nullable Map data) { + this.data = data; + return this; + } + + public RefreshProgressMessage putDataItem(String key, String dataItem) { + if (this.data == null) { + this.data = new HashMap<>(); + } + this.data.put(key, dataItem); + return this; + } + + /** + * Gets or sets the data. + * @return data + */ + @javax.annotation.Nullable + public Map getData() { + return data; + } + + public void setData(@javax.annotation.Nullable Map data) { + this.data = data; + } + + + public RefreshProgressMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RefreshProgressMessage refreshProgressMessage = (RefreshProgressMessage) o; + return Objects.equals(this.data, refreshProgressMessage.data) && + Objects.equals(this.messageId, refreshProgressMessage.messageId) && + Objects.equals(this.messageType, refreshProgressMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RefreshProgressMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to RefreshProgressMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!RefreshProgressMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in RefreshProgressMessage is not found in the empty JSON string", RefreshProgressMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!RefreshProgressMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `RefreshProgressMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!RefreshProgressMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'RefreshProgressMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(RefreshProgressMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, RefreshProgressMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public RefreshProgressMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of RefreshProgressMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of RefreshProgressMessage + * @throws IOException if the JSON string is invalid with respect to RefreshProgressMessage + */ + public static RefreshProgressMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, RefreshProgressMessage.class); + } + + /** + * Convert an instance of RefreshProgressMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RemoteImageInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RemoteImageInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RemoteImageInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RemoteImageInfo.java index 24bd57071b6..148f211ea1e 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RemoteImageInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RemoteImageInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class RemoteImageInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class RemoteImageInfo { public static final String SERIALIZED_NAME_PROVIDER_NAME = "ProviderName"; @SerializedName(SERIALIZED_NAME_PROVIDER_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RemoteImageResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RemoteImageResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RemoteImageResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RemoteImageResult.java index 0055556aaba..33737c51507 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RemoteImageResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RemoteImageResult.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * Class RemoteImageResult. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class RemoteImageResult { public static final String SERIALIZED_NAME_IMAGES = "Images"; @SerializedName(SERIALIZED_NAME_IMAGES) diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RemoteLyricInfoDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RemoteLyricInfoDto.java new file mode 100644 index 00000000000..5761b1f4f0c --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RemoteLyricInfoDto.java @@ -0,0 +1,268 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.openapitools.client.model.LyricDto; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * The remote lyric info dto. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class RemoteLyricInfoDto { + public static final String SERIALIZED_NAME_ID = "Id"; + @SerializedName(SERIALIZED_NAME_ID) + @javax.annotation.Nullable + private String id; + + public static final String SERIALIZED_NAME_PROVIDER_NAME = "ProviderName"; + @SerializedName(SERIALIZED_NAME_PROVIDER_NAME) + @javax.annotation.Nullable + private String providerName; + + public static final String SERIALIZED_NAME_LYRICS = "Lyrics"; + @SerializedName(SERIALIZED_NAME_LYRICS) + @javax.annotation.Nullable + private LyricDto lyrics; + + public RemoteLyricInfoDto() { + } + + public RemoteLyricInfoDto id(@javax.annotation.Nullable String id) { + this.id = id; + return this; + } + + /** + * Gets or sets the id for the lyric. + * @return id + */ + @javax.annotation.Nullable + public String getId() { + return id; + } + + public void setId(@javax.annotation.Nullable String id) { + this.id = id; + } + + + public RemoteLyricInfoDto providerName(@javax.annotation.Nullable String providerName) { + this.providerName = providerName; + return this; + } + + /** + * Gets the provider name. + * @return providerName + */ + @javax.annotation.Nullable + public String getProviderName() { + return providerName; + } + + public void setProviderName(@javax.annotation.Nullable String providerName) { + this.providerName = providerName; + } + + + public RemoteLyricInfoDto lyrics(@javax.annotation.Nullable LyricDto lyrics) { + this.lyrics = lyrics; + return this; + } + + /** + * Gets the lyrics. + * @return lyrics + */ + @javax.annotation.Nullable + public LyricDto getLyrics() { + return lyrics; + } + + public void setLyrics(@javax.annotation.Nullable LyricDto lyrics) { + this.lyrics = lyrics; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RemoteLyricInfoDto remoteLyricInfoDto = (RemoteLyricInfoDto) o; + return Objects.equals(this.id, remoteLyricInfoDto.id) && + Objects.equals(this.providerName, remoteLyricInfoDto.providerName) && + Objects.equals(this.lyrics, remoteLyricInfoDto.lyrics); + } + + @Override + public int hashCode() { + return Objects.hash(id, providerName, lyrics); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RemoteLyricInfoDto {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" providerName: ").append(toIndentedString(providerName)).append("\n"); + sb.append(" lyrics: ").append(toIndentedString(lyrics)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Id"); + openapiFields.add("ProviderName"); + openapiFields.add("Lyrics"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to RemoteLyricInfoDto + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!RemoteLyricInfoDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in RemoteLyricInfoDto is not found in the empty JSON string", RemoteLyricInfoDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!RemoteLyricInfoDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `RemoteLyricInfoDto` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("Id") != null && !jsonObj.get("Id").isJsonNull()) && !jsonObj.get("Id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Id").toString())); + } + if ((jsonObj.get("ProviderName") != null && !jsonObj.get("ProviderName").isJsonNull()) && !jsonObj.get("ProviderName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `ProviderName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ProviderName").toString())); + } + // validate the optional field `Lyrics` + if (jsonObj.get("Lyrics") != null && !jsonObj.get("Lyrics").isJsonNull()) { + LyricDto.validateJsonElement(jsonObj.get("Lyrics")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!RemoteLyricInfoDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'RemoteLyricInfoDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(RemoteLyricInfoDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, RemoteLyricInfoDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public RemoteLyricInfoDto read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of RemoteLyricInfoDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of RemoteLyricInfoDto + * @throws IOException if the JSON string is invalid with respect to RemoteLyricInfoDto + */ + public static RemoteLyricInfoDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, RemoteLyricInfoDto.class); + } + + /** + * Convert an instance of RemoteLyricInfoDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RemoteSearchResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RemoteSearchResult.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RemoteSearchResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RemoteSearchResult.java index 57218243357..10db9c35693 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RemoteSearchResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RemoteSearchResult.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * RemoteSearchResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class RemoteSearchResult { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RemoteSubtitleInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RemoteSubtitleInfo.java similarity index 79% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RemoteSubtitleInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RemoteSubtitleInfo.java index 16648ab9454..660252e9f2a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RemoteSubtitleInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RemoteSubtitleInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * RemoteSubtitleInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class RemoteSubtitleInfo { public static final String SERIALIZED_NAME_THREE_LETTER_I_S_O_LANGUAGE_NAME = "ThreeLetterISOLanguageName"; @SerializedName(SERIALIZED_NAME_THREE_LETTER_I_S_O_LANGUAGE_NAME) @@ -97,6 +97,11 @@ public class RemoteSubtitleInfo { @javax.annotation.Nullable private Float communityRating; + public static final String SERIALIZED_NAME_FRAME_RATE = "FrameRate"; + @SerializedName(SERIALIZED_NAME_FRAME_RATE) + @javax.annotation.Nullable + private Float frameRate; + public static final String SERIALIZED_NAME_DOWNLOAD_COUNT = "DownloadCount"; @SerializedName(SERIALIZED_NAME_DOWNLOAD_COUNT) @javax.annotation.Nullable @@ -107,6 +112,26 @@ public class RemoteSubtitleInfo { @javax.annotation.Nullable private Boolean isHashMatch; + public static final String SERIALIZED_NAME_AI_TRANSLATED = "AiTranslated"; + @SerializedName(SERIALIZED_NAME_AI_TRANSLATED) + @javax.annotation.Nullable + private Boolean aiTranslated; + + public static final String SERIALIZED_NAME_MACHINE_TRANSLATED = "MachineTranslated"; + @SerializedName(SERIALIZED_NAME_MACHINE_TRANSLATED) + @javax.annotation.Nullable + private Boolean machineTranslated; + + public static final String SERIALIZED_NAME_FORCED = "Forced"; + @SerializedName(SERIALIZED_NAME_FORCED) + @javax.annotation.Nullable + private Boolean forced; + + public static final String SERIALIZED_NAME_HEARING_IMPAIRED = "HearingImpaired"; + @SerializedName(SERIALIZED_NAME_HEARING_IMPAIRED) + @javax.annotation.Nullable + private Boolean hearingImpaired; + public RemoteSubtitleInfo() { } @@ -281,6 +306,25 @@ public class RemoteSubtitleInfo { } + public RemoteSubtitleInfo frameRate(@javax.annotation.Nullable Float frameRate) { + this.frameRate = frameRate; + return this; + } + + /** + * Get frameRate + * @return frameRate + */ + @javax.annotation.Nullable + public Float getFrameRate() { + return frameRate; + } + + public void setFrameRate(@javax.annotation.Nullable Float frameRate) { + this.frameRate = frameRate; + } + + public RemoteSubtitleInfo downloadCount(@javax.annotation.Nullable Integer downloadCount) { this.downloadCount = downloadCount; return this; @@ -319,6 +363,82 @@ public class RemoteSubtitleInfo { } + public RemoteSubtitleInfo aiTranslated(@javax.annotation.Nullable Boolean aiTranslated) { + this.aiTranslated = aiTranslated; + return this; + } + + /** + * Get aiTranslated + * @return aiTranslated + */ + @javax.annotation.Nullable + public Boolean getAiTranslated() { + return aiTranslated; + } + + public void setAiTranslated(@javax.annotation.Nullable Boolean aiTranslated) { + this.aiTranslated = aiTranslated; + } + + + public RemoteSubtitleInfo machineTranslated(@javax.annotation.Nullable Boolean machineTranslated) { + this.machineTranslated = machineTranslated; + return this; + } + + /** + * Get machineTranslated + * @return machineTranslated + */ + @javax.annotation.Nullable + public Boolean getMachineTranslated() { + return machineTranslated; + } + + public void setMachineTranslated(@javax.annotation.Nullable Boolean machineTranslated) { + this.machineTranslated = machineTranslated; + } + + + public RemoteSubtitleInfo forced(@javax.annotation.Nullable Boolean forced) { + this.forced = forced; + return this; + } + + /** + * Get forced + * @return forced + */ + @javax.annotation.Nullable + public Boolean getForced() { + return forced; + } + + public void setForced(@javax.annotation.Nullable Boolean forced) { + this.forced = forced; + } + + + public RemoteSubtitleInfo hearingImpaired(@javax.annotation.Nullable Boolean hearingImpaired) { + this.hearingImpaired = hearingImpaired; + return this; + } + + /** + * Get hearingImpaired + * @return hearingImpaired + */ + @javax.annotation.Nullable + public Boolean getHearingImpaired() { + return hearingImpaired; + } + + public void setHearingImpaired(@javax.annotation.Nullable Boolean hearingImpaired) { + this.hearingImpaired = hearingImpaired; + } + + @Override public boolean equals(Object o) { @@ -338,8 +458,13 @@ public class RemoteSubtitleInfo { Objects.equals(this.comment, remoteSubtitleInfo.comment) && Objects.equals(this.dateCreated, remoteSubtitleInfo.dateCreated) && Objects.equals(this.communityRating, remoteSubtitleInfo.communityRating) && + Objects.equals(this.frameRate, remoteSubtitleInfo.frameRate) && Objects.equals(this.downloadCount, remoteSubtitleInfo.downloadCount) && - Objects.equals(this.isHashMatch, remoteSubtitleInfo.isHashMatch); + Objects.equals(this.isHashMatch, remoteSubtitleInfo.isHashMatch) && + Objects.equals(this.aiTranslated, remoteSubtitleInfo.aiTranslated) && + Objects.equals(this.machineTranslated, remoteSubtitleInfo.machineTranslated) && + Objects.equals(this.forced, remoteSubtitleInfo.forced) && + Objects.equals(this.hearingImpaired, remoteSubtitleInfo.hearingImpaired); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -348,7 +473,7 @@ public class RemoteSubtitleInfo { @Override public int hashCode() { - return Objects.hash(threeLetterISOLanguageName, id, providerName, name, format, author, comment, dateCreated, communityRating, downloadCount, isHashMatch); + return Objects.hash(threeLetterISOLanguageName, id, providerName, name, format, author, comment, dateCreated, communityRating, frameRate, downloadCount, isHashMatch, aiTranslated, machineTranslated, forced, hearingImpaired); } private static int hashCodeNullable(JsonNullable a) { @@ -371,8 +496,13 @@ public class RemoteSubtitleInfo { sb.append(" comment: ").append(toIndentedString(comment)).append("\n"); sb.append(" dateCreated: ").append(toIndentedString(dateCreated)).append("\n"); sb.append(" communityRating: ").append(toIndentedString(communityRating)).append("\n"); + sb.append(" frameRate: ").append(toIndentedString(frameRate)).append("\n"); sb.append(" downloadCount: ").append(toIndentedString(downloadCount)).append("\n"); sb.append(" isHashMatch: ").append(toIndentedString(isHashMatch)).append("\n"); + sb.append(" aiTranslated: ").append(toIndentedString(aiTranslated)).append("\n"); + sb.append(" machineTranslated: ").append(toIndentedString(machineTranslated)).append("\n"); + sb.append(" forced: ").append(toIndentedString(forced)).append("\n"); + sb.append(" hearingImpaired: ").append(toIndentedString(hearingImpaired)).append("\n"); sb.append("}"); return sb.toString(); } @@ -404,8 +534,13 @@ public class RemoteSubtitleInfo { openapiFields.add("Comment"); openapiFields.add("DateCreated"); openapiFields.add("CommunityRating"); + openapiFields.add("FrameRate"); openapiFields.add("DownloadCount"); openapiFields.add("IsHashMatch"); + openapiFields.add("AiTranslated"); + openapiFields.add("MachineTranslated"); + openapiFields.add("Forced"); + openapiFields.add("HearingImpaired"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RemoveFromPlaylistRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RemoveFromPlaylistRequestDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RemoveFromPlaylistRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RemoveFromPlaylistRequestDto.java index 4ea8f4e8a8c..9ad17340d66 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RemoveFromPlaylistRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RemoveFromPlaylistRequestDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class RemoveFromPlaylistRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class RemoveFromPlaylistRequestDto { public static final String SERIALIZED_NAME_PLAYLIST_ITEM_IDS = "PlaylistItemIds"; @SerializedName(SERIALIZED_NAME_PLAYLIST_ITEM_IDS) @@ -85,7 +85,7 @@ public class RemoveFromPlaylistRequestDto { } /** - * Gets or sets the playlist identifiers ot the items. Ignored when clearing the playlist. + * Gets or sets the playlist identifiers of the items. Ignored when clearing the playlist. * @return playlistItemIds */ @javax.annotation.Nullable diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RepeatMode.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RepeatMode.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RepeatMode.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RepeatMode.java index ae1cf9033e6..3e023c3aa03 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RepeatMode.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RepeatMode.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RepositoryInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RepositoryInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RepositoryInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RepositoryInfo.java index f56975b2786..38c261c5503 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/RepositoryInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RepositoryInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class RepositoryInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class RepositoryInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RestartRequiredMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RestartRequiredMessage.java new file mode 100644 index 00000000000..f813df31915 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/RestartRequiredMessage.java @@ -0,0 +1,238 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.SessionMessageType; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Restart required. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class RestartRequiredMessage { + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.RESTART_REQUIRED; + + public RestartRequiredMessage() { + } + + public RestartRequiredMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public RestartRequiredMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RestartRequiredMessage restartRequiredMessage = (RestartRequiredMessage) o; + return Objects.equals(this.messageId, restartRequiredMessage.messageId) && + Objects.equals(this.messageType, restartRequiredMessage.messageType); + } + + @Override + public int hashCode() { + return Objects.hash(messageId, messageType); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RestartRequiredMessage {\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to RestartRequiredMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!RestartRequiredMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in RestartRequiredMessage is not found in the empty JSON string", RestartRequiredMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!RestartRequiredMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `RestartRequiredMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!RestartRequiredMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'RestartRequiredMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(RestartRequiredMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, RestartRequiredMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public RestartRequiredMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of RestartRequiredMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of RestartRequiredMessage + * @throws IOException if the JSON string is invalid with respect to RestartRequiredMessage + */ + public static RestartRequiredMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, RestartRequiredMessage.class); + } + + /** + * Convert an instance of RestartRequiredMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ScheduledTaskEndedMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ScheduledTaskEndedMessage.java new file mode 100644 index 00000000000..6d7182606e7 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ScheduledTaskEndedMessage.java @@ -0,0 +1,282 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.client.model.TaskResult; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Scheduled task ended message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class ScheduledTaskEndedMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private TaskResult data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.SCHEDULED_TASK_ENDED; + + public ScheduledTaskEndedMessage() { + } + + public ScheduledTaskEndedMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public ScheduledTaskEndedMessage data(@javax.annotation.Nullable TaskResult data) { + this.data = data; + return this; + } + + /** + * Class TaskExecutionInfo. + * @return data + */ + @javax.annotation.Nullable + public TaskResult getData() { + return data; + } + + public void setData(@javax.annotation.Nullable TaskResult data) { + this.data = data; + } + + + public ScheduledTaskEndedMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ScheduledTaskEndedMessage scheduledTaskEndedMessage = (ScheduledTaskEndedMessage) o; + return Objects.equals(this.data, scheduledTaskEndedMessage.data) && + Objects.equals(this.messageId, scheduledTaskEndedMessage.messageId) && + Objects.equals(this.messageType, scheduledTaskEndedMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ScheduledTaskEndedMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ScheduledTaskEndedMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!ScheduledTaskEndedMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ScheduledTaskEndedMessage is not found in the empty JSON string", ScheduledTaskEndedMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!ScheduledTaskEndedMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ScheduledTaskEndedMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + TaskResult.validateJsonElement(jsonObj.get("Data")); + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ScheduledTaskEndedMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ScheduledTaskEndedMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ScheduledTaskEndedMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ScheduledTaskEndedMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ScheduledTaskEndedMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ScheduledTaskEndedMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of ScheduledTaskEndedMessage + * @throws IOException if the JSON string is invalid with respect to ScheduledTaskEndedMessage + */ + public static ScheduledTaskEndedMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ScheduledTaskEndedMessage.class); + } + + /** + * Convert an instance of ScheduledTaskEndedMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ScheduledTasksInfoMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ScheduledTasksInfoMessage.java new file mode 100644 index 00000000000..d3dfe057a05 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ScheduledTasksInfoMessage.java @@ -0,0 +1,302 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.UUID; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.client.model.TaskInfo; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Scheduled tasks info message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class ScheduledTasksInfoMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private List data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.SCHEDULED_TASKS_INFO; + + public ScheduledTasksInfoMessage() { + } + + public ScheduledTasksInfoMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public ScheduledTasksInfoMessage data(@javax.annotation.Nullable List data) { + this.data = data; + return this; + } + + public ScheduledTasksInfoMessage addDataItem(TaskInfo dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * Gets or sets the data. + * @return data + */ + @javax.annotation.Nullable + public List getData() { + return data; + } + + public void setData(@javax.annotation.Nullable List data) { + this.data = data; + } + + + public ScheduledTasksInfoMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ScheduledTasksInfoMessage scheduledTasksInfoMessage = (ScheduledTasksInfoMessage) o; + return Objects.equals(this.data, scheduledTasksInfoMessage.data) && + Objects.equals(this.messageId, scheduledTasksInfoMessage.messageId) && + Objects.equals(this.messageType, scheduledTasksInfoMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ScheduledTasksInfoMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ScheduledTasksInfoMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!ScheduledTasksInfoMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ScheduledTasksInfoMessage is not found in the empty JSON string", ScheduledTasksInfoMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!ScheduledTasksInfoMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ScheduledTasksInfoMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + JsonArray jsonArraydata = jsonObj.getAsJsonArray("Data"); + if (jsonArraydata != null) { + // ensure the json data is an array + if (!jsonObj.get("Data").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `Data` to be an array in the JSON string but got `%s`", jsonObj.get("Data").toString())); + } + + // validate the optional field `Data` (array) + for (int i = 0; i < jsonArraydata.size(); i++) { + TaskInfo.validateJsonElement(jsonArraydata.get(i)); + }; + } + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ScheduledTasksInfoMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ScheduledTasksInfoMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ScheduledTasksInfoMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ScheduledTasksInfoMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ScheduledTasksInfoMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ScheduledTasksInfoMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of ScheduledTasksInfoMessage + * @throws IOException if the JSON string is invalid with respect to ScheduledTasksInfoMessage + */ + public static ScheduledTasksInfoMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ScheduledTasksInfoMessage.class); + } + + /** + * Convert an instance of ScheduledTasksInfoMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ScheduledTasksInfoStartMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ScheduledTasksInfoStartMessage.java new file mode 100644 index 00000000000..6dee9b44a50 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ScheduledTasksInfoStartMessage.java @@ -0,0 +1,249 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Scheduled tasks info start message. Data is the timing data encoded as \"$initialDelay,$interval\" in ms. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class ScheduledTasksInfoStartMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private String data; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.SCHEDULED_TASKS_INFO_START; + + public ScheduledTasksInfoStartMessage() { + } + + public ScheduledTasksInfoStartMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public ScheduledTasksInfoStartMessage data(@javax.annotation.Nullable String data) { + this.data = data; + return this; + } + + /** + * Gets or sets the data. + * @return data + */ + @javax.annotation.Nullable + public String getData() { + return data; + } + + public void setData(@javax.annotation.Nullable String data) { + this.data = data; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ScheduledTasksInfoStartMessage scheduledTasksInfoStartMessage = (ScheduledTasksInfoStartMessage) o; + return Objects.equals(this.data, scheduledTasksInfoStartMessage.data) && + Objects.equals(this.messageType, scheduledTasksInfoStartMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ScheduledTasksInfoStartMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ScheduledTasksInfoStartMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!ScheduledTasksInfoStartMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ScheduledTasksInfoStartMessage is not found in the empty JSON string", ScheduledTasksInfoStartMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!ScheduledTasksInfoStartMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ScheduledTasksInfoStartMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) && !jsonObj.get("Data").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Data` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Data").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ScheduledTasksInfoStartMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ScheduledTasksInfoStartMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ScheduledTasksInfoStartMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ScheduledTasksInfoStartMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ScheduledTasksInfoStartMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ScheduledTasksInfoStartMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of ScheduledTasksInfoStartMessage + * @throws IOException if the JSON string is invalid with respect to ScheduledTasksInfoStartMessage + */ + public static ScheduledTasksInfoStartMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ScheduledTasksInfoStartMessage.class); + } + + /** + * Convert an instance of ScheduledTasksInfoStartMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ScheduledTasksInfoStopMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ScheduledTasksInfoStopMessage.java new file mode 100644 index 00000000000..b53b22855c4 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ScheduledTasksInfoStopMessage.java @@ -0,0 +1,207 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.openapitools.client.model.SessionMessageType; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Scheduled tasks info stop message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class ScheduledTasksInfoStopMessage { + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.SCHEDULED_TASKS_INFO_STOP; + + public ScheduledTasksInfoStopMessage() { + } + + public ScheduledTasksInfoStopMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ScheduledTasksInfoStopMessage scheduledTasksInfoStopMessage = (ScheduledTasksInfoStopMessage) o; + return Objects.equals(this.messageType, scheduledTasksInfoStopMessage.messageType); + } + + @Override + public int hashCode() { + return Objects.hash(messageType); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ScheduledTasksInfoStopMessage {\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ScheduledTasksInfoStopMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!ScheduledTasksInfoStopMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ScheduledTasksInfoStopMessage is not found in the empty JSON string", ScheduledTasksInfoStopMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!ScheduledTasksInfoStopMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ScheduledTasksInfoStopMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ScheduledTasksInfoStopMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ScheduledTasksInfoStopMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ScheduledTasksInfoStopMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ScheduledTasksInfoStopMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ScheduledTasksInfoStopMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ScheduledTasksInfoStopMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of ScheduledTasksInfoStopMessage + * @throws IOException if the JSON string is invalid with respect to ScheduledTasksInfoStopMessage + */ + public static ScheduledTasksInfoStopMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ScheduledTasksInfoStopMessage.class); + } + + /** + * Convert an instance of ScheduledTasksInfoStopMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ScrollDirection.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ScrollDirection.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ScrollDirection.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ScrollDirection.java index 02df75c6146..0b47c90fcbe 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ScrollDirection.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ScrollDirection.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SearchHint.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SearchHint.java similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SearchHint.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SearchHint.java index 8d2e4d72f69..21ae37722b7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SearchHint.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SearchHint.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,6 +25,8 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.UUID; +import org.openapitools.client.model.BaseItemKind; +import org.openapitools.client.model.MediaType; import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; @@ -53,9 +55,10 @@ import org.openapitools.client.JSON; /** * Class SearchHintResult. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SearchHint { public static final String SERIALIZED_NAME_ITEM_ID = "ItemId"; + @Deprecated @SerializedName(SERIALIZED_NAME_ITEM_ID) @javax.annotation.Nullable private UUID itemId; @@ -118,7 +121,7 @@ public class SearchHint { public static final String SERIALIZED_NAME_TYPE = "Type"; @SerializedName(SERIALIZED_NAME_TYPE) @javax.annotation.Nullable - private String type; + private BaseItemKind type; public static final String SERIALIZED_NAME_IS_FOLDER = "IsFolder"; @SerializedName(SERIALIZED_NAME_IS_FOLDER) @@ -133,7 +136,7 @@ public class SearchHint { public static final String SERIALIZED_NAME_MEDIA_TYPE = "MediaType"; @SerializedName(SERIALIZED_NAME_MEDIA_TYPE) @javax.annotation.Nullable - private String mediaType; + private MediaType mediaType; public static final String SERIALIZED_NAME_START_DATE = "StartDate"; @SerializedName(SERIALIZED_NAME_START_DATE) @@ -173,7 +176,7 @@ public class SearchHint { public static final String SERIALIZED_NAME_ARTISTS = "Artists"; @SerializedName(SERIALIZED_NAME_ARTISTS) @javax.annotation.Nullable - private List artists; + private List artists = new ArrayList<>(); public static final String SERIALIZED_NAME_SONG_COUNT = "SongCount"; @SerializedName(SERIALIZED_NAME_SONG_COUNT) @@ -203,6 +206,7 @@ public class SearchHint { public SearchHint() { } + @Deprecated public SearchHint itemId(@javax.annotation.Nullable UUID itemId) { this.itemId = itemId; return this; @@ -211,12 +215,15 @@ public class SearchHint { /** * Gets or sets the item id. * @return itemId + * @deprecated */ + @Deprecated @javax.annotation.Nullable public UUID getItemId() { return itemId; } + @Deprecated public void setItemId(@javax.annotation.Nullable UUID itemId) { this.itemId = itemId; } @@ -228,7 +235,7 @@ public class SearchHint { } /** - * Get id + * Gets or sets the item id. * @return id */ @javax.annotation.Nullable @@ -431,21 +438,21 @@ public class SearchHint { } - public SearchHint type(@javax.annotation.Nullable String type) { + public SearchHint type(@javax.annotation.Nullable BaseItemKind type) { this.type = type; return this; } /** - * Gets or sets the type. + * The base item kind. * @return type */ @javax.annotation.Nullable - public String getType() { + public BaseItemKind getType() { return type; } - public void setType(@javax.annotation.Nullable String type) { + public void setType(@javax.annotation.Nullable BaseItemKind type) { this.type = type; } @@ -456,7 +463,7 @@ public class SearchHint { } /** - * Get isFolder + * Gets or sets a value indicating whether this instance is folder. * @return isFolder */ @javax.annotation.Nullable @@ -488,21 +495,21 @@ public class SearchHint { } - public SearchHint mediaType(@javax.annotation.Nullable String mediaType) { + public SearchHint mediaType(@javax.annotation.Nullable MediaType mediaType) { this.mediaType = mediaType; return this; } /** - * Gets or sets the type of the media. + * Media types. * @return mediaType */ @javax.annotation.Nullable - public String getMediaType() { + public MediaType getMediaType() { return mediaType; } - public void setMediaType(@javax.annotation.Nullable String mediaType) { + public void setMediaType(@javax.annotation.Nullable MediaType mediaType) { this.mediaType = mediaType; } @@ -513,7 +520,7 @@ public class SearchHint { } /** - * Get startDate + * Gets or sets the start date. * @return startDate */ @javax.annotation.Nullable @@ -532,7 +539,7 @@ public class SearchHint { } /** - * Get endDate + * Gets or sets the end date. * @return endDate */ @javax.annotation.Nullable @@ -570,7 +577,7 @@ public class SearchHint { } /** - * Get status + * Gets or sets the status. * @return status */ @javax.annotation.Nullable @@ -608,7 +615,7 @@ public class SearchHint { } /** - * Get albumId + * Gets or sets the album id. * @return albumId */ @javax.annotation.Nullable @@ -956,11 +963,13 @@ public class SearchHint { if ((jsonObj.get("BackdropImageItemId") != null && !jsonObj.get("BackdropImageItemId").isJsonNull()) && !jsonObj.get("BackdropImageItemId").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `BackdropImageItemId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("BackdropImageItemId").toString())); } - if ((jsonObj.get("Type") != null && !jsonObj.get("Type").isJsonNull()) && !jsonObj.get("Type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Type").toString())); + // validate the optional field `Type` + if (jsonObj.get("Type") != null && !jsonObj.get("Type").isJsonNull()) { + BaseItemKind.validateJsonElement(jsonObj.get("Type")); } - if ((jsonObj.get("MediaType") != null && !jsonObj.get("MediaType").isJsonNull()) && !jsonObj.get("MediaType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `MediaType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MediaType").toString())); + // validate the optional field `MediaType` + if (jsonObj.get("MediaType") != null && !jsonObj.get("MediaType").isJsonNull()) { + MediaType.validateJsonElement(jsonObj.get("MediaType")); } if ((jsonObj.get("Series") != null && !jsonObj.get("Series").isJsonNull()) && !jsonObj.get("Series").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `Series` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Series").toString())); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SearchHintResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SearchHintResult.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SearchHintResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SearchHintResult.java index 702dfa66419..5e21fb50630 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SearchHintResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SearchHintResult.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class SearchHintResult. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SearchHintResult { public static final String SERIALIZED_NAME_SEARCH_HINTS = "SearchHints"; @SerializedName(SERIALIZED_NAME_SEARCH_HINTS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SeekRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeekRequestDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SeekRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeekRequestDto.java index 4f08699016a..543618e8eec 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SeekRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeekRequestDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Class SeekRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SeekRequestDto { public static final String SERIALIZED_NAME_POSITION_TICKS = "PositionTicks"; @SerializedName(SERIALIZED_NAME_POSITION_TICKS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SendCommand.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SendCommand.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SendCommand.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SendCommand.java index 18c61296295..7ec2269a32f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SendCommand.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SendCommand.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * Class SendCommand. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SendCommand { public static final String SERIALIZED_NAME_GROUP_ID = "GroupId"; @SerializedName(SERIALIZED_NAME_GROUP_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SendCommandType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SendCommandType.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SendCommandType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SendCommandType.java index 71b2cdc71f6..d61cbd8d0be 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SendCommandType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SendCommandType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SeriesInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SeriesInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesInfo.java index b8f449c332a..3cfa1eabe4d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SeriesInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * SeriesInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SeriesInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SeriesInfoRemoteSearchQuery.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesInfoRemoteSearchQuery.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SeriesInfoRemoteSearchQuery.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesInfoRemoteSearchQuery.java index edba77a9cc8..322cbc0c158 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SeriesInfoRemoteSearchQuery.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesInfoRemoteSearchQuery.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * SeriesInfoRemoteSearchQuery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SeriesInfoRemoteSearchQuery { public static final String SERIALIZED_NAME_SEARCH_INFO = "SearchInfo"; @SerializedName(SERIALIZED_NAME_SEARCH_INFO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SeriesStatus.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesStatus.java similarity index 93% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SeriesStatus.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesStatus.java index 8b21194945c..64a7862e1dc 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SeriesStatus.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesStatus.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,14 +24,16 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; /** - * Enum SeriesStatus. + * The status of a series. */ @JsonAdapter(SeriesStatus.Adapter.class) public enum SeriesStatus { CONTINUING("Continuing"), - ENDED("Ended"); + ENDED("Ended"), + + UNRELEASED("Unreleased"); private String value; diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesTimerCancelledMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesTimerCancelledMessage.java new file mode 100644 index 00000000000..4b8dce3b4aa --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesTimerCancelledMessage.java @@ -0,0 +1,282 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.client.model.TimerEventInfo; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Series timer cancelled message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class SeriesTimerCancelledMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private TimerEventInfo data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.SERIES_TIMER_CANCELLED; + + public SeriesTimerCancelledMessage() { + } + + public SeriesTimerCancelledMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public SeriesTimerCancelledMessage data(@javax.annotation.Nullable TimerEventInfo data) { + this.data = data; + return this; + } + + /** + * Gets or sets the data. + * @return data + */ + @javax.annotation.Nullable + public TimerEventInfo getData() { + return data; + } + + public void setData(@javax.annotation.Nullable TimerEventInfo data) { + this.data = data; + } + + + public SeriesTimerCancelledMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SeriesTimerCancelledMessage seriesTimerCancelledMessage = (SeriesTimerCancelledMessage) o; + return Objects.equals(this.data, seriesTimerCancelledMessage.data) && + Objects.equals(this.messageId, seriesTimerCancelledMessage.messageId) && + Objects.equals(this.messageType, seriesTimerCancelledMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SeriesTimerCancelledMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to SeriesTimerCancelledMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!SeriesTimerCancelledMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SeriesTimerCancelledMessage is not found in the empty JSON string", SeriesTimerCancelledMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!SeriesTimerCancelledMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SeriesTimerCancelledMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + TimerEventInfo.validateJsonElement(jsonObj.get("Data")); + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SeriesTimerCancelledMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SeriesTimerCancelledMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SeriesTimerCancelledMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SeriesTimerCancelledMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SeriesTimerCancelledMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SeriesTimerCancelledMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of SeriesTimerCancelledMessage + * @throws IOException if the JSON string is invalid with respect to SeriesTimerCancelledMessage + */ + public static SeriesTimerCancelledMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SeriesTimerCancelledMessage.class); + } + + /** + * Convert an instance of SeriesTimerCancelledMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesTimerCreatedMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesTimerCreatedMessage.java new file mode 100644 index 00000000000..8509e913774 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesTimerCreatedMessage.java @@ -0,0 +1,282 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.client.model.TimerEventInfo; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Series timer created message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class SeriesTimerCreatedMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private TimerEventInfo data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.SERIES_TIMER_CREATED; + + public SeriesTimerCreatedMessage() { + } + + public SeriesTimerCreatedMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public SeriesTimerCreatedMessage data(@javax.annotation.Nullable TimerEventInfo data) { + this.data = data; + return this; + } + + /** + * Gets or sets the data. + * @return data + */ + @javax.annotation.Nullable + public TimerEventInfo getData() { + return data; + } + + public void setData(@javax.annotation.Nullable TimerEventInfo data) { + this.data = data; + } + + + public SeriesTimerCreatedMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SeriesTimerCreatedMessage seriesTimerCreatedMessage = (SeriesTimerCreatedMessage) o; + return Objects.equals(this.data, seriesTimerCreatedMessage.data) && + Objects.equals(this.messageId, seriesTimerCreatedMessage.messageId) && + Objects.equals(this.messageType, seriesTimerCreatedMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SeriesTimerCreatedMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to SeriesTimerCreatedMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!SeriesTimerCreatedMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SeriesTimerCreatedMessage is not found in the empty JSON string", SeriesTimerCreatedMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!SeriesTimerCreatedMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SeriesTimerCreatedMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + TimerEventInfo.validateJsonElement(jsonObj.get("Data")); + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SeriesTimerCreatedMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SeriesTimerCreatedMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SeriesTimerCreatedMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SeriesTimerCreatedMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SeriesTimerCreatedMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SeriesTimerCreatedMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of SeriesTimerCreatedMessage + * @throws IOException if the JSON string is invalid with respect to SeriesTimerCreatedMessage + */ + public static SeriesTimerCreatedMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SeriesTimerCreatedMessage.class); + } + + /** + * Convert an instance of SeriesTimerCreatedMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SeriesTimerInfoDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesTimerInfoDto.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SeriesTimerInfoDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesTimerInfoDto.java index 0076f2dee0e..66497e3d597 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SeriesTimerInfoDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesTimerInfoDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -58,7 +58,7 @@ import org.openapitools.client.JSON; /** * Class SeriesTimerInfoDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SeriesTimerInfoDto { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SeriesTimerInfoDtoQueryResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesTimerInfoDtoQueryResult.java similarity index 93% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SeriesTimerInfoDtoQueryResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesTimerInfoDtoQueryResult.java index 87a4dcda2fb..c2927fb23e8 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SeriesTimerInfoDtoQueryResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SeriesTimerInfoDtoQueryResult.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,7 +24,6 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.openapitools.client.model.SeriesTimerInfoDto; -import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -50,14 +49,14 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * SeriesTimerInfoDtoQueryResult + * Query result container. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SeriesTimerInfoDtoQueryResult { public static final String SERIALIZED_NAME_ITEMS = "Items"; @SerializedName(SERIALIZED_NAME_ITEMS) @javax.annotation.Nullable - private List items; + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_TOTAL_RECORD_COUNT = "TotalRecordCount"; @SerializedName(SERIALIZED_NAME_TOTAL_RECORD_COUNT) @@ -152,22 +151,11 @@ public class SeriesTimerInfoDtoQueryResult { Objects.equals(this.startIndex, seriesTimerInfoDtoQueryResult.startIndex); } - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - @Override public int hashCode() { return Objects.hash(items, totalRecordCount, startIndex); } - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - @Override public String toString() { StringBuilder sb = new StringBuilder(); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ServerConfiguration.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ServerConfiguration.java similarity index 86% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ServerConfiguration.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ServerConfiguration.java index 21f20fc0cd6..9284d21c4b0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ServerConfiguration.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ServerConfiguration.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,11 +23,14 @@ import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; +import org.openapitools.client.model.CastReceiverApplication; +import org.openapitools.client.model.ImageResolution; import org.openapitools.client.model.ImageSavingConvention; import org.openapitools.client.model.MetadataOptions; import org.openapitools.client.model.NameValuePair; import org.openapitools.client.model.PathSubstitution; import org.openapitools.client.model.RepositoryInfo; +import org.openapitools.client.model.TrickplayOptions; import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; @@ -56,7 +59,7 @@ import org.openapitools.client.JSON; /** * Represents the server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ServerConfiguration { public static final String SERIALIZED_NAME_LOG_FILE_RETENTION_DAYS = "LogFileRetentionDays"; @SerializedName(SERIALIZED_NAME_LOG_FILE_RETENTION_DAYS) @@ -118,11 +121,6 @@ public class ServerConfiguration { @javax.annotation.Nullable private String metadataPath; - public static final String SERIALIZED_NAME_METADATA_NETWORK_PATH = "MetadataNetworkPath"; - @SerializedName(SERIALIZED_NAME_METADATA_NETWORK_PATH) - @javax.annotation.Nullable - private String metadataNetworkPath; - public static final String SERIALIZED_NAME_PREFERRED_METADATA_LANGUAGE = "PreferredMetadataLanguage"; @SerializedName(SERIALIZED_NAME_PREFERRED_METADATA_LANGUAGE) @javax.annotation.Nullable @@ -173,11 +171,21 @@ public class ServerConfiguration { @javax.annotation.Nullable private Integer maxAudiobookResume; + public static final String SERIALIZED_NAME_INACTIVE_SESSION_THRESHOLD = "InactiveSessionThreshold"; + @SerializedName(SERIALIZED_NAME_INACTIVE_SESSION_THRESHOLD) + @javax.annotation.Nullable + private Integer inactiveSessionThreshold; + public static final String SERIALIZED_NAME_LIBRARY_MONITOR_DELAY = "LibraryMonitorDelay"; @SerializedName(SERIALIZED_NAME_LIBRARY_MONITOR_DELAY) @javax.annotation.Nullable private Integer libraryMonitorDelay; + public static final String SERIALIZED_NAME_LIBRARY_UPDATE_DURATION = "LibraryUpdateDuration"; + @SerializedName(SERIALIZED_NAME_LIBRARY_UPDATE_DURATION) + @javax.annotation.Nullable + private Integer libraryUpdateDuration; + public static final String SERIALIZED_NAME_IMAGE_SAVING_CONVENTION = "ImageSavingConvention"; @SerializedName(SERIALIZED_NAME_IMAGE_SAVING_CONVENTION) @javax.annotation.Nullable @@ -298,6 +306,31 @@ public class ServerConfiguration { @javax.annotation.Nullable private Boolean allowClientLogUpload; + public static final String SERIALIZED_NAME_DUMMY_CHAPTER_DURATION = "DummyChapterDuration"; + @SerializedName(SERIALIZED_NAME_DUMMY_CHAPTER_DURATION) + @javax.annotation.Nullable + private Integer dummyChapterDuration; + + public static final String SERIALIZED_NAME_CHAPTER_IMAGE_RESOLUTION = "ChapterImageResolution"; + @SerializedName(SERIALIZED_NAME_CHAPTER_IMAGE_RESOLUTION) + @javax.annotation.Nullable + private ImageResolution chapterImageResolution; + + public static final String SERIALIZED_NAME_PARALLEL_IMAGE_ENCODING_LIMIT = "ParallelImageEncodingLimit"; + @SerializedName(SERIALIZED_NAME_PARALLEL_IMAGE_ENCODING_LIMIT) + @javax.annotation.Nullable + private Integer parallelImageEncodingLimit; + + public static final String SERIALIZED_NAME_CAST_RECEIVER_APPLICATIONS = "CastReceiverApplications"; + @SerializedName(SERIALIZED_NAME_CAST_RECEIVER_APPLICATIONS) + @javax.annotation.Nullable + private List castReceiverApplications = new ArrayList<>(); + + public static final String SERIALIZED_NAME_TRICKPLAY_OPTIONS = "TrickplayOptions"; + @SerializedName(SERIALIZED_NAME_TRICKPLAY_OPTIONS) + @javax.annotation.Nullable + private TrickplayOptions trickplayOptions; + public ServerConfiguration() { } @@ -529,25 +562,6 @@ public class ServerConfiguration { } - public ServerConfiguration metadataNetworkPath(@javax.annotation.Nullable String metadataNetworkPath) { - this.metadataNetworkPath = metadataNetworkPath; - return this; - } - - /** - * Get metadataNetworkPath - * @return metadataNetworkPath - */ - @javax.annotation.Nullable - public String getMetadataNetworkPath() { - return metadataNetworkPath; - } - - public void setMetadataNetworkPath(@javax.annotation.Nullable String metadataNetworkPath) { - this.metadataNetworkPath = metadataNetworkPath; - } - - public ServerConfiguration preferredMetadataLanguage(@javax.annotation.Nullable String preferredMetadataLanguage) { this.preferredMetadataLanguage = preferredMetadataLanguage; return this; @@ -762,6 +776,25 @@ public class ServerConfiguration { } + public ServerConfiguration inactiveSessionThreshold(@javax.annotation.Nullable Integer inactiveSessionThreshold) { + this.inactiveSessionThreshold = inactiveSessionThreshold; + return this; + } + + /** + * Gets or sets the threshold in minutes after a inactive session gets closed automatically. If set to 0 the check for inactive sessions gets disabled. + * @return inactiveSessionThreshold + */ + @javax.annotation.Nullable + public Integer getInactiveSessionThreshold() { + return inactiveSessionThreshold; + } + + public void setInactiveSessionThreshold(@javax.annotation.Nullable Integer inactiveSessionThreshold) { + this.inactiveSessionThreshold = inactiveSessionThreshold; + } + + public ServerConfiguration libraryMonitorDelay(@javax.annotation.Nullable Integer libraryMonitorDelay) { this.libraryMonitorDelay = libraryMonitorDelay; return this; @@ -781,6 +814,25 @@ public class ServerConfiguration { } + public ServerConfiguration libraryUpdateDuration(@javax.annotation.Nullable Integer libraryUpdateDuration) { + this.libraryUpdateDuration = libraryUpdateDuration; + return this; + } + + /** + * Gets or sets the duration in seconds that we will wait after a library updated event before executing the library changed notification. + * @return libraryUpdateDuration + */ + @javax.annotation.Nullable + public Integer getLibraryUpdateDuration() { + return libraryUpdateDuration; + } + + public void setLibraryUpdateDuration(@javax.annotation.Nullable Integer libraryUpdateDuration) { + this.libraryUpdateDuration = libraryUpdateDuration; + } + + public ServerConfiguration imageSavingConvention(@javax.annotation.Nullable ImageSavingConvention imageSavingConvention) { this.imageSavingConvention = imageSavingConvention; return this; @@ -1285,6 +1337,109 @@ public class ServerConfiguration { } + public ServerConfiguration dummyChapterDuration(@javax.annotation.Nullable Integer dummyChapterDuration) { + this.dummyChapterDuration = dummyChapterDuration; + return this; + } + + /** + * Gets or sets the dummy chapter duration in seconds, use 0 (zero) or less to disable generation alltogether. + * @return dummyChapterDuration + */ + @javax.annotation.Nullable + public Integer getDummyChapterDuration() { + return dummyChapterDuration; + } + + public void setDummyChapterDuration(@javax.annotation.Nullable Integer dummyChapterDuration) { + this.dummyChapterDuration = dummyChapterDuration; + } + + + public ServerConfiguration chapterImageResolution(@javax.annotation.Nullable ImageResolution chapterImageResolution) { + this.chapterImageResolution = chapterImageResolution; + return this; + } + + /** + * Gets or sets the chapter image resolution. + * @return chapterImageResolution + */ + @javax.annotation.Nullable + public ImageResolution getChapterImageResolution() { + return chapterImageResolution; + } + + public void setChapterImageResolution(@javax.annotation.Nullable ImageResolution chapterImageResolution) { + this.chapterImageResolution = chapterImageResolution; + } + + + public ServerConfiguration parallelImageEncodingLimit(@javax.annotation.Nullable Integer parallelImageEncodingLimit) { + this.parallelImageEncodingLimit = parallelImageEncodingLimit; + return this; + } + + /** + * Gets or sets the limit for parallel image encoding. + * @return parallelImageEncodingLimit + */ + @javax.annotation.Nullable + public Integer getParallelImageEncodingLimit() { + return parallelImageEncodingLimit; + } + + public void setParallelImageEncodingLimit(@javax.annotation.Nullable Integer parallelImageEncodingLimit) { + this.parallelImageEncodingLimit = parallelImageEncodingLimit; + } + + + public ServerConfiguration castReceiverApplications(@javax.annotation.Nullable List castReceiverApplications) { + this.castReceiverApplications = castReceiverApplications; + return this; + } + + public ServerConfiguration addCastReceiverApplicationsItem(CastReceiverApplication castReceiverApplicationsItem) { + if (this.castReceiverApplications == null) { + this.castReceiverApplications = new ArrayList<>(); + } + this.castReceiverApplications.add(castReceiverApplicationsItem); + return this; + } + + /** + * Gets or sets the list of cast receiver applications. + * @return castReceiverApplications + */ + @javax.annotation.Nullable + public List getCastReceiverApplications() { + return castReceiverApplications; + } + + public void setCastReceiverApplications(@javax.annotation.Nullable List castReceiverApplications) { + this.castReceiverApplications = castReceiverApplications; + } + + + public ServerConfiguration trickplayOptions(@javax.annotation.Nullable TrickplayOptions trickplayOptions) { + this.trickplayOptions = trickplayOptions; + return this; + } + + /** + * Gets or sets the trickplay options. + * @return trickplayOptions + */ + @javax.annotation.Nullable + public TrickplayOptions getTrickplayOptions() { + return trickplayOptions; + } + + public void setTrickplayOptions(@javax.annotation.Nullable TrickplayOptions trickplayOptions) { + this.trickplayOptions = trickplayOptions; + } + + @Override public boolean equals(Object o) { @@ -1307,7 +1462,6 @@ public class ServerConfiguration { Objects.equals(this.enableCaseSensitiveItemIds, serverConfiguration.enableCaseSensitiveItemIds) && Objects.equals(this.disableLiveTvChannelUserDataName, serverConfiguration.disableLiveTvChannelUserDataName) && Objects.equals(this.metadataPath, serverConfiguration.metadataPath) && - Objects.equals(this.metadataNetworkPath, serverConfiguration.metadataNetworkPath) && Objects.equals(this.preferredMetadataLanguage, serverConfiguration.preferredMetadataLanguage) && Objects.equals(this.metadataCountryCode, serverConfiguration.metadataCountryCode) && Objects.equals(this.sortReplaceCharacters, serverConfiguration.sortReplaceCharacters) && @@ -1318,7 +1472,9 @@ public class ServerConfiguration { Objects.equals(this.minResumeDurationSeconds, serverConfiguration.minResumeDurationSeconds) && Objects.equals(this.minAudiobookResume, serverConfiguration.minAudiobookResume) && Objects.equals(this.maxAudiobookResume, serverConfiguration.maxAudiobookResume) && + Objects.equals(this.inactiveSessionThreshold, serverConfiguration.inactiveSessionThreshold) && Objects.equals(this.libraryMonitorDelay, serverConfiguration.libraryMonitorDelay) && + Objects.equals(this.libraryUpdateDuration, serverConfiguration.libraryUpdateDuration) && Objects.equals(this.imageSavingConvention, serverConfiguration.imageSavingConvention) && Objects.equals(this.metadataOptions, serverConfiguration.metadataOptions) && Objects.equals(this.skipDeserializationForBasicTypes, serverConfiguration.skipDeserializationForBasicTypes) && @@ -1342,7 +1498,12 @@ public class ServerConfiguration { Objects.equals(this.libraryScanFanoutConcurrency, serverConfiguration.libraryScanFanoutConcurrency) && Objects.equals(this.libraryMetadataRefreshConcurrency, serverConfiguration.libraryMetadataRefreshConcurrency) && Objects.equals(this.removeOldPlugins, serverConfiguration.removeOldPlugins) && - Objects.equals(this.allowClientLogUpload, serverConfiguration.allowClientLogUpload); + Objects.equals(this.allowClientLogUpload, serverConfiguration.allowClientLogUpload) && + Objects.equals(this.dummyChapterDuration, serverConfiguration.dummyChapterDuration) && + Objects.equals(this.chapterImageResolution, serverConfiguration.chapterImageResolution) && + Objects.equals(this.parallelImageEncodingLimit, serverConfiguration.parallelImageEncodingLimit) && + Objects.equals(this.castReceiverApplications, serverConfiguration.castReceiverApplications) && + Objects.equals(this.trickplayOptions, serverConfiguration.trickplayOptions); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -1351,7 +1512,7 @@ public class ServerConfiguration { @Override public int hashCode() { - return Objects.hash(logFileRetentionDays, isStartupWizardCompleted, cachePath, previousVersion, previousVersionStr, enableMetrics, enableNormalizedItemByNameIds, isPortAuthorized, quickConnectAvailable, enableCaseSensitiveItemIds, disableLiveTvChannelUserDataName, metadataPath, metadataNetworkPath, preferredMetadataLanguage, metadataCountryCode, sortReplaceCharacters, sortRemoveCharacters, sortRemoveWords, minResumePct, maxResumePct, minResumeDurationSeconds, minAudiobookResume, maxAudiobookResume, libraryMonitorDelay, imageSavingConvention, metadataOptions, skipDeserializationForBasicTypes, serverName, uiCulture, saveMetadataHidden, contentTypes, remoteClientBitrateLimit, enableFolderView, enableGroupingIntoCollections, displaySpecialsWithinSeasons, codecsUsed, pluginRepositories, enableExternalContentInSuggestions, imageExtractionTimeoutMs, pathSubstitutions, enableSlowResponseWarning, slowResponseThresholdMs, corsHosts, activityLogRetentionDays, libraryScanFanoutConcurrency, libraryMetadataRefreshConcurrency, removeOldPlugins, allowClientLogUpload); + return Objects.hash(logFileRetentionDays, isStartupWizardCompleted, cachePath, previousVersion, previousVersionStr, enableMetrics, enableNormalizedItemByNameIds, isPortAuthorized, quickConnectAvailable, enableCaseSensitiveItemIds, disableLiveTvChannelUserDataName, metadataPath, preferredMetadataLanguage, metadataCountryCode, sortReplaceCharacters, sortRemoveCharacters, sortRemoveWords, minResumePct, maxResumePct, minResumeDurationSeconds, minAudiobookResume, maxAudiobookResume, inactiveSessionThreshold, libraryMonitorDelay, libraryUpdateDuration, imageSavingConvention, metadataOptions, skipDeserializationForBasicTypes, serverName, uiCulture, saveMetadataHidden, contentTypes, remoteClientBitrateLimit, enableFolderView, enableGroupingIntoCollections, displaySpecialsWithinSeasons, codecsUsed, pluginRepositories, enableExternalContentInSuggestions, imageExtractionTimeoutMs, pathSubstitutions, enableSlowResponseWarning, slowResponseThresholdMs, corsHosts, activityLogRetentionDays, libraryScanFanoutConcurrency, libraryMetadataRefreshConcurrency, removeOldPlugins, allowClientLogUpload, dummyChapterDuration, chapterImageResolution, parallelImageEncodingLimit, castReceiverApplications, trickplayOptions); } private static int hashCodeNullable(JsonNullable a) { @@ -1377,7 +1538,6 @@ public class ServerConfiguration { sb.append(" enableCaseSensitiveItemIds: ").append(toIndentedString(enableCaseSensitiveItemIds)).append("\n"); sb.append(" disableLiveTvChannelUserDataName: ").append(toIndentedString(disableLiveTvChannelUserDataName)).append("\n"); sb.append(" metadataPath: ").append(toIndentedString(metadataPath)).append("\n"); - sb.append(" metadataNetworkPath: ").append(toIndentedString(metadataNetworkPath)).append("\n"); sb.append(" preferredMetadataLanguage: ").append(toIndentedString(preferredMetadataLanguage)).append("\n"); sb.append(" metadataCountryCode: ").append(toIndentedString(metadataCountryCode)).append("\n"); sb.append(" sortReplaceCharacters: ").append(toIndentedString(sortReplaceCharacters)).append("\n"); @@ -1388,7 +1548,9 @@ public class ServerConfiguration { sb.append(" minResumeDurationSeconds: ").append(toIndentedString(minResumeDurationSeconds)).append("\n"); sb.append(" minAudiobookResume: ").append(toIndentedString(minAudiobookResume)).append("\n"); sb.append(" maxAudiobookResume: ").append(toIndentedString(maxAudiobookResume)).append("\n"); + sb.append(" inactiveSessionThreshold: ").append(toIndentedString(inactiveSessionThreshold)).append("\n"); sb.append(" libraryMonitorDelay: ").append(toIndentedString(libraryMonitorDelay)).append("\n"); + sb.append(" libraryUpdateDuration: ").append(toIndentedString(libraryUpdateDuration)).append("\n"); sb.append(" imageSavingConvention: ").append(toIndentedString(imageSavingConvention)).append("\n"); sb.append(" metadataOptions: ").append(toIndentedString(metadataOptions)).append("\n"); sb.append(" skipDeserializationForBasicTypes: ").append(toIndentedString(skipDeserializationForBasicTypes)).append("\n"); @@ -1413,6 +1575,11 @@ public class ServerConfiguration { sb.append(" libraryMetadataRefreshConcurrency: ").append(toIndentedString(libraryMetadataRefreshConcurrency)).append("\n"); sb.append(" removeOldPlugins: ").append(toIndentedString(removeOldPlugins)).append("\n"); sb.append(" allowClientLogUpload: ").append(toIndentedString(allowClientLogUpload)).append("\n"); + sb.append(" dummyChapterDuration: ").append(toIndentedString(dummyChapterDuration)).append("\n"); + sb.append(" chapterImageResolution: ").append(toIndentedString(chapterImageResolution)).append("\n"); + sb.append(" parallelImageEncodingLimit: ").append(toIndentedString(parallelImageEncodingLimit)).append("\n"); + sb.append(" castReceiverApplications: ").append(toIndentedString(castReceiverApplications)).append("\n"); + sb.append(" trickplayOptions: ").append(toIndentedString(trickplayOptions)).append("\n"); sb.append("}"); return sb.toString(); } @@ -1447,7 +1614,6 @@ public class ServerConfiguration { openapiFields.add("EnableCaseSensitiveItemIds"); openapiFields.add("DisableLiveTvChannelUserDataName"); openapiFields.add("MetadataPath"); - openapiFields.add("MetadataNetworkPath"); openapiFields.add("PreferredMetadataLanguage"); openapiFields.add("MetadataCountryCode"); openapiFields.add("SortReplaceCharacters"); @@ -1458,7 +1624,9 @@ public class ServerConfiguration { openapiFields.add("MinResumeDurationSeconds"); openapiFields.add("MinAudiobookResume"); openapiFields.add("MaxAudiobookResume"); + openapiFields.add("InactiveSessionThreshold"); openapiFields.add("LibraryMonitorDelay"); + openapiFields.add("LibraryUpdateDuration"); openapiFields.add("ImageSavingConvention"); openapiFields.add("MetadataOptions"); openapiFields.add("SkipDeserializationForBasicTypes"); @@ -1483,6 +1651,11 @@ public class ServerConfiguration { openapiFields.add("LibraryMetadataRefreshConcurrency"); openapiFields.add("RemoveOldPlugins"); openapiFields.add("AllowClientLogUpload"); + openapiFields.add("DummyChapterDuration"); + openapiFields.add("ChapterImageResolution"); + openapiFields.add("ParallelImageEncodingLimit"); + openapiFields.add("CastReceiverApplications"); + openapiFields.add("TrickplayOptions"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -1521,9 +1694,6 @@ public class ServerConfiguration { if ((jsonObj.get("MetadataPath") != null && !jsonObj.get("MetadataPath").isJsonNull()) && !jsonObj.get("MetadataPath").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `MetadataPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MetadataPath").toString())); } - if ((jsonObj.get("MetadataNetworkPath") != null && !jsonObj.get("MetadataNetworkPath").isJsonNull()) && !jsonObj.get("MetadataNetworkPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `MetadataNetworkPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MetadataNetworkPath").toString())); - } if ((jsonObj.get("PreferredMetadataLanguage") != null && !jsonObj.get("PreferredMetadataLanguage").isJsonNull()) && !jsonObj.get("PreferredMetadataLanguage").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `PreferredMetadataLanguage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("PreferredMetadataLanguage").toString())); } @@ -1616,6 +1786,28 @@ public class ServerConfiguration { if (jsonObj.get("CorsHosts") != null && !jsonObj.get("CorsHosts").isJsonNull() && !jsonObj.get("CorsHosts").isJsonArray()) { throw new IllegalArgumentException(String.format("Expected the field `CorsHosts` to be an array in the JSON string but got `%s`", jsonObj.get("CorsHosts").toString())); } + // validate the optional field `ChapterImageResolution` + if (jsonObj.get("ChapterImageResolution") != null && !jsonObj.get("ChapterImageResolution").isJsonNull()) { + ImageResolution.validateJsonElement(jsonObj.get("ChapterImageResolution")); + } + if (jsonObj.get("CastReceiverApplications") != null && !jsonObj.get("CastReceiverApplications").isJsonNull()) { + JsonArray jsonArraycastReceiverApplications = jsonObj.getAsJsonArray("CastReceiverApplications"); + if (jsonArraycastReceiverApplications != null) { + // ensure the json data is an array + if (!jsonObj.get("CastReceiverApplications").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `CastReceiverApplications` to be an array in the JSON string but got `%s`", jsonObj.get("CastReceiverApplications").toString())); + } + + // validate the optional field `CastReceiverApplications` (array) + for (int i = 0; i < jsonArraycastReceiverApplications.size(); i++) { + CastReceiverApplication.validateJsonElement(jsonArraycastReceiverApplications.get(i)); + }; + } + } + // validate the optional field `TrickplayOptions` + if (jsonObj.get("TrickplayOptions") != null && !jsonObj.get("TrickplayOptions").isJsonNull()) { + TrickplayOptions.validateJsonElement(jsonObj.get("TrickplayOptions")); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ServerDiscoveryInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ServerDiscoveryInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ServerDiscoveryInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ServerDiscoveryInfo.java index d0303158eab..dd997c93f58 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ServerDiscoveryInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ServerDiscoveryInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * The server discovery info model. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ServerDiscoveryInfo { public static final String SERIALIZED_NAME_ADDRESS = "Address"; @SerializedName(SERIALIZED_NAME_ADDRESS) diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ServerRestartingMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ServerRestartingMessage.java new file mode 100644 index 00000000000..c9f409ab5b1 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ServerRestartingMessage.java @@ -0,0 +1,238 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.SessionMessageType; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Server restarting down message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class ServerRestartingMessage { + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.SERVER_RESTARTING; + + public ServerRestartingMessage() { + } + + public ServerRestartingMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public ServerRestartingMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ServerRestartingMessage serverRestartingMessage = (ServerRestartingMessage) o; + return Objects.equals(this.messageId, serverRestartingMessage.messageId) && + Objects.equals(this.messageType, serverRestartingMessage.messageType); + } + + @Override + public int hashCode() { + return Objects.hash(messageId, messageType); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ServerRestartingMessage {\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ServerRestartingMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!ServerRestartingMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ServerRestartingMessage is not found in the empty JSON string", ServerRestartingMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!ServerRestartingMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ServerRestartingMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ServerRestartingMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ServerRestartingMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ServerRestartingMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ServerRestartingMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ServerRestartingMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ServerRestartingMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of ServerRestartingMessage + * @throws IOException if the JSON string is invalid with respect to ServerRestartingMessage + */ + public static ServerRestartingMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ServerRestartingMessage.class); + } + + /** + * Convert an instance of ServerRestartingMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ServerShuttingDownMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ServerShuttingDownMessage.java new file mode 100644 index 00000000000..2d01ec77b5b --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ServerShuttingDownMessage.java @@ -0,0 +1,238 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.SessionMessageType; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Server shutting down message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class ServerShuttingDownMessage { + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.SERVER_SHUTTING_DOWN; + + public ServerShuttingDownMessage() { + } + + public ServerShuttingDownMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public ServerShuttingDownMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ServerShuttingDownMessage serverShuttingDownMessage = (ServerShuttingDownMessage) o; + return Objects.equals(this.messageId, serverShuttingDownMessage.messageId) && + Objects.equals(this.messageType, serverShuttingDownMessage.messageType); + } + + @Override + public int hashCode() { + return Objects.hash(messageId, messageType); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ServerShuttingDownMessage {\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ServerShuttingDownMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!ServerShuttingDownMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ServerShuttingDownMessage is not found in the empty JSON string", ServerShuttingDownMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!ServerShuttingDownMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ServerShuttingDownMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ServerShuttingDownMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ServerShuttingDownMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ServerShuttingDownMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ServerShuttingDownMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ServerShuttingDownMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ServerShuttingDownMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of ServerShuttingDownMessage + * @throws IOException if the JSON string is invalid with respect to ServerShuttingDownMessage + */ + public static ServerShuttingDownMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ServerShuttingDownMessage.class); + } + + /** + * Convert an instance of ServerShuttingDownMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SessionInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SessionInfoDto.java similarity index 75% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SessionInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SessionInfoDto.java index a0743b71639..2c4cd89362a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SessionInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SessionInfoDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,10 +25,10 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.UUID; -import org.openapitools.client.model.BaseItem; import org.openapitools.client.model.BaseItemDto; -import org.openapitools.client.model.ClientCapabilities; +import org.openapitools.client.model.ClientCapabilitiesDto; import org.openapitools.client.model.GeneralCommandType; +import org.openapitools.client.model.MediaType; import org.openapitools.client.model.PlayerStateInfo; import org.openapitools.client.model.QueueItem; import org.openapitools.client.model.SessionUserInfo; @@ -59,10 +59,10 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * Class SessionInfo. + * Session info DTO. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class SessionInfo { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class SessionInfoDto { public static final String SERIALIZED_NAME_PLAY_STATE = "PlayState"; @SerializedName(SERIALIZED_NAME_PLAY_STATE) @javax.annotation.Nullable @@ -76,7 +76,7 @@ public class SessionInfo { public static final String SERIALIZED_NAME_CAPABILITIES = "Capabilities"; @SerializedName(SERIALIZED_NAME_CAPABILITIES) @javax.annotation.Nullable - private ClientCapabilities capabilities; + private ClientCapabilitiesDto capabilities; public static final String SERIALIZED_NAME_REMOTE_END_POINT = "RemoteEndPoint"; @SerializedName(SERIALIZED_NAME_REMOTE_END_POINT) @@ -86,7 +86,7 @@ public class SessionInfo { public static final String SERIALIZED_NAME_PLAYABLE_MEDIA_TYPES = "PlayableMediaTypes"; @SerializedName(SERIALIZED_NAME_PLAYABLE_MEDIA_TYPES) @javax.annotation.Nullable - private List playableMediaTypes; + private List playableMediaTypes = new ArrayList<>(); public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) @@ -118,6 +118,11 @@ public class SessionInfo { @javax.annotation.Nullable private OffsetDateTime lastPlaybackCheckIn; + public static final String SERIALIZED_NAME_LAST_PAUSED_DATE = "LastPausedDate"; + @SerializedName(SERIALIZED_NAME_LAST_PAUSED_DATE) + @javax.annotation.Nullable + private OffsetDateTime lastPausedDate; + public static final String SERIALIZED_NAME_DEVICE_NAME = "DeviceName"; @SerializedName(SERIALIZED_NAME_DEVICE_NAME) @javax.annotation.Nullable @@ -133,11 +138,6 @@ public class SessionInfo { @javax.annotation.Nullable private BaseItemDto nowPlayingItem; - public static final String SERIALIZED_NAME_FULL_NOW_PLAYING_ITEM = "FullNowPlayingItem"; - @SerializedName(SERIALIZED_NAME_FULL_NOW_PLAYING_ITEM) - @javax.annotation.Nullable - private BaseItem fullNowPlayingItem; - public static final String SERIALIZED_NAME_NOW_VIEWING_ITEM = "NowViewingItem"; @SerializedName(SERIALIZED_NAME_NOW_VIEWING_ITEM) @javax.annotation.Nullable @@ -206,33 +206,18 @@ public class SessionInfo { public static final String SERIALIZED_NAME_SUPPORTED_COMMANDS = "SupportedCommands"; @SerializedName(SERIALIZED_NAME_SUPPORTED_COMMANDS) @javax.annotation.Nullable - private List supportedCommands; + private List supportedCommands = new ArrayList<>(); - public SessionInfo() { + public SessionInfoDto() { } - public SessionInfo( - List playableMediaTypes, - Boolean isActive, - Boolean supportsMediaControl, - Boolean supportsRemoteControl, - List supportedCommands - ) { - this(); - this.playableMediaTypes = playableMediaTypes; - this.isActive = isActive; - this.supportsMediaControl = supportsMediaControl; - this.supportsRemoteControl = supportsRemoteControl; - this.supportedCommands = supportedCommands; - } - - public SessionInfo playState(@javax.annotation.Nullable PlayerStateInfo playState) { + public SessionInfoDto playState(@javax.annotation.Nullable PlayerStateInfo playState) { this.playState = playState; return this; } /** - * Get playState + * Gets or sets the play state. * @return playState */ @javax.annotation.Nullable @@ -245,12 +230,12 @@ public class SessionInfo { } - public SessionInfo additionalUsers(@javax.annotation.Nullable List additionalUsers) { + public SessionInfoDto additionalUsers(@javax.annotation.Nullable List additionalUsers) { this.additionalUsers = additionalUsers; return this; } - public SessionInfo addAdditionalUsersItem(SessionUserInfo additionalUsersItem) { + public SessionInfoDto addAdditionalUsersItem(SessionUserInfo additionalUsersItem) { if (this.additionalUsers == null) { this.additionalUsers = new ArrayList<>(); } @@ -259,7 +244,7 @@ public class SessionInfo { } /** - * Get additionalUsers + * Gets or sets the additional users. * @return additionalUsers */ @javax.annotation.Nullable @@ -272,26 +257,26 @@ public class SessionInfo { } - public SessionInfo capabilities(@javax.annotation.Nullable ClientCapabilities capabilities) { + public SessionInfoDto capabilities(@javax.annotation.Nullable ClientCapabilitiesDto capabilities) { this.capabilities = capabilities; return this; } /** - * Get capabilities + * Gets or sets the client capabilities. * @return capabilities */ @javax.annotation.Nullable - public ClientCapabilities getCapabilities() { + public ClientCapabilitiesDto getCapabilities() { return capabilities; } - public void setCapabilities(@javax.annotation.Nullable ClientCapabilities capabilities) { + public void setCapabilities(@javax.annotation.Nullable ClientCapabilitiesDto capabilities) { this.capabilities = capabilities; } - public SessionInfo remoteEndPoint(@javax.annotation.Nullable String remoteEndPoint) { + public SessionInfoDto remoteEndPoint(@javax.annotation.Nullable String remoteEndPoint) { this.remoteEndPoint = remoteEndPoint; return this; } @@ -310,18 +295,34 @@ public class SessionInfo { } + public SessionInfoDto playableMediaTypes(@javax.annotation.Nullable List playableMediaTypes) { + this.playableMediaTypes = playableMediaTypes; + return this; + } + + public SessionInfoDto addPlayableMediaTypesItem(MediaType playableMediaTypesItem) { + if (this.playableMediaTypes == null) { + this.playableMediaTypes = new ArrayList<>(); + } + this.playableMediaTypes.add(playableMediaTypesItem); + return this; + } + /** - * Gets the playable media types. + * Gets or sets the playable media types. * @return playableMediaTypes */ @javax.annotation.Nullable - public List getPlayableMediaTypes() { + public List getPlayableMediaTypes() { return playableMediaTypes; } + public void setPlayableMediaTypes(@javax.annotation.Nullable List playableMediaTypes) { + this.playableMediaTypes = playableMediaTypes; + } - public SessionInfo id(@javax.annotation.Nullable String id) { + public SessionInfoDto id(@javax.annotation.Nullable String id) { this.id = id; return this; } @@ -340,7 +341,7 @@ public class SessionInfo { } - public SessionInfo userId(@javax.annotation.Nullable UUID userId) { + public SessionInfoDto userId(@javax.annotation.Nullable UUID userId) { this.userId = userId; return this; } @@ -359,7 +360,7 @@ public class SessionInfo { } - public SessionInfo userName(@javax.annotation.Nullable String userName) { + public SessionInfoDto userName(@javax.annotation.Nullable String userName) { this.userName = userName; return this; } @@ -378,7 +379,7 @@ public class SessionInfo { } - public SessionInfo client(@javax.annotation.Nullable String client) { + public SessionInfoDto client(@javax.annotation.Nullable String client) { this.client = client; return this; } @@ -397,7 +398,7 @@ public class SessionInfo { } - public SessionInfo lastActivityDate(@javax.annotation.Nullable OffsetDateTime lastActivityDate) { + public SessionInfoDto lastActivityDate(@javax.annotation.Nullable OffsetDateTime lastActivityDate) { this.lastActivityDate = lastActivityDate; return this; } @@ -416,7 +417,7 @@ public class SessionInfo { } - public SessionInfo lastPlaybackCheckIn(@javax.annotation.Nullable OffsetDateTime lastPlaybackCheckIn) { + public SessionInfoDto lastPlaybackCheckIn(@javax.annotation.Nullable OffsetDateTime lastPlaybackCheckIn) { this.lastPlaybackCheckIn = lastPlaybackCheckIn; return this; } @@ -435,7 +436,26 @@ public class SessionInfo { } - public SessionInfo deviceName(@javax.annotation.Nullable String deviceName) { + public SessionInfoDto lastPausedDate(@javax.annotation.Nullable OffsetDateTime lastPausedDate) { + this.lastPausedDate = lastPausedDate; + return this; + } + + /** + * Gets or sets the last paused date. + * @return lastPausedDate + */ + @javax.annotation.Nullable + public OffsetDateTime getLastPausedDate() { + return lastPausedDate; + } + + public void setLastPausedDate(@javax.annotation.Nullable OffsetDateTime lastPausedDate) { + this.lastPausedDate = lastPausedDate; + } + + + public SessionInfoDto deviceName(@javax.annotation.Nullable String deviceName) { this.deviceName = deviceName; return this; } @@ -454,7 +474,7 @@ public class SessionInfo { } - public SessionInfo deviceType(@javax.annotation.Nullable String deviceType) { + public SessionInfoDto deviceType(@javax.annotation.Nullable String deviceType) { this.deviceType = deviceType; return this; } @@ -473,13 +493,13 @@ public class SessionInfo { } - public SessionInfo nowPlayingItem(@javax.annotation.Nullable BaseItemDto nowPlayingItem) { + public SessionInfoDto nowPlayingItem(@javax.annotation.Nullable BaseItemDto nowPlayingItem) { this.nowPlayingItem = nowPlayingItem; return this; } /** - * This is strictly used as a data transfer object from the api layer. This holds information about a BaseItem in a format that is convenient for the client. + * Gets or sets the now playing item. * @return nowPlayingItem */ @javax.annotation.Nullable @@ -492,32 +512,13 @@ public class SessionInfo { } - public SessionInfo fullNowPlayingItem(@javax.annotation.Nullable BaseItem fullNowPlayingItem) { - this.fullNowPlayingItem = fullNowPlayingItem; - return this; - } - - /** - * Class BaseItem. - * @return fullNowPlayingItem - */ - @javax.annotation.Nullable - public BaseItem getFullNowPlayingItem() { - return fullNowPlayingItem; - } - - public void setFullNowPlayingItem(@javax.annotation.Nullable BaseItem fullNowPlayingItem) { - this.fullNowPlayingItem = fullNowPlayingItem; - } - - - public SessionInfo nowViewingItem(@javax.annotation.Nullable BaseItemDto nowViewingItem) { + public SessionInfoDto nowViewingItem(@javax.annotation.Nullable BaseItemDto nowViewingItem) { this.nowViewingItem = nowViewingItem; return this; } /** - * This is strictly used as a data transfer object from the api layer. This holds information about a BaseItem in a format that is convenient for the client. + * Gets or sets the now viewing item. * @return nowViewingItem */ @javax.annotation.Nullable @@ -530,7 +531,7 @@ public class SessionInfo { } - public SessionInfo deviceId(@javax.annotation.Nullable String deviceId) { + public SessionInfoDto deviceId(@javax.annotation.Nullable String deviceId) { this.deviceId = deviceId; return this; } @@ -549,7 +550,7 @@ public class SessionInfo { } - public SessionInfo applicationVersion(@javax.annotation.Nullable String applicationVersion) { + public SessionInfoDto applicationVersion(@javax.annotation.Nullable String applicationVersion) { this.applicationVersion = applicationVersion; return this; } @@ -568,13 +569,13 @@ public class SessionInfo { } - public SessionInfo transcodingInfo(@javax.annotation.Nullable TranscodingInfo transcodingInfo) { + public SessionInfoDto transcodingInfo(@javax.annotation.Nullable TranscodingInfo transcodingInfo) { this.transcodingInfo = transcodingInfo; return this; } /** - * Get transcodingInfo + * Gets or sets the transcoding info. * @return transcodingInfo */ @javax.annotation.Nullable @@ -587,8 +588,13 @@ public class SessionInfo { } + public SessionInfoDto isActive(@javax.annotation.Nullable Boolean isActive) { + this.isActive = isActive; + return this; + } + /** - * Gets a value indicating whether this instance is active. + * Gets or sets a value indicating whether this session is active. * @return isActive */ @javax.annotation.Nullable @@ -596,10 +602,18 @@ public class SessionInfo { return isActive; } + public void setIsActive(@javax.annotation.Nullable Boolean isActive) { + this.isActive = isActive; + } + public SessionInfoDto supportsMediaControl(@javax.annotation.Nullable Boolean supportsMediaControl) { + this.supportsMediaControl = supportsMediaControl; + return this; + } + /** - * Get supportsMediaControl + * Gets or sets a value indicating whether the session supports media control. * @return supportsMediaControl */ @javax.annotation.Nullable @@ -607,10 +621,18 @@ public class SessionInfo { return supportsMediaControl; } + public void setSupportsMediaControl(@javax.annotation.Nullable Boolean supportsMediaControl) { + this.supportsMediaControl = supportsMediaControl; + } + public SessionInfoDto supportsRemoteControl(@javax.annotation.Nullable Boolean supportsRemoteControl) { + this.supportsRemoteControl = supportsRemoteControl; + return this; + } + /** - * Get supportsRemoteControl + * Gets or sets a value indicating whether the session supports remote control. * @return supportsRemoteControl */ @javax.annotation.Nullable @@ -618,14 +640,17 @@ public class SessionInfo { return supportsRemoteControl; } + public void setSupportsRemoteControl(@javax.annotation.Nullable Boolean supportsRemoteControl) { + this.supportsRemoteControl = supportsRemoteControl; + } - public SessionInfo nowPlayingQueue(@javax.annotation.Nullable List nowPlayingQueue) { + public SessionInfoDto nowPlayingQueue(@javax.annotation.Nullable List nowPlayingQueue) { this.nowPlayingQueue = nowPlayingQueue; return this; } - public SessionInfo addNowPlayingQueueItem(QueueItem nowPlayingQueueItem) { + public SessionInfoDto addNowPlayingQueueItem(QueueItem nowPlayingQueueItem) { if (this.nowPlayingQueue == null) { this.nowPlayingQueue = new ArrayList<>(); } @@ -634,7 +659,7 @@ public class SessionInfo { } /** - * Get nowPlayingQueue + * Gets or sets the now playing queue. * @return nowPlayingQueue */ @javax.annotation.Nullable @@ -647,12 +672,12 @@ public class SessionInfo { } - public SessionInfo nowPlayingQueueFullItems(@javax.annotation.Nullable List nowPlayingQueueFullItems) { + public SessionInfoDto nowPlayingQueueFullItems(@javax.annotation.Nullable List nowPlayingQueueFullItems) { this.nowPlayingQueueFullItems = nowPlayingQueueFullItems; return this; } - public SessionInfo addNowPlayingQueueFullItemsItem(BaseItemDto nowPlayingQueueFullItemsItem) { + public SessionInfoDto addNowPlayingQueueFullItemsItem(BaseItemDto nowPlayingQueueFullItemsItem) { if (this.nowPlayingQueueFullItems == null) { this.nowPlayingQueueFullItems = new ArrayList<>(); } @@ -661,7 +686,7 @@ public class SessionInfo { } /** - * Get nowPlayingQueueFullItems + * Gets or sets the now playing queue full items. * @return nowPlayingQueueFullItems */ @javax.annotation.Nullable @@ -674,13 +699,13 @@ public class SessionInfo { } - public SessionInfo hasCustomDeviceName(@javax.annotation.Nullable Boolean hasCustomDeviceName) { + public SessionInfoDto hasCustomDeviceName(@javax.annotation.Nullable Boolean hasCustomDeviceName) { this.hasCustomDeviceName = hasCustomDeviceName; return this; } /** - * Get hasCustomDeviceName + * Gets or sets a value indicating whether the session has a custom device name. * @return hasCustomDeviceName */ @javax.annotation.Nullable @@ -693,13 +718,13 @@ public class SessionInfo { } - public SessionInfo playlistItemId(@javax.annotation.Nullable String playlistItemId) { + public SessionInfoDto playlistItemId(@javax.annotation.Nullable String playlistItemId) { this.playlistItemId = playlistItemId; return this; } /** - * Get playlistItemId + * Gets or sets the playlist item id. * @return playlistItemId */ @javax.annotation.Nullable @@ -712,13 +737,13 @@ public class SessionInfo { } - public SessionInfo serverId(@javax.annotation.Nullable String serverId) { + public SessionInfoDto serverId(@javax.annotation.Nullable String serverId) { this.serverId = serverId; return this; } /** - * Get serverId + * Gets or sets the server id. * @return serverId */ @javax.annotation.Nullable @@ -731,13 +756,13 @@ public class SessionInfo { } - public SessionInfo userPrimaryImageTag(@javax.annotation.Nullable String userPrimaryImageTag) { + public SessionInfoDto userPrimaryImageTag(@javax.annotation.Nullable String userPrimaryImageTag) { this.userPrimaryImageTag = userPrimaryImageTag; return this; } /** - * Get userPrimaryImageTag + * Gets or sets the user primary image tag. * @return userPrimaryImageTag */ @javax.annotation.Nullable @@ -750,8 +775,21 @@ public class SessionInfo { } + public SessionInfoDto supportedCommands(@javax.annotation.Nullable List supportedCommands) { + this.supportedCommands = supportedCommands; + return this; + } + + public SessionInfoDto addSupportedCommandsItem(GeneralCommandType supportedCommandsItem) { + if (this.supportedCommands == null) { + this.supportedCommands = new ArrayList<>(); + } + this.supportedCommands.add(supportedCommandsItem); + return this; + } + /** - * Gets the supported commands. + * Gets or sets the supported commands. * @return supportedCommands */ @javax.annotation.Nullable @@ -759,6 +797,9 @@ public class SessionInfo { return supportedCommands; } + public void setSupportedCommands(@javax.annotation.Nullable List supportedCommands) { + this.supportedCommands = supportedCommands; + } @@ -770,36 +811,36 @@ public class SessionInfo { if (o == null || getClass() != o.getClass()) { return false; } - SessionInfo sessionInfo = (SessionInfo) o; - return Objects.equals(this.playState, sessionInfo.playState) && - Objects.equals(this.additionalUsers, sessionInfo.additionalUsers) && - Objects.equals(this.capabilities, sessionInfo.capabilities) && - Objects.equals(this.remoteEndPoint, sessionInfo.remoteEndPoint) && - Objects.equals(this.playableMediaTypes, sessionInfo.playableMediaTypes) && - Objects.equals(this.id, sessionInfo.id) && - Objects.equals(this.userId, sessionInfo.userId) && - Objects.equals(this.userName, sessionInfo.userName) && - Objects.equals(this.client, sessionInfo.client) && - Objects.equals(this.lastActivityDate, sessionInfo.lastActivityDate) && - Objects.equals(this.lastPlaybackCheckIn, sessionInfo.lastPlaybackCheckIn) && - Objects.equals(this.deviceName, sessionInfo.deviceName) && - Objects.equals(this.deviceType, sessionInfo.deviceType) && - Objects.equals(this.nowPlayingItem, sessionInfo.nowPlayingItem) && - Objects.equals(this.fullNowPlayingItem, sessionInfo.fullNowPlayingItem) && - Objects.equals(this.nowViewingItem, sessionInfo.nowViewingItem) && - Objects.equals(this.deviceId, sessionInfo.deviceId) && - Objects.equals(this.applicationVersion, sessionInfo.applicationVersion) && - Objects.equals(this.transcodingInfo, sessionInfo.transcodingInfo) && - Objects.equals(this.isActive, sessionInfo.isActive) && - Objects.equals(this.supportsMediaControl, sessionInfo.supportsMediaControl) && - Objects.equals(this.supportsRemoteControl, sessionInfo.supportsRemoteControl) && - Objects.equals(this.nowPlayingQueue, sessionInfo.nowPlayingQueue) && - Objects.equals(this.nowPlayingQueueFullItems, sessionInfo.nowPlayingQueueFullItems) && - Objects.equals(this.hasCustomDeviceName, sessionInfo.hasCustomDeviceName) && - Objects.equals(this.playlistItemId, sessionInfo.playlistItemId) && - Objects.equals(this.serverId, sessionInfo.serverId) && - Objects.equals(this.userPrimaryImageTag, sessionInfo.userPrimaryImageTag) && - Objects.equals(this.supportedCommands, sessionInfo.supportedCommands); + SessionInfoDto sessionInfoDto = (SessionInfoDto) o; + return Objects.equals(this.playState, sessionInfoDto.playState) && + Objects.equals(this.additionalUsers, sessionInfoDto.additionalUsers) && + Objects.equals(this.capabilities, sessionInfoDto.capabilities) && + Objects.equals(this.remoteEndPoint, sessionInfoDto.remoteEndPoint) && + Objects.equals(this.playableMediaTypes, sessionInfoDto.playableMediaTypes) && + Objects.equals(this.id, sessionInfoDto.id) && + Objects.equals(this.userId, sessionInfoDto.userId) && + Objects.equals(this.userName, sessionInfoDto.userName) && + Objects.equals(this.client, sessionInfoDto.client) && + Objects.equals(this.lastActivityDate, sessionInfoDto.lastActivityDate) && + Objects.equals(this.lastPlaybackCheckIn, sessionInfoDto.lastPlaybackCheckIn) && + Objects.equals(this.lastPausedDate, sessionInfoDto.lastPausedDate) && + Objects.equals(this.deviceName, sessionInfoDto.deviceName) && + Objects.equals(this.deviceType, sessionInfoDto.deviceType) && + Objects.equals(this.nowPlayingItem, sessionInfoDto.nowPlayingItem) && + Objects.equals(this.nowViewingItem, sessionInfoDto.nowViewingItem) && + Objects.equals(this.deviceId, sessionInfoDto.deviceId) && + Objects.equals(this.applicationVersion, sessionInfoDto.applicationVersion) && + Objects.equals(this.transcodingInfo, sessionInfoDto.transcodingInfo) && + Objects.equals(this.isActive, sessionInfoDto.isActive) && + Objects.equals(this.supportsMediaControl, sessionInfoDto.supportsMediaControl) && + Objects.equals(this.supportsRemoteControl, sessionInfoDto.supportsRemoteControl) && + Objects.equals(this.nowPlayingQueue, sessionInfoDto.nowPlayingQueue) && + Objects.equals(this.nowPlayingQueueFullItems, sessionInfoDto.nowPlayingQueueFullItems) && + Objects.equals(this.hasCustomDeviceName, sessionInfoDto.hasCustomDeviceName) && + Objects.equals(this.playlistItemId, sessionInfoDto.playlistItemId) && + Objects.equals(this.serverId, sessionInfoDto.serverId) && + Objects.equals(this.userPrimaryImageTag, sessionInfoDto.userPrimaryImageTag) && + Objects.equals(this.supportedCommands, sessionInfoDto.supportedCommands); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -808,7 +849,7 @@ public class SessionInfo { @Override public int hashCode() { - return Objects.hash(playState, additionalUsers, capabilities, remoteEndPoint, playableMediaTypes, id, userId, userName, client, lastActivityDate, lastPlaybackCheckIn, deviceName, deviceType, nowPlayingItem, fullNowPlayingItem, nowViewingItem, deviceId, applicationVersion, transcodingInfo, isActive, supportsMediaControl, supportsRemoteControl, nowPlayingQueue, nowPlayingQueueFullItems, hasCustomDeviceName, playlistItemId, serverId, userPrimaryImageTag, supportedCommands); + return Objects.hash(playState, additionalUsers, capabilities, remoteEndPoint, playableMediaTypes, id, userId, userName, client, lastActivityDate, lastPlaybackCheckIn, lastPausedDate, deviceName, deviceType, nowPlayingItem, nowViewingItem, deviceId, applicationVersion, transcodingInfo, isActive, supportsMediaControl, supportsRemoteControl, nowPlayingQueue, nowPlayingQueueFullItems, hasCustomDeviceName, playlistItemId, serverId, userPrimaryImageTag, supportedCommands); } private static int hashCodeNullable(JsonNullable a) { @@ -821,7 +862,7 @@ public class SessionInfo { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SessionInfo {\n"); + sb.append("class SessionInfoDto {\n"); sb.append(" playState: ").append(toIndentedString(playState)).append("\n"); sb.append(" additionalUsers: ").append(toIndentedString(additionalUsers)).append("\n"); sb.append(" capabilities: ").append(toIndentedString(capabilities)).append("\n"); @@ -833,10 +874,10 @@ public class SessionInfo { sb.append(" client: ").append(toIndentedString(client)).append("\n"); sb.append(" lastActivityDate: ").append(toIndentedString(lastActivityDate)).append("\n"); sb.append(" lastPlaybackCheckIn: ").append(toIndentedString(lastPlaybackCheckIn)).append("\n"); + sb.append(" lastPausedDate: ").append(toIndentedString(lastPausedDate)).append("\n"); sb.append(" deviceName: ").append(toIndentedString(deviceName)).append("\n"); sb.append(" deviceType: ").append(toIndentedString(deviceType)).append("\n"); sb.append(" nowPlayingItem: ").append(toIndentedString(nowPlayingItem)).append("\n"); - sb.append(" fullNowPlayingItem: ").append(toIndentedString(fullNowPlayingItem)).append("\n"); sb.append(" nowViewingItem: ").append(toIndentedString(nowViewingItem)).append("\n"); sb.append(" deviceId: ").append(toIndentedString(deviceId)).append("\n"); sb.append(" applicationVersion: ").append(toIndentedString(applicationVersion)).append("\n"); @@ -884,10 +925,10 @@ public class SessionInfo { openapiFields.add("Client"); openapiFields.add("LastActivityDate"); openapiFields.add("LastPlaybackCheckIn"); + openapiFields.add("LastPausedDate"); openapiFields.add("DeviceName"); openapiFields.add("DeviceType"); openapiFields.add("NowPlayingItem"); - openapiFields.add("FullNowPlayingItem"); openapiFields.add("NowViewingItem"); openapiFields.add("DeviceId"); openapiFields.add("ApplicationVersion"); @@ -911,20 +952,20 @@ public class SessionInfo { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to SessionInfo + * @throws IOException if the JSON Element is invalid with respect to SessionInfoDto */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!SessionInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in SessionInfo is not found in the empty JSON string", SessionInfo.openapiRequiredFields.toString())); + if (!SessionInfoDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SessionInfoDto is not found in the empty JSON string", SessionInfoDto.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!SessionInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SessionInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!SessionInfoDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SessionInfoDto` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -948,7 +989,7 @@ public class SessionInfo { } // validate the optional field `Capabilities` if (jsonObj.get("Capabilities") != null && !jsonObj.get("Capabilities").isJsonNull()) { - ClientCapabilities.validateJsonElement(jsonObj.get("Capabilities")); + ClientCapabilitiesDto.validateJsonElement(jsonObj.get("Capabilities")); } if ((jsonObj.get("RemoteEndPoint") != null && !jsonObj.get("RemoteEndPoint").isJsonNull()) && !jsonObj.get("RemoteEndPoint").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `RemoteEndPoint` to be a primitive type in the JSON string but got `%s`", jsonObj.get("RemoteEndPoint").toString())); @@ -979,10 +1020,6 @@ public class SessionInfo { if (jsonObj.get("NowPlayingItem") != null && !jsonObj.get("NowPlayingItem").isJsonNull()) { BaseItemDto.validateJsonElement(jsonObj.get("NowPlayingItem")); } - // validate the optional field `FullNowPlayingItem` - if (jsonObj.get("FullNowPlayingItem") != null && !jsonObj.get("FullNowPlayingItem").isJsonNull()) { - BaseItem.validateJsonElement(jsonObj.get("FullNowPlayingItem")); - } // validate the optional field `NowViewingItem` if (jsonObj.get("NowViewingItem") != null && !jsonObj.get("NowViewingItem").isJsonNull()) { BaseItemDto.validateJsonElement(jsonObj.get("NowViewingItem")); @@ -1044,22 +1081,22 @@ public class SessionInfo { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!SessionInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'SessionInfo' and its subtypes + if (!SessionInfoDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SessionInfoDto' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(SessionInfo.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SessionInfoDto.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, SessionInfo value) throws IOException { + public void write(JsonWriter out, SessionInfoDto value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public SessionInfo read(JsonReader in) throws IOException { + public SessionInfoDto read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -1070,18 +1107,18 @@ public class SessionInfo { } /** - * Create an instance of SessionInfo given an JSON string + * Create an instance of SessionInfoDto given an JSON string * * @param jsonString JSON string - * @return An instance of SessionInfo - * @throws IOException if the JSON string is invalid with respect to SessionInfo + * @return An instance of SessionInfoDto + * @throws IOException if the JSON string is invalid with respect to SessionInfoDto */ - public static SessionInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, SessionInfo.class); + public static SessionInfoDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SessionInfoDto.class); } /** - * Convert an instance of SessionInfo to an JSON string + * Convert an instance of SessionInfoDto to an JSON string * * @return JSON string */ diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SessionMessageType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SessionMessageType.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SessionMessageType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SessionMessageType.java index 878c7b26f59..4cc60b92bca 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SessionMessageType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SessionMessageType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SessionUserInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SessionUserInfo.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SessionUserInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SessionUserInfo.java index 0662bed3cf0..94ecb2dc2a1 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SessionUserInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SessionUserInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Class SessionUserInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SessionUserInfo { public static final String SERIALIZED_NAME_USER_ID = "UserId"; @SerializedName(SERIALIZED_NAME_USER_ID) diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SessionsMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SessionsMessage.java new file mode 100644 index 00000000000..ec5ac3b7eb3 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SessionsMessage.java @@ -0,0 +1,302 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.UUID; +import org.openapitools.client.model.SessionInfoDto; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Sessions message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class SessionsMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private List data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.SESSIONS; + + public SessionsMessage() { + } + + public SessionsMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public SessionsMessage data(@javax.annotation.Nullable List data) { + this.data = data; + return this; + } + + public SessionsMessage addDataItem(SessionInfoDto dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * Gets or sets the data. + * @return data + */ + @javax.annotation.Nullable + public List getData() { + return data; + } + + public void setData(@javax.annotation.Nullable List data) { + this.data = data; + } + + + public SessionsMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SessionsMessage sessionsMessage = (SessionsMessage) o; + return Objects.equals(this.data, sessionsMessage.data) && + Objects.equals(this.messageId, sessionsMessage.messageId) && + Objects.equals(this.messageType, sessionsMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SessionsMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to SessionsMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!SessionsMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SessionsMessage is not found in the empty JSON string", SessionsMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!SessionsMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SessionsMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + JsonArray jsonArraydata = jsonObj.getAsJsonArray("Data"); + if (jsonArraydata != null) { + // ensure the json data is an array + if (!jsonObj.get("Data").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `Data` to be an array in the JSON string but got `%s`", jsonObj.get("Data").toString())); + } + + // validate the optional field `Data` (array) + for (int i = 0; i < jsonArraydata.size(); i++) { + SessionInfoDto.validateJsonElement(jsonArraydata.get(i)); + }; + } + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SessionsMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SessionsMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SessionsMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SessionsMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SessionsMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SessionsMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of SessionsMessage + * @throws IOException if the JSON string is invalid with respect to SessionsMessage + */ + public static SessionsMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SessionsMessage.class); + } + + /** + * Convert an instance of SessionsMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SessionsStartMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SessionsStartMessage.java new file mode 100644 index 00000000000..dac46383aa7 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SessionsStartMessage.java @@ -0,0 +1,249 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Sessions start message. Data is the timing data encoded as \"$initialDelay,$interval\" in ms. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class SessionsStartMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private String data; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.SESSIONS_START; + + public SessionsStartMessage() { + } + + public SessionsStartMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public SessionsStartMessage data(@javax.annotation.Nullable String data) { + this.data = data; + return this; + } + + /** + * Gets or sets the data. + * @return data + */ + @javax.annotation.Nullable + public String getData() { + return data; + } + + public void setData(@javax.annotation.Nullable String data) { + this.data = data; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SessionsStartMessage sessionsStartMessage = (SessionsStartMessage) o; + return Objects.equals(this.data, sessionsStartMessage.data) && + Objects.equals(this.messageType, sessionsStartMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SessionsStartMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to SessionsStartMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!SessionsStartMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SessionsStartMessage is not found in the empty JSON string", SessionsStartMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!SessionsStartMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SessionsStartMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) && !jsonObj.get("Data").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Data` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Data").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SessionsStartMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SessionsStartMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SessionsStartMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SessionsStartMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SessionsStartMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SessionsStartMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of SessionsStartMessage + * @throws IOException if the JSON string is invalid with respect to SessionsStartMessage + */ + public static SessionsStartMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SessionsStartMessage.class); + } + + /** + * Convert an instance of SessionsStartMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SessionsStopMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SessionsStopMessage.java new file mode 100644 index 00000000000..d912b2dcc2d --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SessionsStopMessage.java @@ -0,0 +1,207 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.openapitools.client.model.SessionMessageType; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Sessions stop message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class SessionsStopMessage { + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.SESSIONS_STOP; + + public SessionsStopMessage() { + } + + public SessionsStopMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SessionsStopMessage sessionsStopMessage = (SessionsStopMessage) o; + return Objects.equals(this.messageType, sessionsStopMessage.messageType); + } + + @Override + public int hashCode() { + return Objects.hash(messageType); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SessionsStopMessage {\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to SessionsStopMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!SessionsStopMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SessionsStopMessage is not found in the empty JSON string", SessionsStopMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!SessionsStopMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SessionsStopMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SessionsStopMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SessionsStopMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SessionsStopMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SessionsStopMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SessionsStopMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SessionsStopMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of SessionsStopMessage + * @throws IOException if the JSON string is invalid with respect to SessionsStopMessage + */ + public static SessionsStopMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SessionsStopMessage.class); + } + + /** + * Convert an instance of SessionsStopMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SetChannelMappingDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SetChannelMappingDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SetChannelMappingDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SetChannelMappingDto.java index 1fbc08219d2..505f106f3a0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SetChannelMappingDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SetChannelMappingDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Set channel mapping dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SetChannelMappingDto { public static final String SERIALIZED_NAME_PROVIDER_ID = "ProviderId"; @SerializedName(SERIALIZED_NAME_PROVIDER_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SetPlaylistItemRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SetPlaylistItemRequestDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SetPlaylistItemRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SetPlaylistItemRequestDto.java index 77f17ed6e22..de0d6029c81 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SetPlaylistItemRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SetPlaylistItemRequestDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class SetPlaylistItemRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SetPlaylistItemRequestDto { public static final String SERIALIZED_NAME_PLAYLIST_ITEM_ID = "PlaylistItemId"; @SerializedName(SERIALIZED_NAME_PLAYLIST_ITEM_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SetRepeatModeRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SetRepeatModeRequestDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SetRepeatModeRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SetRepeatModeRequestDto.java index 8f41f02e120..9ddd36dd85b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SetRepeatModeRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SetRepeatModeRequestDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class SetRepeatModeRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SetRepeatModeRequestDto { public static final String SERIALIZED_NAME_MODE = "Mode"; @SerializedName(SERIALIZED_NAME_MODE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SetShuffleModeRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SetShuffleModeRequestDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SetShuffleModeRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SetShuffleModeRequestDto.java index a993c037e00..df541b1a6dc 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SetShuffleModeRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SetShuffleModeRequestDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class SetShuffleModeRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SetShuffleModeRequestDto { public static final String SERIALIZED_NAME_MODE = "Mode"; @SerializedName(SERIALIZED_NAME_MODE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SongInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SongInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SongInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SongInfo.java index 8e1581c8c72..a0bdccd480c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SongInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SongInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * SongInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SongInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SortOrder.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SortOrder.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SortOrder.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SortOrder.java index a0a279d6b71..eb63e14f6df 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SortOrder.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SortOrder.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SpecialViewOptionDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SpecialViewOptionDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SpecialViewOptionDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SpecialViewOptionDto.java index b7f2b680846..9bf56aa136c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SpecialViewOptionDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SpecialViewOptionDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Special view option dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SpecialViewOptionDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/StartupConfigurationDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/StartupConfigurationDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/StartupConfigurationDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/StartupConfigurationDto.java index 7890d20a664..3cee845a70b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/StartupConfigurationDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/StartupConfigurationDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * The startup configuration DTO. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class StartupConfigurationDto { public static final String SERIALIZED_NAME_UI_CULTURE = "UICulture"; @SerializedName(SERIALIZED_NAME_UI_CULTURE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/StartupRemoteAccessDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/StartupRemoteAccessDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/StartupRemoteAccessDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/StartupRemoteAccessDto.java index 1eda335d09e..c5dea17034a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/StartupRemoteAccessDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/StartupRemoteAccessDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Startup remote access dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class StartupRemoteAccessDto { public static final String SERIALIZED_NAME_ENABLE_REMOTE_ACCESS = "EnableRemoteAccess"; @SerializedName(SERIALIZED_NAME_ENABLE_REMOTE_ACCESS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/StartupUserDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/StartupUserDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/StartupUserDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/StartupUserDto.java index 482f9b3a3f9..1ac9651a528 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/StartupUserDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/StartupUserDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * The startup user DTO. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class StartupUserDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ObjectGroupUpdate.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/StringGroupUpdate.java similarity index 72% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ObjectGroupUpdate.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/StringGroupUpdate.java index dcc0c0fb0be..d133c26f865 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ObjectGroupUpdate.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/StringGroupUpdate.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,7 +23,6 @@ import java.io.IOException; import java.util.Arrays; import java.util.UUID; import org.openapitools.client.model.GroupUpdateType; -import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -51,8 +50,8 @@ import org.openapitools.client.JSON; /** * Class GroupUpdate. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class ObjectGroupUpdate { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class StringGroupUpdate { public static final String SERIALIZED_NAME_GROUP_ID = "GroupId"; @SerializedName(SERIALIZED_NAME_GROUP_ID) @javax.annotation.Nullable @@ -66,14 +65,16 @@ public class ObjectGroupUpdate { public static final String SERIALIZED_NAME_DATA = "Data"; @SerializedName(SERIALIZED_NAME_DATA) @javax.annotation.Nullable - private Object data = null; + private String data; - public ObjectGroupUpdate() { + public StringGroupUpdate() { } - public ObjectGroupUpdate groupId(@javax.annotation.Nullable UUID groupId) { + public StringGroupUpdate( + UUID groupId + ) { + this(); this.groupId = groupId; - return this; } /** @@ -85,12 +86,9 @@ public class ObjectGroupUpdate { return groupId; } - public void setGroupId(@javax.annotation.Nullable UUID groupId) { - this.groupId = groupId; - } - public ObjectGroupUpdate type(@javax.annotation.Nullable GroupUpdateType type) { + public StringGroupUpdate type(@javax.annotation.Nullable GroupUpdateType type) { this.type = type; return this; } @@ -109,7 +107,7 @@ public class ObjectGroupUpdate { } - public ObjectGroupUpdate data(@javax.annotation.Nullable Object data) { + public StringGroupUpdate data(@javax.annotation.Nullable String data) { this.data = data; return this; } @@ -119,11 +117,11 @@ public class ObjectGroupUpdate { * @return data */ @javax.annotation.Nullable - public Object getData() { + public String getData() { return data; } - public void setData(@javax.annotation.Nullable Object data) { + public void setData(@javax.annotation.Nullable String data) { this.data = data; } @@ -137,14 +135,10 @@ public class ObjectGroupUpdate { if (o == null || getClass() != o.getClass()) { return false; } - ObjectGroupUpdate objectGroupUpdate = (ObjectGroupUpdate) o; - return Objects.equals(this.groupId, objectGroupUpdate.groupId) && - Objects.equals(this.type, objectGroupUpdate.type) && - Objects.equals(this.data, objectGroupUpdate.data); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + StringGroupUpdate stringGroupUpdate = (StringGroupUpdate) o; + return Objects.equals(this.groupId, stringGroupUpdate.groupId) && + Objects.equals(this.type, stringGroupUpdate.type) && + Objects.equals(this.data, stringGroupUpdate.data); } @Override @@ -152,17 +146,10 @@ public class ObjectGroupUpdate { return Objects.hash(groupId, type, data); } - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class ObjectGroupUpdate {\n"); + sb.append("class StringGroupUpdate {\n"); sb.append(" groupId: ").append(toIndentedString(groupId)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); @@ -200,20 +187,20 @@ public class ObjectGroupUpdate { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ObjectGroupUpdate + * @throws IOException if the JSON Element is invalid with respect to StringGroupUpdate */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!ObjectGroupUpdate.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ObjectGroupUpdate is not found in the empty JSON string", ObjectGroupUpdate.openapiRequiredFields.toString())); + if (!StringGroupUpdate.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StringGroupUpdate is not found in the empty JSON string", StringGroupUpdate.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!ObjectGroupUpdate.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ObjectGroupUpdate` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!StringGroupUpdate.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `StringGroupUpdate` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -224,28 +211,31 @@ public class ObjectGroupUpdate { if (jsonObj.get("Type") != null && !jsonObj.get("Type").isJsonNull()) { GroupUpdateType.validateJsonElement(jsonObj.get("Type")); } + if ((jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) && !jsonObj.get("Data").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Data` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Data").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!ObjectGroupUpdate.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ObjectGroupUpdate' and its subtypes + if (!StringGroupUpdate.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StringGroupUpdate' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ObjectGroupUpdate.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StringGroupUpdate.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, ObjectGroupUpdate value) throws IOException { + public void write(JsonWriter out, StringGroupUpdate value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public ObjectGroupUpdate read(JsonReader in) throws IOException { + public StringGroupUpdate read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -256,18 +246,18 @@ public class ObjectGroupUpdate { } /** - * Create an instance of ObjectGroupUpdate given an JSON string + * Create an instance of StringGroupUpdate given an JSON string * * @param jsonString JSON string - * @return An instance of ObjectGroupUpdate - * @throws IOException if the JSON string is invalid with respect to ObjectGroupUpdate + * @return An instance of StringGroupUpdate + * @throws IOException if the JSON string is invalid with respect to StringGroupUpdate */ - public static ObjectGroupUpdate fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ObjectGroupUpdate.class); + public static StringGroupUpdate fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StringGroupUpdate.class); } /** - * Convert an instance of ObjectGroupUpdate to an JSON string + * Convert an instance of StringGroupUpdate to an JSON string * * @return JSON string */ diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SubtitleDeliveryMethod.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SubtitleDeliveryMethod.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SubtitleDeliveryMethod.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SubtitleDeliveryMethod.java index 6693e566e2a..695b0b39ead 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SubtitleDeliveryMethod.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SubtitleDeliveryMethod.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SubtitleOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SubtitleOptions.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SubtitleOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SubtitleOptions.java index 88a5a19da9a..7fe756680a3 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SubtitleOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SubtitleOptions.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * SubtitleOptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SubtitleOptions { public static final String SERIALIZED_NAME_SKIP_IF_EMBEDDED_SUBTITLES_PRESENT = "SkipIfEmbeddedSubtitlesPresent"; @SerializedName(SERIALIZED_NAME_SKIP_IF_EMBEDDED_SUBTITLES_PRESENT) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SubtitlePlaybackMode.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SubtitlePlaybackMode.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SubtitlePlaybackMode.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SubtitlePlaybackMode.java index f36446c7b75..a4054c66583 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SubtitlePlaybackMode.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SubtitlePlaybackMode.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SubtitleProfile.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SubtitleProfile.java similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SubtitleProfile.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SubtitleProfile.java index c8e63796593..d5e92ac6def 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SubtitleProfile.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SubtitleProfile.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,9 +48,9 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * SubtitleProfile + * A class for subtitle profile information. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SubtitleProfile { public static final String SERIALIZED_NAME_FORMAT = "Format"; @SerializedName(SERIALIZED_NAME_FORMAT) @@ -86,7 +86,7 @@ public class SubtitleProfile { } /** - * Get format + * Gets or sets the format. * @return format */ @javax.annotation.Nullable @@ -105,7 +105,7 @@ public class SubtitleProfile { } /** - * Delivery method to use during playback of a specific subtitle format. + * Gets or sets the delivery method. * @return method */ @javax.annotation.Nullable @@ -124,7 +124,7 @@ public class SubtitleProfile { } /** - * Get didlMode + * Gets or sets the DIDL mode. * @return didlMode */ @javax.annotation.Nullable @@ -143,7 +143,7 @@ public class SubtitleProfile { } /** - * Get language + * Gets or sets the language. * @return language */ @javax.annotation.Nullable @@ -162,7 +162,7 @@ public class SubtitleProfile { } /** - * Get container + * Gets or sets the container. * @return container */ @javax.annotation.Nullable diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UpdateUserEasyPassword.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SyncPlayCommandMessage.java similarity index 53% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UpdateUserEasyPassword.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SyncPlayCommandMessage.java index cbf9bcc70bc..4e2fdf2a396 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UpdateUserEasyPassword.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SyncPlayCommandMessage.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,9 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.SendCommand; +import org.openapitools.client.model.SessionMessageType; import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; @@ -47,83 +50,82 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * The update user easy password request body. + * Sync play command. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class UpdateUserEasyPassword { - public static final String SERIALIZED_NAME_NEW_PASSWORD = "NewPassword"; - @SerializedName(SERIALIZED_NAME_NEW_PASSWORD) +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class SyncPlayCommandMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) @javax.annotation.Nullable - private String newPassword; + private SendCommand data; - public static final String SERIALIZED_NAME_NEW_PW = "NewPw"; - @SerializedName(SERIALIZED_NAME_NEW_PW) + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) @javax.annotation.Nullable - private String newPw; + private UUID messageId; - public static final String SERIALIZED_NAME_RESET_PASSWORD = "ResetPassword"; - @SerializedName(SERIALIZED_NAME_RESET_PASSWORD) + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) @javax.annotation.Nullable - private Boolean resetPassword; + private SessionMessageType messageType = SessionMessageType.SYNC_PLAY_COMMAND; - public UpdateUserEasyPassword() { + public SyncPlayCommandMessage() { } - public UpdateUserEasyPassword newPassword(@javax.annotation.Nullable String newPassword) { - this.newPassword = newPassword; + public SyncPlayCommandMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public SyncPlayCommandMessage data(@javax.annotation.Nullable SendCommand data) { + this.data = data; return this; } /** - * Gets or sets the new sha1-hashed password. - * @return newPassword + * Class SendCommand. + * @return data */ @javax.annotation.Nullable - public String getNewPassword() { - return newPassword; + public SendCommand getData() { + return data; } - public void setNewPassword(@javax.annotation.Nullable String newPassword) { - this.newPassword = newPassword; + public void setData(@javax.annotation.Nullable SendCommand data) { + this.data = data; } - public UpdateUserEasyPassword newPw(@javax.annotation.Nullable String newPw) { - this.newPw = newPw; + public SyncPlayCommandMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; return this; } /** - * Gets or sets the new password. - * @return newPw + * Gets or sets the message id. + * @return messageId */ @javax.annotation.Nullable - public String getNewPw() { - return newPw; + public UUID getMessageId() { + return messageId; } - public void setNewPw(@javax.annotation.Nullable String newPw) { - this.newPw = newPw; + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; } - public UpdateUserEasyPassword resetPassword(@javax.annotation.Nullable Boolean resetPassword) { - this.resetPassword = resetPassword; - return this; - } - /** - * Gets or sets a value indicating whether to reset the password. - * @return resetPassword + * The different kinds of messages that are used in the WebSocket api. + * @return messageType */ @javax.annotation.Nullable - public Boolean getResetPassword() { - return resetPassword; + public SessionMessageType getMessageType() { + return messageType; } - public void setResetPassword(@javax.annotation.Nullable Boolean resetPassword) { - this.resetPassword = resetPassword; - } @@ -135,10 +137,10 @@ public class UpdateUserEasyPassword { if (o == null || getClass() != o.getClass()) { return false; } - UpdateUserEasyPassword updateUserEasyPassword = (UpdateUserEasyPassword) o; - return Objects.equals(this.newPassword, updateUserEasyPassword.newPassword) && - Objects.equals(this.newPw, updateUserEasyPassword.newPw) && - Objects.equals(this.resetPassword, updateUserEasyPassword.resetPassword); + SyncPlayCommandMessage syncPlayCommandMessage = (SyncPlayCommandMessage) o; + return Objects.equals(this.data, syncPlayCommandMessage.data) && + Objects.equals(this.messageId, syncPlayCommandMessage.messageId) && + Objects.equals(this.messageType, syncPlayCommandMessage.messageType); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -147,7 +149,7 @@ public class UpdateUserEasyPassword { @Override public int hashCode() { - return Objects.hash(newPassword, newPw, resetPassword); + return Objects.hash(data, messageId, messageType); } private static int hashCodeNullable(JsonNullable a) { @@ -160,10 +162,10 @@ public class UpdateUserEasyPassword { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class UpdateUserEasyPassword {\n"); - sb.append(" newPassword: ").append(toIndentedString(newPassword)).append("\n"); - sb.append(" newPw: ").append(toIndentedString(newPw)).append("\n"); - sb.append(" resetPassword: ").append(toIndentedString(resetPassword)).append("\n"); + sb.append("class SyncPlayCommandMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -186,9 +188,9 @@ public class UpdateUserEasyPassword { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("NewPassword"); - openapiFields.add("NewPw"); - openapiFields.add("ResetPassword"); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -198,28 +200,33 @@ public class UpdateUserEasyPassword { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to UpdateUserEasyPassword + * @throws IOException if the JSON Element is invalid with respect to SyncPlayCommandMessage */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!UpdateUserEasyPassword.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in UpdateUserEasyPassword is not found in the empty JSON string", UpdateUserEasyPassword.openapiRequiredFields.toString())); + if (!SyncPlayCommandMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SyncPlayCommandMessage is not found in the empty JSON string", SyncPlayCommandMessage.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!UpdateUserEasyPassword.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UpdateUserEasyPassword` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!SyncPlayCommandMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SyncPlayCommandMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("NewPassword") != null && !jsonObj.get("NewPassword").isJsonNull()) && !jsonObj.get("NewPassword").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `NewPassword` to be a primitive type in the JSON string but got `%s`", jsonObj.get("NewPassword").toString())); + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + SendCommand.validateJsonElement(jsonObj.get("Data")); } - if ((jsonObj.get("NewPw") != null && !jsonObj.get("NewPw").isJsonNull()) && !jsonObj.get("NewPw").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `NewPw` to be a primitive type in the JSON string but got `%s`", jsonObj.get("NewPw").toString())); + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); } } @@ -227,22 +234,22 @@ public class UpdateUserEasyPassword { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!UpdateUserEasyPassword.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'UpdateUserEasyPassword' and its subtypes + if (!SyncPlayCommandMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SyncPlayCommandMessage' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(UpdateUserEasyPassword.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SyncPlayCommandMessage.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, UpdateUserEasyPassword value) throws IOException { + public void write(JsonWriter out, SyncPlayCommandMessage value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public UpdateUserEasyPassword read(JsonReader in) throws IOException { + public SyncPlayCommandMessage read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -253,18 +260,18 @@ public class UpdateUserEasyPassword { } /** - * Create an instance of UpdateUserEasyPassword given an JSON string + * Create an instance of SyncPlayCommandMessage given an JSON string * * @param jsonString JSON string - * @return An instance of UpdateUserEasyPassword - * @throws IOException if the JSON string is invalid with respect to UpdateUserEasyPassword + * @return An instance of SyncPlayCommandMessage + * @throws IOException if the JSON string is invalid with respect to SyncPlayCommandMessage */ - public static UpdateUserEasyPassword fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, UpdateUserEasyPassword.class); + public static SyncPlayCommandMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SyncPlayCommandMessage.class); } /** - * Convert an instance of UpdateUserEasyPassword to an JSON string + * Convert an instance of SyncPlayCommandMessage to an JSON string * * @return JSON string */ diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SyncPlayGroupUpdateCommandMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SyncPlayGroupUpdateCommandMessage.java new file mode 100644 index 00000000000..dd40d3c7cad --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SyncPlayGroupUpdateCommandMessage.java @@ -0,0 +1,282 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.GroupUpdate; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Untyped sync play command. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class SyncPlayGroupUpdateCommandMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private GroupUpdate data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.SYNC_PLAY_GROUP_UPDATE; + + public SyncPlayGroupUpdateCommandMessage() { + } + + public SyncPlayGroupUpdateCommandMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public SyncPlayGroupUpdateCommandMessage data(@javax.annotation.Nullable GroupUpdate data) { + this.data = data; + return this; + } + + /** + * Group update without data. + * @return data + */ + @javax.annotation.Nullable + public GroupUpdate getData() { + return data; + } + + public void setData(@javax.annotation.Nullable GroupUpdate data) { + this.data = data; + } + + + public SyncPlayGroupUpdateCommandMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SyncPlayGroupUpdateCommandMessage syncPlayGroupUpdateCommandMessage = (SyncPlayGroupUpdateCommandMessage) o; + return Objects.equals(this.data, syncPlayGroupUpdateCommandMessage.data) && + Objects.equals(this.messageId, syncPlayGroupUpdateCommandMessage.messageId) && + Objects.equals(this.messageType, syncPlayGroupUpdateCommandMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SyncPlayGroupUpdateCommandMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to SyncPlayGroupUpdateCommandMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!SyncPlayGroupUpdateCommandMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SyncPlayGroupUpdateCommandMessage is not found in the empty JSON string", SyncPlayGroupUpdateCommandMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!SyncPlayGroupUpdateCommandMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SyncPlayGroupUpdateCommandMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + GroupUpdate.validateJsonElement(jsonObj.get("Data")); + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SyncPlayGroupUpdateCommandMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SyncPlayGroupUpdateCommandMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SyncPlayGroupUpdateCommandMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SyncPlayGroupUpdateCommandMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SyncPlayGroupUpdateCommandMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SyncPlayGroupUpdateCommandMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of SyncPlayGroupUpdateCommandMessage + * @throws IOException if the JSON string is invalid with respect to SyncPlayGroupUpdateCommandMessage + */ + public static SyncPlayGroupUpdateCommandMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SyncPlayGroupUpdateCommandMessage.class); + } + + /** + * Convert an instance of SyncPlayGroupUpdateCommandMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SyncPlayQueueItem.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SyncPlayQueueItem.java new file mode 100644 index 00000000000..120a60f2085 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SyncPlayQueueItem.java @@ -0,0 +1,236 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Class QueueItem. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class SyncPlayQueueItem { + public static final String SERIALIZED_NAME_ITEM_ID = "ItemId"; + @SerializedName(SERIALIZED_NAME_ITEM_ID) + @javax.annotation.Nullable + private UUID itemId; + + public static final String SERIALIZED_NAME_PLAYLIST_ITEM_ID = "PlaylistItemId"; + @SerializedName(SERIALIZED_NAME_PLAYLIST_ITEM_ID) + @javax.annotation.Nullable + private UUID playlistItemId; + + public SyncPlayQueueItem() { + } + + public SyncPlayQueueItem( + UUID playlistItemId + ) { + this(); + this.playlistItemId = playlistItemId; + } + + public SyncPlayQueueItem itemId(@javax.annotation.Nullable UUID itemId) { + this.itemId = itemId; + return this; + } + + /** + * Gets the item identifier. + * @return itemId + */ + @javax.annotation.Nullable + public UUID getItemId() { + return itemId; + } + + public void setItemId(@javax.annotation.Nullable UUID itemId) { + this.itemId = itemId; + } + + + /** + * Gets the playlist identifier of the item. + * @return playlistItemId + */ + @javax.annotation.Nullable + public UUID getPlaylistItemId() { + return playlistItemId; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SyncPlayQueueItem syncPlayQueueItem = (SyncPlayQueueItem) o; + return Objects.equals(this.itemId, syncPlayQueueItem.itemId) && + Objects.equals(this.playlistItemId, syncPlayQueueItem.playlistItemId); + } + + @Override + public int hashCode() { + return Objects.hash(itemId, playlistItemId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SyncPlayQueueItem {\n"); + sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n"); + sb.append(" playlistItemId: ").append(toIndentedString(playlistItemId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("ItemId"); + openapiFields.add("PlaylistItemId"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to SyncPlayQueueItem + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!SyncPlayQueueItem.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SyncPlayQueueItem is not found in the empty JSON string", SyncPlayQueueItem.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!SyncPlayQueueItem.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `SyncPlayQueueItem` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("ItemId") != null && !jsonObj.get("ItemId").isJsonNull()) && !jsonObj.get("ItemId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `ItemId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ItemId").toString())); + } + if ((jsonObj.get("PlaylistItemId") != null && !jsonObj.get("PlaylistItemId").isJsonNull()) && !jsonObj.get("PlaylistItemId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `PlaylistItemId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("PlaylistItemId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SyncPlayQueueItem.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SyncPlayQueueItem' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SyncPlayQueueItem.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SyncPlayQueueItem value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SyncPlayQueueItem read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SyncPlayQueueItem given an JSON string + * + * @param jsonString JSON string + * @return An instance of SyncPlayQueueItem + * @throws IOException if the JSON string is invalid with respect to SyncPlayQueueItem + */ + public static SyncPlayQueueItem fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SyncPlayQueueItem.class); + } + + /** + * Convert an instance of SyncPlayQueueItem to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SyncPlayUserAccessType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SyncPlayUserAccessType.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SyncPlayUserAccessType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SyncPlayUserAccessType.java index 2e6c4b917e6..01208d3d3d6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SyncPlayUserAccessType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SyncPlayUserAccessType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SystemInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SystemInfo.java similarity index 88% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SystemInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SystemInfo.java index 7af7d2ddd27..292d12dac16 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SystemInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/SystemInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,8 +23,7 @@ import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import org.openapitools.client.model.Architecture; -import org.openapitools.client.model.FFmpegLocation; +import org.openapitools.client.model.CastReceiverApplication; import org.openapitools.client.model.InstallationInfo; import org.openapitools.jackson.nullable.JsonNullable; @@ -54,7 +53,7 @@ import org.openapitools.client.JSON; /** * Class SystemInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SystemInfo { public static final String SERIALIZED_NAME_LOCAL_ADDRESS = "LocalAddress"; @SerializedName(SERIALIZED_NAME_LOCAL_ADDRESS) @@ -77,6 +76,7 @@ public class SystemInfo { private String productName; public static final String SERIALIZED_NAME_OPERATING_SYSTEM = "OperatingSystem"; + @Deprecated @SerializedName(SERIALIZED_NAME_OPERATING_SYSTEM) @javax.annotation.Nullable private String operatingSystem; @@ -92,6 +92,7 @@ public class SystemInfo { private Boolean startupWizardCompleted; public static final String SERIALIZED_NAME_OPERATING_SYSTEM_DISPLAY_NAME = "OperatingSystemDisplayName"; + @Deprecated @SerializedName(SERIALIZED_NAME_OPERATING_SYSTEM_DISPLAY_NAME) @javax.annotation.Nullable private String operatingSystemDisplayName; @@ -127,14 +128,16 @@ public class SystemInfo { private List completedInstallations; public static final String SERIALIZED_NAME_CAN_SELF_RESTART = "CanSelfRestart"; + @Deprecated @SerializedName(SERIALIZED_NAME_CAN_SELF_RESTART) @javax.annotation.Nullable - private Boolean canSelfRestart; + private Boolean canSelfRestart = true; public static final String SERIALIZED_NAME_CAN_LAUNCH_WEB_BROWSER = "CanLaunchWebBrowser"; + @Deprecated @SerializedName(SERIALIZED_NAME_CAN_LAUNCH_WEB_BROWSER) @javax.annotation.Nullable - private Boolean canLaunchWebBrowser; + private Boolean canLaunchWebBrowser = false; public static final String SERIALIZED_NAME_PROGRAM_DATA_PATH = "ProgramDataPath"; @SerializedName(SERIALIZED_NAME_PROGRAM_DATA_PATH) @@ -171,22 +174,28 @@ public class SystemInfo { @javax.annotation.Nullable private String transcodingTempPath; + public static final String SERIALIZED_NAME_CAST_RECEIVER_APPLICATIONS = "CastReceiverApplications"; + @SerializedName(SERIALIZED_NAME_CAST_RECEIVER_APPLICATIONS) + @javax.annotation.Nullable + private List castReceiverApplications; + public static final String SERIALIZED_NAME_HAS_UPDATE_AVAILABLE = "HasUpdateAvailable"; @Deprecated @SerializedName(SERIALIZED_NAME_HAS_UPDATE_AVAILABLE) @javax.annotation.Nullable - private Boolean hasUpdateAvailable; + private Boolean hasUpdateAvailable = false; public static final String SERIALIZED_NAME_ENCODER_LOCATION = "EncoderLocation"; @Deprecated @SerializedName(SERIALIZED_NAME_ENCODER_LOCATION) @javax.annotation.Nullable - private FFmpegLocation encoderLocation; + private String encoderLocation = "System"; public static final String SERIALIZED_NAME_SYSTEM_ARCHITECTURE = "SystemArchitecture"; + @Deprecated @SerializedName(SERIALIZED_NAME_SYSTEM_ARCHITECTURE) @javax.annotation.Nullable - private Architecture systemArchitecture; + private String systemArchitecture = "X64"; public SystemInfo() { } @@ -267,6 +276,7 @@ public class SystemInfo { } + @Deprecated public SystemInfo operatingSystem(@javax.annotation.Nullable String operatingSystem) { this.operatingSystem = operatingSystem; return this; @@ -275,12 +285,15 @@ public class SystemInfo { /** * Gets or sets the operating system. * @return operatingSystem + * @deprecated */ + @Deprecated @javax.annotation.Nullable public String getOperatingSystem() { return operatingSystem; } + @Deprecated public void setOperatingSystem(@javax.annotation.Nullable String operatingSystem) { this.operatingSystem = operatingSystem; } @@ -324,6 +337,7 @@ public class SystemInfo { } + @Deprecated public SystemInfo operatingSystemDisplayName(@javax.annotation.Nullable String operatingSystemDisplayName) { this.operatingSystemDisplayName = operatingSystemDisplayName; return this; @@ -332,12 +346,15 @@ public class SystemInfo { /** * Gets or sets the display name of the operating system. * @return operatingSystemDisplayName + * @deprecated */ + @Deprecated @javax.annotation.Nullable public String getOperatingSystemDisplayName() { return operatingSystemDisplayName; } + @Deprecated public void setOperatingSystemDisplayName(@javax.annotation.Nullable String operatingSystemDisplayName) { this.operatingSystemDisplayName = operatingSystemDisplayName; } @@ -465,6 +482,7 @@ public class SystemInfo { } + @Deprecated public SystemInfo canSelfRestart(@javax.annotation.Nullable Boolean canSelfRestart) { this.canSelfRestart = canSelfRestart; return this; @@ -473,17 +491,21 @@ public class SystemInfo { /** * Gets or sets a value indicating whether this instance can self restart. * @return canSelfRestart + * @deprecated */ + @Deprecated @javax.annotation.Nullable public Boolean getCanSelfRestart() { return canSelfRestart; } + @Deprecated public void setCanSelfRestart(@javax.annotation.Nullable Boolean canSelfRestart) { this.canSelfRestart = canSelfRestart; } + @Deprecated public SystemInfo canLaunchWebBrowser(@javax.annotation.Nullable Boolean canLaunchWebBrowser) { this.canLaunchWebBrowser = canLaunchWebBrowser; return this; @@ -492,12 +514,15 @@ public class SystemInfo { /** * Get canLaunchWebBrowser * @return canLaunchWebBrowser + * @deprecated */ + @Deprecated @javax.annotation.Nullable public Boolean getCanLaunchWebBrowser() { return canLaunchWebBrowser; } + @Deprecated public void setCanLaunchWebBrowser(@javax.annotation.Nullable Boolean canLaunchWebBrowser) { this.canLaunchWebBrowser = canLaunchWebBrowser; } @@ -636,6 +661,33 @@ public class SystemInfo { } + public SystemInfo castReceiverApplications(@javax.annotation.Nullable List castReceiverApplications) { + this.castReceiverApplications = castReceiverApplications; + return this; + } + + public SystemInfo addCastReceiverApplicationsItem(CastReceiverApplication castReceiverApplicationsItem) { + if (this.castReceiverApplications == null) { + this.castReceiverApplications = new ArrayList<>(); + } + this.castReceiverApplications.add(castReceiverApplicationsItem); + return this; + } + + /** + * Gets or sets the list of cast receiver applications. + * @return castReceiverApplications + */ + @javax.annotation.Nullable + public List getCastReceiverApplications() { + return castReceiverApplications; + } + + public void setCastReceiverApplications(@javax.annotation.Nullable List castReceiverApplications) { + this.castReceiverApplications = castReceiverApplications; + } + + @Deprecated public SystemInfo hasUpdateAvailable(@javax.annotation.Nullable Boolean hasUpdateAvailable) { this.hasUpdateAvailable = hasUpdateAvailable; @@ -660,29 +712,30 @@ public class SystemInfo { @Deprecated - public SystemInfo encoderLocation(@javax.annotation.Nullable FFmpegLocation encoderLocation) { + public SystemInfo encoderLocation(@javax.annotation.Nullable String encoderLocation) { this.encoderLocation = encoderLocation; return this; } /** - * Enum describing the location of the FFmpeg tool. + * Get encoderLocation * @return encoderLocation * @deprecated */ @Deprecated @javax.annotation.Nullable - public FFmpegLocation getEncoderLocation() { + public String getEncoderLocation() { return encoderLocation; } @Deprecated - public void setEncoderLocation(@javax.annotation.Nullable FFmpegLocation encoderLocation) { + public void setEncoderLocation(@javax.annotation.Nullable String encoderLocation) { this.encoderLocation = encoderLocation; } - public SystemInfo systemArchitecture(@javax.annotation.Nullable Architecture systemArchitecture) { + @Deprecated + public SystemInfo systemArchitecture(@javax.annotation.Nullable String systemArchitecture) { this.systemArchitecture = systemArchitecture; return this; } @@ -690,13 +743,16 @@ public class SystemInfo { /** * Get systemArchitecture * @return systemArchitecture + * @deprecated */ + @Deprecated @javax.annotation.Nullable - public Architecture getSystemArchitecture() { + public String getSystemArchitecture() { return systemArchitecture; } - public void setSystemArchitecture(@javax.annotation.Nullable Architecture systemArchitecture) { + @Deprecated + public void setSystemArchitecture(@javax.annotation.Nullable String systemArchitecture) { this.systemArchitecture = systemArchitecture; } @@ -734,6 +790,7 @@ public class SystemInfo { Objects.equals(this.logPath, systemInfo.logPath) && Objects.equals(this.internalMetadataPath, systemInfo.internalMetadataPath) && Objects.equals(this.transcodingTempPath, systemInfo.transcodingTempPath) && + Objects.equals(this.castReceiverApplications, systemInfo.castReceiverApplications) && Objects.equals(this.hasUpdateAvailable, systemInfo.hasUpdateAvailable) && Objects.equals(this.encoderLocation, systemInfo.encoderLocation) && Objects.equals(this.systemArchitecture, systemInfo.systemArchitecture); @@ -745,7 +802,7 @@ public class SystemInfo { @Override public int hashCode() { - return Objects.hash(localAddress, serverName, version, productName, operatingSystem, id, startupWizardCompleted, operatingSystemDisplayName, packageName, hasPendingRestart, isShuttingDown, supportsLibraryMonitor, webSocketPortNumber, completedInstallations, canSelfRestart, canLaunchWebBrowser, programDataPath, webPath, itemsByNamePath, cachePath, logPath, internalMetadataPath, transcodingTempPath, hasUpdateAvailable, encoderLocation, systemArchitecture); + return Objects.hash(localAddress, serverName, version, productName, operatingSystem, id, startupWizardCompleted, operatingSystemDisplayName, packageName, hasPendingRestart, isShuttingDown, supportsLibraryMonitor, webSocketPortNumber, completedInstallations, canSelfRestart, canLaunchWebBrowser, programDataPath, webPath, itemsByNamePath, cachePath, logPath, internalMetadataPath, transcodingTempPath, castReceiverApplications, hasUpdateAvailable, encoderLocation, systemArchitecture); } private static int hashCodeNullable(JsonNullable a) { @@ -782,6 +839,7 @@ public class SystemInfo { sb.append(" logPath: ").append(toIndentedString(logPath)).append("\n"); sb.append(" internalMetadataPath: ").append(toIndentedString(internalMetadataPath)).append("\n"); sb.append(" transcodingTempPath: ").append(toIndentedString(transcodingTempPath)).append("\n"); + sb.append(" castReceiverApplications: ").append(toIndentedString(castReceiverApplications)).append("\n"); sb.append(" hasUpdateAvailable: ").append(toIndentedString(hasUpdateAvailable)).append("\n"); sb.append(" encoderLocation: ").append(toIndentedString(encoderLocation)).append("\n"); sb.append(" systemArchitecture: ").append(toIndentedString(systemArchitecture)).append("\n"); @@ -830,6 +888,7 @@ public class SystemInfo { openapiFields.add("LogPath"); openapiFields.add("InternalMetadataPath"); openapiFields.add("TranscodingTempPath"); + openapiFields.add("CastReceiverApplications"); openapiFields.add("HasUpdateAvailable"); openapiFields.add("EncoderLocation"); openapiFields.add("SystemArchitecture"); @@ -918,13 +977,25 @@ public class SystemInfo { if ((jsonObj.get("TranscodingTempPath") != null && !jsonObj.get("TranscodingTempPath").isJsonNull()) && !jsonObj.get("TranscodingTempPath").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `TranscodingTempPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("TranscodingTempPath").toString())); } - // validate the optional field `EncoderLocation` - if (jsonObj.get("EncoderLocation") != null && !jsonObj.get("EncoderLocation").isJsonNull()) { - FFmpegLocation.validateJsonElement(jsonObj.get("EncoderLocation")); + if (jsonObj.get("CastReceiverApplications") != null && !jsonObj.get("CastReceiverApplications").isJsonNull()) { + JsonArray jsonArraycastReceiverApplications = jsonObj.getAsJsonArray("CastReceiverApplications"); + if (jsonArraycastReceiverApplications != null) { + // ensure the json data is an array + if (!jsonObj.get("CastReceiverApplications").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `CastReceiverApplications` to be an array in the JSON string but got `%s`", jsonObj.get("CastReceiverApplications").toString())); + } + + // validate the optional field `CastReceiverApplications` (array) + for (int i = 0; i < jsonArraycastReceiverApplications.size(); i++) { + CastReceiverApplication.validateJsonElement(jsonArraycastReceiverApplications.get(i)); + }; + } } - // validate the optional field `SystemArchitecture` - if (jsonObj.get("SystemArchitecture") != null && !jsonObj.get("SystemArchitecture").isJsonNull()) { - Architecture.validateJsonElement(jsonObj.get("SystemArchitecture")); + if ((jsonObj.get("EncoderLocation") != null && !jsonObj.get("EncoderLocation").isJsonNull()) && !jsonObj.get("EncoderLocation").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `EncoderLocation` to be a primitive type in the JSON string but got `%s`", jsonObj.get("EncoderLocation").toString())); + } + if ((jsonObj.get("SystemArchitecture") != null && !jsonObj.get("SystemArchitecture").isJsonNull()) && !jsonObj.get("SystemArchitecture").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `SystemArchitecture` to be a primitive type in the JSON string but got `%s`", jsonObj.get("SystemArchitecture").toString())); } } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TaskCompletionStatus.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TaskCompletionStatus.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TaskCompletionStatus.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TaskCompletionStatus.java index 90189d16589..67fdda04e2c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TaskCompletionStatus.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TaskCompletionStatus.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TaskInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TaskInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TaskInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TaskInfo.java index 3a0a0c0f46f..a8d7d3336e6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TaskInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TaskInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * Class TaskInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TaskInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TaskResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TaskResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TaskResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TaskResult.java index 72505c7f5fc..e012df98466 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TaskResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TaskResult.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class TaskExecutionInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TaskResult { public static final String SERIALIZED_NAME_START_TIME_UTC = "StartTimeUtc"; @SerializedName(SERIALIZED_NAME_START_TIME_UTC) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TaskState.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TaskState.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TaskState.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TaskState.java index bbce5656f4b..04cc238fe3a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TaskState.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TaskState.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TaskTriggerInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TaskTriggerInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TaskTriggerInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TaskTriggerInfo.java index 5314b8d66c9..ddc7f304df7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TaskTriggerInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TaskTriggerInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Class TaskTriggerInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TaskTriggerInfo { public static final String SERIALIZED_NAME_TYPE = "Type"; @SerializedName(SERIALIZED_NAME_TYPE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ThemeMediaResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ThemeMediaResult.java similarity index 93% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ThemeMediaResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ThemeMediaResult.java index 267d7cb2822..acaba5234df 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ThemeMediaResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ThemeMediaResult.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,7 +25,6 @@ import java.util.Arrays; import java.util.List; import java.util.UUID; import org.openapitools.client.model.BaseItemDto; -import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -53,12 +52,12 @@ import org.openapitools.client.JSON; /** * Class ThemeMediaResult. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ThemeMediaResult { public static final String SERIALIZED_NAME_ITEMS = "Items"; @SerializedName(SERIALIZED_NAME_ITEMS) @javax.annotation.Nullable - private List items; + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_TOTAL_RECORD_COUNT = "TotalRecordCount"; @SerializedName(SERIALIZED_NAME_TOTAL_RECORD_COUNT) @@ -178,22 +177,11 @@ public class ThemeMediaResult { Objects.equals(this.ownerId, themeMediaResult.ownerId); } - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - @Override public int hashCode() { return Objects.hash(items, totalRecordCount, startIndex, ownerId); } - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - @Override public String toString() { StringBuilder sb = new StringBuilder(); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TimerCancelledMessage.java similarity index 52% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TimerCancelledMessage.java index b967a430f05..71239261981 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TimerCancelledMessage.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,9 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.client.model.TimerEventInfo; import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; @@ -47,84 +50,84 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * An entity representing custom options for a device. + * Timer cancelled message. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class DeviceOptions { - public static final String SERIALIZED_NAME_ID = "Id"; - @SerializedName(SERIALIZED_NAME_ID) +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class TimerCancelledMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) @javax.annotation.Nullable - private Integer id; + private TimerEventInfo data; - public static final String SERIALIZED_NAME_DEVICE_ID = "DeviceId"; - @SerializedName(SERIALIZED_NAME_DEVICE_ID) + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) @javax.annotation.Nullable - private String deviceId; + private UUID messageId; - public static final String SERIALIZED_NAME_CUSTOM_NAME = "CustomName"; - @SerializedName(SERIALIZED_NAME_CUSTOM_NAME) + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) @javax.annotation.Nullable - private String customName; + private SessionMessageType messageType = SessionMessageType.TIMER_CANCELLED; - public DeviceOptions() { + public TimerCancelledMessage() { } - public DeviceOptions( - Integer id + public TimerCancelledMessage( + SessionMessageType messageType ) { this(); - this.id = id; + this.messageType = messageType; } - /** - * Gets the id. - * @return id - */ - @javax.annotation.Nullable - public Integer getId() { - return id; - } - - - - public DeviceOptions deviceId(@javax.annotation.Nullable String deviceId) { - this.deviceId = deviceId; + public TimerCancelledMessage data(@javax.annotation.Nullable TimerEventInfo data) { + this.data = data; return this; } /** - * Gets the device id. - * @return deviceId + * Gets or sets the data. + * @return data */ @javax.annotation.Nullable - public String getDeviceId() { - return deviceId; + public TimerEventInfo getData() { + return data; } - public void setDeviceId(@javax.annotation.Nullable String deviceId) { - this.deviceId = deviceId; + public void setData(@javax.annotation.Nullable TimerEventInfo data) { + this.data = data; } - public DeviceOptions customName(@javax.annotation.Nullable String customName) { - this.customName = customName; + public TimerCancelledMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; return this; } /** - * Gets or sets the custom name. - * @return customName + * Gets or sets the message id. + * @return messageId */ @javax.annotation.Nullable - public String getCustomName() { - return customName; + public UUID getMessageId() { + return messageId; } - public void setCustomName(@javax.annotation.Nullable String customName) { - this.customName = customName; + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; } + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + @Override public boolean equals(Object o) { @@ -134,10 +137,10 @@ public class DeviceOptions { if (o == null || getClass() != o.getClass()) { return false; } - DeviceOptions deviceOptions = (DeviceOptions) o; - return Objects.equals(this.id, deviceOptions.id) && - Objects.equals(this.deviceId, deviceOptions.deviceId) && - Objects.equals(this.customName, deviceOptions.customName); + TimerCancelledMessage timerCancelledMessage = (TimerCancelledMessage) o; + return Objects.equals(this.data, timerCancelledMessage.data) && + Objects.equals(this.messageId, timerCancelledMessage.messageId) && + Objects.equals(this.messageType, timerCancelledMessage.messageType); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -146,7 +149,7 @@ public class DeviceOptions { @Override public int hashCode() { - return Objects.hash(id, deviceId, customName); + return Objects.hash(data, messageId, messageType); } private static int hashCodeNullable(JsonNullable a) { @@ -159,10 +162,10 @@ public class DeviceOptions { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class DeviceOptions {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" deviceId: ").append(toIndentedString(deviceId)).append("\n"); - sb.append(" customName: ").append(toIndentedString(customName)).append("\n"); + sb.append("class TimerCancelledMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -185,9 +188,9 @@ public class DeviceOptions { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("Id"); - openapiFields.add("DeviceId"); - openapiFields.add("CustomName"); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -197,28 +200,33 @@ public class DeviceOptions { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DeviceOptions + * @throws IOException if the JSON Element is invalid with respect to TimerCancelledMessage */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!DeviceOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in DeviceOptions is not found in the empty JSON string", DeviceOptions.openapiRequiredFields.toString())); + if (!TimerCancelledMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in TimerCancelledMessage is not found in the empty JSON string", TimerCancelledMessage.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!DeviceOptions.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DeviceOptions` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!TimerCancelledMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `TimerCancelledMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("DeviceId") != null && !jsonObj.get("DeviceId").isJsonNull()) && !jsonObj.get("DeviceId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `DeviceId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("DeviceId").toString())); + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + TimerEventInfo.validateJsonElement(jsonObj.get("Data")); } - if ((jsonObj.get("CustomName") != null && !jsonObj.get("CustomName").isJsonNull()) && !jsonObj.get("CustomName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `CustomName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("CustomName").toString())); + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); } } @@ -226,22 +234,22 @@ public class DeviceOptions { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!DeviceOptions.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'DeviceOptions' and its subtypes + if (!TimerCancelledMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'TimerCancelledMessage' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(DeviceOptions.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(TimerCancelledMessage.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, DeviceOptions value) throws IOException { + public void write(JsonWriter out, TimerCancelledMessage value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public DeviceOptions read(JsonReader in) throws IOException { + public TimerCancelledMessage read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -252,18 +260,18 @@ public class DeviceOptions { } /** - * Create an instance of DeviceOptions given an JSON string + * Create an instance of TimerCancelledMessage given an JSON string * * @param jsonString JSON string - * @return An instance of DeviceOptions - * @throws IOException if the JSON string is invalid with respect to DeviceOptions + * @return An instance of TimerCancelledMessage + * @throws IOException if the JSON string is invalid with respect to TimerCancelledMessage */ - public static DeviceOptions fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, DeviceOptions.class); + public static TimerCancelledMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, TimerCancelledMessage.class); } /** - * Convert an instance of DeviceOptions to an JSON string + * Convert an instance of TimerCancelledMessage to an JSON string * * @return JSON string */ diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TimerCreatedMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TimerCreatedMessage.java new file mode 100644 index 00000000000..2a9462616c2 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TimerCreatedMessage.java @@ -0,0 +1,282 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.client.model.TimerEventInfo; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Timer created message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class TimerCreatedMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private TimerEventInfo data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.TIMER_CREATED; + + public TimerCreatedMessage() { + } + + public TimerCreatedMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public TimerCreatedMessage data(@javax.annotation.Nullable TimerEventInfo data) { + this.data = data; + return this; + } + + /** + * Gets or sets the data. + * @return data + */ + @javax.annotation.Nullable + public TimerEventInfo getData() { + return data; + } + + public void setData(@javax.annotation.Nullable TimerEventInfo data) { + this.data = data; + } + + + public TimerCreatedMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TimerCreatedMessage timerCreatedMessage = (TimerCreatedMessage) o; + return Objects.equals(this.data, timerCreatedMessage.data) && + Objects.equals(this.messageId, timerCreatedMessage.messageId) && + Objects.equals(this.messageType, timerCreatedMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TimerCreatedMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to TimerCreatedMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!TimerCreatedMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in TimerCreatedMessage is not found in the empty JSON string", TimerCreatedMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!TimerCreatedMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `TimerCreatedMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + TimerEventInfo.validateJsonElement(jsonObj.get("Data")); + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!TimerCreatedMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'TimerCreatedMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(TimerCreatedMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, TimerCreatedMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public TimerCreatedMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of TimerCreatedMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of TimerCreatedMessage + * @throws IOException if the JSON string is invalid with respect to TimerCreatedMessage + */ + public static TimerCreatedMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, TimerCreatedMessage.class); + } + + /** + * Convert an instance of TimerCreatedMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TimerEventInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TimerEventInfo.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TimerEventInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TimerEventInfo.java index 4413436b8ec..d70c2a66f32 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TimerEventInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TimerEventInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * TimerEventInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TimerEventInfo { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TimerInfoDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TimerInfoDto.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TimerInfoDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TimerInfoDto.java index 21e9664cf38..267c9f037bd 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TimerInfoDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TimerInfoDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -56,7 +56,7 @@ import org.openapitools.client.JSON; /** * TimerInfoDto */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TimerInfoDto { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TimerInfoDtoQueryResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TimerInfoDtoQueryResult.java similarity index 93% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TimerInfoDtoQueryResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TimerInfoDtoQueryResult.java index 33b7d6757f4..fbc9ecbada1 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TimerInfoDtoQueryResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TimerInfoDtoQueryResult.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,7 +24,6 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.openapitools.client.model.TimerInfoDto; -import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -50,14 +49,14 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * TimerInfoDtoQueryResult + * Query result container. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TimerInfoDtoQueryResult { public static final String SERIALIZED_NAME_ITEMS = "Items"; @SerializedName(SERIALIZED_NAME_ITEMS) @javax.annotation.Nullable - private List items; + private List items = new ArrayList<>(); public static final String SERIALIZED_NAME_TOTAL_RECORD_COUNT = "TotalRecordCount"; @SerializedName(SERIALIZED_NAME_TOTAL_RECORD_COUNT) @@ -152,22 +151,11 @@ public class TimerInfoDtoQueryResult { Objects.equals(this.startIndex, timerInfoDtoQueryResult.startIndex); } - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - @Override public int hashCode() { return Objects.hash(items, totalRecordCount, startIndex); } - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - @Override public String toString() { StringBuilder sb = new StringBuilder(); diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TonemappingAlgorithm.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TonemappingAlgorithm.java new file mode 100644 index 00000000000..21372b5e0f4 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TonemappingAlgorithm.java @@ -0,0 +1,90 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.JsonElement; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Enum containing tonemapping algorithms. + */ +@JsonAdapter(TonemappingAlgorithm.Adapter.class) +public enum TonemappingAlgorithm { + + NONE("none"), + + CLIP("clip"), + + LINEAR("linear"), + + GAMMA("gamma"), + + REINHARD("reinhard"), + + HABLE("hable"), + + MOBIUS("mobius"), + + BT2390("bt2390"); + + private String value; + + TonemappingAlgorithm(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TonemappingAlgorithm fromValue(String value) { + for (TonemappingAlgorithm b : TonemappingAlgorithm.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TonemappingAlgorithm enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TonemappingAlgorithm read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TonemappingAlgorithm.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + TonemappingAlgorithm.fromValue(value); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/HeaderMatchType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TonemappingMode.java similarity index 65% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/HeaderMatchType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TonemappingMode.java index 05db03ef3ac..d4348edf4ac 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/HeaderMatchType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TonemappingMode.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,20 +24,24 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; /** - * Gets or Sets HeaderMatchType + * Enum containing tonemapping modes. */ -@JsonAdapter(HeaderMatchType.Adapter.class) -public enum HeaderMatchType { +@JsonAdapter(TonemappingMode.Adapter.class) +public enum TonemappingMode { - EQUALS("Equals"), + AUTO("auto"), - REGEX("Regex"), + MAX("max"), - SUBSTRING("Substring"); + RGB("rgb"), + + LUM("lum"), + + ITP("itp"); private String value; - HeaderMatchType(String value) { + TonemappingMode(String value) { this.value = value; } @@ -50,8 +54,8 @@ public enum HeaderMatchType { return String.valueOf(value); } - public static HeaderMatchType fromValue(String value) { - for (HeaderMatchType b : HeaderMatchType.values()) { + public static TonemappingMode fromValue(String value) { + for (TonemappingMode b : TonemappingMode.values()) { if (b.value.equals(value)) { return b; } @@ -59,22 +63,22 @@ public enum HeaderMatchType { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - public static class Adapter extends TypeAdapter { + public static class Adapter extends TypeAdapter { @Override - public void write(final JsonWriter jsonWriter, final HeaderMatchType enumeration) throws IOException { + public void write(final JsonWriter jsonWriter, final TonemappingMode enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override - public HeaderMatchType read(final JsonReader jsonReader) throws IOException { + public TonemappingMode read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); - return HeaderMatchType.fromValue(value); + return TonemappingMode.fromValue(value); } } public static void validateJsonElement(JsonElement jsonElement) throws IOException { String value = jsonElement.getAsString(); - HeaderMatchType.fromValue(value); + TonemappingMode.fromValue(value); } } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportExportType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TonemappingRange.java similarity index 65% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportExportType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TonemappingRange.java index 00a75f25ccd..278a5b8fa05 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportExportType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TonemappingRange.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,18 +24,20 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; /** - * Gets or Sets ReportExportType + * Enum containing tonemapping ranges. */ -@JsonAdapter(ReportExportType.Adapter.class) -public enum ReportExportType { +@JsonAdapter(TonemappingRange.Adapter.class) +public enum TonemappingRange { - CSV("CSV"), + AUTO("auto"), - EXCEL("Excel"); + TV("tv"), + + PC("pc"); private String value; - ReportExportType(String value) { + TonemappingRange(String value) { this.value = value; } @@ -48,8 +50,8 @@ public enum ReportExportType { return String.valueOf(value); } - public static ReportExportType fromValue(String value) { - for (ReportExportType b : ReportExportType.values()) { + public static TonemappingRange fromValue(String value) { + for (TonemappingRange b : TonemappingRange.values()) { if (b.value.equals(value)) { return b; } @@ -57,22 +59,22 @@ public enum ReportExportType { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - public static class Adapter extends TypeAdapter { + public static class Adapter extends TypeAdapter { @Override - public void write(final JsonWriter jsonWriter, final ReportExportType enumeration) throws IOException { + public void write(final JsonWriter jsonWriter, final TonemappingRange enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override - public ReportExportType read(final JsonReader jsonReader) throws IOException { + public TonemappingRange read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); - return ReportExportType.fromValue(value); + return TonemappingRange.fromValue(value); } } public static void validateJsonElement(JsonElement jsonElement) throws IOException { String value = jsonElement.getAsString(); - ReportExportType.fromValue(value); + TonemappingRange.fromValue(value); } } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TrailerInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TrailerInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TrailerInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TrailerInfo.java index c56ce4b42e4..680e7d64007 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TrailerInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TrailerInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * TrailerInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TrailerInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TrailerInfoRemoteSearchQuery.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TrailerInfoRemoteSearchQuery.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TrailerInfoRemoteSearchQuery.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TrailerInfoRemoteSearchQuery.java index ed3159d5c54..54bedae0509 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TrailerInfoRemoteSearchQuery.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TrailerInfoRemoteSearchQuery.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * TrailerInfoRemoteSearchQuery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TrailerInfoRemoteSearchQuery { public static final String SERIALIZED_NAME_SEARCH_INFO = "SearchInfo"; @SerializedName(SERIALIZED_NAME_SEARCH_INFO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TranscodeReason.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TranscodeReason.java similarity index 94% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TranscodeReason.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TranscodeReason.java index 90264a4a218..0e2dfded9c6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TranscodeReason.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TranscodeReason.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -77,7 +77,9 @@ public enum TranscodeReason { DIRECT_PLAY_ERROR("DirectPlayError"), - VIDEO_RANGE_TYPE_NOT_SUPPORTED("VideoRangeTypeNotSupported"); + VIDEO_RANGE_TYPE_NOT_SUPPORTED("VideoRangeTypeNotSupported"), + + VIDEO_CODEC_TAG_NOT_SUPPORTED("VideoCodecTagNotSupported"); private String value; diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TranscodeSeekInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TranscodeSeekInfo.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TranscodeSeekInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TranscodeSeekInfo.java index bd7e8c80190..d05b17f69aa 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TranscodeSeekInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TranscodeSeekInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TranscodingInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TranscodingInfo.java similarity index 79% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TranscodingInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TranscodingInfo.java index 12e3b4778fd..1585843ea9e 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TranscodingInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TranscodingInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,7 +23,7 @@ import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import org.openapitools.client.model.HardwareEncodingType; +import org.openapitools.client.model.HardwareAccelerationType; import org.openapitools.client.model.TranscodeReason; import org.openapitools.jackson.nullable.JsonNullable; @@ -51,9 +51,9 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * TranscodingInfo + * Class holding information on a runnning transcode. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TranscodingInfo { public static final String SERIALIZED_NAME_AUDIO_CODEC = "AudioCodec"; @SerializedName(SERIALIZED_NAME_AUDIO_CODEC) @@ -113,12 +113,112 @@ public class TranscodingInfo { public static final String SERIALIZED_NAME_HARDWARE_ACCELERATION_TYPE = "HardwareAccelerationType"; @SerializedName(SERIALIZED_NAME_HARDWARE_ACCELERATION_TYPE) @javax.annotation.Nullable - private HardwareEncodingType hardwareAccelerationType; + private HardwareAccelerationType hardwareAccelerationType; + + /** + * Gets or Sets transcodeReasons + */ + @JsonAdapter(TranscodeReason.Adapter.class) + public enum TranscodeReason { + CONTAINER_NOT_SUPPORTED("ContainerNotSupported"), + + VIDEO_CODEC_NOT_SUPPORTED("VideoCodecNotSupported"), + + AUDIO_CODEC_NOT_SUPPORTED("AudioCodecNotSupported"), + + SUBTITLE_CODEC_NOT_SUPPORTED("SubtitleCodecNotSupported"), + + AUDIO_IS_EXTERNAL("AudioIsExternal"), + + SECONDARY_AUDIO_NOT_SUPPORTED("SecondaryAudioNotSupported"), + + VIDEO_PROFILE_NOT_SUPPORTED("VideoProfileNotSupported"), + + VIDEO_LEVEL_NOT_SUPPORTED("VideoLevelNotSupported"), + + VIDEO_RESOLUTION_NOT_SUPPORTED("VideoResolutionNotSupported"), + + VIDEO_BIT_DEPTH_NOT_SUPPORTED("VideoBitDepthNotSupported"), + + VIDEO_FRAMERATE_NOT_SUPPORTED("VideoFramerateNotSupported"), + + REF_FRAMES_NOT_SUPPORTED("RefFramesNotSupported"), + + ANAMORPHIC_VIDEO_NOT_SUPPORTED("AnamorphicVideoNotSupported"), + + INTERLACED_VIDEO_NOT_SUPPORTED("InterlacedVideoNotSupported"), + + AUDIO_CHANNELS_NOT_SUPPORTED("AudioChannelsNotSupported"), + + AUDIO_PROFILE_NOT_SUPPORTED("AudioProfileNotSupported"), + + AUDIO_SAMPLE_RATE_NOT_SUPPORTED("AudioSampleRateNotSupported"), + + AUDIO_BIT_DEPTH_NOT_SUPPORTED("AudioBitDepthNotSupported"), + + CONTAINER_BITRATE_EXCEEDS_LIMIT("ContainerBitrateExceedsLimit"), + + VIDEO_BITRATE_NOT_SUPPORTED("VideoBitrateNotSupported"), + + AUDIO_BITRATE_NOT_SUPPORTED("AudioBitrateNotSupported"), + + UNKNOWN_VIDEO_STREAM_INFO("UnknownVideoStreamInfo"), + + UNKNOWN_AUDIO_STREAM_INFO("UnknownAudioStreamInfo"), + + DIRECT_PLAY_ERROR("DirectPlayError"), + + VIDEO_RANGE_TYPE_NOT_SUPPORTED("VideoRangeTypeNotSupported"), + + VIDEO_CODEC_TAG_NOT_SUPPORTED("VideoCodecTagNotSupported"); + + private TranscodeReason value; + + TranscodeReason(TranscodeReason value) { + this.value = value; + } + + public TranscodeReason getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TranscodeReason fromValue(TranscodeReason value) { + for (TranscodeReason b : TranscodeReason.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TranscodeReason enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TranscodeReason read(final JsonReader jsonReader) throws IOException { + TranscodeReason value = jsonReader.nextTranscodeReason(); + return TranscodeReason.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + TranscodeReason value = jsonElement.getAsTranscodeReason(); + TranscodeReason.fromValue(value); + } + } public static final String SERIALIZED_NAME_TRANSCODE_REASONS = "TranscodeReasons"; @SerializedName(SERIALIZED_NAME_TRANSCODE_REASONS) @javax.annotation.Nullable - private List transcodeReasons = new ArrayList<>(); + private TranscodeReasonsEnum transcodeReasons = new ArrayList<>(); public TranscodingInfo() { } @@ -129,7 +229,7 @@ public class TranscodingInfo { } /** - * Get audioCodec + * Gets or sets the thread count used for encoding. * @return audioCodec */ @javax.annotation.Nullable @@ -148,7 +248,7 @@ public class TranscodingInfo { } /** - * Get videoCodec + * Gets or sets the thread count used for encoding. * @return videoCodec */ @javax.annotation.Nullable @@ -167,7 +267,7 @@ public class TranscodingInfo { } /** - * Get container + * Gets or sets the thread count used for encoding. * @return container */ @javax.annotation.Nullable @@ -186,7 +286,7 @@ public class TranscodingInfo { } /** - * Get isVideoDirect + * Gets or sets a value indicating whether the video is passed through. * @return isVideoDirect */ @javax.annotation.Nullable @@ -205,7 +305,7 @@ public class TranscodingInfo { } /** - * Get isAudioDirect + * Gets or sets a value indicating whether the audio is passed through. * @return isAudioDirect */ @javax.annotation.Nullable @@ -224,7 +324,7 @@ public class TranscodingInfo { } /** - * Get bitrate + * Gets or sets the bitrate. * @return bitrate */ @javax.annotation.Nullable @@ -243,7 +343,7 @@ public class TranscodingInfo { } /** - * Get framerate + * Gets or sets the framerate. * @return framerate */ @javax.annotation.Nullable @@ -262,7 +362,7 @@ public class TranscodingInfo { } /** - * Get completionPercentage + * Gets or sets the completion percentage. * @return completionPercentage */ @javax.annotation.Nullable @@ -281,7 +381,7 @@ public class TranscodingInfo { } /** - * Get width + * Gets or sets the video width. * @return width */ @javax.annotation.Nullable @@ -300,7 +400,7 @@ public class TranscodingInfo { } /** - * Get height + * Gets or sets the video height. * @return height */ @javax.annotation.Nullable @@ -319,7 +419,7 @@ public class TranscodingInfo { } /** - * Get audioChannels + * Gets or sets the audio channels. * @return audioChannels */ @javax.annotation.Nullable @@ -332,26 +432,26 @@ public class TranscodingInfo { } - public TranscodingInfo hardwareAccelerationType(@javax.annotation.Nullable HardwareEncodingType hardwareAccelerationType) { + public TranscodingInfo hardwareAccelerationType(@javax.annotation.Nullable HardwareAccelerationType hardwareAccelerationType) { this.hardwareAccelerationType = hardwareAccelerationType; return this; } /** - * Get hardwareAccelerationType + * Gets or sets the hardware acceleration type. * @return hardwareAccelerationType */ @javax.annotation.Nullable - public HardwareEncodingType getHardwareAccelerationType() { + public HardwareAccelerationType getHardwareAccelerationType() { return hardwareAccelerationType; } - public void setHardwareAccelerationType(@javax.annotation.Nullable HardwareEncodingType hardwareAccelerationType) { + public void setHardwareAccelerationType(@javax.annotation.Nullable HardwareAccelerationType hardwareAccelerationType) { this.hardwareAccelerationType = hardwareAccelerationType; } - public TranscodingInfo transcodeReasons(@javax.annotation.Nullable List transcodeReasons) { + public TranscodingInfo transcodeReasons(@javax.annotation.Nullable TranscodeReasonsEnum transcodeReasons) { this.transcodeReasons = transcodeReasons; return this; } @@ -365,15 +465,15 @@ public class TranscodingInfo { } /** - * Get transcodeReasons + * Gets or sets the transcode reasons. * @return transcodeReasons */ @javax.annotation.Nullable - public List getTranscodeReasons() { + public TranscodeReasonsEnum getTranscodeReasons() { return transcodeReasons; } - public void setTranscodeReasons(@javax.annotation.Nullable List transcodeReasons) { + public void setTranscodeReasons(@javax.annotation.Nullable TranscodeReasonsEnum transcodeReasons) { this.transcodeReasons = transcodeReasons; } @@ -508,7 +608,7 @@ public class TranscodingInfo { } // validate the optional field `HardwareAccelerationType` if (jsonObj.get("HardwareAccelerationType") != null && !jsonObj.get("HardwareAccelerationType").isJsonNull()) { - HardwareEncodingType.validateJsonElement(jsonObj.get("HardwareAccelerationType")); + HardwareAccelerationType.validateJsonElement(jsonObj.get("HardwareAccelerationType")); } // ensure the optional json data is an array if present if (jsonObj.get("TranscodeReasons") != null && !jsonObj.get("TranscodeReasons").isJsonNull() && !jsonObj.get("TranscodeReasons").isJsonArray()) { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TranscodingProfile.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TranscodingProfile.java similarity index 89% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TranscodingProfile.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TranscodingProfile.java index aec220c3a1b..2448834e7ca 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TranscodingProfile.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TranscodingProfile.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,6 +25,7 @@ import java.util.Arrays; import java.util.List; import org.openapitools.client.model.DlnaProfileType; import org.openapitools.client.model.EncodingContext; +import org.openapitools.client.model.MediaStreamProtocol; import org.openapitools.client.model.ProfileCondition; import org.openapitools.client.model.TranscodeSeekInfo; import org.openapitools.jackson.nullable.JsonNullable; @@ -53,9 +54,9 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * TranscodingProfile + * A class for transcoding profile information. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TranscodingProfile { public static final String SERIALIZED_NAME_CONTAINER = "Container"; @SerializedName(SERIALIZED_NAME_CONTAINER) @@ -80,7 +81,7 @@ public class TranscodingProfile { public static final String SERIALIZED_NAME_PROTOCOL = "Protocol"; @SerializedName(SERIALIZED_NAME_PROTOCOL) @javax.annotation.Nullable - private String protocol; + private MediaStreamProtocol protocol; public static final String SERIALIZED_NAME_ESTIMATE_CONTENT_LENGTH = "EstimateContentLength"; @SerializedName(SERIALIZED_NAME_ESTIMATE_CONTENT_LENGTH) @@ -137,6 +138,11 @@ public class TranscodingProfile { @javax.annotation.Nullable private List conditions = new ArrayList<>(); + public static final String SERIALIZED_NAME_ENABLE_AUDIO_VBR_ENCODING = "EnableAudioVbrEncoding"; + @SerializedName(SERIALIZED_NAME_ENABLE_AUDIO_VBR_ENCODING) + @javax.annotation.Nullable + private Boolean enableAudioVbrEncoding = true; + public TranscodingProfile() { } @@ -146,7 +152,7 @@ public class TranscodingProfile { } /** - * Get container + * Gets or sets the container. * @return container */ @javax.annotation.Nullable @@ -165,7 +171,7 @@ public class TranscodingProfile { } /** - * Get type + * Gets or sets the DLNA profile type. * @return type */ @javax.annotation.Nullable @@ -184,7 +190,7 @@ public class TranscodingProfile { } /** - * Get videoCodec + * Gets or sets the video codec. * @return videoCodec */ @javax.annotation.Nullable @@ -203,7 +209,7 @@ public class TranscodingProfile { } /** - * Get audioCodec + * Gets or sets the audio codec. * @return audioCodec */ @javax.annotation.Nullable @@ -216,21 +222,21 @@ public class TranscodingProfile { } - public TranscodingProfile protocol(@javax.annotation.Nullable String protocol) { + public TranscodingProfile protocol(@javax.annotation.Nullable MediaStreamProtocol protocol) { this.protocol = protocol; return this; } /** - * Get protocol + * Media streaming protocol. Lowercase for backwards compatibility. * @return protocol */ @javax.annotation.Nullable - public String getProtocol() { + public MediaStreamProtocol getProtocol() { return protocol; } - public void setProtocol(@javax.annotation.Nullable String protocol) { + public void setProtocol(@javax.annotation.Nullable MediaStreamProtocol protocol) { this.protocol = protocol; } @@ -241,7 +247,7 @@ public class TranscodingProfile { } /** - * Get estimateContentLength + * Gets or sets a value indicating whether the content length should be estimated. * @return estimateContentLength */ @javax.annotation.Nullable @@ -260,7 +266,7 @@ public class TranscodingProfile { } /** - * Get enableMpegtsM2TsMode + * Gets or sets a value indicating whether M2TS mode is enabled. * @return enableMpegtsM2TsMode */ @javax.annotation.Nullable @@ -279,7 +285,7 @@ public class TranscodingProfile { } /** - * Get transcodeSeekInfo + * Gets or sets the transcoding seek info mode. * @return transcodeSeekInfo */ @javax.annotation.Nullable @@ -298,7 +304,7 @@ public class TranscodingProfile { } /** - * Get copyTimestamps + * Gets or sets a value indicating whether timestamps should be copied. * @return copyTimestamps */ @javax.annotation.Nullable @@ -317,7 +323,7 @@ public class TranscodingProfile { } /** - * Get context + * Gets or sets the encoding context. * @return context */ @javax.annotation.Nullable @@ -336,7 +342,7 @@ public class TranscodingProfile { } /** - * Get enableSubtitlesInManifest + * Gets or sets a value indicating whether subtitles are allowed in the manifest. * @return enableSubtitlesInManifest */ @javax.annotation.Nullable @@ -355,7 +361,7 @@ public class TranscodingProfile { } /** - * Get maxAudioChannels + * Gets or sets the maximum audio channels. * @return maxAudioChannels */ @javax.annotation.Nullable @@ -374,7 +380,7 @@ public class TranscodingProfile { } /** - * Get minSegments + * Gets or sets the minimum amount of segments. * @return minSegments */ @javax.annotation.Nullable @@ -393,7 +399,7 @@ public class TranscodingProfile { } /** - * Get segmentLength + * Gets or sets the segment length. * @return segmentLength */ @javax.annotation.Nullable @@ -412,7 +418,7 @@ public class TranscodingProfile { } /** - * Get breakOnNonKeyFrames + * Gets or sets a value indicating whether breaking the video stream on non-keyframes is supported. * @return breakOnNonKeyFrames */ @javax.annotation.Nullable @@ -439,7 +445,7 @@ public class TranscodingProfile { } /** - * Get conditions + * Gets or sets the profile conditions. * @return conditions */ @javax.annotation.Nullable @@ -452,6 +458,25 @@ public class TranscodingProfile { } + public TranscodingProfile enableAudioVbrEncoding(@javax.annotation.Nullable Boolean enableAudioVbrEncoding) { + this.enableAudioVbrEncoding = enableAudioVbrEncoding; + return this; + } + + /** + * Gets or sets a value indicating whether variable bitrate encoding is supported. + * @return enableAudioVbrEncoding + */ + @javax.annotation.Nullable + public Boolean getEnableAudioVbrEncoding() { + return enableAudioVbrEncoding; + } + + public void setEnableAudioVbrEncoding(@javax.annotation.Nullable Boolean enableAudioVbrEncoding) { + this.enableAudioVbrEncoding = enableAudioVbrEncoding; + } + + @Override public boolean equals(Object o) { @@ -477,7 +502,8 @@ public class TranscodingProfile { Objects.equals(this.minSegments, transcodingProfile.minSegments) && Objects.equals(this.segmentLength, transcodingProfile.segmentLength) && Objects.equals(this.breakOnNonKeyFrames, transcodingProfile.breakOnNonKeyFrames) && - Objects.equals(this.conditions, transcodingProfile.conditions); + Objects.equals(this.conditions, transcodingProfile.conditions) && + Objects.equals(this.enableAudioVbrEncoding, transcodingProfile.enableAudioVbrEncoding); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -486,7 +512,7 @@ public class TranscodingProfile { @Override public int hashCode() { - return Objects.hash(container, type, videoCodec, audioCodec, protocol, estimateContentLength, enableMpegtsM2TsMode, transcodeSeekInfo, copyTimestamps, context, enableSubtitlesInManifest, maxAudioChannels, minSegments, segmentLength, breakOnNonKeyFrames, conditions); + return Objects.hash(container, type, videoCodec, audioCodec, protocol, estimateContentLength, enableMpegtsM2TsMode, transcodeSeekInfo, copyTimestamps, context, enableSubtitlesInManifest, maxAudioChannels, minSegments, segmentLength, breakOnNonKeyFrames, conditions, enableAudioVbrEncoding); } private static int hashCodeNullable(JsonNullable a) { @@ -516,6 +542,7 @@ public class TranscodingProfile { sb.append(" segmentLength: ").append(toIndentedString(segmentLength)).append("\n"); sb.append(" breakOnNonKeyFrames: ").append(toIndentedString(breakOnNonKeyFrames)).append("\n"); sb.append(" conditions: ").append(toIndentedString(conditions)).append("\n"); + sb.append(" enableAudioVbrEncoding: ").append(toIndentedString(enableAudioVbrEncoding)).append("\n"); sb.append("}"); return sb.toString(); } @@ -554,6 +581,7 @@ public class TranscodingProfile { openapiFields.add("SegmentLength"); openapiFields.add("BreakOnNonKeyFrames"); openapiFields.add("Conditions"); + openapiFields.add("EnableAudioVbrEncoding"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -593,8 +621,9 @@ public class TranscodingProfile { if ((jsonObj.get("AudioCodec") != null && !jsonObj.get("AudioCodec").isJsonNull()) && !jsonObj.get("AudioCodec").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `AudioCodec` to be a primitive type in the JSON string but got `%s`", jsonObj.get("AudioCodec").toString())); } - if ((jsonObj.get("Protocol") != null && !jsonObj.get("Protocol").isJsonNull()) && !jsonObj.get("Protocol").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Protocol` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Protocol").toString())); + // validate the optional field `Protocol` + if (jsonObj.get("Protocol") != null && !jsonObj.get("Protocol").isJsonNull()) { + MediaStreamProtocol.validateJsonElement(jsonObj.get("Protocol")); } // validate the optional field `TranscodeSeekInfo` if (jsonObj.get("TranscodeSeekInfo") != null && !jsonObj.get("TranscodeSeekInfo").isJsonNull()) { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TransportStreamTimestamp.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TransportStreamTimestamp.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TransportStreamTimestamp.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TransportStreamTimestamp.java index 97e496b71e1..ab233f1889c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TransportStreamTimestamp.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TransportStreamTimestamp.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TrickplayInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TrickplayInfo.java new file mode 100644 index 00000000000..227b7aec28f --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TrickplayInfo.java @@ -0,0 +1,365 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * An entity representing the metadata for a group of trickplay tiles. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class TrickplayInfo { + public static final String SERIALIZED_NAME_WIDTH = "Width"; + @SerializedName(SERIALIZED_NAME_WIDTH) + @javax.annotation.Nullable + private Integer width; + + public static final String SERIALIZED_NAME_HEIGHT = "Height"; + @SerializedName(SERIALIZED_NAME_HEIGHT) + @javax.annotation.Nullable + private Integer height; + + public static final String SERIALIZED_NAME_TILE_WIDTH = "TileWidth"; + @SerializedName(SERIALIZED_NAME_TILE_WIDTH) + @javax.annotation.Nullable + private Integer tileWidth; + + public static final String SERIALIZED_NAME_TILE_HEIGHT = "TileHeight"; + @SerializedName(SERIALIZED_NAME_TILE_HEIGHT) + @javax.annotation.Nullable + private Integer tileHeight; + + public static final String SERIALIZED_NAME_THUMBNAIL_COUNT = "ThumbnailCount"; + @SerializedName(SERIALIZED_NAME_THUMBNAIL_COUNT) + @javax.annotation.Nullable + private Integer thumbnailCount; + + public static final String SERIALIZED_NAME_INTERVAL = "Interval"; + @SerializedName(SERIALIZED_NAME_INTERVAL) + @javax.annotation.Nullable + private Integer interval; + + public static final String SERIALIZED_NAME_BANDWIDTH = "Bandwidth"; + @SerializedName(SERIALIZED_NAME_BANDWIDTH) + @javax.annotation.Nullable + private Integer bandwidth; + + public TrickplayInfo() { + } + + public TrickplayInfo width(@javax.annotation.Nullable Integer width) { + this.width = width; + return this; + } + + /** + * Gets or sets width of an individual thumbnail. + * @return width + */ + @javax.annotation.Nullable + public Integer getWidth() { + return width; + } + + public void setWidth(@javax.annotation.Nullable Integer width) { + this.width = width; + } + + + public TrickplayInfo height(@javax.annotation.Nullable Integer height) { + this.height = height; + return this; + } + + /** + * Gets or sets height of an individual thumbnail. + * @return height + */ + @javax.annotation.Nullable + public Integer getHeight() { + return height; + } + + public void setHeight(@javax.annotation.Nullable Integer height) { + this.height = height; + } + + + public TrickplayInfo tileWidth(@javax.annotation.Nullable Integer tileWidth) { + this.tileWidth = tileWidth; + return this; + } + + /** + * Gets or sets amount of thumbnails per row. + * @return tileWidth + */ + @javax.annotation.Nullable + public Integer getTileWidth() { + return tileWidth; + } + + public void setTileWidth(@javax.annotation.Nullable Integer tileWidth) { + this.tileWidth = tileWidth; + } + + + public TrickplayInfo tileHeight(@javax.annotation.Nullable Integer tileHeight) { + this.tileHeight = tileHeight; + return this; + } + + /** + * Gets or sets amount of thumbnails per column. + * @return tileHeight + */ + @javax.annotation.Nullable + public Integer getTileHeight() { + return tileHeight; + } + + public void setTileHeight(@javax.annotation.Nullable Integer tileHeight) { + this.tileHeight = tileHeight; + } + + + public TrickplayInfo thumbnailCount(@javax.annotation.Nullable Integer thumbnailCount) { + this.thumbnailCount = thumbnailCount; + return this; + } + + /** + * Gets or sets total amount of non-black thumbnails. + * @return thumbnailCount + */ + @javax.annotation.Nullable + public Integer getThumbnailCount() { + return thumbnailCount; + } + + public void setThumbnailCount(@javax.annotation.Nullable Integer thumbnailCount) { + this.thumbnailCount = thumbnailCount; + } + + + public TrickplayInfo interval(@javax.annotation.Nullable Integer interval) { + this.interval = interval; + return this; + } + + /** + * Gets or sets interval in milliseconds between each trickplay thumbnail. + * @return interval + */ + @javax.annotation.Nullable + public Integer getInterval() { + return interval; + } + + public void setInterval(@javax.annotation.Nullable Integer interval) { + this.interval = interval; + } + + + public TrickplayInfo bandwidth(@javax.annotation.Nullable Integer bandwidth) { + this.bandwidth = bandwidth; + return this; + } + + /** + * Gets or sets peak bandwith usage in bits per second. + * @return bandwidth + */ + @javax.annotation.Nullable + public Integer getBandwidth() { + return bandwidth; + } + + public void setBandwidth(@javax.annotation.Nullable Integer bandwidth) { + this.bandwidth = bandwidth; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TrickplayInfo trickplayInfo = (TrickplayInfo) o; + return Objects.equals(this.width, trickplayInfo.width) && + Objects.equals(this.height, trickplayInfo.height) && + Objects.equals(this.tileWidth, trickplayInfo.tileWidth) && + Objects.equals(this.tileHeight, trickplayInfo.tileHeight) && + Objects.equals(this.thumbnailCount, trickplayInfo.thumbnailCount) && + Objects.equals(this.interval, trickplayInfo.interval) && + Objects.equals(this.bandwidth, trickplayInfo.bandwidth); + } + + @Override + public int hashCode() { + return Objects.hash(width, height, tileWidth, tileHeight, thumbnailCount, interval, bandwidth); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TrickplayInfo {\n"); + sb.append(" width: ").append(toIndentedString(width)).append("\n"); + sb.append(" height: ").append(toIndentedString(height)).append("\n"); + sb.append(" tileWidth: ").append(toIndentedString(tileWidth)).append("\n"); + sb.append(" tileHeight: ").append(toIndentedString(tileHeight)).append("\n"); + sb.append(" thumbnailCount: ").append(toIndentedString(thumbnailCount)).append("\n"); + sb.append(" interval: ").append(toIndentedString(interval)).append("\n"); + sb.append(" bandwidth: ").append(toIndentedString(bandwidth)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Width"); + openapiFields.add("Height"); + openapiFields.add("TileWidth"); + openapiFields.add("TileHeight"); + openapiFields.add("ThumbnailCount"); + openapiFields.add("Interval"); + openapiFields.add("Bandwidth"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to TrickplayInfo + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!TrickplayInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in TrickplayInfo is not found in the empty JSON string", TrickplayInfo.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!TrickplayInfo.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `TrickplayInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!TrickplayInfo.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'TrickplayInfo' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(TrickplayInfo.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, TrickplayInfo value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public TrickplayInfo read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of TrickplayInfo given an JSON string + * + * @param jsonString JSON string + * @return An instance of TrickplayInfo + * @throws IOException if the JSON string is invalid with respect to TrickplayInfo + */ + public static TrickplayInfo fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, TrickplayInfo.class); + } + + /** + * Convert an instance of TrickplayInfo to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TrickplayOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TrickplayOptions.java new file mode 100644 index 00000000000..2846b65593c --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TrickplayOptions.java @@ -0,0 +1,524 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.openapitools.client.model.ProcessPriorityClass; +import org.openapitools.client.model.TrickplayScanBehavior; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Class TrickplayOptions. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class TrickplayOptions { + public static final String SERIALIZED_NAME_ENABLE_HW_ACCELERATION = "EnableHwAcceleration"; + @SerializedName(SERIALIZED_NAME_ENABLE_HW_ACCELERATION) + @javax.annotation.Nullable + private Boolean enableHwAcceleration; + + public static final String SERIALIZED_NAME_ENABLE_HW_ENCODING = "EnableHwEncoding"; + @SerializedName(SERIALIZED_NAME_ENABLE_HW_ENCODING) + @javax.annotation.Nullable + private Boolean enableHwEncoding; + + public static final String SERIALIZED_NAME_ENABLE_KEY_FRAME_ONLY_EXTRACTION = "EnableKeyFrameOnlyExtraction"; + @SerializedName(SERIALIZED_NAME_ENABLE_KEY_FRAME_ONLY_EXTRACTION) + @javax.annotation.Nullable + private Boolean enableKeyFrameOnlyExtraction; + + public static final String SERIALIZED_NAME_SCAN_BEHAVIOR = "ScanBehavior"; + @SerializedName(SERIALIZED_NAME_SCAN_BEHAVIOR) + @javax.annotation.Nullable + private TrickplayScanBehavior scanBehavior; + + public static final String SERIALIZED_NAME_PROCESS_PRIORITY = "ProcessPriority"; + @SerializedName(SERIALIZED_NAME_PROCESS_PRIORITY) + @javax.annotation.Nullable + private ProcessPriorityClass processPriority; + + public static final String SERIALIZED_NAME_INTERVAL = "Interval"; + @SerializedName(SERIALIZED_NAME_INTERVAL) + @javax.annotation.Nullable + private Integer interval; + + public static final String SERIALIZED_NAME_WIDTH_RESOLUTIONS = "WidthResolutions"; + @SerializedName(SERIALIZED_NAME_WIDTH_RESOLUTIONS) + @javax.annotation.Nullable + private List widthResolutions = new ArrayList<>(); + + public static final String SERIALIZED_NAME_TILE_WIDTH = "TileWidth"; + @SerializedName(SERIALIZED_NAME_TILE_WIDTH) + @javax.annotation.Nullable + private Integer tileWidth; + + public static final String SERIALIZED_NAME_TILE_HEIGHT = "TileHeight"; + @SerializedName(SERIALIZED_NAME_TILE_HEIGHT) + @javax.annotation.Nullable + private Integer tileHeight; + + public static final String SERIALIZED_NAME_QSCALE = "Qscale"; + @SerializedName(SERIALIZED_NAME_QSCALE) + @javax.annotation.Nullable + private Integer qscale; + + public static final String SERIALIZED_NAME_JPEG_QUALITY = "JpegQuality"; + @SerializedName(SERIALIZED_NAME_JPEG_QUALITY) + @javax.annotation.Nullable + private Integer jpegQuality; + + public static final String SERIALIZED_NAME_PROCESS_THREADS = "ProcessThreads"; + @SerializedName(SERIALIZED_NAME_PROCESS_THREADS) + @javax.annotation.Nullable + private Integer processThreads; + + public TrickplayOptions() { + } + + public TrickplayOptions enableHwAcceleration(@javax.annotation.Nullable Boolean enableHwAcceleration) { + this.enableHwAcceleration = enableHwAcceleration; + return this; + } + + /** + * Gets or sets a value indicating whether or not to use HW acceleration. + * @return enableHwAcceleration + */ + @javax.annotation.Nullable + public Boolean getEnableHwAcceleration() { + return enableHwAcceleration; + } + + public void setEnableHwAcceleration(@javax.annotation.Nullable Boolean enableHwAcceleration) { + this.enableHwAcceleration = enableHwAcceleration; + } + + + public TrickplayOptions enableHwEncoding(@javax.annotation.Nullable Boolean enableHwEncoding) { + this.enableHwEncoding = enableHwEncoding; + return this; + } + + /** + * Gets or sets a value indicating whether or not to use HW accelerated MJPEG encoding. + * @return enableHwEncoding + */ + @javax.annotation.Nullable + public Boolean getEnableHwEncoding() { + return enableHwEncoding; + } + + public void setEnableHwEncoding(@javax.annotation.Nullable Boolean enableHwEncoding) { + this.enableHwEncoding = enableHwEncoding; + } + + + public TrickplayOptions enableKeyFrameOnlyExtraction(@javax.annotation.Nullable Boolean enableKeyFrameOnlyExtraction) { + this.enableKeyFrameOnlyExtraction = enableKeyFrameOnlyExtraction; + return this; + } + + /** + * Gets or sets a value indicating whether to only extract key frames. Significantly faster, but is not compatible with all decoders and/or video files. + * @return enableKeyFrameOnlyExtraction + */ + @javax.annotation.Nullable + public Boolean getEnableKeyFrameOnlyExtraction() { + return enableKeyFrameOnlyExtraction; + } + + public void setEnableKeyFrameOnlyExtraction(@javax.annotation.Nullable Boolean enableKeyFrameOnlyExtraction) { + this.enableKeyFrameOnlyExtraction = enableKeyFrameOnlyExtraction; + } + + + public TrickplayOptions scanBehavior(@javax.annotation.Nullable TrickplayScanBehavior scanBehavior) { + this.scanBehavior = scanBehavior; + return this; + } + + /** + * Gets or sets the behavior used by trickplay provider on library scan/update. + * @return scanBehavior + */ + @javax.annotation.Nullable + public TrickplayScanBehavior getScanBehavior() { + return scanBehavior; + } + + public void setScanBehavior(@javax.annotation.Nullable TrickplayScanBehavior scanBehavior) { + this.scanBehavior = scanBehavior; + } + + + public TrickplayOptions processPriority(@javax.annotation.Nullable ProcessPriorityClass processPriority) { + this.processPriority = processPriority; + return this; + } + + /** + * Gets or sets the process priority for the ffmpeg process. + * @return processPriority + */ + @javax.annotation.Nullable + public ProcessPriorityClass getProcessPriority() { + return processPriority; + } + + public void setProcessPriority(@javax.annotation.Nullable ProcessPriorityClass processPriority) { + this.processPriority = processPriority; + } + + + public TrickplayOptions interval(@javax.annotation.Nullable Integer interval) { + this.interval = interval; + return this; + } + + /** + * Gets or sets the interval, in ms, between each new trickplay image. + * @return interval + */ + @javax.annotation.Nullable + public Integer getInterval() { + return interval; + } + + public void setInterval(@javax.annotation.Nullable Integer interval) { + this.interval = interval; + } + + + public TrickplayOptions widthResolutions(@javax.annotation.Nullable List widthResolutions) { + this.widthResolutions = widthResolutions; + return this; + } + + public TrickplayOptions addWidthResolutionsItem(Integer widthResolutionsItem) { + if (this.widthResolutions == null) { + this.widthResolutions = new ArrayList<>(); + } + this.widthResolutions.add(widthResolutionsItem); + return this; + } + + /** + * Gets or sets the target width resolutions, in px, to generates preview images for. + * @return widthResolutions + */ + @javax.annotation.Nullable + public List getWidthResolutions() { + return widthResolutions; + } + + public void setWidthResolutions(@javax.annotation.Nullable List widthResolutions) { + this.widthResolutions = widthResolutions; + } + + + public TrickplayOptions tileWidth(@javax.annotation.Nullable Integer tileWidth) { + this.tileWidth = tileWidth; + return this; + } + + /** + * Gets or sets number of tile images to allow in X dimension. + * @return tileWidth + */ + @javax.annotation.Nullable + public Integer getTileWidth() { + return tileWidth; + } + + public void setTileWidth(@javax.annotation.Nullable Integer tileWidth) { + this.tileWidth = tileWidth; + } + + + public TrickplayOptions tileHeight(@javax.annotation.Nullable Integer tileHeight) { + this.tileHeight = tileHeight; + return this; + } + + /** + * Gets or sets number of tile images to allow in Y dimension. + * @return tileHeight + */ + @javax.annotation.Nullable + public Integer getTileHeight() { + return tileHeight; + } + + public void setTileHeight(@javax.annotation.Nullable Integer tileHeight) { + this.tileHeight = tileHeight; + } + + + public TrickplayOptions qscale(@javax.annotation.Nullable Integer qscale) { + this.qscale = qscale; + return this; + } + + /** + * Gets or sets the ffmpeg output quality level. + * @return qscale + */ + @javax.annotation.Nullable + public Integer getQscale() { + return qscale; + } + + public void setQscale(@javax.annotation.Nullable Integer qscale) { + this.qscale = qscale; + } + + + public TrickplayOptions jpegQuality(@javax.annotation.Nullable Integer jpegQuality) { + this.jpegQuality = jpegQuality; + return this; + } + + /** + * Gets or sets the jpeg quality to use for image tiles. + * @return jpegQuality + */ + @javax.annotation.Nullable + public Integer getJpegQuality() { + return jpegQuality; + } + + public void setJpegQuality(@javax.annotation.Nullable Integer jpegQuality) { + this.jpegQuality = jpegQuality; + } + + + public TrickplayOptions processThreads(@javax.annotation.Nullable Integer processThreads) { + this.processThreads = processThreads; + return this; + } + + /** + * Gets or sets the number of threads to be used by ffmpeg. + * @return processThreads + */ + @javax.annotation.Nullable + public Integer getProcessThreads() { + return processThreads; + } + + public void setProcessThreads(@javax.annotation.Nullable Integer processThreads) { + this.processThreads = processThreads; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TrickplayOptions trickplayOptions = (TrickplayOptions) o; + return Objects.equals(this.enableHwAcceleration, trickplayOptions.enableHwAcceleration) && + Objects.equals(this.enableHwEncoding, trickplayOptions.enableHwEncoding) && + Objects.equals(this.enableKeyFrameOnlyExtraction, trickplayOptions.enableKeyFrameOnlyExtraction) && + Objects.equals(this.scanBehavior, trickplayOptions.scanBehavior) && + Objects.equals(this.processPriority, trickplayOptions.processPriority) && + Objects.equals(this.interval, trickplayOptions.interval) && + Objects.equals(this.widthResolutions, trickplayOptions.widthResolutions) && + Objects.equals(this.tileWidth, trickplayOptions.tileWidth) && + Objects.equals(this.tileHeight, trickplayOptions.tileHeight) && + Objects.equals(this.qscale, trickplayOptions.qscale) && + Objects.equals(this.jpegQuality, trickplayOptions.jpegQuality) && + Objects.equals(this.processThreads, trickplayOptions.processThreads); + } + + @Override + public int hashCode() { + return Objects.hash(enableHwAcceleration, enableHwEncoding, enableKeyFrameOnlyExtraction, scanBehavior, processPriority, interval, widthResolutions, tileWidth, tileHeight, qscale, jpegQuality, processThreads); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TrickplayOptions {\n"); + sb.append(" enableHwAcceleration: ").append(toIndentedString(enableHwAcceleration)).append("\n"); + sb.append(" enableHwEncoding: ").append(toIndentedString(enableHwEncoding)).append("\n"); + sb.append(" enableKeyFrameOnlyExtraction: ").append(toIndentedString(enableKeyFrameOnlyExtraction)).append("\n"); + sb.append(" scanBehavior: ").append(toIndentedString(scanBehavior)).append("\n"); + sb.append(" processPriority: ").append(toIndentedString(processPriority)).append("\n"); + sb.append(" interval: ").append(toIndentedString(interval)).append("\n"); + sb.append(" widthResolutions: ").append(toIndentedString(widthResolutions)).append("\n"); + sb.append(" tileWidth: ").append(toIndentedString(tileWidth)).append("\n"); + sb.append(" tileHeight: ").append(toIndentedString(tileHeight)).append("\n"); + sb.append(" qscale: ").append(toIndentedString(qscale)).append("\n"); + sb.append(" jpegQuality: ").append(toIndentedString(jpegQuality)).append("\n"); + sb.append(" processThreads: ").append(toIndentedString(processThreads)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("EnableHwAcceleration"); + openapiFields.add("EnableHwEncoding"); + openapiFields.add("EnableKeyFrameOnlyExtraction"); + openapiFields.add("ScanBehavior"); + openapiFields.add("ProcessPriority"); + openapiFields.add("Interval"); + openapiFields.add("WidthResolutions"); + openapiFields.add("TileWidth"); + openapiFields.add("TileHeight"); + openapiFields.add("Qscale"); + openapiFields.add("JpegQuality"); + openapiFields.add("ProcessThreads"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to TrickplayOptions + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!TrickplayOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in TrickplayOptions is not found in the empty JSON string", TrickplayOptions.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!TrickplayOptions.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `TrickplayOptions` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `ScanBehavior` + if (jsonObj.get("ScanBehavior") != null && !jsonObj.get("ScanBehavior").isJsonNull()) { + TrickplayScanBehavior.validateJsonElement(jsonObj.get("ScanBehavior")); + } + // validate the optional field `ProcessPriority` + if (jsonObj.get("ProcessPriority") != null && !jsonObj.get("ProcessPriority").isJsonNull()) { + ProcessPriorityClass.validateJsonElement(jsonObj.get("ProcessPriority")); + } + // ensure the optional json data is an array if present + if (jsonObj.get("WidthResolutions") != null && !jsonObj.get("WidthResolutions").isJsonNull() && !jsonObj.get("WidthResolutions").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `WidthResolutions` to be an array in the JSON string but got `%s`", jsonObj.get("WidthResolutions").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!TrickplayOptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'TrickplayOptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(TrickplayOptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, TrickplayOptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public TrickplayOptions read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of TrickplayOptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of TrickplayOptions + * @throws IOException if the JSON string is invalid with respect to TrickplayOptions + */ + public static TrickplayOptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, TrickplayOptions.class); + } + + /** + * Convert an instance of TrickplayOptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TrickplayScanBehavior.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TrickplayScanBehavior.java new file mode 100644 index 00000000000..c4ffe0d501a --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TrickplayScanBehavior.java @@ -0,0 +1,78 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.JsonElement; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Enum TrickplayScanBehavior. + */ +@JsonAdapter(TrickplayScanBehavior.Adapter.class) +public enum TrickplayScanBehavior { + + BLOCKING("Blocking"), + + NON_BLOCKING("NonBlocking"); + + private String value; + + TrickplayScanBehavior(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TrickplayScanBehavior fromValue(String value) { + for (TrickplayScanBehavior b : TrickplayScanBehavior.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TrickplayScanBehavior enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TrickplayScanBehavior read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TrickplayScanBehavior.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + TrickplayScanBehavior.fromValue(value); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TunerChannelMapping.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TunerChannelMapping.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TunerChannelMapping.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TunerChannelMapping.java index ec619fe9382..7258e2bf8e8 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TunerChannelMapping.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TunerChannelMapping.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * TunerChannelMapping */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TunerChannelMapping { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TunerHostInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TunerHostInfo.java similarity index 79% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TunerHostInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TunerHostInfo.java index 8fbaa6475d0..3811412d708 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TunerHostInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TunerHostInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * TunerHostInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TunerHostInfo { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) @@ -86,6 +86,21 @@ public class TunerHostInfo { @javax.annotation.Nullable private Boolean allowHWTranscoding; + public static final String SERIALIZED_NAME_ALLOW_FMP4_TRANSCODING_CONTAINER = "AllowFmp4TranscodingContainer"; + @SerializedName(SERIALIZED_NAME_ALLOW_FMP4_TRANSCODING_CONTAINER) + @javax.annotation.Nullable + private Boolean allowFmp4TranscodingContainer; + + public static final String SERIALIZED_NAME_ALLOW_STREAM_SHARING = "AllowStreamSharing"; + @SerializedName(SERIALIZED_NAME_ALLOW_STREAM_SHARING) + @javax.annotation.Nullable + private Boolean allowStreamSharing; + + public static final String SERIALIZED_NAME_FALLBACK_MAX_STREAMING_BITRATE = "FallbackMaxStreamingBitrate"; + @SerializedName(SERIALIZED_NAME_FALLBACK_MAX_STREAMING_BITRATE) + @javax.annotation.Nullable + private Integer fallbackMaxStreamingBitrate; + public static final String SERIALIZED_NAME_ENABLE_STREAM_LOOPING = "EnableStreamLooping"; @SerializedName(SERIALIZED_NAME_ENABLE_STREAM_LOOPING) @javax.annotation.Nullable @@ -106,6 +121,11 @@ public class TunerHostInfo { @javax.annotation.Nullable private String userAgent; + public static final String SERIALIZED_NAME_IGNORE_DTS = "IgnoreDts"; + @SerializedName(SERIALIZED_NAME_IGNORE_DTS) + @javax.annotation.Nullable + private Boolean ignoreDts; + public TunerHostInfo() { } @@ -242,6 +262,63 @@ public class TunerHostInfo { } + public TunerHostInfo allowFmp4TranscodingContainer(@javax.annotation.Nullable Boolean allowFmp4TranscodingContainer) { + this.allowFmp4TranscodingContainer = allowFmp4TranscodingContainer; + return this; + } + + /** + * Get allowFmp4TranscodingContainer + * @return allowFmp4TranscodingContainer + */ + @javax.annotation.Nullable + public Boolean getAllowFmp4TranscodingContainer() { + return allowFmp4TranscodingContainer; + } + + public void setAllowFmp4TranscodingContainer(@javax.annotation.Nullable Boolean allowFmp4TranscodingContainer) { + this.allowFmp4TranscodingContainer = allowFmp4TranscodingContainer; + } + + + public TunerHostInfo allowStreamSharing(@javax.annotation.Nullable Boolean allowStreamSharing) { + this.allowStreamSharing = allowStreamSharing; + return this; + } + + /** + * Get allowStreamSharing + * @return allowStreamSharing + */ + @javax.annotation.Nullable + public Boolean getAllowStreamSharing() { + return allowStreamSharing; + } + + public void setAllowStreamSharing(@javax.annotation.Nullable Boolean allowStreamSharing) { + this.allowStreamSharing = allowStreamSharing; + } + + + public TunerHostInfo fallbackMaxStreamingBitrate(@javax.annotation.Nullable Integer fallbackMaxStreamingBitrate) { + this.fallbackMaxStreamingBitrate = fallbackMaxStreamingBitrate; + return this; + } + + /** + * Get fallbackMaxStreamingBitrate + * @return fallbackMaxStreamingBitrate + */ + @javax.annotation.Nullable + public Integer getFallbackMaxStreamingBitrate() { + return fallbackMaxStreamingBitrate; + } + + public void setFallbackMaxStreamingBitrate(@javax.annotation.Nullable Integer fallbackMaxStreamingBitrate) { + this.fallbackMaxStreamingBitrate = fallbackMaxStreamingBitrate; + } + + public TunerHostInfo enableStreamLooping(@javax.annotation.Nullable Boolean enableStreamLooping) { this.enableStreamLooping = enableStreamLooping; return this; @@ -318,6 +395,25 @@ public class TunerHostInfo { } + public TunerHostInfo ignoreDts(@javax.annotation.Nullable Boolean ignoreDts) { + this.ignoreDts = ignoreDts; + return this; + } + + /** + * Get ignoreDts + * @return ignoreDts + */ + @javax.annotation.Nullable + public Boolean getIgnoreDts() { + return ignoreDts; + } + + public void setIgnoreDts(@javax.annotation.Nullable Boolean ignoreDts) { + this.ignoreDts = ignoreDts; + } + + @Override public boolean equals(Object o) { @@ -335,10 +431,14 @@ public class TunerHostInfo { Objects.equals(this.friendlyName, tunerHostInfo.friendlyName) && Objects.equals(this.importFavoritesOnly, tunerHostInfo.importFavoritesOnly) && Objects.equals(this.allowHWTranscoding, tunerHostInfo.allowHWTranscoding) && + Objects.equals(this.allowFmp4TranscodingContainer, tunerHostInfo.allowFmp4TranscodingContainer) && + Objects.equals(this.allowStreamSharing, tunerHostInfo.allowStreamSharing) && + Objects.equals(this.fallbackMaxStreamingBitrate, tunerHostInfo.fallbackMaxStreamingBitrate) && Objects.equals(this.enableStreamLooping, tunerHostInfo.enableStreamLooping) && Objects.equals(this.source, tunerHostInfo.source) && Objects.equals(this.tunerCount, tunerHostInfo.tunerCount) && - Objects.equals(this.userAgent, tunerHostInfo.userAgent); + Objects.equals(this.userAgent, tunerHostInfo.userAgent) && + Objects.equals(this.ignoreDts, tunerHostInfo.ignoreDts); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -347,7 +447,7 @@ public class TunerHostInfo { @Override public int hashCode() { - return Objects.hash(id, url, type, deviceId, friendlyName, importFavoritesOnly, allowHWTranscoding, enableStreamLooping, source, tunerCount, userAgent); + return Objects.hash(id, url, type, deviceId, friendlyName, importFavoritesOnly, allowHWTranscoding, allowFmp4TranscodingContainer, allowStreamSharing, fallbackMaxStreamingBitrate, enableStreamLooping, source, tunerCount, userAgent, ignoreDts); } private static int hashCodeNullable(JsonNullable a) { @@ -368,10 +468,14 @@ public class TunerHostInfo { sb.append(" friendlyName: ").append(toIndentedString(friendlyName)).append("\n"); sb.append(" importFavoritesOnly: ").append(toIndentedString(importFavoritesOnly)).append("\n"); sb.append(" allowHWTranscoding: ").append(toIndentedString(allowHWTranscoding)).append("\n"); + sb.append(" allowFmp4TranscodingContainer: ").append(toIndentedString(allowFmp4TranscodingContainer)).append("\n"); + sb.append(" allowStreamSharing: ").append(toIndentedString(allowStreamSharing)).append("\n"); + sb.append(" fallbackMaxStreamingBitrate: ").append(toIndentedString(fallbackMaxStreamingBitrate)).append("\n"); sb.append(" enableStreamLooping: ").append(toIndentedString(enableStreamLooping)).append("\n"); sb.append(" source: ").append(toIndentedString(source)).append("\n"); sb.append(" tunerCount: ").append(toIndentedString(tunerCount)).append("\n"); sb.append(" userAgent: ").append(toIndentedString(userAgent)).append("\n"); + sb.append(" ignoreDts: ").append(toIndentedString(ignoreDts)).append("\n"); sb.append("}"); return sb.toString(); } @@ -401,10 +505,14 @@ public class TunerHostInfo { openapiFields.add("FriendlyName"); openapiFields.add("ImportFavoritesOnly"); openapiFields.add("AllowHWTranscoding"); + openapiFields.add("AllowFmp4TranscodingContainer"); + openapiFields.add("AllowStreamSharing"); + openapiFields.add("FallbackMaxStreamingBitrate"); openapiFields.add("EnableStreamLooping"); openapiFields.add("Source"); openapiFields.add("TunerCount"); openapiFields.add("UserAgent"); + openapiFields.add("IgnoreDts"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TypeOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TypeOptions.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TypeOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TypeOptions.java index 3d2515da7bf..f2781f075e1 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TypeOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/TypeOptions.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * TypeOptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TypeOptions { public static final String SERIALIZED_NAME_TYPE = "Type"; @SerializedName(SERIALIZED_NAME_TYPE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UnratedItem.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UnratedItem.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UnratedItem.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UnratedItem.java index e1c45018e86..7f4b85eb10f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UnratedItem.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UnratedItem.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UpdateLibraryOptionsDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UpdateLibraryOptionsDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UpdateLibraryOptionsDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UpdateLibraryOptionsDto.java index df756c4417b..d5a7ea37fd6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UpdateLibraryOptionsDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UpdateLibraryOptionsDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Update library options dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class UpdateLibraryOptionsDto { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UpdateMediaPathRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UpdateMediaPathRequestDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UpdateMediaPathRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UpdateMediaPathRequestDto.java index 53528fcd1a9..d502762b078 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UpdateMediaPathRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UpdateMediaPathRequestDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Update library options dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class UpdateMediaPathRequestDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UpdatePlaylistDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UpdatePlaylistDto.java new file mode 100644 index 00000000000..e8b84f1feef --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UpdatePlaylistDto.java @@ -0,0 +1,337 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.UUID; +import org.openapitools.client.model.PlaylistUserPermissions; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Update existing playlist dto. Fields set to `null` will not be updated and keep their current values. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class UpdatePlaylistDto { + public static final String SERIALIZED_NAME_NAME = "Name"; + @SerializedName(SERIALIZED_NAME_NAME) + @javax.annotation.Nullable + private String name; + + public static final String SERIALIZED_NAME_IDS = "Ids"; + @SerializedName(SERIALIZED_NAME_IDS) + @javax.annotation.Nullable + private List ids; + + public static final String SERIALIZED_NAME_USERS = "Users"; + @SerializedName(SERIALIZED_NAME_USERS) + @javax.annotation.Nullable + private List users; + + public static final String SERIALIZED_NAME_IS_PUBLIC = "IsPublic"; + @SerializedName(SERIALIZED_NAME_IS_PUBLIC) + @javax.annotation.Nullable + private Boolean isPublic; + + public UpdatePlaylistDto() { + } + + public UpdatePlaylistDto name(@javax.annotation.Nullable String name) { + this.name = name; + return this; + } + + /** + * Gets or sets the name of the new playlist. + * @return name + */ + @javax.annotation.Nullable + public String getName() { + return name; + } + + public void setName(@javax.annotation.Nullable String name) { + this.name = name; + } + + + public UpdatePlaylistDto ids(@javax.annotation.Nullable List ids) { + this.ids = ids; + return this; + } + + public UpdatePlaylistDto addIdsItem(UUID idsItem) { + if (this.ids == null) { + this.ids = new ArrayList<>(); + } + this.ids.add(idsItem); + return this; + } + + /** + * Gets or sets item ids of the playlist. + * @return ids + */ + @javax.annotation.Nullable + public List getIds() { + return ids; + } + + public void setIds(@javax.annotation.Nullable List ids) { + this.ids = ids; + } + + + public UpdatePlaylistDto users(@javax.annotation.Nullable List users) { + this.users = users; + return this; + } + + public UpdatePlaylistDto addUsersItem(PlaylistUserPermissions usersItem) { + if (this.users == null) { + this.users = new ArrayList<>(); + } + this.users.add(usersItem); + return this; + } + + /** + * Gets or sets the playlist users. + * @return users + */ + @javax.annotation.Nullable + public List getUsers() { + return users; + } + + public void setUsers(@javax.annotation.Nullable List users) { + this.users = users; + } + + + public UpdatePlaylistDto isPublic(@javax.annotation.Nullable Boolean isPublic) { + this.isPublic = isPublic; + return this; + } + + /** + * Gets or sets a value indicating whether the playlist is public. + * @return isPublic + */ + @javax.annotation.Nullable + public Boolean getIsPublic() { + return isPublic; + } + + public void setIsPublic(@javax.annotation.Nullable Boolean isPublic) { + this.isPublic = isPublic; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdatePlaylistDto updatePlaylistDto = (UpdatePlaylistDto) o; + return Objects.equals(this.name, updatePlaylistDto.name) && + Objects.equals(this.ids, updatePlaylistDto.ids) && + Objects.equals(this.users, updatePlaylistDto.users) && + Objects.equals(this.isPublic, updatePlaylistDto.isPublic); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(name, ids, users, isPublic); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UpdatePlaylistDto {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" ids: ").append(toIndentedString(ids)).append("\n"); + sb.append(" users: ").append(toIndentedString(users)).append("\n"); + sb.append(" isPublic: ").append(toIndentedString(isPublic)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Name"); + openapiFields.add("Ids"); + openapiFields.add("Users"); + openapiFields.add("IsPublic"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to UpdatePlaylistDto + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!UpdatePlaylistDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in UpdatePlaylistDto is not found in the empty JSON string", UpdatePlaylistDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!UpdatePlaylistDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UpdatePlaylistDto` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("Name") != null && !jsonObj.get("Name").isJsonNull()) && !jsonObj.get("Name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Name").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("Ids") != null && !jsonObj.get("Ids").isJsonNull() && !jsonObj.get("Ids").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `Ids` to be an array in the JSON string but got `%s`", jsonObj.get("Ids").toString())); + } + if (jsonObj.get("Users") != null && !jsonObj.get("Users").isJsonNull()) { + JsonArray jsonArrayusers = jsonObj.getAsJsonArray("Users"); + if (jsonArrayusers != null) { + // ensure the json data is an array + if (!jsonObj.get("Users").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `Users` to be an array in the JSON string but got `%s`", jsonObj.get("Users").toString())); + } + + // validate the optional field `Users` (array) + for (int i = 0; i < jsonArrayusers.size(); i++) { + PlaylistUserPermissions.validateJsonElement(jsonArrayusers.get(i)); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UpdatePlaylistDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UpdatePlaylistDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UpdatePlaylistDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UpdatePlaylistDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UpdatePlaylistDto read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UpdatePlaylistDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of UpdatePlaylistDto + * @throws IOException if the JSON string is invalid with respect to UpdatePlaylistDto + */ + public static UpdatePlaylistDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UpdatePlaylistDto.class); + } + + /** + * Convert an instance of UpdatePlaylistDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UpdatePlaylistUserDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UpdatePlaylistUserDto.java new file mode 100644 index 00000000000..ecfa62d835e --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UpdatePlaylistUserDto.java @@ -0,0 +1,215 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * Update existing playlist user dto. Fields set to `null` will not be updated and keep their current values. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class UpdatePlaylistUserDto { + public static final String SERIALIZED_NAME_CAN_EDIT = "CanEdit"; + @SerializedName(SERIALIZED_NAME_CAN_EDIT) + @javax.annotation.Nullable + private Boolean canEdit; + + public UpdatePlaylistUserDto() { + } + + public UpdatePlaylistUserDto canEdit(@javax.annotation.Nullable Boolean canEdit) { + this.canEdit = canEdit; + return this; + } + + /** + * Gets or sets a value indicating whether the user can edit the playlist. + * @return canEdit + */ + @javax.annotation.Nullable + public Boolean getCanEdit() { + return canEdit; + } + + public void setCanEdit(@javax.annotation.Nullable Boolean canEdit) { + this.canEdit = canEdit; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdatePlaylistUserDto updatePlaylistUserDto = (UpdatePlaylistUserDto) o; + return Objects.equals(this.canEdit, updatePlaylistUserDto.canEdit); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(canEdit); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UpdatePlaylistUserDto {\n"); + sb.append(" canEdit: ").append(toIndentedString(canEdit)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("CanEdit"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to UpdatePlaylistUserDto + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!UpdatePlaylistUserDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in UpdatePlaylistUserDto is not found in the empty JSON string", UpdatePlaylistUserDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!UpdatePlaylistUserDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UpdatePlaylistUserDto` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UpdatePlaylistUserDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UpdatePlaylistUserDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UpdatePlaylistUserDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UpdatePlaylistUserDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UpdatePlaylistUserDto read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UpdatePlaylistUserDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of UpdatePlaylistUserDto + * @throws IOException if the JSON string is invalid with respect to UpdatePlaylistUserDto + */ + public static UpdatePlaylistUserDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UpdatePlaylistUserDto.class); + } + + /** + * Convert an instance of UpdatePlaylistUserDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UpdateUserItemDataDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UpdateUserItemDataDto.java new file mode 100644 index 00000000000..868a7ad4d87 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UpdateUserItemDataDto.java @@ -0,0 +1,492 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.Arrays; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * This is used by the api to get information about a item user data. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class UpdateUserItemDataDto { + public static final String SERIALIZED_NAME_RATING = "Rating"; + @SerializedName(SERIALIZED_NAME_RATING) + @javax.annotation.Nullable + private Double rating; + + public static final String SERIALIZED_NAME_PLAYED_PERCENTAGE = "PlayedPercentage"; + @SerializedName(SERIALIZED_NAME_PLAYED_PERCENTAGE) + @javax.annotation.Nullable + private Double playedPercentage; + + public static final String SERIALIZED_NAME_UNPLAYED_ITEM_COUNT = "UnplayedItemCount"; + @SerializedName(SERIALIZED_NAME_UNPLAYED_ITEM_COUNT) + @javax.annotation.Nullable + private Integer unplayedItemCount; + + public static final String SERIALIZED_NAME_PLAYBACK_POSITION_TICKS = "PlaybackPositionTicks"; + @SerializedName(SERIALIZED_NAME_PLAYBACK_POSITION_TICKS) + @javax.annotation.Nullable + private Long playbackPositionTicks; + + public static final String SERIALIZED_NAME_PLAY_COUNT = "PlayCount"; + @SerializedName(SERIALIZED_NAME_PLAY_COUNT) + @javax.annotation.Nullable + private Integer playCount; + + public static final String SERIALIZED_NAME_IS_FAVORITE = "IsFavorite"; + @SerializedName(SERIALIZED_NAME_IS_FAVORITE) + @javax.annotation.Nullable + private Boolean isFavorite; + + public static final String SERIALIZED_NAME_LIKES = "Likes"; + @SerializedName(SERIALIZED_NAME_LIKES) + @javax.annotation.Nullable + private Boolean likes; + + public static final String SERIALIZED_NAME_LAST_PLAYED_DATE = "LastPlayedDate"; + @SerializedName(SERIALIZED_NAME_LAST_PLAYED_DATE) + @javax.annotation.Nullable + private OffsetDateTime lastPlayedDate; + + public static final String SERIALIZED_NAME_PLAYED = "Played"; + @SerializedName(SERIALIZED_NAME_PLAYED) + @javax.annotation.Nullable + private Boolean played; + + public static final String SERIALIZED_NAME_KEY = "Key"; + @SerializedName(SERIALIZED_NAME_KEY) + @javax.annotation.Nullable + private String key; + + public static final String SERIALIZED_NAME_ITEM_ID = "ItemId"; + @SerializedName(SERIALIZED_NAME_ITEM_ID) + @javax.annotation.Nullable + private String itemId; + + public UpdateUserItemDataDto() { + } + + public UpdateUserItemDataDto rating(@javax.annotation.Nullable Double rating) { + this.rating = rating; + return this; + } + + /** + * Gets or sets the rating. + * @return rating + */ + @javax.annotation.Nullable + public Double getRating() { + return rating; + } + + public void setRating(@javax.annotation.Nullable Double rating) { + this.rating = rating; + } + + + public UpdateUserItemDataDto playedPercentage(@javax.annotation.Nullable Double playedPercentage) { + this.playedPercentage = playedPercentage; + return this; + } + + /** + * Gets or sets the played percentage. + * @return playedPercentage + */ + @javax.annotation.Nullable + public Double getPlayedPercentage() { + return playedPercentage; + } + + public void setPlayedPercentage(@javax.annotation.Nullable Double playedPercentage) { + this.playedPercentage = playedPercentage; + } + + + public UpdateUserItemDataDto unplayedItemCount(@javax.annotation.Nullable Integer unplayedItemCount) { + this.unplayedItemCount = unplayedItemCount; + return this; + } + + /** + * Gets or sets the unplayed item count. + * @return unplayedItemCount + */ + @javax.annotation.Nullable + public Integer getUnplayedItemCount() { + return unplayedItemCount; + } + + public void setUnplayedItemCount(@javax.annotation.Nullable Integer unplayedItemCount) { + this.unplayedItemCount = unplayedItemCount; + } + + + public UpdateUserItemDataDto playbackPositionTicks(@javax.annotation.Nullable Long playbackPositionTicks) { + this.playbackPositionTicks = playbackPositionTicks; + return this; + } + + /** + * Gets or sets the playback position ticks. + * @return playbackPositionTicks + */ + @javax.annotation.Nullable + public Long getPlaybackPositionTicks() { + return playbackPositionTicks; + } + + public void setPlaybackPositionTicks(@javax.annotation.Nullable Long playbackPositionTicks) { + this.playbackPositionTicks = playbackPositionTicks; + } + + + public UpdateUserItemDataDto playCount(@javax.annotation.Nullable Integer playCount) { + this.playCount = playCount; + return this; + } + + /** + * Gets or sets the play count. + * @return playCount + */ + @javax.annotation.Nullable + public Integer getPlayCount() { + return playCount; + } + + public void setPlayCount(@javax.annotation.Nullable Integer playCount) { + this.playCount = playCount; + } + + + public UpdateUserItemDataDto isFavorite(@javax.annotation.Nullable Boolean isFavorite) { + this.isFavorite = isFavorite; + return this; + } + + /** + * Gets or sets a value indicating whether this instance is favorite. + * @return isFavorite + */ + @javax.annotation.Nullable + public Boolean getIsFavorite() { + return isFavorite; + } + + public void setIsFavorite(@javax.annotation.Nullable Boolean isFavorite) { + this.isFavorite = isFavorite; + } + + + public UpdateUserItemDataDto likes(@javax.annotation.Nullable Boolean likes) { + this.likes = likes; + return this; + } + + /** + * Gets or sets a value indicating whether this MediaBrowser.Model.Dto.UpdateUserItemDataDto is likes. + * @return likes + */ + @javax.annotation.Nullable + public Boolean getLikes() { + return likes; + } + + public void setLikes(@javax.annotation.Nullable Boolean likes) { + this.likes = likes; + } + + + public UpdateUserItemDataDto lastPlayedDate(@javax.annotation.Nullable OffsetDateTime lastPlayedDate) { + this.lastPlayedDate = lastPlayedDate; + return this; + } + + /** + * Gets or sets the last played date. + * @return lastPlayedDate + */ + @javax.annotation.Nullable + public OffsetDateTime getLastPlayedDate() { + return lastPlayedDate; + } + + public void setLastPlayedDate(@javax.annotation.Nullable OffsetDateTime lastPlayedDate) { + this.lastPlayedDate = lastPlayedDate; + } + + + public UpdateUserItemDataDto played(@javax.annotation.Nullable Boolean played) { + this.played = played; + return this; + } + + /** + * Gets or sets a value indicating whether this MediaBrowser.Model.Dto.UserItemDataDto is played. + * @return played + */ + @javax.annotation.Nullable + public Boolean getPlayed() { + return played; + } + + public void setPlayed(@javax.annotation.Nullable Boolean played) { + this.played = played; + } + + + public UpdateUserItemDataDto key(@javax.annotation.Nullable String key) { + this.key = key; + return this; + } + + /** + * Gets or sets the key. + * @return key + */ + @javax.annotation.Nullable + public String getKey() { + return key; + } + + public void setKey(@javax.annotation.Nullable String key) { + this.key = key; + } + + + public UpdateUserItemDataDto itemId(@javax.annotation.Nullable String itemId) { + this.itemId = itemId; + return this; + } + + /** + * Gets or sets the item identifier. + * @return itemId + */ + @javax.annotation.Nullable + public String getItemId() { + return itemId; + } + + public void setItemId(@javax.annotation.Nullable String itemId) { + this.itemId = itemId; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateUserItemDataDto updateUserItemDataDto = (UpdateUserItemDataDto) o; + return Objects.equals(this.rating, updateUserItemDataDto.rating) && + Objects.equals(this.playedPercentage, updateUserItemDataDto.playedPercentage) && + Objects.equals(this.unplayedItemCount, updateUserItemDataDto.unplayedItemCount) && + Objects.equals(this.playbackPositionTicks, updateUserItemDataDto.playbackPositionTicks) && + Objects.equals(this.playCount, updateUserItemDataDto.playCount) && + Objects.equals(this.isFavorite, updateUserItemDataDto.isFavorite) && + Objects.equals(this.likes, updateUserItemDataDto.likes) && + Objects.equals(this.lastPlayedDate, updateUserItemDataDto.lastPlayedDate) && + Objects.equals(this.played, updateUserItemDataDto.played) && + Objects.equals(this.key, updateUserItemDataDto.key) && + Objects.equals(this.itemId, updateUserItemDataDto.itemId); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(rating, playedPercentage, unplayedItemCount, playbackPositionTicks, playCount, isFavorite, likes, lastPlayedDate, played, key, itemId); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UpdateUserItemDataDto {\n"); + sb.append(" rating: ").append(toIndentedString(rating)).append("\n"); + sb.append(" playedPercentage: ").append(toIndentedString(playedPercentage)).append("\n"); + sb.append(" unplayedItemCount: ").append(toIndentedString(unplayedItemCount)).append("\n"); + sb.append(" playbackPositionTicks: ").append(toIndentedString(playbackPositionTicks)).append("\n"); + sb.append(" playCount: ").append(toIndentedString(playCount)).append("\n"); + sb.append(" isFavorite: ").append(toIndentedString(isFavorite)).append("\n"); + sb.append(" likes: ").append(toIndentedString(likes)).append("\n"); + sb.append(" lastPlayedDate: ").append(toIndentedString(lastPlayedDate)).append("\n"); + sb.append(" played: ").append(toIndentedString(played)).append("\n"); + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Rating"); + openapiFields.add("PlayedPercentage"); + openapiFields.add("UnplayedItemCount"); + openapiFields.add("PlaybackPositionTicks"); + openapiFields.add("PlayCount"); + openapiFields.add("IsFavorite"); + openapiFields.add("Likes"); + openapiFields.add("LastPlayedDate"); + openapiFields.add("Played"); + openapiFields.add("Key"); + openapiFields.add("ItemId"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to UpdateUserItemDataDto + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!UpdateUserItemDataDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in UpdateUserItemDataDto is not found in the empty JSON string", UpdateUserItemDataDto.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!UpdateUserItemDataDto.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UpdateUserItemDataDto` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("Key") != null && !jsonObj.get("Key").isJsonNull()) && !jsonObj.get("Key").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Key").toString())); + } + if ((jsonObj.get("ItemId") != null && !jsonObj.get("ItemId").isJsonNull()) && !jsonObj.get("ItemId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `ItemId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ItemId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UpdateUserItemDataDto.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UpdateUserItemDataDto' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UpdateUserItemDataDto.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UpdateUserItemDataDto value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UpdateUserItemDataDto read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UpdateUserItemDataDto given an JSON string + * + * @param jsonString JSON string + * @return An instance of UpdateUserItemDataDto + * @throws IOException if the JSON string is invalid with respect to UpdateUserItemDataDto + */ + public static UpdateUserItemDataDto fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UpdateUserItemDataDto.class); + } + + /** + * Convert an instance of UpdateUserItemDataDto to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UpdateUserPassword.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UpdateUserPassword.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UpdateUserPassword.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UpdateUserPassword.java index dce69096e90..7e5c9053b31 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UpdateUserPassword.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UpdateUserPassword.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * The update user password request body. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class UpdateUserPassword { public static final String SERIALIZED_NAME_CURRENT_PASSWORD = "CurrentPassword"; @SerializedName(SERIALIZED_NAME_CURRENT_PASSWORD) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UploadSubtitleDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UploadSubtitleDto.java similarity index 88% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UploadSubtitleDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UploadSubtitleDto.java index b69b8f67d4b..04496899912 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UploadSubtitleDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UploadSubtitleDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Upload subtitles dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class UploadSubtitleDto { public static final String SERIALIZED_NAME_LANGUAGE = "Language"; @SerializedName(SERIALIZED_NAME_LANGUAGE) @@ -65,6 +65,11 @@ public class UploadSubtitleDto { @javax.annotation.Nonnull private Boolean isForced; + public static final String SERIALIZED_NAME_IS_HEARING_IMPAIRED = "IsHearingImpaired"; + @SerializedName(SERIALIZED_NAME_IS_HEARING_IMPAIRED) + @javax.annotation.Nonnull + private Boolean isHearingImpaired; + public static final String SERIALIZED_NAME_DATA = "Data"; @SerializedName(SERIALIZED_NAME_DATA) @javax.annotation.Nonnull @@ -130,6 +135,25 @@ public class UploadSubtitleDto { } + public UploadSubtitleDto isHearingImpaired(@javax.annotation.Nonnull Boolean isHearingImpaired) { + this.isHearingImpaired = isHearingImpaired; + return this; + } + + /** + * Gets or sets a value indicating whether the subtitle is for hearing impaired. + * @return isHearingImpaired + */ + @javax.annotation.Nonnull + public Boolean getIsHearingImpaired() { + return isHearingImpaired; + } + + public void setIsHearingImpaired(@javax.annotation.Nonnull Boolean isHearingImpaired) { + this.isHearingImpaired = isHearingImpaired; + } + + public UploadSubtitleDto data(@javax.annotation.Nonnull String data) { this.data = data; return this; @@ -162,12 +186,13 @@ public class UploadSubtitleDto { return Objects.equals(this.language, uploadSubtitleDto.language) && Objects.equals(this.format, uploadSubtitleDto.format) && Objects.equals(this.isForced, uploadSubtitleDto.isForced) && + Objects.equals(this.isHearingImpaired, uploadSubtitleDto.isHearingImpaired) && Objects.equals(this.data, uploadSubtitleDto.data); } @Override public int hashCode() { - return Objects.hash(language, format, isForced, data); + return Objects.hash(language, format, isForced, isHearingImpaired, data); } @Override @@ -177,6 +202,7 @@ public class UploadSubtitleDto { sb.append(" language: ").append(toIndentedString(language)).append("\n"); sb.append(" format: ").append(toIndentedString(format)).append("\n"); sb.append(" isForced: ").append(toIndentedString(isForced)).append("\n"); + sb.append(" isHearingImpaired: ").append(toIndentedString(isHearingImpaired)).append("\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append("}"); return sb.toString(); @@ -203,6 +229,7 @@ public class UploadSubtitleDto { openapiFields.add("Language"); openapiFields.add("Format"); openapiFields.add("IsForced"); + openapiFields.add("IsHearingImpaired"); openapiFields.add("Data"); // a set of required properties/fields (JSON key names) @@ -210,6 +237,7 @@ public class UploadSubtitleDto { openapiRequiredFields.add("Language"); openapiRequiredFields.add("Format"); openapiRequiredFields.add("IsForced"); + openapiRequiredFields.add("IsHearingImpaired"); openapiRequiredFields.add("Data"); } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UserConfiguration.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserConfiguration.java similarity index 90% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UserConfiguration.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserConfiguration.java index 2c0a21abec2..16e339ac776 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UserConfiguration.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserConfiguration.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,6 +23,7 @@ import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; +import java.util.UUID; import org.openapitools.client.model.SubtitlePlaybackMode; import org.openapitools.jackson.nullable.JsonNullable; @@ -52,7 +53,7 @@ import org.openapitools.client.JSON; /** * Class UserConfiguration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class UserConfiguration { public static final String SERIALIZED_NAME_AUDIO_LANGUAGE_PREFERENCE = "AudioLanguagePreference"; @SerializedName(SERIALIZED_NAME_AUDIO_LANGUAGE_PREFERENCE) @@ -77,7 +78,7 @@ public class UserConfiguration { public static final String SERIALIZED_NAME_GROUPED_FOLDERS = "GroupedFolders"; @SerializedName(SERIALIZED_NAME_GROUPED_FOLDERS) @javax.annotation.Nullable - private List groupedFolders = new ArrayList<>(); + private List groupedFolders = new ArrayList<>(); public static final String SERIALIZED_NAME_SUBTITLE_MODE = "SubtitleMode"; @SerializedName(SERIALIZED_NAME_SUBTITLE_MODE) @@ -97,17 +98,17 @@ public class UserConfiguration { public static final String SERIALIZED_NAME_ORDERED_VIEWS = "OrderedViews"; @SerializedName(SERIALIZED_NAME_ORDERED_VIEWS) @javax.annotation.Nullable - private List orderedViews = new ArrayList<>(); + private List orderedViews = new ArrayList<>(); public static final String SERIALIZED_NAME_LATEST_ITEMS_EXCLUDES = "LatestItemsExcludes"; @SerializedName(SERIALIZED_NAME_LATEST_ITEMS_EXCLUDES) @javax.annotation.Nullable - private List latestItemsExcludes = new ArrayList<>(); + private List latestItemsExcludes = new ArrayList<>(); public static final String SERIALIZED_NAME_MY_MEDIA_EXCLUDES = "MyMediaExcludes"; @SerializedName(SERIALIZED_NAME_MY_MEDIA_EXCLUDES) @javax.annotation.Nullable - private List myMediaExcludes = new ArrayList<>(); + private List myMediaExcludes = new ArrayList<>(); public static final String SERIALIZED_NAME_HIDE_PLAYED_IN_LATEST = "HidePlayedInLatest"; @SerializedName(SERIALIZED_NAME_HIDE_PLAYED_IN_LATEST) @@ -129,6 +130,11 @@ public class UserConfiguration { @javax.annotation.Nullable private Boolean enableNextEpisodeAutoPlay; + public static final String SERIALIZED_NAME_CAST_RECEIVER_ID = "CastReceiverId"; + @SerializedName(SERIALIZED_NAME_CAST_RECEIVER_ID) + @javax.annotation.Nullable + private String castReceiverId; + public UserConfiguration() { } @@ -208,12 +214,12 @@ public class UserConfiguration { } - public UserConfiguration groupedFolders(@javax.annotation.Nullable List groupedFolders) { + public UserConfiguration groupedFolders(@javax.annotation.Nullable List groupedFolders) { this.groupedFolders = groupedFolders; return this; } - public UserConfiguration addGroupedFoldersItem(String groupedFoldersItem) { + public UserConfiguration addGroupedFoldersItem(UUID groupedFoldersItem) { if (this.groupedFolders == null) { this.groupedFolders = new ArrayList<>(); } @@ -226,11 +232,11 @@ public class UserConfiguration { * @return groupedFolders */ @javax.annotation.Nullable - public List getGroupedFolders() { + public List getGroupedFolders() { return groupedFolders; } - public void setGroupedFolders(@javax.annotation.Nullable List groupedFolders) { + public void setGroupedFolders(@javax.annotation.Nullable List groupedFolders) { this.groupedFolders = groupedFolders; } @@ -292,12 +298,12 @@ public class UserConfiguration { } - public UserConfiguration orderedViews(@javax.annotation.Nullable List orderedViews) { + public UserConfiguration orderedViews(@javax.annotation.Nullable List orderedViews) { this.orderedViews = orderedViews; return this; } - public UserConfiguration addOrderedViewsItem(String orderedViewsItem) { + public UserConfiguration addOrderedViewsItem(UUID orderedViewsItem) { if (this.orderedViews == null) { this.orderedViews = new ArrayList<>(); } @@ -310,21 +316,21 @@ public class UserConfiguration { * @return orderedViews */ @javax.annotation.Nullable - public List getOrderedViews() { + public List getOrderedViews() { return orderedViews; } - public void setOrderedViews(@javax.annotation.Nullable List orderedViews) { + public void setOrderedViews(@javax.annotation.Nullable List orderedViews) { this.orderedViews = orderedViews; } - public UserConfiguration latestItemsExcludes(@javax.annotation.Nullable List latestItemsExcludes) { + public UserConfiguration latestItemsExcludes(@javax.annotation.Nullable List latestItemsExcludes) { this.latestItemsExcludes = latestItemsExcludes; return this; } - public UserConfiguration addLatestItemsExcludesItem(String latestItemsExcludesItem) { + public UserConfiguration addLatestItemsExcludesItem(UUID latestItemsExcludesItem) { if (this.latestItemsExcludes == null) { this.latestItemsExcludes = new ArrayList<>(); } @@ -337,21 +343,21 @@ public class UserConfiguration { * @return latestItemsExcludes */ @javax.annotation.Nullable - public List getLatestItemsExcludes() { + public List getLatestItemsExcludes() { return latestItemsExcludes; } - public void setLatestItemsExcludes(@javax.annotation.Nullable List latestItemsExcludes) { + public void setLatestItemsExcludes(@javax.annotation.Nullable List latestItemsExcludes) { this.latestItemsExcludes = latestItemsExcludes; } - public UserConfiguration myMediaExcludes(@javax.annotation.Nullable List myMediaExcludes) { + public UserConfiguration myMediaExcludes(@javax.annotation.Nullable List myMediaExcludes) { this.myMediaExcludes = myMediaExcludes; return this; } - public UserConfiguration addMyMediaExcludesItem(String myMediaExcludesItem) { + public UserConfiguration addMyMediaExcludesItem(UUID myMediaExcludesItem) { if (this.myMediaExcludes == null) { this.myMediaExcludes = new ArrayList<>(); } @@ -364,11 +370,11 @@ public class UserConfiguration { * @return myMediaExcludes */ @javax.annotation.Nullable - public List getMyMediaExcludes() { + public List getMyMediaExcludes() { return myMediaExcludes; } - public void setMyMediaExcludes(@javax.annotation.Nullable List myMediaExcludes) { + public void setMyMediaExcludes(@javax.annotation.Nullable List myMediaExcludes) { this.myMediaExcludes = myMediaExcludes; } @@ -449,6 +455,25 @@ public class UserConfiguration { } + public UserConfiguration castReceiverId(@javax.annotation.Nullable String castReceiverId) { + this.castReceiverId = castReceiverId; + return this; + } + + /** + * Gets or sets the id of the selected cast receiver. + * @return castReceiverId + */ + @javax.annotation.Nullable + public String getCastReceiverId() { + return castReceiverId; + } + + public void setCastReceiverId(@javax.annotation.Nullable String castReceiverId) { + this.castReceiverId = castReceiverId; + } + + @Override public boolean equals(Object o) { @@ -473,7 +498,8 @@ public class UserConfiguration { Objects.equals(this.hidePlayedInLatest, userConfiguration.hidePlayedInLatest) && Objects.equals(this.rememberAudioSelections, userConfiguration.rememberAudioSelections) && Objects.equals(this.rememberSubtitleSelections, userConfiguration.rememberSubtitleSelections) && - Objects.equals(this.enableNextEpisodeAutoPlay, userConfiguration.enableNextEpisodeAutoPlay); + Objects.equals(this.enableNextEpisodeAutoPlay, userConfiguration.enableNextEpisodeAutoPlay) && + Objects.equals(this.castReceiverId, userConfiguration.castReceiverId); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -482,7 +508,7 @@ public class UserConfiguration { @Override public int hashCode() { - return Objects.hash(audioLanguagePreference, playDefaultAudioTrack, subtitleLanguagePreference, displayMissingEpisodes, groupedFolders, subtitleMode, displayCollectionsView, enableLocalPassword, orderedViews, latestItemsExcludes, myMediaExcludes, hidePlayedInLatest, rememberAudioSelections, rememberSubtitleSelections, enableNextEpisodeAutoPlay); + return Objects.hash(audioLanguagePreference, playDefaultAudioTrack, subtitleLanguagePreference, displayMissingEpisodes, groupedFolders, subtitleMode, displayCollectionsView, enableLocalPassword, orderedViews, latestItemsExcludes, myMediaExcludes, hidePlayedInLatest, rememberAudioSelections, rememberSubtitleSelections, enableNextEpisodeAutoPlay, castReceiverId); } private static int hashCodeNullable(JsonNullable a) { @@ -511,6 +537,7 @@ public class UserConfiguration { sb.append(" rememberAudioSelections: ").append(toIndentedString(rememberAudioSelections)).append("\n"); sb.append(" rememberSubtitleSelections: ").append(toIndentedString(rememberSubtitleSelections)).append("\n"); sb.append(" enableNextEpisodeAutoPlay: ").append(toIndentedString(enableNextEpisodeAutoPlay)).append("\n"); + sb.append(" castReceiverId: ").append(toIndentedString(castReceiverId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -548,6 +575,7 @@ public class UserConfiguration { openapiFields.add("RememberAudioSelections"); openapiFields.add("RememberSubtitleSelections"); openapiFields.add("EnableNextEpisodeAutoPlay"); + openapiFields.add("CastReceiverId"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -600,6 +628,9 @@ public class UserConfiguration { if (jsonObj.get("MyMediaExcludes") != null && !jsonObj.get("MyMediaExcludes").isJsonNull() && !jsonObj.get("MyMediaExcludes").isJsonArray()) { throw new IllegalArgumentException(String.format("Expected the field `MyMediaExcludes` to be an array in the JSON string but got `%s`", jsonObj.get("MyMediaExcludes").toString())); } + if ((jsonObj.get("CastReceiverId") != null && !jsonObj.get("CastReceiverId").isJsonNull()) && !jsonObj.get("CastReceiverId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `CastReceiverId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("CastReceiverId").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportGroup.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserDataChangeInfo.java similarity index 51% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportGroup.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserDataChangeInfo.java index 952d4e473f2..7648fc4b181 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportGroup.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserDataChangeInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,7 +23,8 @@ import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import org.openapitools.client.model.ReportRow; +import java.util.UUID; +import org.openapitools.client.model.UserItemDataDto; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -49,66 +50,66 @@ import java.util.Set; import org.openapitools.client.JSON; /** - * ReportGroup + * Class UserDataChangeInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class ReportGroup { - public static final String SERIALIZED_NAME_NAME = "Name"; - @SerializedName(SERIALIZED_NAME_NAME) +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class UserDataChangeInfo { + public static final String SERIALIZED_NAME_USER_ID = "UserId"; + @SerializedName(SERIALIZED_NAME_USER_ID) @javax.annotation.Nullable - private String name; + private UUID userId; - public static final String SERIALIZED_NAME_ROWS = "Rows"; - @SerializedName(SERIALIZED_NAME_ROWS) + public static final String SERIALIZED_NAME_USER_DATA_LIST = "UserDataList"; + @SerializedName(SERIALIZED_NAME_USER_DATA_LIST) @javax.annotation.Nullable - private List rows = new ArrayList<>(); + private List userDataList = new ArrayList<>(); - public ReportGroup() { + public UserDataChangeInfo() { } - public ReportGroup name(@javax.annotation.Nullable String name) { - this.name = name; + public UserDataChangeInfo userId(@javax.annotation.Nullable UUID userId) { + this.userId = userId; return this; } /** - * Get name - * @return name + * Gets or sets the user id. + * @return userId */ @javax.annotation.Nullable - public String getName() { - return name; + public UUID getUserId() { + return userId; } - public void setName(@javax.annotation.Nullable String name) { - this.name = name; + public void setUserId(@javax.annotation.Nullable UUID userId) { + this.userId = userId; } - public ReportGroup rows(@javax.annotation.Nullable List rows) { - this.rows = rows; + public UserDataChangeInfo userDataList(@javax.annotation.Nullable List userDataList) { + this.userDataList = userDataList; return this; } - public ReportGroup addRowsItem(ReportRow rowsItem) { - if (this.rows == null) { - this.rows = new ArrayList<>(); + public UserDataChangeInfo addUserDataListItem(UserItemDataDto userDataListItem) { + if (this.userDataList == null) { + this.userDataList = new ArrayList<>(); } - this.rows.add(rowsItem); + this.userDataList.add(userDataListItem); return this; } /** - * Get rows - * @return rows + * Gets or sets the user data list. + * @return userDataList */ @javax.annotation.Nullable - public List getRows() { - return rows; + public List getUserDataList() { + return userDataList; } - public void setRows(@javax.annotation.Nullable List rows) { - this.rows = rows; + public void setUserDataList(@javax.annotation.Nullable List userDataList) { + this.userDataList = userDataList; } @@ -121,22 +122,22 @@ public class ReportGroup { if (o == null || getClass() != o.getClass()) { return false; } - ReportGroup reportGroup = (ReportGroup) o; - return Objects.equals(this.name, reportGroup.name) && - Objects.equals(this.rows, reportGroup.rows); + UserDataChangeInfo userDataChangeInfo = (UserDataChangeInfo) o; + return Objects.equals(this.userId, userDataChangeInfo.userId) && + Objects.equals(this.userDataList, userDataChangeInfo.userDataList); } @Override public int hashCode() { - return Objects.hash(name, rows); + return Objects.hash(userId, userDataList); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class ReportGroup {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" rows: ").append(toIndentedString(rows)).append("\n"); + sb.append("class UserDataChangeInfo {\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" userDataList: ").append(toIndentedString(userDataList)).append("\n"); sb.append("}"); return sb.toString(); } @@ -159,8 +160,8 @@ public class ReportGroup { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("Name"); - openapiFields.add("Rows"); + openapiFields.add("UserId"); + openapiFields.add("UserDataList"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -170,37 +171,37 @@ public class ReportGroup { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ReportGroup + * @throws IOException if the JSON Element is invalid with respect to UserDataChangeInfo */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!ReportGroup.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ReportGroup is not found in the empty JSON string", ReportGroup.openapiRequiredFields.toString())); + if (!UserDataChangeInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in UserDataChangeInfo is not found in the empty JSON string", UserDataChangeInfo.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!ReportGroup.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ReportGroup` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + if (!UserDataChangeInfo.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UserDataChangeInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Name") != null && !jsonObj.get("Name").isJsonNull()) && !jsonObj.get("Name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Name").toString())); + if ((jsonObj.get("UserId") != null && !jsonObj.get("UserId").isJsonNull()) && !jsonObj.get("UserId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `UserId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("UserId").toString())); } - if (jsonObj.get("Rows") != null && !jsonObj.get("Rows").isJsonNull()) { - JsonArray jsonArrayrows = jsonObj.getAsJsonArray("Rows"); - if (jsonArrayrows != null) { + if (jsonObj.get("UserDataList") != null && !jsonObj.get("UserDataList").isJsonNull()) { + JsonArray jsonArrayuserDataList = jsonObj.getAsJsonArray("UserDataList"); + if (jsonArrayuserDataList != null) { // ensure the json data is an array - if (!jsonObj.get("Rows").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `Rows` to be an array in the JSON string but got `%s`", jsonObj.get("Rows").toString())); + if (!jsonObj.get("UserDataList").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `UserDataList` to be an array in the JSON string but got `%s`", jsonObj.get("UserDataList").toString())); } - // validate the optional field `Rows` (array) - for (int i = 0; i < jsonArrayrows.size(); i++) { - ReportRow.validateJsonElement(jsonArrayrows.get(i)); + // validate the optional field `UserDataList` (array) + for (int i = 0; i < jsonArrayuserDataList.size(); i++) { + UserItemDataDto.validateJsonElement(jsonArrayuserDataList.get(i)); }; } } @@ -210,22 +211,22 @@ public class ReportGroup { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!ReportGroup.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ReportGroup' and its subtypes + if (!UserDataChangeInfo.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UserDataChangeInfo' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ReportGroup.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UserDataChangeInfo.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, ReportGroup value) throws IOException { + public void write(JsonWriter out, UserDataChangeInfo value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public ReportGroup read(JsonReader in) throws IOException { + public UserDataChangeInfo read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -236,18 +237,18 @@ public class ReportGroup { } /** - * Create an instance of ReportGroup given an JSON string + * Create an instance of UserDataChangeInfo given an JSON string * * @param jsonString JSON string - * @return An instance of ReportGroup - * @throws IOException if the JSON string is invalid with respect to ReportGroup + * @return An instance of UserDataChangeInfo + * @throws IOException if the JSON string is invalid with respect to UserDataChangeInfo */ - public static ReportGroup fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ReportGroup.class); + public static UserDataChangeInfo fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UserDataChangeInfo.class); } /** - * Convert an instance of ReportGroup to an JSON string + * Convert an instance of UserDataChangeInfo to an JSON string * * @return JSON string */ diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserDataChangedMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserDataChangedMessage.java new file mode 100644 index 00000000000..a3d27aa24f0 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserDataChangedMessage.java @@ -0,0 +1,282 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.client.model.UserDataChangeInfo; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * User data changed message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class UserDataChangedMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private UserDataChangeInfo data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.USER_DATA_CHANGED; + + public UserDataChangedMessage() { + } + + public UserDataChangedMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public UserDataChangedMessage data(@javax.annotation.Nullable UserDataChangeInfo data) { + this.data = data; + return this; + } + + /** + * Class UserDataChangeInfo. + * @return data + */ + @javax.annotation.Nullable + public UserDataChangeInfo getData() { + return data; + } + + public void setData(@javax.annotation.Nullable UserDataChangeInfo data) { + this.data = data; + } + + + public UserDataChangedMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UserDataChangedMessage userDataChangedMessage = (UserDataChangedMessage) o; + return Objects.equals(this.data, userDataChangedMessage.data) && + Objects.equals(this.messageId, userDataChangedMessage.messageId) && + Objects.equals(this.messageType, userDataChangedMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UserDataChangedMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to UserDataChangedMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!UserDataChangedMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in UserDataChangedMessage is not found in the empty JSON string", UserDataChangedMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!UserDataChangedMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UserDataChangedMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + UserDataChangeInfo.validateJsonElement(jsonObj.get("Data")); + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UserDataChangedMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UserDataChangedMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UserDataChangedMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UserDataChangedMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UserDataChangedMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UserDataChangedMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of UserDataChangedMessage + * @throws IOException if the JSON string is invalid with respect to UserDataChangedMessage + */ + public static UserDataChangedMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UserDataChangedMessage.class); + } + + /** + * Convert an instance of UserDataChangedMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserDeletedMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserDeletedMessage.java new file mode 100644 index 00000000000..98f303d5680 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserDeletedMessage.java @@ -0,0 +1,268 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.SessionMessageType; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * User deleted message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class UserDeletedMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private UUID data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.USER_DELETED; + + public UserDeletedMessage() { + } + + public UserDeletedMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public UserDeletedMessage data(@javax.annotation.Nullable UUID data) { + this.data = data; + return this; + } + + /** + * Gets or sets the data. + * @return data + */ + @javax.annotation.Nullable + public UUID getData() { + return data; + } + + public void setData(@javax.annotation.Nullable UUID data) { + this.data = data; + } + + + public UserDeletedMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UserDeletedMessage userDeletedMessage = (UserDeletedMessage) o; + return Objects.equals(this.data, userDeletedMessage.data) && + Objects.equals(this.messageId, userDeletedMessage.messageId) && + Objects.equals(this.messageType, userDeletedMessage.messageType); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UserDeletedMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to UserDeletedMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!UserDeletedMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in UserDeletedMessage is not found in the empty JSON string", UserDeletedMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!UserDeletedMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UserDeletedMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) && !jsonObj.get("Data").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Data` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Data").toString())); + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UserDeletedMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UserDeletedMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UserDeletedMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UserDeletedMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UserDeletedMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UserDeletedMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of UserDeletedMessage + * @throws IOException if the JSON string is invalid with respect to UserDeletedMessage + */ + public static UserDeletedMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UserDeletedMessage.class); + } + + /** + * Convert an instance of UserDeletedMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UserDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UserDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserDto.java index 707634116f2..4b85dda1dbf 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UserDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * Class UserDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class UserDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -91,6 +91,7 @@ public class UserDto { private Boolean hasConfiguredPassword; public static final String SERIALIZED_NAME_HAS_CONFIGURED_EASY_PASSWORD = "HasConfiguredEasyPassword"; + @Deprecated @SerializedName(SERIALIZED_NAME_HAS_CONFIGURED_EASY_PASSWORD) @javax.annotation.Nullable private Boolean hasConfiguredEasyPassword; @@ -261,6 +262,7 @@ public class UserDto { } + @Deprecated public UserDto hasConfiguredEasyPassword(@javax.annotation.Nullable Boolean hasConfiguredEasyPassword) { this.hasConfiguredEasyPassword = hasConfiguredEasyPassword; return this; @@ -269,12 +271,15 @@ public class UserDto { /** * Gets or sets a value indicating whether this instance has configured easy password. * @return hasConfiguredEasyPassword + * @deprecated */ + @Deprecated @javax.annotation.Nullable public Boolean getHasConfiguredEasyPassword() { return hasConfiguredEasyPassword; } + @Deprecated public void setHasConfiguredEasyPassword(@javax.annotation.Nullable Boolean hasConfiguredEasyPassword) { this.hasConfiguredEasyPassword = hasConfiguredEasyPassword; } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UserItemDataDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserItemDataDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UserItemDataDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserItemDataDto.java index d4f57dc0da5..a8e43c9d079 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UserItemDataDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserItemDataDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.time.OffsetDateTime; import java.util.Arrays; +import java.util.UUID; import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; @@ -50,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class UserItemDataDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class UserItemDataDto { public static final String SERIALIZED_NAME_RATING = "Rating"; @SerializedName(SERIALIZED_NAME_RATING) @@ -105,7 +106,7 @@ public class UserItemDataDto { public static final String SERIALIZED_NAME_ITEM_ID = "ItemId"; @SerializedName(SERIALIZED_NAME_ITEM_ID) @javax.annotation.Nullable - private String itemId; + private UUID itemId; public UserItemDataDto() { } @@ -300,7 +301,7 @@ public class UserItemDataDto { } - public UserItemDataDto itemId(@javax.annotation.Nullable String itemId) { + public UserItemDataDto itemId(@javax.annotation.Nullable UUID itemId) { this.itemId = itemId; return this; } @@ -310,11 +311,11 @@ public class UserItemDataDto { * @return itemId */ @javax.annotation.Nullable - public String getItemId() { + public UUID getItemId() { return itemId; } - public void setItemId(@javax.annotation.Nullable String itemId) { + public void setItemId(@javax.annotation.Nullable UUID itemId) { this.itemId = itemId; } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UserPolicy.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserPolicy.java similarity index 88% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UserPolicy.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserPolicy.java index a524bed0d4e..941a9d909d0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UserPolicy.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserPolicy.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -55,7 +55,7 @@ import org.openapitools.client.JSON; /** * UserPolicy */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class UserPolicy { public static final String SERIALIZED_NAME_IS_ADMINISTRATOR = "IsAdministrator"; @SerializedName(SERIALIZED_NAME_IS_ADMINISTRATOR) @@ -67,6 +67,21 @@ public class UserPolicy { @javax.annotation.Nullable private Boolean isHidden; + public static final String SERIALIZED_NAME_ENABLE_COLLECTION_MANAGEMENT = "EnableCollectionManagement"; + @SerializedName(SERIALIZED_NAME_ENABLE_COLLECTION_MANAGEMENT) + @javax.annotation.Nullable + private Boolean enableCollectionManagement = false; + + public static final String SERIALIZED_NAME_ENABLE_SUBTITLE_MANAGEMENT = "EnableSubtitleManagement"; + @SerializedName(SERIALIZED_NAME_ENABLE_SUBTITLE_MANAGEMENT) + @javax.annotation.Nullable + private Boolean enableSubtitleManagement = false; + + public static final String SERIALIZED_NAME_ENABLE_LYRIC_MANAGEMENT = "EnableLyricManagement"; + @SerializedName(SERIALIZED_NAME_ENABLE_LYRIC_MANAGEMENT) + @javax.annotation.Nullable + private Boolean enableLyricManagement = false; + public static final String SERIALIZED_NAME_IS_DISABLED = "IsDisabled"; @SerializedName(SERIALIZED_NAME_IS_DISABLED) @javax.annotation.Nullable @@ -82,6 +97,11 @@ public class UserPolicy { @javax.annotation.Nullable private List blockedTags; + public static final String SERIALIZED_NAME_ALLOWED_TAGS = "AllowedTags"; + @SerializedName(SERIALIZED_NAME_ALLOWED_TAGS) + @javax.annotation.Nullable + private List allowedTags; + public static final String SERIALIZED_NAME_ENABLE_USER_PREFERENCE_ACCESS = "EnableUserPreferenceAccess"; @SerializedName(SERIALIZED_NAME_ENABLE_USER_PREFERENCE_ACCESS) @javax.annotation.Nullable @@ -239,12 +259,12 @@ public class UserPolicy { public static final String SERIALIZED_NAME_AUTHENTICATION_PROVIDER_ID = "AuthenticationProviderId"; @SerializedName(SERIALIZED_NAME_AUTHENTICATION_PROVIDER_ID) - @javax.annotation.Nullable + @javax.annotation.Nonnull private String authenticationProviderId; public static final String SERIALIZED_NAME_PASSWORD_RESET_PROVIDER_ID = "PasswordResetProviderId"; @SerializedName(SERIALIZED_NAME_PASSWORD_RESET_PROVIDER_ID) - @javax.annotation.Nullable + @javax.annotation.Nonnull private String passwordResetProviderId; public static final String SERIALIZED_NAME_SYNC_PLAY_ACCESS = "SyncPlayAccess"; @@ -293,6 +313,63 @@ public class UserPolicy { } + public UserPolicy enableCollectionManagement(@javax.annotation.Nullable Boolean enableCollectionManagement) { + this.enableCollectionManagement = enableCollectionManagement; + return this; + } + + /** + * Gets or sets a value indicating whether this instance can manage collections. + * @return enableCollectionManagement + */ + @javax.annotation.Nullable + public Boolean getEnableCollectionManagement() { + return enableCollectionManagement; + } + + public void setEnableCollectionManagement(@javax.annotation.Nullable Boolean enableCollectionManagement) { + this.enableCollectionManagement = enableCollectionManagement; + } + + + public UserPolicy enableSubtitleManagement(@javax.annotation.Nullable Boolean enableSubtitleManagement) { + this.enableSubtitleManagement = enableSubtitleManagement; + return this; + } + + /** + * Gets or sets a value indicating whether this instance can manage subtitles. + * @return enableSubtitleManagement + */ + @javax.annotation.Nullable + public Boolean getEnableSubtitleManagement() { + return enableSubtitleManagement; + } + + public void setEnableSubtitleManagement(@javax.annotation.Nullable Boolean enableSubtitleManagement) { + this.enableSubtitleManagement = enableSubtitleManagement; + } + + + public UserPolicy enableLyricManagement(@javax.annotation.Nullable Boolean enableLyricManagement) { + this.enableLyricManagement = enableLyricManagement; + return this; + } + + /** + * Gets or sets a value indicating whether this user can manage lyrics. + * @return enableLyricManagement + */ + @javax.annotation.Nullable + public Boolean getEnableLyricManagement() { + return enableLyricManagement; + } + + public void setEnableLyricManagement(@javax.annotation.Nullable Boolean enableLyricManagement) { + this.enableLyricManagement = enableLyricManagement; + } + + public UserPolicy isDisabled(@javax.annotation.Nullable Boolean isDisabled) { this.isDisabled = isDisabled; return this; @@ -358,6 +435,33 @@ public class UserPolicy { } + public UserPolicy allowedTags(@javax.annotation.Nullable List allowedTags) { + this.allowedTags = allowedTags; + return this; + } + + public UserPolicy addAllowedTagsItem(String allowedTagsItem) { + if (this.allowedTags == null) { + this.allowedTags = new ArrayList<>(); + } + this.allowedTags.add(allowedTagsItem); + return this; + } + + /** + * Get allowedTags + * @return allowedTags + */ + @javax.annotation.Nullable + public List getAllowedTags() { + return allowedTags; + } + + public void setAllowedTags(@javax.annotation.Nullable List allowedTags) { + this.allowedTags = allowedTags; + } + + public UserPolicy enableUserPreferenceAccess(@javax.annotation.Nullable Boolean enableUserPreferenceAccess) { this.enableUserPreferenceAccess = enableUserPreferenceAccess; return this; @@ -1011,7 +1115,7 @@ public class UserPolicy { } - public UserPolicy authenticationProviderId(@javax.annotation.Nullable String authenticationProviderId) { + public UserPolicy authenticationProviderId(@javax.annotation.Nonnull String authenticationProviderId) { this.authenticationProviderId = authenticationProviderId; return this; } @@ -1020,17 +1124,17 @@ public class UserPolicy { * Get authenticationProviderId * @return authenticationProviderId */ - @javax.annotation.Nullable + @javax.annotation.Nonnull public String getAuthenticationProviderId() { return authenticationProviderId; } - public void setAuthenticationProviderId(@javax.annotation.Nullable String authenticationProviderId) { + public void setAuthenticationProviderId(@javax.annotation.Nonnull String authenticationProviderId) { this.authenticationProviderId = authenticationProviderId; } - public UserPolicy passwordResetProviderId(@javax.annotation.Nullable String passwordResetProviderId) { + public UserPolicy passwordResetProviderId(@javax.annotation.Nonnull String passwordResetProviderId) { this.passwordResetProviderId = passwordResetProviderId; return this; } @@ -1039,12 +1143,12 @@ public class UserPolicy { * Get passwordResetProviderId * @return passwordResetProviderId */ - @javax.annotation.Nullable + @javax.annotation.Nonnull public String getPasswordResetProviderId() { return passwordResetProviderId; } - public void setPasswordResetProviderId(@javax.annotation.Nullable String passwordResetProviderId) { + public void setPasswordResetProviderId(@javax.annotation.Nonnull String passwordResetProviderId) { this.passwordResetProviderId = passwordResetProviderId; } @@ -1055,7 +1159,7 @@ public class UserPolicy { } /** - * Gets or sets a value indicating what SyncPlay features the user can access. + * Enum SyncPlayUserAccessType. * @return syncPlayAccess */ @javax.annotation.Nullable @@ -1080,9 +1184,13 @@ public class UserPolicy { UserPolicy userPolicy = (UserPolicy) o; return Objects.equals(this.isAdministrator, userPolicy.isAdministrator) && Objects.equals(this.isHidden, userPolicy.isHidden) && + Objects.equals(this.enableCollectionManagement, userPolicy.enableCollectionManagement) && + Objects.equals(this.enableSubtitleManagement, userPolicy.enableSubtitleManagement) && + Objects.equals(this.enableLyricManagement, userPolicy.enableLyricManagement) && Objects.equals(this.isDisabled, userPolicy.isDisabled) && Objects.equals(this.maxParentalRating, userPolicy.maxParentalRating) && Objects.equals(this.blockedTags, userPolicy.blockedTags) && + Objects.equals(this.allowedTags, userPolicy.allowedTags) && Objects.equals(this.enableUserPreferenceAccess, userPolicy.enableUserPreferenceAccess) && Objects.equals(this.accessSchedules, userPolicy.accessSchedules) && Objects.equals(this.blockUnratedItems, userPolicy.blockUnratedItems) && @@ -1125,7 +1233,7 @@ public class UserPolicy { @Override public int hashCode() { - return Objects.hash(isAdministrator, isHidden, isDisabled, maxParentalRating, blockedTags, enableUserPreferenceAccess, accessSchedules, blockUnratedItems, enableRemoteControlOfOtherUsers, enableSharedDeviceControl, enableRemoteAccess, enableLiveTvManagement, enableLiveTvAccess, enableMediaPlayback, enableAudioPlaybackTranscoding, enableVideoPlaybackTranscoding, enablePlaybackRemuxing, forceRemoteSourceTranscoding, enableContentDeletion, enableContentDeletionFromFolders, enableContentDownloading, enableSyncTranscoding, enableMediaConversion, enabledDevices, enableAllDevices, enabledChannels, enableAllChannels, enabledFolders, enableAllFolders, invalidLoginAttemptCount, loginAttemptsBeforeLockout, maxActiveSessions, enablePublicSharing, blockedMediaFolders, blockedChannels, remoteClientBitrateLimit, authenticationProviderId, passwordResetProviderId, syncPlayAccess); + return Objects.hash(isAdministrator, isHidden, enableCollectionManagement, enableSubtitleManagement, enableLyricManagement, isDisabled, maxParentalRating, blockedTags, allowedTags, enableUserPreferenceAccess, accessSchedules, blockUnratedItems, enableRemoteControlOfOtherUsers, enableSharedDeviceControl, enableRemoteAccess, enableLiveTvManagement, enableLiveTvAccess, enableMediaPlayback, enableAudioPlaybackTranscoding, enableVideoPlaybackTranscoding, enablePlaybackRemuxing, forceRemoteSourceTranscoding, enableContentDeletion, enableContentDeletionFromFolders, enableContentDownloading, enableSyncTranscoding, enableMediaConversion, enabledDevices, enableAllDevices, enabledChannels, enableAllChannels, enabledFolders, enableAllFolders, invalidLoginAttemptCount, loginAttemptsBeforeLockout, maxActiveSessions, enablePublicSharing, blockedMediaFolders, blockedChannels, remoteClientBitrateLimit, authenticationProviderId, passwordResetProviderId, syncPlayAccess); } private static int hashCodeNullable(JsonNullable a) { @@ -1141,9 +1249,13 @@ public class UserPolicy { sb.append("class UserPolicy {\n"); sb.append(" isAdministrator: ").append(toIndentedString(isAdministrator)).append("\n"); sb.append(" isHidden: ").append(toIndentedString(isHidden)).append("\n"); + sb.append(" enableCollectionManagement: ").append(toIndentedString(enableCollectionManagement)).append("\n"); + sb.append(" enableSubtitleManagement: ").append(toIndentedString(enableSubtitleManagement)).append("\n"); + sb.append(" enableLyricManagement: ").append(toIndentedString(enableLyricManagement)).append("\n"); sb.append(" isDisabled: ").append(toIndentedString(isDisabled)).append("\n"); sb.append(" maxParentalRating: ").append(toIndentedString(maxParentalRating)).append("\n"); sb.append(" blockedTags: ").append(toIndentedString(blockedTags)).append("\n"); + sb.append(" allowedTags: ").append(toIndentedString(allowedTags)).append("\n"); sb.append(" enableUserPreferenceAccess: ").append(toIndentedString(enableUserPreferenceAccess)).append("\n"); sb.append(" accessSchedules: ").append(toIndentedString(accessSchedules)).append("\n"); sb.append(" blockUnratedItems: ").append(toIndentedString(blockUnratedItems)).append("\n"); @@ -1202,9 +1314,13 @@ public class UserPolicy { openapiFields = new HashSet(); openapiFields.add("IsAdministrator"); openapiFields.add("IsHidden"); + openapiFields.add("EnableCollectionManagement"); + openapiFields.add("EnableSubtitleManagement"); + openapiFields.add("EnableLyricManagement"); openapiFields.add("IsDisabled"); openapiFields.add("MaxParentalRating"); openapiFields.add("BlockedTags"); + openapiFields.add("AllowedTags"); openapiFields.add("EnableUserPreferenceAccess"); openapiFields.add("AccessSchedules"); openapiFields.add("BlockUnratedItems"); @@ -1242,6 +1358,8 @@ public class UserPolicy { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("AuthenticationProviderId"); + openapiRequiredFields.add("PasswordResetProviderId"); } /** @@ -1264,11 +1382,22 @@ public class UserPolicy { throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UserPolicy` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : UserPolicy.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } JsonObject jsonObj = jsonElement.getAsJsonObject(); // ensure the optional json data is an array if present if (jsonObj.get("BlockedTags") != null && !jsonObj.get("BlockedTags").isJsonNull() && !jsonObj.get("BlockedTags").isJsonArray()) { throw new IllegalArgumentException(String.format("Expected the field `BlockedTags` to be an array in the JSON string but got `%s`", jsonObj.get("BlockedTags").toString())); } + // ensure the optional json data is an array if present + if (jsonObj.get("AllowedTags") != null && !jsonObj.get("AllowedTags").isJsonNull() && !jsonObj.get("AllowedTags").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `AllowedTags` to be an array in the JSON string but got `%s`", jsonObj.get("AllowedTags").toString())); + } if (jsonObj.get("AccessSchedules") != null && !jsonObj.get("AccessSchedules").isJsonNull()) { JsonArray jsonArrayaccessSchedules = jsonObj.getAsJsonArray("AccessSchedules"); if (jsonArrayaccessSchedules != null) { @@ -1311,10 +1440,10 @@ public class UserPolicy { if (jsonObj.get("BlockedChannels") != null && !jsonObj.get("BlockedChannels").isJsonNull() && !jsonObj.get("BlockedChannels").isJsonArray()) { throw new IllegalArgumentException(String.format("Expected the field `BlockedChannels` to be an array in the JSON string but got `%s`", jsonObj.get("BlockedChannels").toString())); } - if ((jsonObj.get("AuthenticationProviderId") != null && !jsonObj.get("AuthenticationProviderId").isJsonNull()) && !jsonObj.get("AuthenticationProviderId").isJsonPrimitive()) { + if (!jsonObj.get("AuthenticationProviderId").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `AuthenticationProviderId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("AuthenticationProviderId").toString())); } - if ((jsonObj.get("PasswordResetProviderId") != null && !jsonObj.get("PasswordResetProviderId").isJsonNull()) && !jsonObj.get("PasswordResetProviderId").isJsonPrimitive()) { + if (!jsonObj.get("PasswordResetProviderId").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `PasswordResetProviderId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("PasswordResetProviderId").toString())); } // validate the optional field `SyncPlayAccess` diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserUpdatedMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserUpdatedMessage.java new file mode 100644 index 00000000000..2c12afb56bb --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UserUpdatedMessage.java @@ -0,0 +1,282 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.client.model.UserDto; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.openapitools.client.JSON; + +/** + * User updated message. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class UserUpdatedMessage { + public static final String SERIALIZED_NAME_DATA = "Data"; + @SerializedName(SERIALIZED_NAME_DATA) + @javax.annotation.Nullable + private UserDto data; + + public static final String SERIALIZED_NAME_MESSAGE_ID = "MessageId"; + @SerializedName(SERIALIZED_NAME_MESSAGE_ID) + @javax.annotation.Nullable + private UUID messageId; + + public static final String SERIALIZED_NAME_MESSAGE_TYPE = "MessageType"; + @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) + @javax.annotation.Nullable + private SessionMessageType messageType = SessionMessageType.USER_UPDATED; + + public UserUpdatedMessage() { + } + + public UserUpdatedMessage( + SessionMessageType messageType + ) { + this(); + this.messageType = messageType; + } + + public UserUpdatedMessage data(@javax.annotation.Nullable UserDto data) { + this.data = data; + return this; + } + + /** + * Class UserDto. + * @return data + */ + @javax.annotation.Nullable + public UserDto getData() { + return data; + } + + public void setData(@javax.annotation.Nullable UserDto data) { + this.data = data; + } + + + public UserUpdatedMessage messageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + return this; + } + + /** + * Gets or sets the message id. + * @return messageId + */ + @javax.annotation.Nullable + public UUID getMessageId() { + return messageId; + } + + public void setMessageId(@javax.annotation.Nullable UUID messageId) { + this.messageId = messageId; + } + + + /** + * The different kinds of messages that are used in the WebSocket api. + * @return messageType + */ + @javax.annotation.Nullable + public SessionMessageType getMessageType() { + return messageType; + } + + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UserUpdatedMessage userUpdatedMessage = (UserUpdatedMessage) o; + return Objects.equals(this.data, userUpdatedMessage.data) && + Objects.equals(this.messageId, userUpdatedMessage.messageId) && + Objects.equals(this.messageType, userUpdatedMessage.messageType); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(data, messageId, messageType); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UserUpdatedMessage {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageType: ").append(toIndentedString(messageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("Data"); + openapiFields.add("MessageId"); + openapiFields.add("MessageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to UserUpdatedMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!UserUpdatedMessage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in UserUpdatedMessage is not found in the empty JSON string", UserUpdatedMessage.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!UserUpdatedMessage.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `UserUpdatedMessage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `Data` + if (jsonObj.get("Data") != null && !jsonObj.get("Data").isJsonNull()) { + UserDto.validateJsonElement(jsonObj.get("Data")); + } + if ((jsonObj.get("MessageId") != null && !jsonObj.get("MessageId").isJsonNull()) && !jsonObj.get("MessageId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `MessageId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageId").toString())); + } + // validate the optional field `MessageType` + if (jsonObj.get("MessageType") != null && !jsonObj.get("MessageType").isJsonNull()) { + SessionMessageType.validateJsonElement(jsonObj.get("MessageType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UserUpdatedMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UserUpdatedMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(UserUpdatedMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UserUpdatedMessage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UserUpdatedMessage read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UserUpdatedMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of UserUpdatedMessage + * @throws IOException if the JSON string is invalid with respect to UserUpdatedMessage + */ + public static UserUpdatedMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UserUpdatedMessage.class); + } + + /** + * Convert an instance of UserUpdatedMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UtcTimeResponse.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UtcTimeResponse.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UtcTimeResponse.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UtcTimeResponse.java index 3cc1d9e0352..c02de654ded 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UtcTimeResponse.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/UtcTimeResponse.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class UtcTimeResponse. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class UtcTimeResponse { public static final String SERIALIZED_NAME_REQUEST_RECEPTION_TIME = "RequestReceptionTime"; @SerializedName(SERIALIZED_NAME_REQUEST_RECEPTION_TIME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ValidatePathDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ValidatePathDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ValidatePathDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ValidatePathDto.java index 9ee0e8e0a65..61b2ad2d1ec 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ValidatePathDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/ValidatePathDto.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Validate path object. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ValidatePathDto { public static final String SERIALIZED_NAME_VALIDATE_WRITABLE = "ValidateWritable"; @SerializedName(SERIALIZED_NAME_VALIDATE_WRITABLE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/VersionInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/VersionInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/VersionInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/VersionInfo.java index fb22fa02dfa..a497c39819a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/VersionInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/VersionInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Defines the MediaBrowser.Model.Updates.VersionInfo class. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class VersionInfo { public static final String SERIALIZED_NAME_VERSION = "version"; @SerializedName(SERIALIZED_NAME_VERSION) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/Video3DFormat.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/Video3DFormat.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/Video3DFormat.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/Video3DFormat.java index e4ad2a7fe45..d511e5d9779 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/Video3DFormat.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/Video3DFormat.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/VideoRange.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/VideoRange.java new file mode 100644 index 00000000000..4dd3fcff216 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/VideoRange.java @@ -0,0 +1,80 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.JsonElement; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * An enum representing video ranges. + */ +@JsonAdapter(VideoRange.Adapter.class) +public enum VideoRange { + + UNKNOWN("Unknown"), + + SDR("SDR"), + + HDR("HDR"); + + private String value; + + VideoRange(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static VideoRange fromValue(String value) { + for (VideoRange b : VideoRange.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final VideoRange enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public VideoRange read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return VideoRange.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + VideoRange.fromValue(value); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/FFmpegLocation.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/VideoRangeType.java similarity index 60% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/FFmpegLocation.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/VideoRangeType.java index 629fba24788..d03fa2c6611 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/FFmpegLocation.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/VideoRangeType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,22 +24,32 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; /** - * Enum describing the location of the FFmpeg tool. + * An enum representing types of video ranges. */ -@JsonAdapter(FFmpegLocation.Adapter.class) -public enum FFmpegLocation { +@JsonAdapter(VideoRangeType.Adapter.class) +public enum VideoRangeType { - NOT_FOUND("NotFound"), + UNKNOWN("Unknown"), - SET_BY_ARGUMENT("SetByArgument"), + SDR("SDR"), - CUSTOM("Custom"), + HDR10("HDR10"), - SYSTEM("System"); + HLG("HLG"), + + DOVI("DOVI"), + + DOVI_WITH_HDR10("DOVIWithHDR10"), + + DOVI_WITH_HLG("DOVIWithHLG"), + + DOVI_WITH_SDR("DOVIWithSDR"), + + HDR10_PLUS("HDR10Plus"); private String value; - FFmpegLocation(String value) { + VideoRangeType(String value) { this.value = value; } @@ -52,8 +62,8 @@ public enum FFmpegLocation { return String.valueOf(value); } - public static FFmpegLocation fromValue(String value) { - for (FFmpegLocation b : FFmpegLocation.values()) { + public static VideoRangeType fromValue(String value) { + for (VideoRangeType b : VideoRangeType.values()) { if (b.value.equals(value)) { return b; } @@ -61,22 +71,22 @@ public enum FFmpegLocation { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - public static class Adapter extends TypeAdapter { + public static class Adapter extends TypeAdapter { @Override - public void write(final JsonWriter jsonWriter, final FFmpegLocation enumeration) throws IOException { + public void write(final JsonWriter jsonWriter, final VideoRangeType enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override - public FFmpegLocation read(final JsonReader jsonReader) throws IOException { + public VideoRangeType read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); - return FFmpegLocation.fromValue(value); + return VideoRangeType.fromValue(value); } } public static void validateJsonElement(JsonElement jsonElement) throws IOException { String value = jsonElement.getAsString(); - FFmpegLocation.fromValue(value); + VideoRangeType.fromValue(value); } } diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/VideoType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/VideoType.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/VideoType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/VideoType.java index 6548cdbf7c5..c8ae99fd14c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/VideoType.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/VideoType.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/VirtualFolderInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/VirtualFolderInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/VirtualFolderInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/VirtualFolderInfo.java index bde71772de1..44552f58a4e 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/VirtualFolderInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/VirtualFolderInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * Used to hold information about a user's list of configured virtual folders. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class VirtualFolderInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/WakeOnLanInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/WakeOnLanInfo.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/WakeOnLanInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/WakeOnLanInfo.java index c7caf568981..c09e3fd42d7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/WakeOnLanInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/WakeOnLanInfo.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Provides the MAC address and port for wake-on-LAN functionality. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class WakeOnLanInfo { public static final String SERIALIZED_NAME_MAC_ADDRESS = "MacAddress"; @SerializedName(SERIALIZED_NAME_MAC_ADDRESS) diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/WebSocketMessage.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/WebSocketMessage.java new file mode 100644 index 00000000000..27540a9dfb4 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/WebSocketMessage.java @@ -0,0 +1,279 @@ +/* + * Jellyfin API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 10.10.3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package org.openapitools.client.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.UUID; +import org.openapitools.client.model.InboundWebSocketMessage; +import org.openapitools.client.model.OutboundWebSocketMessage; +import org.openapitools.client.model.SessionMessageType; +import org.openapitools.client.model.UserDto; +import org.openapitools.jackson.nullable.JsonNullable; + + + +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapter; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.JsonPrimitive; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonArray; +import com.google.gson.JsonParseException; + +import org.openapitools.client.JSON; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +public class WebSocketMessage extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(WebSocketMessage.class.getName()); + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!WebSocketMessage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'WebSocketMessage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter adapterInboundWebSocketMessage = gson.getDelegateAdapter(this, TypeToken.get(InboundWebSocketMessage.class)); + final TypeAdapter adapterOutboundWebSocketMessage = gson.getDelegateAdapter(this, TypeToken.get(OutboundWebSocketMessage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, WebSocketMessage value) throws IOException { + if (value == null || value.getActualInstance() == null) { + elementAdapter.write(out, null); + return; + } + + // check if the actual instance is of the type `InboundWebSocketMessage` + if (value.getActualInstance() instanceof InboundWebSocketMessage) { + JsonElement element = adapterInboundWebSocketMessage.toJsonTree((InboundWebSocketMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + // check if the actual instance is of the type `OutboundWebSocketMessage` + if (value.getActualInstance() instanceof OutboundWebSocketMessage) { + JsonElement element = adapterOutboundWebSocketMessage.toJsonTree((OutboundWebSocketMessage)value.getActualInstance()); + elementAdapter.write(out, element); + return; + } + throw new IOException("Failed to serialize as the type doesn't match oneOf schemas: InboundWebSocketMessage, OutboundWebSocketMessage"); + } + + @Override + public WebSocketMessage read(JsonReader in) throws IOException { + Object deserialized = null; + JsonElement jsonElement = elementAdapter.read(in); + + int match = 0; + ArrayList errorMessages = new ArrayList<>(); + TypeAdapter actualAdapter = elementAdapter; + + // deserialize InboundWebSocketMessage + try { + // validate the JSON object to see if any exception is thrown + InboundWebSocketMessage.validateJsonElement(jsonElement); + actualAdapter = adapterInboundWebSocketMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'InboundWebSocketMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for InboundWebSocketMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'InboundWebSocketMessage'", e); + } + // deserialize OutboundWebSocketMessage + try { + // validate the JSON object to see if any exception is thrown + OutboundWebSocketMessage.validateJsonElement(jsonElement); + actualAdapter = adapterOutboundWebSocketMessage; + match++; + log.log(Level.FINER, "Input data matches schema 'OutboundWebSocketMessage'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format("Deserialization for OutboundWebSocketMessage failed with `%s`.", e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'OutboundWebSocketMessage'", e); + } + + if (match == 1) { + WebSocketMessage ret = new WebSocketMessage(); + ret.setActualInstance(actualAdapter.fromJsonTree(jsonElement)); + return ret; + } + + throw new IOException(String.format("Failed deserialization for WebSocketMessage: %d classes match result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", match, errorMessages, jsonElement.toString())); + } + }.nullSafe(); + } + } + + // store a list of schema names defined in oneOf + public static final Map> schemas = new HashMap>(); + + public WebSocketMessage() { + super("oneOf", Boolean.FALSE); + } + + public WebSocketMessage(Object o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + static { + schemas.put("InboundWebSocketMessage", InboundWebSocketMessage.class); + schemas.put("OutboundWebSocketMessage", OutboundWebSocketMessage.class); + } + + @Override + public Map> getSchemas() { + return WebSocketMessage.schemas; + } + + /** + * Set the instance that matches the oneOf child schema, check + * the instance parameter is valid against the oneOf child schemas: + * InboundWebSocketMessage, OutboundWebSocketMessage + * + * It could be an instance of the 'oneOf' schemas. + */ + @Override + public void setActualInstance(Object instance) { + if (instance instanceof InboundWebSocketMessage) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof OutboundWebSocketMessage) { + super.setActualInstance(instance); + return; + } + + throw new RuntimeException("Invalid instance type. Must be InboundWebSocketMessage, OutboundWebSocketMessage"); + } + + /** + * Get the actual instance, which can be the following: + * InboundWebSocketMessage, OutboundWebSocketMessage + * + * @return The actual instance (InboundWebSocketMessage, OutboundWebSocketMessage) + */ + @SuppressWarnings("unchecked") + @Override + public Object getActualInstance() { + return super.getActualInstance(); + } + + /** + * Get the actual instance of `InboundWebSocketMessage`. If the actual instance is not `InboundWebSocketMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `InboundWebSocketMessage` + * @throws ClassCastException if the instance is not `InboundWebSocketMessage` + */ + public InboundWebSocketMessage getInboundWebSocketMessage() throws ClassCastException { + return (InboundWebSocketMessage)super.getActualInstance(); + } + + /** + * Get the actual instance of `OutboundWebSocketMessage`. If the actual instance is not `OutboundWebSocketMessage`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `OutboundWebSocketMessage` + * @throws ClassCastException if the instance is not `OutboundWebSocketMessage` + */ + public OutboundWebSocketMessage getOutboundWebSocketMessage() throws ClassCastException { + return (OutboundWebSocketMessage)super.getActualInstance(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to WebSocketMessage + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + // validate oneOf schemas one by one + int validCount = 0; + ArrayList errorMessages = new ArrayList<>(); + // validate the json string with InboundWebSocketMessage + try { + InboundWebSocketMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for InboundWebSocketMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + // validate the json string with OutboundWebSocketMessage + try { + OutboundWebSocketMessage.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format("Deserialization for OutboundWebSocketMessage failed with `%s`.", e.getMessage())); + // continue to the next one + } + if (validCount != 1) { + throw new IOException(String.format("The JSON string is invalid for WebSocketMessage with oneOf schemas: InboundWebSocketMessage, OutboundWebSocketMessage. %d class(es) match the result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", validCount, errorMessages, jsonElement.toString())); + } + } + + /** + * Create an instance of WebSocketMessage given an JSON string + * + * @param jsonString JSON string + * @return An instance of WebSocketMessage + * @throws IOException if the JSON string is invalid with respect to WebSocketMessage + */ + public static WebSocketMessage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, WebSocketMessage.class); + } + + /** + * Convert an instance of WebSocketMessage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/XbmcMetadataOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/XbmcMetadataOptions.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/XbmcMetadataOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/XbmcMetadataOptions.java index db54790712e..dd119850deb 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/XbmcMetadataOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.10.3/src/main/java/org/openapitools/client/model/XbmcMetadataOptions.java @@ -2,7 +2,7 @@ * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 10.8.13 + * The version of the OpenAPI document: 10.10.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * XbmcMetadataOptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:56.699980679+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class XbmcMetadataOptions { public static final String SERIALIZED_NAME_USER_ID = "UserId"; @SerializedName(SERIALIZED_NAME_USER_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AccessSchedule.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AccessSchedule.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AccessSchedule.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AccessSchedule.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ActivityLogApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ActivityLogApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ActivityLogApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ActivityLogApi.md index fc594990308..73da846d8d6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ActivityLogApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ActivityLogApi.md @@ -1,6 +1,6 @@ # ActivityLogApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -26,7 +26,7 @@ import org.openapitools.client.api.ActivityLogApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ActivityLogEntry.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ActivityLogEntry.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ActivityLogEntry.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ActivityLogEntry.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ActivityLogEntryQueryResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ActivityLogEntryQueryResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ActivityLogEntryQueryResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ActivityLogEntryQueryResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AddVirtualFolderDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AddVirtualFolderDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AddVirtualFolderDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AddVirtualFolderDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AdminNotificationDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AdminNotificationDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AdminNotificationDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AdminNotificationDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AlbumInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AlbumInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AlbumInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AlbumInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AlbumInfoRemoteSearchQuery.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AlbumInfoRemoteSearchQuery.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AlbumInfoRemoteSearchQuery.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AlbumInfoRemoteSearchQuery.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AllThemeMediaResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AllThemeMediaResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AllThemeMediaResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AllThemeMediaResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ApiKeyApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ApiKeyApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ApiKeyApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ApiKeyApi.md index 91580790f6c..bfe184fdb28 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ApiKeyApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ApiKeyApi.md @@ -1,6 +1,6 @@ # ApiKeyApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -28,7 +28,7 @@ import org.openapitools.client.api.ApiKeyApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -96,7 +96,7 @@ import org.openapitools.client.api.ApiKeyApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -161,7 +161,7 @@ import org.openapitools.client.api.ApiKeyApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/Architecture.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/Architecture.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/Architecture.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/Architecture.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ArtistInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ArtistInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ArtistInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ArtistInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ArtistInfoRemoteSearchQuery.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ArtistInfoRemoteSearchQuery.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ArtistInfoRemoteSearchQuery.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ArtistInfoRemoteSearchQuery.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ArtistsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ArtistsApi.md similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ArtistsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ArtistsApi.md index cb75d82d333..38adc09b1cb 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ArtistsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ArtistsApi.md @@ -1,6 +1,6 @@ # ArtistsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -28,7 +28,7 @@ import org.openapitools.client.api.ArtistsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -159,7 +159,7 @@ import org.openapitools.client.api.ArtistsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -230,7 +230,7 @@ import org.openapitools.client.api.ArtistsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AudioApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AudioApi.md similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AudioApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AudioApi.md index 403b26b3cba..1799b569806 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AudioApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AudioApi.md @@ -1,6 +1,6 @@ # AudioApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -28,7 +28,7 @@ import org.openapitools.client.api.AudioApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); AudioApi apiInstance = new AudioApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | The item id. @@ -184,7 +184,7 @@ import org.openapitools.client.api.AudioApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); AudioApi apiInstance = new AudioApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | The item id. @@ -340,7 +340,7 @@ import org.openapitools.client.api.AudioApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); AudioApi apiInstance = new AudioApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | The item id. @@ -496,7 +496,7 @@ import org.openapitools.client.api.AudioApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); AudioApi apiInstance = new AudioApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | The item id. diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AuthenticateUserByName.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AuthenticateUserByName.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AuthenticateUserByName.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AuthenticateUserByName.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AuthenticationInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AuthenticationInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AuthenticationInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AuthenticationInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AuthenticationInfoQueryResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AuthenticationInfoQueryResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AuthenticationInfoQueryResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AuthenticationInfoQueryResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AuthenticationResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AuthenticationResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/AuthenticationResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/AuthenticationResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BaseItem.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BaseItem.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BaseItem.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BaseItem.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BaseItemDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BaseItemDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BaseItemDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BaseItemDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BaseItemDtoImageBlurHashes.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BaseItemDtoImageBlurHashes.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BaseItemDtoImageBlurHashes.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BaseItemDtoImageBlurHashes.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BaseItemDtoQueryResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BaseItemDtoQueryResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BaseItemDtoQueryResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BaseItemDtoQueryResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BaseItemKind.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BaseItemKind.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BaseItemKind.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BaseItemKind.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BaseItemPerson.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BaseItemPerson.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/BaseItemPerson.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BaseItemPerson.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BaseItemPersonImageBlurHashes.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BaseItemPersonImageBlurHashes.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BaseItemPersonImageBlurHashes.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BaseItemPersonImageBlurHashes.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BookInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BookInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BookInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BookInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BookInfoRemoteSearchQuery.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BookInfoRemoteSearchQuery.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BookInfoRemoteSearchQuery.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BookInfoRemoteSearchQuery.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BoxSetInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BoxSetInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BoxSetInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BoxSetInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BoxSetInfoRemoteSearchQuery.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BoxSetInfoRemoteSearchQuery.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BoxSetInfoRemoteSearchQuery.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BoxSetInfoRemoteSearchQuery.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BrandingApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BrandingApi.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BrandingApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BrandingApi.md index d43fb3b86d7..056019cee52 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BrandingApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BrandingApi.md @@ -1,6 +1,6 @@ # BrandingApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -27,7 +27,7 @@ import org.openapitools.client.api.BrandingApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); BrandingApi apiInstance = new BrandingApi(defaultClient); try { @@ -84,7 +84,7 @@ import org.openapitools.client.api.BrandingApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); BrandingApi apiInstance = new BrandingApi(defaultClient); try { @@ -141,7 +141,7 @@ import org.openapitools.client.api.BrandingApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); BrandingApi apiInstance = new BrandingApi(defaultClient); try { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BrandingOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BrandingOptions.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BrandingOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BrandingOptions.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BufferRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BufferRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BufferRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/BufferRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ChannelFeatures.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ChannelFeatures.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ChannelFeatures.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ChannelFeatures.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ChannelItemSortField.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ChannelItemSortField.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ChannelItemSortField.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ChannelItemSortField.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ChannelMappingOptionsDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ChannelMappingOptionsDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ChannelMappingOptionsDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ChannelMappingOptionsDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ChannelMediaContentType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ChannelMediaContentType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ChannelMediaContentType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ChannelMediaContentType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ChannelMediaType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ChannelMediaType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ChannelMediaType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ChannelMediaType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ChannelType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ChannelType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ChannelType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ChannelType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ChannelsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ChannelsApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ChannelsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ChannelsApi.md index 8f6002b6c67..da47508bbbf 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ChannelsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ChannelsApi.md @@ -1,6 +1,6 @@ # ChannelsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -30,7 +30,7 @@ import org.openapitools.client.api.ChannelsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -95,7 +95,7 @@ import org.openapitools.client.api.ChannelsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -164,7 +164,7 @@ import org.openapitools.client.api.ChannelsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -249,7 +249,7 @@ import org.openapitools.client.api.ChannelsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -328,7 +328,7 @@ import org.openapitools.client.api.ChannelsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ChapterInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ChapterInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ChapterInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ChapterInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ClientCapabilities.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ClientCapabilities.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ClientCapabilities.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ClientCapabilities.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ClientCapabilitiesDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ClientCapabilitiesDto.md similarity index 59% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ClientCapabilitiesDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ClientCapabilitiesDto.md index 075d8671cd8..c30bc7171ab 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ClientCapabilitiesDto.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ClientCapabilitiesDto.md @@ -15,7 +15,7 @@ Client capabilities dto. |**messageCallbackUrl** | **String** | Gets or sets the message callback url. | [optional] | |**supportsPersistentIdentifier** | **Boolean** | Gets or sets a value indicating whether session supports a persistent identifier. | [optional] | |**supportsSync** | **Boolean** | Gets or sets a value indicating whether session supports sync. | [optional] | -|**deviceProfile** | [**DeviceProfile**](DeviceProfile.md) | Gets or sets the device profile. | [optional] | +|**deviceProfile** | [**DeviceProfile**](DeviceProfile.md) | A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play. <br /> Specifically, it defines the supported <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles\">containers</see> and <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles\">codecs</see> (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles\">containers/codecs to transcode to</see> in case it isn't. | [optional] | |**appStoreUrl** | **String** | Gets or sets the app store url. | [optional] | |**iconUrl** | **String** | Gets or sets the icon url. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ClientLogApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ClientLogApi.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ClientLogApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ClientLogApi.md index 42f3c0c3e7b..f87e3f25bd0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ClientLogApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ClientLogApi.md @@ -1,6 +1,6 @@ # ClientLogApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -26,7 +26,7 @@ import org.openapitools.client.api.ClientLogApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ClientLogDocumentResponseDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ClientLogDocumentResponseDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ClientLogDocumentResponseDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ClientLogDocumentResponseDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CodecProfile.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/CodecProfile.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CodecProfile.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/CodecProfile.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CodecType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/CodecType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CodecType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/CodecType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CollectionApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/CollectionApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CollectionApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/CollectionApi.md index a0d9f8ad7ac..17c33a70bf2 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CollectionApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/CollectionApi.md @@ -1,6 +1,6 @@ # CollectionApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -28,7 +28,7 @@ import org.openapitools.client.api.CollectionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -98,7 +98,7 @@ import org.openapitools.client.api.CollectionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -173,7 +173,7 @@ import org.openapitools.client.api.CollectionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CollectionCreationResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/CollectionCreationResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CollectionCreationResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/CollectionCreationResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CollectionTypeOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/CollectionTypeOptions.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CollectionTypeOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/CollectionTypeOptions.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ConfigImageTypes.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ConfigImageTypes.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ConfigImageTypes.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ConfigImageTypes.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ConfigurationApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ConfigurationApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ConfigurationApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ConfigurationApi.md index 8426a4ff0b4..1790f8823d2 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ConfigurationApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ConfigurationApi.md @@ -1,6 +1,6 @@ # ConfigurationApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -31,7 +31,7 @@ import org.openapitools.client.api.ConfigurationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -96,7 +96,7 @@ import org.openapitools.client.api.ConfigurationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -161,7 +161,7 @@ import org.openapitools.client.api.ConfigurationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -230,7 +230,7 @@ import org.openapitools.client.api.ConfigurationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -298,7 +298,7 @@ import org.openapitools.client.api.ConfigurationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -366,7 +366,7 @@ import org.openapitools.client.api.ConfigurationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ConfigurationPageInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ConfigurationPageInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ConfigurationPageInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ConfigurationPageInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ContainerProfile.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ContainerProfile.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ContainerProfile.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ContainerProfile.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ControlResponse.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ControlResponse.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ControlResponse.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ControlResponse.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CountryInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/CountryInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CountryInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/CountryInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CreatePlaylistDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/CreatePlaylistDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CreatePlaylistDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/CreatePlaylistDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CreateUserByName.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/CreateUserByName.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CreateUserByName.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/CreateUserByName.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CultureDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/CultureDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CultureDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/CultureDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DashboardApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DashboardApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DashboardApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DashboardApi.md index 3ccb7d4a11a..34d8a226218 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DashboardApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DashboardApi.md @@ -1,6 +1,6 @@ # DashboardApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -27,7 +27,7 @@ import org.openapitools.client.api.DashboardApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -96,7 +96,7 @@ import org.openapitools.client.api.DashboardApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); DashboardApi apiInstance = new DashboardApi(defaultClient); String name = "name_example"; // String | The name of the page. diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DayOfWeek.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DayOfWeek.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DayOfWeek.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DayOfWeek.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DayPattern.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DayPattern.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DayPattern.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DayPattern.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DefaultDirectoryBrowserInfoDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DefaultDirectoryBrowserInfoDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DefaultDirectoryBrowserInfoDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DefaultDirectoryBrowserInfoDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DeviceIdentification.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DeviceIdentification.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DeviceIdentification.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DeviceIdentification.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DeviceInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DeviceInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DeviceInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DeviceInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DeviceInfoQueryResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DeviceInfoQueryResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DeviceInfoQueryResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DeviceInfoQueryResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DeviceOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DeviceOptions.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DeviceOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DeviceOptions.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceOptionsDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DeviceOptionsDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceOptionsDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DeviceOptionsDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DeviceProfile.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DeviceProfile.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DeviceProfile.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DeviceProfile.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DeviceProfileInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DeviceProfileInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DeviceProfileInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DeviceProfileInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DeviceProfileType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DeviceProfileType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DeviceProfileType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DeviceProfileType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DevicesApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DevicesApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DevicesApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DevicesApi.md index 77bd256e042..e12521b4b2a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DevicesApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DevicesApi.md @@ -1,6 +1,6 @@ # DevicesApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -30,7 +30,7 @@ import org.openapitools.client.api.DevicesApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -99,7 +99,7 @@ import org.openapitools.client.api.DevicesApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -169,7 +169,7 @@ import org.openapitools.client.api.DevicesApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -239,7 +239,7 @@ import org.openapitools.client.api.DevicesApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -310,7 +310,7 @@ import org.openapitools.client.api.DevicesApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DirectPlayProfile.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DirectPlayProfile.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DirectPlayProfile.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DirectPlayProfile.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DisplayPreferencesApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DisplayPreferencesApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DisplayPreferencesApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DisplayPreferencesApi.md index 808d48fcbd9..786796c760f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DisplayPreferencesApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DisplayPreferencesApi.md @@ -1,6 +1,6 @@ # DisplayPreferencesApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -27,7 +27,7 @@ import org.openapitools.client.api.DisplayPreferencesApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -100,7 +100,7 @@ import org.openapitools.client.api.DisplayPreferencesApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DisplayPreferencesDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DisplayPreferencesDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DisplayPreferencesDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DisplayPreferencesDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DlnaApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DlnaApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DlnaApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DlnaApi.md index 3a03fa25244..0fb2869a433 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DlnaApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DlnaApi.md @@ -1,6 +1,6 @@ # DlnaApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -31,7 +31,7 @@ import org.openapitools.client.api.DlnaApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -99,7 +99,7 @@ import org.openapitools.client.api.DlnaApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -168,7 +168,7 @@ import org.openapitools.client.api.DlnaApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -233,7 +233,7 @@ import org.openapitools.client.api.DlnaApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -303,7 +303,7 @@ import org.openapitools.client.api.DlnaApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -368,7 +368,7 @@ import org.openapitools.client.api.DlnaApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DlnaOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DlnaOptions.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DlnaOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DlnaOptions.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DlnaProfileType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DlnaProfileType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DlnaProfileType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DlnaProfileType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DlnaServerApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DlnaServerApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DlnaServerApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DlnaServerApi.md index be1d64ed171..85980ac8a0a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DlnaServerApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DlnaServerApi.md @@ -1,6 +1,6 @@ # DlnaServerApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -41,7 +41,7 @@ import org.openapitools.client.api.DlnaServerApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -111,7 +111,7 @@ import org.openapitools.client.api.DlnaServerApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -181,7 +181,7 @@ import org.openapitools.client.api.DlnaServerApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -251,7 +251,7 @@ import org.openapitools.client.api.DlnaServerApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -321,7 +321,7 @@ import org.openapitools.client.api.DlnaServerApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -391,7 +391,7 @@ import org.openapitools.client.api.DlnaServerApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -461,7 +461,7 @@ import org.openapitools.client.api.DlnaServerApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -531,7 +531,7 @@ import org.openapitools.client.api.DlnaServerApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -601,7 +601,7 @@ import org.openapitools.client.api.DlnaServerApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -672,7 +672,7 @@ import org.openapitools.client.api.DlnaServerApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -745,7 +745,7 @@ import org.openapitools.client.api.DlnaServerApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -815,7 +815,7 @@ import org.openapitools.client.api.DlnaServerApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -885,7 +885,7 @@ import org.openapitools.client.api.DlnaServerApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -955,7 +955,7 @@ import org.openapitools.client.api.DlnaServerApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1025,7 +1025,7 @@ import org.openapitools.client.api.DlnaServerApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1095,7 +1095,7 @@ import org.openapitools.client.api.DlnaServerApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DynamicDayOfWeek.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DynamicDayOfWeek.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DynamicDayOfWeek.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DynamicDayOfWeek.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DynamicHlsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DynamicHlsApi.md similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DynamicHlsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DynamicHlsApi.md index 0be40f429c0..7e32683440a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DynamicHlsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/DynamicHlsApi.md @@ -1,6 +1,6 @@ # DynamicHlsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -34,7 +34,7 @@ import org.openapitools.client.api.DynamicHlsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -209,7 +209,7 @@ import org.openapitools.client.api.DynamicHlsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -386,7 +386,7 @@ import org.openapitools.client.api.DynamicHlsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -557,7 +557,7 @@ import org.openapitools.client.api.DynamicHlsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -724,7 +724,7 @@ import org.openapitools.client.api.DynamicHlsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -893,7 +893,7 @@ import org.openapitools.client.api.DynamicHlsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1058,7 +1058,7 @@ import org.openapitools.client.api.DynamicHlsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1225,7 +1225,7 @@ import org.openapitools.client.api.DynamicHlsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1392,7 +1392,7 @@ import org.openapitools.client.api.DynamicHlsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/EmbeddedSubtitleOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/EmbeddedSubtitleOptions.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/EmbeddedSubtitleOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/EmbeddedSubtitleOptions.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/EncodingContext.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/EncodingContext.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/EncodingContext.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/EncodingContext.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/EncodingOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/EncodingOptions.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/EncodingOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/EncodingOptions.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/EndPointInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/EndPointInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/EndPointInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/EndPointInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/EnvironmentApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/EnvironmentApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/EnvironmentApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/EnvironmentApi.md index c0ab3f20f7c..d502c293cdd 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/EnvironmentApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/EnvironmentApi.md @@ -1,6 +1,6 @@ # EnvironmentApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -31,7 +31,7 @@ import org.openapitools.client.api.EnvironmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -96,7 +96,7 @@ import org.openapitools.client.api.EnvironmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -169,7 +169,7 @@ import org.openapitools.client.api.EnvironmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -234,7 +234,7 @@ import org.openapitools.client.api.EnvironmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -299,7 +299,7 @@ import org.openapitools.client.api.EnvironmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -368,7 +368,7 @@ import org.openapitools.client.api.EnvironmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ExternalIdInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ExternalIdInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ExternalIdInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ExternalIdInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ExternalIdMediaType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ExternalIdMediaType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ExternalIdMediaType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ExternalIdMediaType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ExternalUrl.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ExternalUrl.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ExternalUrl.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ExternalUrl.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/FFmpegLocation.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/FFmpegLocation.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/FFmpegLocation.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/FFmpegLocation.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/FileSystemEntryInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/FileSystemEntryInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/FileSystemEntryInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/FileSystemEntryInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/FileSystemEntryType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/FileSystemEntryType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/FileSystemEntryType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/FileSystemEntryType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/FilterApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/FilterApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/FilterApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/FilterApi.md index 9a356b2d863..c9258303275 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/FilterApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/FilterApi.md @@ -1,6 +1,6 @@ # FilterApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -27,7 +27,7 @@ import org.openapitools.client.api.FilterApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -114,7 +114,7 @@ import org.openapitools.client.api.FilterApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/FontFile.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/FontFile.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/FontFile.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/FontFile.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ForgotPasswordAction.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ForgotPasswordAction.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ForgotPasswordAction.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ForgotPasswordAction.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ForgotPasswordDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ForgotPasswordDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ForgotPasswordDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ForgotPasswordDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ForgotPasswordPinDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ForgotPasswordPinDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ForgotPasswordPinDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ForgotPasswordPinDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ForgotPasswordResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ForgotPasswordResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ForgotPasswordResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ForgotPasswordResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GeneralCommand.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GeneralCommand.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GeneralCommand.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GeneralCommand.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GeneralCommandType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GeneralCommandType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GeneralCommandType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GeneralCommandType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GenresApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GenresApi.md similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GenresApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GenresApi.md index c3830511d66..bde28227ae7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GenresApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GenresApi.md @@ -1,6 +1,6 @@ # GenresApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -27,7 +27,7 @@ import org.openapitools.client.api.GenresApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -98,7 +98,7 @@ import org.openapitools.client.api.GenresApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GetProgramsDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GetProgramsDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/GetProgramsDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GetProgramsDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GroupInfoDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GroupInfoDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GroupInfoDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GroupInfoDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GroupQueueMode.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GroupQueueMode.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GroupQueueMode.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GroupQueueMode.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GroupRepeatMode.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GroupRepeatMode.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GroupRepeatMode.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GroupRepeatMode.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GroupShuffleMode.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GroupShuffleMode.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GroupShuffleMode.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GroupShuffleMode.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GroupStateType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GroupStateType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GroupStateType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GroupStateType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GroupUpdateType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GroupUpdateType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GroupUpdateType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GroupUpdateType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GuideInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GuideInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/GuideInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/GuideInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/HardwareEncodingType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/HardwareEncodingType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/HardwareEncodingType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/HardwareEncodingType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/HeaderMatchType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/HeaderMatchType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/HeaderMatchType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/HeaderMatchType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/HlsSegmentApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/HlsSegmentApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/HlsSegmentApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/HlsSegmentApi.md index 874fb667e76..c729c73a464 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/HlsSegmentApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/HlsSegmentApi.md @@ -1,6 +1,6 @@ # HlsSegmentApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -29,7 +29,7 @@ import org.openapitools.client.api.HlsSegmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); HlsSegmentApi apiInstance = new HlsSegmentApi(defaultClient); String itemId = "itemId_example"; // String | The item id. @@ -91,7 +91,7 @@ import org.openapitools.client.api.HlsSegmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); HlsSegmentApi apiInstance = new HlsSegmentApi(defaultClient); String itemId = "itemId_example"; // String | The item id. @@ -154,7 +154,7 @@ import org.openapitools.client.api.HlsSegmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -224,7 +224,7 @@ import org.openapitools.client.api.HlsSegmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); HlsSegmentApi apiInstance = new HlsSegmentApi(defaultClient); String itemId = "itemId_example"; // String | The item id. @@ -292,7 +292,7 @@ import org.openapitools.client.api.HlsSegmentApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/HttpHeaderInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/HttpHeaderInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/HttpHeaderInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/HttpHeaderInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/IPlugin.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/IPlugin.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/IPlugin.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/IPlugin.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/IgnoreWaitRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/IgnoreWaitRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/IgnoreWaitRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/IgnoreWaitRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageApi.md similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageApi.md index 826747ea04b..a5ac0197ca3 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageApi.md @@ -1,6 +1,6 @@ # ImageApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -66,7 +66,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -130,7 +130,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -203,7 +203,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -276,7 +276,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -348,7 +348,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -419,7 +419,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Artist name. @@ -516,7 +516,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Genre name. @@ -613,7 +613,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Genre name. @@ -710,7 +710,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | Item id. @@ -807,7 +807,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | Item id. @@ -904,7 +904,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | Item id. @@ -1002,7 +1002,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1071,7 +1071,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Music genre name. @@ -1168,7 +1168,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Music genre name. @@ -1265,7 +1265,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Person name. @@ -1362,7 +1362,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Person name. @@ -1459,7 +1459,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String tag = "tag_example"; // String | Supply the cache tag from the item object to receive strong caching headers. @@ -1541,7 +1541,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Studio name. @@ -1638,7 +1638,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Studio name. @@ -1735,7 +1735,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); UUID userId = UUID.randomUUID(); // UUID | User id. @@ -1832,7 +1832,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); UUID userId = UUID.randomUUID(); // UUID | User id. @@ -1929,7 +1929,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Artist name. @@ -2026,7 +2026,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Genre name. @@ -2123,7 +2123,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Genre name. @@ -2220,7 +2220,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | Item id. @@ -2317,7 +2317,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | Item id. @@ -2414,7 +2414,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | Item id. @@ -2511,7 +2511,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Music genre name. @@ -2608,7 +2608,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Music genre name. @@ -2705,7 +2705,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Person name. @@ -2802,7 +2802,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Person name. @@ -2899,7 +2899,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Studio name. @@ -2996,7 +2996,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); String name = "name_example"; // String | Studio name. @@ -3093,7 +3093,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); UUID userId = UUID.randomUUID(); // UUID | User id. @@ -3190,7 +3190,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageApi apiInstance = new ImageApi(defaultClient); UUID userId = UUID.randomUUID(); // UUID | User id. @@ -3288,7 +3288,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -3362,7 +3362,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -3436,7 +3436,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -3509,7 +3509,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -3584,7 +3584,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -3659,7 +3659,7 @@ import org.openapitools.client.api.ImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageByNameApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageByNameApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageByNameApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageByNameApi.md index ed387f6c8e6..6cd1cf46fb0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageByNameApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageByNameApi.md @@ -1,6 +1,6 @@ # ImageByNameApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -30,7 +30,7 @@ import org.openapitools.client.api.ImageByNameApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageByNameApi apiInstance = new ImageByNameApi(defaultClient); String name = "name_example"; // String | The name of the image. @@ -94,7 +94,7 @@ import org.openapitools.client.api.ImageByNameApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -158,7 +158,7 @@ import org.openapitools.client.api.ImageByNameApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageByNameApi apiInstance = new ImageByNameApi(defaultClient); String theme = "theme_example"; // String | The theme to get the image from. @@ -222,7 +222,7 @@ import org.openapitools.client.api.ImageByNameApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -286,7 +286,7 @@ import org.openapitools.client.api.ImageByNameApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); ImageByNameApi apiInstance = new ImageByNameApi(defaultClient); String theme = "theme_example"; // String | The theme to get the image from. @@ -350,7 +350,7 @@ import org.openapitools.client.api.ImageByNameApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageByNameInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageByNameInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageByNameInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageByNameInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageFormat.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageFormat.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ImageFormat.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageFormat.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageOption.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageOption.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageOption.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageOption.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageOrientation.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageOrientation.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageOrientation.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageOrientation.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageProviderInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageProviderInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageProviderInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageProviderInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageSavingConvention.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageSavingConvention.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageSavingConvention.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageSavingConvention.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ImageType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/InstallationInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/InstallationInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/InstallationInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/InstallationInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/InstantMixApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/InstantMixApi.md similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/InstantMixApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/InstantMixApi.md index 0f82e9940cb..3062b636300 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/InstantMixApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/InstantMixApi.md @@ -1,6 +1,6 @@ # InstantMixApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -33,7 +33,7 @@ import org.openapitools.client.api.InstantMixApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -116,7 +116,7 @@ import org.openapitools.client.api.InstantMixApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -199,7 +199,7 @@ import org.openapitools.client.api.InstantMixApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -282,7 +282,7 @@ import org.openapitools.client.api.InstantMixApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -365,7 +365,7 @@ import org.openapitools.client.api.InstantMixApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -448,7 +448,7 @@ import org.openapitools.client.api.InstantMixApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -531,7 +531,7 @@ import org.openapitools.client.api.InstantMixApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -614,7 +614,7 @@ import org.openapitools.client.api.InstantMixApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/IsoType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/IsoType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/IsoType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/IsoType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemCounts.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ItemCounts.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemCounts.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ItemCounts.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemFields.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ItemFields.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemFields.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ItemFields.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemFilter.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ItemFilter.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemFilter.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ItemFilter.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemLookupApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ItemLookupApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemLookupApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ItemLookupApi.md index 93d52c69f93..838b0f06f96 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemLookupApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ItemLookupApi.md @@ -1,6 +1,6 @@ # ItemLookupApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -36,7 +36,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -108,7 +108,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -177,7 +177,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -246,7 +246,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -316,7 +316,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -385,7 +385,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -454,7 +454,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -523,7 +523,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -592,7 +592,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -661,7 +661,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -730,7 +730,7 @@ import org.openapitools.client.api.ItemLookupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemRefreshApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ItemRefreshApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemRefreshApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ItemRefreshApi.md index 62d82d54360..7ad5feeb2d7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemRefreshApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ItemRefreshApi.md @@ -1,6 +1,6 @@ # ItemRefreshApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -26,7 +26,7 @@ import org.openapitools.client.api.ItemRefreshApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemUpdateApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ItemUpdateApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemUpdateApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ItemUpdateApi.md index 7372d242cd2..95ec04c2307 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemUpdateApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ItemUpdateApi.md @@ -1,6 +1,6 @@ # ItemUpdateApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -28,7 +28,7 @@ import org.openapitools.client.api.ItemUpdateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -98,7 +98,7 @@ import org.openapitools.client.api.ItemUpdateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -169,7 +169,7 @@ import org.openapitools.client.api.ItemUpdateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ItemsApi.md similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ItemsApi.md index 1dde372a7e1..45e3956d2f7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ItemsApi.md @@ -1,6 +1,6 @@ # ItemsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -28,7 +28,7 @@ import org.openapitools.client.api.ItemsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -265,7 +265,7 @@ import org.openapitools.client.api.ItemsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -502,7 +502,7 @@ import org.openapitools.client.api.ItemsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/JoinGroupRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/JoinGroupRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/JoinGroupRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/JoinGroupRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/KeepUntil.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/KeepUntil.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/KeepUntil.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/KeepUntil.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LibraryApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LibraryApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LibraryApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LibraryApi.md index 1d257bf69f6..297ff1aeef8 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LibraryApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LibraryApi.md @@ -1,6 +1,6 @@ # LibraryApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -50,7 +50,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -118,7 +118,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -186,7 +186,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -258,7 +258,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -327,7 +327,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -397,7 +397,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -467,7 +467,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -538,7 +538,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -609,7 +609,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -678,7 +678,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -743,7 +743,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -820,7 +820,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -897,7 +897,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -974,7 +974,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1051,7 +1051,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1128,7 +1128,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1205,7 +1205,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1279,7 +1279,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1353,7 +1353,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1427,7 +1427,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1497,7 +1497,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1565,7 +1565,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1633,7 +1633,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1703,7 +1703,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1771,7 +1771,7 @@ import org.openapitools.client.api.LibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LibraryOptionInfoDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LibraryOptionInfoDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LibraryOptionInfoDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LibraryOptionInfoDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LibraryOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LibraryOptions.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LibraryOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LibraryOptions.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LibraryOptionsResultDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LibraryOptionsResultDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LibraryOptionsResultDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LibraryOptionsResultDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LibraryStructureApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LibraryStructureApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LibraryStructureApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LibraryStructureApi.md index 98c0fb8f5d7..a37433377ec 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LibraryStructureApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LibraryStructureApi.md @@ -1,6 +1,6 @@ # LibraryStructureApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -33,7 +33,7 @@ import org.openapitools.client.api.LibraryStructureApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -103,7 +103,7 @@ import org.openapitools.client.api.LibraryStructureApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -179,7 +179,7 @@ import org.openapitools.client.api.LibraryStructureApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -244,7 +244,7 @@ import org.openapitools.client.api.LibraryStructureApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -316,7 +316,7 @@ import org.openapitools.client.api.LibraryStructureApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -386,7 +386,7 @@ import org.openapitools.client.api.LibraryStructureApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -460,7 +460,7 @@ import org.openapitools.client.api.LibraryStructureApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -528,7 +528,7 @@ import org.openapitools.client.api.LibraryStructureApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LibraryTypeOptionsDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LibraryTypeOptionsDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LibraryTypeOptionsDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LibraryTypeOptionsDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LibraryUpdateInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LibraryUpdateInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LibraryUpdateInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LibraryUpdateInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ListingsProviderInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ListingsProviderInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ListingsProviderInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ListingsProviderInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LiveStreamResponse.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LiveStreamResponse.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LiveStreamResponse.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LiveStreamResponse.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LiveTvApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LiveTvApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LiveTvApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LiveTvApi.md index 967772314c8..71d57265bb4 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LiveTvApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LiveTvApi.md @@ -1,6 +1,6 @@ # LiveTvApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -66,7 +66,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -141,7 +141,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -210,7 +210,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -278,7 +278,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -346,7 +346,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -414,7 +414,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -482,7 +482,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -550,7 +550,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -619,7 +619,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -687,7 +687,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -756,7 +756,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -825,7 +825,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -896,7 +896,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -965,7 +965,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1030,7 +1030,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1099,7 +1099,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1164,7 +1164,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1238,7 +1238,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); LiveTvApi apiInstance = new LiveTvApi(defaultClient); String recordingId = "recordingId_example"; // String | Recording id. @@ -1299,7 +1299,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); LiveTvApi apiInstance = new LiveTvApi(defaultClient); String streamId = "streamId_example"; // String | Stream id. @@ -1363,7 +1363,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1472,7 +1472,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1537,7 +1537,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1658,7 +1658,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1729,7 +1729,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1798,7 +1798,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1897,7 +1897,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1968,7 +1968,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2037,7 +2037,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2105,7 +2105,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2174,7 +2174,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2279,7 +2279,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2374,7 +2374,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2439,7 +2439,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2509,7 +2509,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2580,7 +2580,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2649,7 +2649,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2724,7 +2724,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2789,7 +2789,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2857,7 +2857,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2926,7 +2926,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -2996,7 +2996,7 @@ import org.openapitools.client.api.LiveTvApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LiveTvInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LiveTvInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LiveTvInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LiveTvInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LiveTvOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LiveTvOptions.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LiveTvOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LiveTvOptions.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LiveTvServiceInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LiveTvServiceInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LiveTvServiceInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LiveTvServiceInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LiveTvServiceStatus.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LiveTvServiceStatus.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LiveTvServiceStatus.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LiveTvServiceStatus.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LocalizationApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LocalizationApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LocalizationApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LocalizationApi.md index 30131190c82..2ddb03f7141 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LocalizationApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LocalizationApi.md @@ -1,6 +1,6 @@ # LocalizationApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -29,7 +29,7 @@ import org.openapitools.client.api.LocalizationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -94,7 +94,7 @@ import org.openapitools.client.api.LocalizationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -159,7 +159,7 @@ import org.openapitools.client.api.LocalizationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -224,7 +224,7 @@ import org.openapitools.client.api.LocalizationApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LocalizationOption.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LocalizationOption.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LocalizationOption.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LocalizationOption.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LocationType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LocationType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LocationType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LocationType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LogFile.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LogFile.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LogFile.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LogFile.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LogLevel.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LogLevel.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LogLevel.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/LogLevel.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaAttachment.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaAttachment.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaAttachment.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaAttachment.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaEncoderPathDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaEncoderPathDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaEncoderPathDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaEncoderPathDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaInfoApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaInfoApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaInfoApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaInfoApi.md index bb26b6b2864..630ab83322b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaInfoApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaInfoApi.md @@ -1,6 +1,6 @@ # MediaInfoApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -30,7 +30,7 @@ import org.openapitools.client.api.MediaInfoApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -98,7 +98,7 @@ import org.openapitools.client.api.MediaInfoApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -167,7 +167,7 @@ import org.openapitools.client.api.MediaInfoApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -240,7 +240,7 @@ import org.openapitools.client.api.MediaInfoApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -339,7 +339,7 @@ import org.openapitools.client.api.MediaInfoApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaPathDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaPathDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaPathDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaPathDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaPathInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaPathInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaPathInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaPathInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaProtocol.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaProtocol.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaProtocol.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaProtocol.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaSourceInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaSourceInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaSourceInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaSourceInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaSourceType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaSourceType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaSourceType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaSourceType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaStream.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaStream.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaStream.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaStream.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaStreamType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaStreamType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MediaStreamType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaStreamType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaUpdateInfoDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaUpdateInfoDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaUpdateInfoDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaUpdateInfoDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaUpdateInfoPathDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaUpdateInfoPathDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaUpdateInfoPathDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaUpdateInfoPathDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaUrl.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaUrl.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaUrl.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MediaUrl.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MessageCommand.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MessageCommand.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MessageCommand.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MessageCommand.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MetadataConfiguration.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MetadataConfiguration.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MetadataConfiguration.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MetadataConfiguration.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MetadataEditorInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MetadataEditorInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MetadataEditorInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MetadataEditorInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MetadataField.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MetadataField.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MetadataField.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MetadataField.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MetadataOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MetadataOptions.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MetadataOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MetadataOptions.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MetadataRefreshMode.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MetadataRefreshMode.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MetadataRefreshMode.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MetadataRefreshMode.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MovePlaylistItemRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MovePlaylistItemRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MovePlaylistItemRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MovePlaylistItemRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MovieInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MovieInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MovieInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MovieInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MovieInfoRemoteSearchQuery.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MovieInfoRemoteSearchQuery.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MovieInfoRemoteSearchQuery.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MovieInfoRemoteSearchQuery.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MoviesApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MoviesApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MoviesApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MoviesApi.md index c28fb439b58..b30a6c4a4ca 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/MoviesApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MoviesApi.md @@ -1,6 +1,6 @@ # MoviesApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -26,7 +26,7 @@ import org.openapitools.client.api.MoviesApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MusicGenresApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MusicGenresApi.md similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MusicGenresApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MusicGenresApi.md index 0c3d6863711..61fcf30169c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MusicGenresApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MusicGenresApi.md @@ -1,6 +1,6 @@ # MusicGenresApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -27,7 +27,7 @@ import org.openapitools.client.api.MusicGenresApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -98,7 +98,7 @@ import org.openapitools.client.api.MusicGenresApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MusicVideoInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MusicVideoInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MusicVideoInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MusicVideoInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MusicVideoInfoRemoteSearchQuery.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MusicVideoInfoRemoteSearchQuery.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MusicVideoInfoRemoteSearchQuery.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/MusicVideoInfoRemoteSearchQuery.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NameGuidPair.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NameGuidPair.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NameGuidPair.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NameGuidPair.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NameIdPair.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NameIdPair.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NameIdPair.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NameIdPair.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NameValuePair.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NameValuePair.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NameValuePair.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NameValuePair.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NetworkConfiguration.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NetworkConfiguration.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NetworkConfiguration.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NetworkConfiguration.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NewGroupRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NewGroupRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NewGroupRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NewGroupRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NextItemRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NextItemRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NextItemRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NextItemRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NotificationDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NotificationDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NotificationDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NotificationDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NotificationLevel.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NotificationLevel.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NotificationLevel.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NotificationLevel.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NotificationOption.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NotificationOption.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NotificationOption.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NotificationOption.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NotificationOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NotificationOptions.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NotificationOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NotificationOptions.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NotificationResultDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NotificationResultDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NotificationResultDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NotificationResultDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NotificationTypeInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NotificationTypeInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NotificationTypeInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NotificationTypeInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NotificationsApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NotificationsApi.md index 8da48219584..c6d352ceda2 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NotificationsApi.md @@ -1,6 +1,6 @@ # NotificationsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -32,7 +32,7 @@ import org.openapitools.client.api.NotificationsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -100,7 +100,7 @@ import org.openapitools.client.api.NotificationsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -165,7 +165,7 @@ import org.openapitools.client.api.NotificationsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -230,7 +230,7 @@ import org.openapitools.client.api.NotificationsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -299,7 +299,7 @@ import org.openapitools.client.api.NotificationsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -368,7 +368,7 @@ import org.openapitools.client.api.NotificationsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -436,7 +436,7 @@ import org.openapitools.client.api.NotificationsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NotificationsSummaryDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NotificationsSummaryDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NotificationsSummaryDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/NotificationsSummaryDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ObjectGroupUpdate.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ObjectGroupUpdate.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ObjectGroupUpdate.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ObjectGroupUpdate.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/OpenLiveStreamDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/OpenLiveStreamDto.md similarity index 61% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/OpenLiveStreamDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/OpenLiveStreamDto.md index 40960590152..a4977f71a75 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/OpenLiveStreamDto.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/OpenLiveStreamDto.md @@ -19,7 +19,7 @@ Open live stream dto. |**itemId** | **UUID** | Gets or sets the item id. | [optional] | |**enableDirectPlay** | **Boolean** | Gets or sets a value indicating whether to enable direct play. | [optional] | |**enableDirectStream** | **Boolean** | Gets or sets a value indicating whether to enale direct stream. | [optional] | -|**deviceProfile** | [**DeviceProfile**](DeviceProfile.md) | Gets or sets the device profile. | [optional] | +|**deviceProfile** | [**DeviceProfile**](DeviceProfile.md) | A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play. <br /> Specifically, it defines the supported <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles\">containers</see> and <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles\">codecs</see> (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles\">containers/codecs to transcode to</see> in case it isn't. | [optional] | |**directPlayProtocols** | **List<MediaProtocol>** | Gets or sets the device play protocols. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PackageApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PackageApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PackageApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PackageApi.md index dee9fb9558b..0de884e7b16 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PackageApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PackageApi.md @@ -1,6 +1,6 @@ # PackageApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -31,7 +31,7 @@ import org.openapitools.client.api.PackageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -99,7 +99,7 @@ import org.openapitools.client.api.PackageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -170,7 +170,7 @@ import org.openapitools.client.api.PackageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -235,7 +235,7 @@ import org.openapitools.client.api.PackageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -300,7 +300,7 @@ import org.openapitools.client.api.PackageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -375,7 +375,7 @@ import org.openapitools.client.api.PackageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PackageInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PackageInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PackageInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PackageInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ParentalRating.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ParentalRating.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ParentalRating.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ParentalRating.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PathSubstitution.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PathSubstitution.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PathSubstitution.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PathSubstitution.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PersonLookupInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PersonLookupInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PersonLookupInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PersonLookupInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PersonLookupInfoRemoteSearchQuery.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PersonLookupInfoRemoteSearchQuery.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PersonLookupInfoRemoteSearchQuery.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PersonLookupInfoRemoteSearchQuery.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PersonsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PersonsApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PersonsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PersonsApi.md index 3fb104059d7..00502c58cc5 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PersonsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PersonsApi.md @@ -1,6 +1,6 @@ # PersonsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -27,7 +27,7 @@ import org.openapitools.client.api.PersonsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -99,7 +99,7 @@ import org.openapitools.client.api.PersonsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PinRedeemResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PinRedeemResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PinRedeemResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PinRedeemResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PingRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PingRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PingRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PingRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlayAccess.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlayAccess.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlayAccess.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlayAccess.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlayCommand.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlayCommand.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlayCommand.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlayCommand.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlayMethod.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlayMethod.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlayMethod.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlayMethod.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlayRequest.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlayRequest.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlayRequest.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlayRequest.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlayRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlayRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlayRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlayRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaybackErrorCode.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaybackErrorCode.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaybackErrorCode.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaybackErrorCode.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaybackInfoDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaybackInfoDto.md similarity index 66% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaybackInfoDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaybackInfoDto.md index f0d1504ba4e..52e1b8fb3fe 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaybackInfoDto.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaybackInfoDto.md @@ -16,7 +16,7 @@ Plabyback info dto. |**maxAudioChannels** | **Integer** | Gets or sets the max audio channels. | [optional] | |**mediaSourceId** | **String** | Gets or sets the media source id. | [optional] | |**liveStreamId** | **String** | Gets or sets the live stream id. | [optional] | -|**deviceProfile** | [**DeviceProfile**](DeviceProfile.md) | Gets or sets the device profile. | [optional] | +|**deviceProfile** | [**DeviceProfile**](DeviceProfile.md) | A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play. <br /> Specifically, it defines the supported <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles\">containers</see> and <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles\">codecs</see> (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles\">containers/codecs to transcode to</see> in case it isn't. | [optional] | |**enableDirectPlay** | **Boolean** | Gets or sets a value indicating whether to enable direct play. | [optional] | |**enableDirectStream** | **Boolean** | Gets or sets a value indicating whether to enable direct stream. | [optional] | |**enableTranscoding** | **Boolean** | Gets or sets a value indicating whether to enable transcoding. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaybackInfoResponse.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaybackInfoResponse.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaybackInfoResponse.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaybackInfoResponse.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaybackProgressInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaybackProgressInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaybackProgressInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaybackProgressInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaybackStartInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaybackStartInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaybackStartInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaybackStartInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaybackStopInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaybackStopInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaybackStopInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaybackStopInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlayerStateInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlayerStateInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlayerStateInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlayerStateInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaylistCreationResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaylistCreationResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaylistCreationResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaylistCreationResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaylistsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaylistsApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaylistsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaylistsApi.md index 75d745f0b54..a89d9a99f08 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaylistsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaylistsApi.md @@ -1,6 +1,6 @@ # PlaylistsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -30,7 +30,7 @@ import org.openapitools.client.api.PlaylistsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -104,7 +104,7 @@ import org.openapitools.client.api.PlaylistsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -181,7 +181,7 @@ import org.openapitools.client.api.PlaylistsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -267,7 +267,7 @@ import org.openapitools.client.api.PlaylistsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -339,7 +339,7 @@ import org.openapitools.client.api.PlaylistsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaystateApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaystateApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaystateApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaystateApi.md index 6237b7bf1c2..517de9dbc5d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaystateApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaystateApi.md @@ -1,6 +1,6 @@ # PlaystateApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -34,7 +34,7 @@ import org.openapitools.client.api.PlaystateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -107,7 +107,7 @@ import org.openapitools.client.api.PlaystateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -178,7 +178,7 @@ import org.openapitools.client.api.PlaystateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -270,7 +270,7 @@ import org.openapitools.client.api.PlaystateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -354,7 +354,7 @@ import org.openapitools.client.api.PlaystateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -434,7 +434,7 @@ import org.openapitools.client.api.PlaystateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -502,7 +502,7 @@ import org.openapitools.client.api.PlaystateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -570,7 +570,7 @@ import org.openapitools.client.api.PlaystateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -638,7 +638,7 @@ import org.openapitools.client.api.PlaystateApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaystateCommand.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaystateCommand.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaystateCommand.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaystateCommand.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaystateRequest.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaystateRequest.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaystateRequest.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PlaystateRequest.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PluginInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PluginInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PluginInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PluginInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PluginStatus.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PluginStatus.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PluginStatus.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PluginStatus.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PluginsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PluginsApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PluginsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PluginsApi.md index d5819cfe7c9..f231e4c47da 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PluginsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PluginsApi.md @@ -1,6 +1,6 @@ # PluginsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -34,7 +34,7 @@ import org.openapitools.client.api.PluginsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -105,7 +105,7 @@ import org.openapitools.client.api.PluginsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -176,7 +176,7 @@ import org.openapitools.client.api.PluginsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -246,7 +246,7 @@ import org.openapitools.client.api.PluginsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -318,7 +318,7 @@ import org.openapitools.client.api.PluginsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -387,7 +387,7 @@ import org.openapitools.client.api.PluginsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -452,7 +452,7 @@ import org.openapitools.client.api.PluginsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -521,7 +521,7 @@ import org.openapitools.client.api.PluginsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -594,7 +594,7 @@ import org.openapitools.client.api.PluginsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PreviousItemRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PreviousItemRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PreviousItemRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PreviousItemRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ProblemDetails.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ProblemDetails.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ProblemDetails.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ProblemDetails.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ProfileCondition.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ProfileCondition.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ProfileCondition.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ProfileCondition.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ProfileConditionType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ProfileConditionType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ProfileConditionType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ProfileConditionType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ProfileConditionValue.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ProfileConditionValue.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ProfileConditionValue.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ProfileConditionValue.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ProgramAudio.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ProgramAudio.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ProgramAudio.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ProgramAudio.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PublicSystemInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PublicSystemInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PublicSystemInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/PublicSystemInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/QueryFilters.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/QueryFilters.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/QueryFilters.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/QueryFilters.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/QueryFiltersLegacy.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/QueryFiltersLegacy.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/QueryFiltersLegacy.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/QueryFiltersLegacy.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/QueueItem.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/QueueItem.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/QueueItem.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/QueueItem.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/QueueRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/QueueRequestDto.md similarity index 71% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/QueueRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/QueueRequestDto.md index 7d3bc29b37d..eeff3742380 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/QueueRequestDto.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/QueueRequestDto.md @@ -9,7 +9,7 @@ Class QueueRequestDto. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**itemIds** | **List<UUID>** | Gets or sets the items to enqueue. | [optional] | -|**mode** | **GroupQueueMode** | Gets or sets the mode in which to add the new items. | [optional] | +|**mode** | **GroupQueueMode** | Enum GroupQueueMode. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/QuickConnectApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/QuickConnectApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/QuickConnectApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/QuickConnectApi.md index f8a9ff8f75f..179ef6e7e31 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/QuickConnectApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/QuickConnectApi.md @@ -1,6 +1,6 @@ # QuickConnectApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -29,7 +29,7 @@ import org.openapitools.client.api.QuickConnectApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -97,7 +97,7 @@ import org.openapitools.client.api.QuickConnectApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); QuickConnectApi apiInstance = new QuickConnectApi(defaultClient); String secret = "secret_example"; // String | Secret previously returned from the Initiate endpoint. @@ -158,7 +158,7 @@ import org.openapitools.client.api.QuickConnectApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); QuickConnectApi apiInstance = new QuickConnectApi(defaultClient); try { @@ -214,7 +214,7 @@ import org.openapitools.client.api.QuickConnectApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); QuickConnectApi apiInstance = new QuickConnectApi(defaultClient); try { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/QuickConnectDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/QuickConnectDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/QuickConnectDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/QuickConnectDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/QuickConnectResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/QuickConnectResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/QuickConnectResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/QuickConnectResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RatingType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RatingType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RatingType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RatingType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReadyRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ReadyRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReadyRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ReadyRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RecommendationDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RecommendationDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RecommendationDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RecommendationDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RecommendationType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RecommendationType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RecommendationType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RecommendationType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RecordingStatus.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RecordingStatus.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RecordingStatus.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RecordingStatus.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RemoteImageApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RemoteImageApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RemoteImageApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RemoteImageApi.md index 4cc8271e196..7add001c8dc 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RemoteImageApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RemoteImageApi.md @@ -1,6 +1,6 @@ # RemoteImageApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -28,7 +28,7 @@ import org.openapitools.client.api.RemoteImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -101,7 +101,7 @@ import org.openapitools.client.api.RemoteImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -171,7 +171,7 @@ import org.openapitools.client.api.RemoteImageApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RemoteImageInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RemoteImageInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RemoteImageInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RemoteImageInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RemoteImageResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RemoteImageResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RemoteImageResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RemoteImageResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RemoteSearchResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RemoteSearchResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RemoteSearchResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RemoteSearchResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RemoteSubtitleInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RemoteSubtitleInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RemoteSubtitleInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RemoteSubtitleInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RemoveFromPlaylistRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RemoveFromPlaylistRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RemoveFromPlaylistRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RemoveFromPlaylistRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RepeatMode.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RepeatMode.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RepeatMode.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RepeatMode.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RepositoryInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RepositoryInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RepositoryInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/RepositoryInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ResponseProfile.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ResponseProfile.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ResponseProfile.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ResponseProfile.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ScheduledTasksApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ScheduledTasksApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ScheduledTasksApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ScheduledTasksApi.md index 0f25adbf1e6..98b1586f224 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ScheduledTasksApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ScheduledTasksApi.md @@ -1,6 +1,6 @@ # ScheduledTasksApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -30,7 +30,7 @@ import org.openapitools.client.api.ScheduledTasksApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -100,7 +100,7 @@ import org.openapitools.client.api.ScheduledTasksApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -171,7 +171,7 @@ import org.openapitools.client.api.ScheduledTasksApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -240,7 +240,7 @@ import org.openapitools.client.api.ScheduledTasksApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -309,7 +309,7 @@ import org.openapitools.client.api.ScheduledTasksApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ScrollDirection.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ScrollDirection.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ScrollDirection.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ScrollDirection.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SearchApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SearchApi.md similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SearchApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SearchApi.md index a88ee8ca782..bcf5d240e01 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SearchApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SearchApi.md @@ -1,6 +1,6 @@ # SearchApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -26,7 +26,7 @@ import org.openapitools.client.api.SearchApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SearchHint.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SearchHint.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SearchHint.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SearchHint.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SearchHintResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SearchHintResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SearchHintResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SearchHintResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SeekRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SeekRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SeekRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SeekRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SendCommand.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SendCommand.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SendCommand.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SendCommand.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SendCommandType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SendCommandType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SendCommandType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SendCommandType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SendToUserType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SendToUserType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SendToUserType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SendToUserType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SeriesInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SeriesInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SeriesInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SeriesInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SeriesInfoRemoteSearchQuery.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SeriesInfoRemoteSearchQuery.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SeriesInfoRemoteSearchQuery.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SeriesInfoRemoteSearchQuery.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SeriesStatus.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SeriesStatus.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SeriesStatus.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SeriesStatus.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SeriesTimerInfoDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SeriesTimerInfoDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SeriesTimerInfoDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SeriesTimerInfoDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SeriesTimerInfoDtoQueryResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SeriesTimerInfoDtoQueryResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SeriesTimerInfoDtoQueryResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SeriesTimerInfoDtoQueryResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ServerConfiguration.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ServerConfiguration.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ServerConfiguration.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ServerConfiguration.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ServerDiscoveryInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ServerDiscoveryInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ServerDiscoveryInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ServerDiscoveryInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SessionApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SessionApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SessionApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SessionApi.md index ed3597bcdcb..2d821d7d0ae 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SessionApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SessionApi.md @@ -1,6 +1,6 @@ # SessionApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -41,7 +41,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -111,7 +111,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -185,7 +185,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -250,7 +250,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -315,7 +315,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -388,7 +388,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -470,7 +470,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -548,7 +548,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -618,7 +618,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -688,7 +688,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -752,7 +752,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -822,7 +822,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -892,7 +892,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -962,7 +962,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1032,7 +1032,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1106,7 +1106,7 @@ import org.openapitools.client.api.SessionApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SessionInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SessionInfo.md similarity index 91% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SessionInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SessionInfo.md index e89bbc30bb3..f9e1b359f9c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SessionInfo.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SessionInfo.md @@ -21,7 +21,7 @@ Class SessionInfo. |**lastPlaybackCheckIn** | **OffsetDateTime** | Gets or sets the last playback check in. | [optional] | |**deviceName** | **String** | Gets or sets the name of the device. | [optional] | |**deviceType** | **String** | Gets or sets the type of the device. | [optional] | -|**nowPlayingItem** | [**BaseItemDto**](BaseItemDto.md) | This is strictly used as a data transfer object from the api layer. This holds information about a BaseItem in a format that is convenient for the client. | [optional] | +|**nowPlayingItem** | [**BaseItemDto**](BaseItemDto.md) | Gets or sets the now playing item. | [optional] | |**fullNowPlayingItem** | [**BaseItem**](BaseItem.md) | Class BaseItem. | [optional] | |**nowViewingItem** | [**BaseItemDto**](BaseItemDto.md) | This is strictly used as a data transfer object from the api layer. This holds information about a BaseItem in a format that is convenient for the client. | [optional] | |**deviceId** | **String** | Gets or sets the device id. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SessionMessageType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SessionMessageType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SessionMessageType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SessionMessageType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SessionUserInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SessionUserInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SessionUserInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SessionUserInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SetChannelMappingDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SetChannelMappingDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SetChannelMappingDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SetChannelMappingDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SetPlaylistItemRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SetPlaylistItemRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SetPlaylistItemRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SetPlaylistItemRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SetRepeatModeRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SetRepeatModeRequestDto.md similarity index 69% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SetRepeatModeRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SetRepeatModeRequestDto.md index 0f7d4e9fc1a..ce81114bf21 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SetRepeatModeRequestDto.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SetRepeatModeRequestDto.md @@ -8,7 +8,7 @@ Class SetRepeatModeRequestDto. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**mode** | **GroupRepeatMode** | Gets or sets the repeat mode. | [optional] | +|**mode** | **GroupRepeatMode** | Enum GroupRepeatMode. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SetShuffleModeRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SetShuffleModeRequestDto.md similarity index 68% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SetShuffleModeRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SetShuffleModeRequestDto.md index 320e6e7b713..40416afdf05 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SetShuffleModeRequestDto.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SetShuffleModeRequestDto.md @@ -8,7 +8,7 @@ Class SetShuffleModeRequestDto. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**mode** | **GroupShuffleMode** | Gets or sets the shuffle mode. | [optional] | +|**mode** | **GroupShuffleMode** | Enum GroupShuffleMode. | [optional] | diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SongInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SongInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SongInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SongInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SortOrder.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SortOrder.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SortOrder.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SortOrder.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SpecialViewOptionDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SpecialViewOptionDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SpecialViewOptionDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SpecialViewOptionDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/StartupApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/StartupApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/StartupApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/StartupApi.md index ee16bd4a44f..259a044f575 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/StartupApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/StartupApi.md @@ -1,6 +1,6 @@ # StartupApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -32,7 +32,7 @@ import org.openapitools.client.api.StartupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -96,7 +96,7 @@ import org.openapitools.client.api.StartupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -161,7 +161,7 @@ import org.openapitools.client.api.StartupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -226,7 +226,7 @@ import org.openapitools.client.api.StartupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -291,7 +291,7 @@ import org.openapitools.client.api.StartupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -359,7 +359,7 @@ import org.openapitools.client.api.StartupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -427,7 +427,7 @@ import org.openapitools.client.api.StartupApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/StartupConfigurationDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/StartupConfigurationDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/StartupConfigurationDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/StartupConfigurationDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/StartupRemoteAccessDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/StartupRemoteAccessDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/StartupRemoteAccessDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/StartupRemoteAccessDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/StartupUserDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/StartupUserDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/StartupUserDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/StartupUserDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/StudiosApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/StudiosApi.md similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/StudiosApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/StudiosApi.md index 7d1022a619f..0948b8bf22b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/StudiosApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/StudiosApi.md @@ -1,6 +1,6 @@ # StudiosApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -27,7 +27,7 @@ import org.openapitools.client.api.StudiosApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -98,7 +98,7 @@ import org.openapitools.client.api.StudiosApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SubtitleApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SubtitleApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SubtitleApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SubtitleApi.md index 736a930c64a..992d23f8a86 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SubtitleApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SubtitleApi.md @@ -1,6 +1,6 @@ # SubtitleApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -35,7 +35,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -106,7 +106,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -176,7 +176,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -245,7 +245,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -310,7 +310,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -378,7 +378,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); SubtitleApi apiInstance = new SubtitleApi(defaultClient); UUID routeItemId = UUID.randomUUID(); // UUID | The (route) item id. @@ -461,7 +461,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -535,7 +535,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); SubtitleApi apiInstance = new SubtitleApi(defaultClient); UUID routeItemId = UUID.randomUUID(); // UUID | The (route) item id. @@ -620,7 +620,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -693,7 +693,7 @@ import org.openapitools.client.api.SubtitleApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SubtitleDeliveryMethod.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SubtitleDeliveryMethod.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SubtitleDeliveryMethod.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SubtitleDeliveryMethod.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SubtitleOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SubtitleOptions.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SubtitleOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SubtitleOptions.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SubtitlePlaybackMode.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SubtitlePlaybackMode.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SubtitlePlaybackMode.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SubtitlePlaybackMode.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SubtitleProfile.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SubtitleProfile.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SubtitleProfile.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SubtitleProfile.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SuggestionsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SuggestionsApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SuggestionsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SuggestionsApi.md index f253f31035f..7a39c2eba2d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SuggestionsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SuggestionsApi.md @@ -1,6 +1,6 @@ # SuggestionsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -26,7 +26,7 @@ import org.openapitools.client.api.SuggestionsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SyncPlayApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SyncPlayApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SyncPlayApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SyncPlayApi.md index 67c71f83bb9..d5049ab1aa2 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SyncPlayApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SyncPlayApi.md @@ -1,6 +1,6 @@ # SyncPlayApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -46,7 +46,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -114,7 +114,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -182,7 +182,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -247,7 +247,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -315,7 +315,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -379,7 +379,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -447,7 +447,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -515,7 +515,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -579,7 +579,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -647,7 +647,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -715,7 +715,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -783,7 +783,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -851,7 +851,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -919,7 +919,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -987,7 +987,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1055,7 +1055,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1123,7 +1123,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1191,7 +1191,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1259,7 +1259,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1327,7 +1327,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1391,7 +1391,7 @@ import org.openapitools.client.api.SyncPlayApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SyncPlayUserAccessType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SyncPlayUserAccessType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SyncPlayUserAccessType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SyncPlayUserAccessType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SystemApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SystemApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SystemApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SystemApi.md index 5f9316fcb26..8dada4f3631 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SystemApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SystemApi.md @@ -1,6 +1,6 @@ # SystemApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -35,7 +35,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -100,7 +100,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -168,7 +168,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); SystemApi apiInstance = new SystemApi(defaultClient); try { @@ -224,7 +224,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); SystemApi apiInstance = new SystemApi(defaultClient); try { @@ -281,7 +281,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -346,7 +346,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -411,7 +411,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -475,7 +475,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); SystemApi apiInstance = new SystemApi(defaultClient); try { @@ -532,7 +532,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -596,7 +596,7 @@ import org.openapitools.client.api.SystemApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SystemInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SystemInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/SystemInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/SystemInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TaskCompletionStatus.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TaskCompletionStatus.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TaskCompletionStatus.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TaskCompletionStatus.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TaskInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TaskInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TaskInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TaskInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TaskResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TaskResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TaskResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TaskResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TaskState.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TaskState.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TaskState.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TaskState.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TaskTriggerInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TaskTriggerInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TaskTriggerInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TaskTriggerInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ThemeMediaResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ThemeMediaResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ThemeMediaResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ThemeMediaResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TimeSyncApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TimeSyncApi.md similarity index 93% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TimeSyncApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TimeSyncApi.md index 9f62878f9da..32320f124bf 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TimeSyncApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TimeSyncApi.md @@ -1,6 +1,6 @@ # TimeSyncApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -25,7 +25,7 @@ import org.openapitools.client.api.TimeSyncApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); TimeSyncApi apiInstance = new TimeSyncApi(defaultClient); try { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TimerEventInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TimerEventInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TimerEventInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TimerEventInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TimerInfoDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TimerInfoDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TimerInfoDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TimerInfoDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TimerInfoDtoQueryResult.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TimerInfoDtoQueryResult.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TimerInfoDtoQueryResult.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TimerInfoDtoQueryResult.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TmdbApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TmdbApi.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TmdbApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TmdbApi.md index 7c4e5f0c749..6720a3ea1b8 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TmdbApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TmdbApi.md @@ -1,6 +1,6 @@ # TmdbApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -26,7 +26,7 @@ import org.openapitools.client.api.TmdbApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TrailerInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TrailerInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TrailerInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TrailerInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TrailerInfoRemoteSearchQuery.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TrailerInfoRemoteSearchQuery.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TrailerInfoRemoteSearchQuery.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TrailerInfoRemoteSearchQuery.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TrailersApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TrailersApi.md similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TrailersApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TrailersApi.md index e889009f2fa..d281d4183dd 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TrailersApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TrailersApi.md @@ -1,6 +1,6 @@ # TrailersApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -26,7 +26,7 @@ import org.openapitools.client.api.TrailersApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TranscodeReason.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TranscodeReason.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TranscodeReason.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TranscodeReason.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TranscodeSeekInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TranscodeSeekInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TranscodeSeekInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TranscodeSeekInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TranscodingInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TranscodingInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TranscodingInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TranscodingInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TranscodingProfile.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TranscodingProfile.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TranscodingProfile.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TranscodingProfile.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TransportStreamTimestamp.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TransportStreamTimestamp.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TransportStreamTimestamp.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TransportStreamTimestamp.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TunerChannelMapping.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TunerChannelMapping.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TunerChannelMapping.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TunerChannelMapping.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TunerHostInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TunerHostInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TunerHostInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TunerHostInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TvShowsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TvShowsApi.md similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TvShowsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TvShowsApi.md index b23997afddc..1edecc99727 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/TvShowsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TvShowsApi.md @@ -1,6 +1,6 @@ # TvShowsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -29,7 +29,7 @@ import org.openapitools.client.api.TvShowsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -127,7 +127,7 @@ import org.openapitools.client.api.TvShowsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -222,7 +222,7 @@ import org.openapitools.client.api.TvShowsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -310,7 +310,7 @@ import org.openapitools.client.api.TvShowsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TypeOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TypeOptions.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TypeOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/TypeOptions.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UniversalAudioApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UniversalAudioApi.md similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UniversalAudioApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UniversalAudioApi.md index 597c7d081e2..cd903ea34a6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UniversalAudioApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UniversalAudioApi.md @@ -1,6 +1,6 @@ # UniversalAudioApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -27,7 +27,7 @@ import org.openapitools.client.api.UniversalAudioApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -131,7 +131,7 @@ import org.openapitools.client.api.UniversalAudioApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UnratedItem.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UnratedItem.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UnratedItem.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UnratedItem.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UpdateLibraryOptionsDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UpdateLibraryOptionsDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UpdateLibraryOptionsDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UpdateLibraryOptionsDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UpdateMediaPathRequestDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UpdateMediaPathRequestDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UpdateMediaPathRequestDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UpdateMediaPathRequestDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UpdateUserEasyPassword.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UpdateUserEasyPassword.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UpdateUserEasyPassword.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UpdateUserEasyPassword.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UpdateUserPassword.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UpdateUserPassword.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UpdateUserPassword.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UpdateUserPassword.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UploadSubtitleDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UploadSubtitleDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UploadSubtitleDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UploadSubtitleDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UserApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UserApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UserApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UserApi.md index 1268f8be366..7325c7ae68a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UserApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UserApi.md @@ -1,6 +1,6 @@ # UserApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -40,7 +40,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); UserApi apiInstance = new UserApi(defaultClient); UUID userId = UUID.randomUUID(); // UUID | The user id. @@ -106,7 +106,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); UserApi apiInstance = new UserApi(defaultClient); AuthenticateUserByName authenticateUserByName = new AuthenticateUserByName(); // AuthenticateUserByName | The M:Jellyfin.Api.Controllers.UserController.AuthenticateUserByName(Jellyfin.Api.Models.UserDtos.AuthenticateUserByName) request. @@ -166,7 +166,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); UserApi apiInstance = new UserApi(defaultClient); QuickConnectDto quickConnectDto = new QuickConnectDto(); // QuickConnectDto | The Jellyfin.Api.Models.UserDtos.QuickConnectDto request. @@ -228,7 +228,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -297,7 +297,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -365,7 +365,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); UserApi apiInstance = new UserApi(defaultClient); ForgotPasswordDto forgotPasswordDto = new ForgotPasswordDto(); // ForgotPasswordDto | The forgot password request containing the entered username. @@ -425,7 +425,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); UserApi apiInstance = new UserApi(defaultClient); ForgotPasswordPinDto forgotPasswordPinDto = new ForgotPasswordPinDto(); // ForgotPasswordPinDto | The forgot password pin request containing the entered pin. @@ -486,7 +486,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -551,7 +551,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); UserApi apiInstance = new UserApi(defaultClient); try { @@ -608,7 +608,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -678,7 +678,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -749,7 +749,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -820,7 +820,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -890,7 +890,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -961,7 +961,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -1032,7 +1032,7 @@ import org.openapitools.client.api.UserApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UserConfiguration.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UserConfiguration.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UserConfiguration.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UserConfiguration.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UserDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UserDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UserItemDataDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UserItemDataDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UserItemDataDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UserItemDataDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserLibraryApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UserLibraryApi.md similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserLibraryApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UserLibraryApi.md index 11d8fb0477b..58447f3e6ab 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UserLibraryApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UserLibraryApi.md @@ -1,6 +1,6 @@ # UserLibraryApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -35,7 +35,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -106,7 +106,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -177,7 +177,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -248,7 +248,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -337,7 +337,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -408,7 +408,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -477,7 +477,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -548,7 +548,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -619,7 +619,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -690,7 +690,7 @@ import org.openapitools.client.api.UserLibraryApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UserPolicy.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UserPolicy.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UserPolicy.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UserPolicy.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UserViewsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UserViewsApi.md similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UserViewsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UserViewsApi.md index f34b1a6de03..59235501f5d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/UserViewsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UserViewsApi.md @@ -1,6 +1,6 @@ # UserViewsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -27,7 +27,7 @@ import org.openapitools.client.api.UserViewsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -97,7 +97,7 @@ import org.openapitools.client.api.UserViewsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UtcTimeResponse.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UtcTimeResponse.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UtcTimeResponse.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/UtcTimeResponse.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ValidatePathDto.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ValidatePathDto.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ValidatePathDto.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/ValidatePathDto.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/VersionInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/VersionInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/VersionInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/VersionInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/Video3DFormat.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/Video3DFormat.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/Video3DFormat.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/Video3DFormat.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/VideoAttachmentsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/VideoAttachmentsApi.md similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/VideoAttachmentsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/VideoAttachmentsApi.md index 19d25d21607..db36ace28fd 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/VideoAttachmentsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/VideoAttachmentsApi.md @@ -1,6 +1,6 @@ # VideoAttachmentsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -25,7 +25,7 @@ import org.openapitools.client.api.VideoAttachmentsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); VideoAttachmentsApi apiInstance = new VideoAttachmentsApi(defaultClient); UUID videoId = UUID.randomUUID(); // UUID | Video ID. diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/VideoType.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/VideoType.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/VideoType.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/VideoType.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/VideosApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/VideosApi.md similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/VideosApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/VideosApi.md index 66480af8518..477b5e7f5cb 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/VideosApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/VideosApi.md @@ -1,6 +1,6 @@ # VideosApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -32,7 +32,7 @@ import org.openapitools.client.api.VideosApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -101,7 +101,7 @@ import org.openapitools.client.api.VideosApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -171,7 +171,7 @@ import org.openapitools.client.api.VideosApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); VideosApi apiInstance = new VideosApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | The item id. @@ -331,7 +331,7 @@ import org.openapitools.client.api.VideosApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); VideosApi apiInstance = new VideosApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | The item id. @@ -491,7 +491,7 @@ import org.openapitools.client.api.VideosApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); VideosApi apiInstance = new VideosApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | The item id. @@ -651,7 +651,7 @@ import org.openapitools.client.api.VideosApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); VideosApi apiInstance = new VideosApi(defaultClient); UUID itemId = UUID.randomUUID(); // UUID | The item id. @@ -812,7 +812,7 @@ import org.openapitools.client.api.VideosApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/VirtualFolderInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/VirtualFolderInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/VirtualFolderInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/VirtualFolderInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/WakeOnLanInfo.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/WakeOnLanInfo.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/WakeOnLanInfo.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/WakeOnLanInfo.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/XbmcMetadataOptions.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/XbmcMetadataOptions.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/XbmcMetadataOptions.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/XbmcMetadataOptions.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/XmlAttribute.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/XmlAttribute.md similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/XmlAttribute.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/XmlAttribute.md diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/YearsApi.md b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/YearsApi.md similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/YearsApi.md rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/YearsApi.md index f197f7bec3a..02fb199de5a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/YearsApi.md +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/docs/YearsApi.md @@ -1,6 +1,6 @@ # YearsApi -All URIs are relative to *http://nuc.ehrendingen:8096* +All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| @@ -27,7 +27,7 @@ import org.openapitools.client.api.YearsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); @@ -99,7 +99,7 @@ import org.openapitools.client.api.YearsApi; public class Example { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); + defaultClient.setBasePath("http://localhost"); // Configure API key authorization: CustomAuthentication ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ActivityLogApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ActivityLogApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ActivityLogApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ActivityLogApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ApiKeyApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ApiKeyApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ApiKeyApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ApiKeyApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ArtistsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ArtistsApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ArtistsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ArtistsApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/AudioApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/AudioApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/AudioApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/AudioApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/BrandingApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/BrandingApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/BrandingApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/BrandingApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ChannelsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ChannelsApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ChannelsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ChannelsApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ClientLogApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ClientLogApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ClientLogApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ClientLogApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/CollectionApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/CollectionApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/CollectionApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/CollectionApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ConfigurationApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ConfigurationApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ConfigurationApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ConfigurationApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/DashboardApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/DashboardApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/DashboardApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/DashboardApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/DevicesApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/DevicesApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/DevicesApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/DevicesApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/DisplayPreferencesApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/DisplayPreferencesApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/DisplayPreferencesApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/DisplayPreferencesApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/DlnaApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/DlnaApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/DlnaApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/DlnaApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/DlnaServerApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/DlnaServerApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/DlnaServerApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/DlnaServerApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/DynamicHlsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/DynamicHlsApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/DynamicHlsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/DynamicHlsApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/EnvironmentApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/EnvironmentApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/EnvironmentApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/EnvironmentApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/FilterApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/FilterApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/FilterApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/FilterApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/GenresApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/GenresApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/GenresApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/GenresApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/HlsSegmentApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/HlsSegmentApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/HlsSegmentApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/HlsSegmentApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ImageApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ImageApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ImageApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ImageApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ImageByNameApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ImageByNameApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ImageByNameApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ImageByNameApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/InstantMixApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/InstantMixApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/InstantMixApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/InstantMixApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ItemLookupApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ItemLookupApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ItemLookupApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ItemLookupApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ItemRefreshApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ItemRefreshApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ItemRefreshApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ItemRefreshApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ItemUpdateApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ItemUpdateApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ItemUpdateApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ItemUpdateApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ItemsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ItemsApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ItemsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ItemsApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/LibraryApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/LibraryApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/LibraryApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/LibraryApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/LibraryStructureApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/LibraryStructureApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/LibraryStructureApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/LibraryStructureApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/LiveTvApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/LiveTvApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/LiveTvApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/LiveTvApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/LocalizationApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/LocalizationApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/LocalizationApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/LocalizationApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/MediaInfoApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/MediaInfoApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/MediaInfoApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/MediaInfoApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/MoviesApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/MoviesApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/MoviesApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/MoviesApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/MusicGenresApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/MusicGenresApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/MusicGenresApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/MusicGenresApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/NotificationsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/NotificationsApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/NotificationsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/NotificationsApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/PackageApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/PackageApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/PackageApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/PackageApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/PersonsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/PersonsApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/PersonsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/PersonsApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/PlaylistsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/PlaylistsApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/PlaylistsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/PlaylistsApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/PlaystateApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/PlaystateApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/PlaystateApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/PlaystateApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/PluginsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/PluginsApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/PluginsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/PluginsApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/QuickConnectApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/QuickConnectApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/QuickConnectApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/QuickConnectApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/RemoteImageApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/RemoteImageApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/RemoteImageApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/RemoteImageApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ScheduledTasksApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ScheduledTasksApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ScheduledTasksApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/ScheduledTasksApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/SearchApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/SearchApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/SearchApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/SearchApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/SessionApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/SessionApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/SessionApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/SessionApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/StartupApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/StartupApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/StartupApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/StartupApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/StudiosApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/StudiosApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/StudiosApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/StudiosApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/SubtitleApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/SubtitleApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/SubtitleApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/SubtitleApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/SuggestionsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/SuggestionsApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/SuggestionsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/SuggestionsApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/SyncPlayApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/SyncPlayApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/SyncPlayApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/SyncPlayApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/SystemApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/SystemApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/SystemApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/SystemApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/TimeSyncApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/TimeSyncApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/TimeSyncApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/TimeSyncApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/TmdbApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/TmdbApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/TmdbApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/TmdbApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/TrailersApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/TrailersApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/TrailersApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/TrailersApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/TvShowsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/TvShowsApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/TvShowsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/TvShowsApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/UniversalAudioApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/UniversalAudioApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/UniversalAudioApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/UniversalAudioApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/UserApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/UserApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/UserApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/UserApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/UserLibraryApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/UserLibraryApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/UserLibraryApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/UserLibraryApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/UserViewsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/UserViewsApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/UserViewsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/UserViewsApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/VideoAttachmentsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/VideoAttachmentsApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/VideoAttachmentsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/VideoAttachmentsApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/VideosApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/VideosApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/VideosApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/VideosApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/YearsApi.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/YearsApi.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/YearsApi.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/api/YearsApi.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AccessSchedule.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AccessSchedule.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AccessSchedule.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AccessSchedule.java index 600905dd408..74766b025de 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AccessSchedule.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AccessSchedule.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * An entity representing a user's access schedule. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class AccessSchedule { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ActivityLogEntry.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ActivityLogEntry.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ActivityLogEntry.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ActivityLogEntry.java index 56ea71e9e6a..53834410910 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ActivityLogEntry.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ActivityLogEntry.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * An activity log entry. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ActivityLogEntry { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntryQueryResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ActivityLogEntryQueryResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntryQueryResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ActivityLogEntryQueryResult.java index 476c7b1e2b0..918c92d65ee 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ActivityLogEntryQueryResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ActivityLogEntryQueryResult.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * ActivityLogEntryQueryResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ActivityLogEntryQueryResult { public static final String SERIALIZED_NAME_ITEMS = "Items"; @SerializedName(SERIALIZED_NAME_ITEMS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AddVirtualFolderDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AddVirtualFolderDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AddVirtualFolderDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AddVirtualFolderDto.java index 1efe10ecd70..c3b0d0bdbde 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AddVirtualFolderDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AddVirtualFolderDto.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Add virtual folder dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class AddVirtualFolderDto { public static final String SERIALIZED_NAME_LIBRARY_OPTIONS = "LibraryOptions"; @SerializedName(SERIALIZED_NAME_LIBRARY_OPTIONS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AdminNotificationDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AdminNotificationDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AdminNotificationDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AdminNotificationDto.java index 17c1b88bcab..93817bd74f8 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AdminNotificationDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AdminNotificationDto.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * The admin notification dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class AdminNotificationDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AlbumInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AlbumInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AlbumInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AlbumInfo.java index 5a00f7822a5..69f7e3ad36c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AlbumInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AlbumInfo.java @@ -55,7 +55,7 @@ import org.openapitools.client.JSON; /** * AlbumInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class AlbumInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AlbumInfoRemoteSearchQuery.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AlbumInfoRemoteSearchQuery.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AlbumInfoRemoteSearchQuery.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AlbumInfoRemoteSearchQuery.java index b46ec8d3cc2..26c778e4ca7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AlbumInfoRemoteSearchQuery.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AlbumInfoRemoteSearchQuery.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * AlbumInfoRemoteSearchQuery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class AlbumInfoRemoteSearchQuery { public static final String SERIALIZED_NAME_SEARCH_INFO = "SearchInfo"; @SerializedName(SERIALIZED_NAME_SEARCH_INFO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AllThemeMediaResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AllThemeMediaResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AllThemeMediaResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AllThemeMediaResult.java index 61217fe2227..8a99f8b6cc5 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AllThemeMediaResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AllThemeMediaResult.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * AllThemeMediaResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class AllThemeMediaResult { public static final String SERIALIZED_NAME_THEME_VIDEOS_RESULT = "ThemeVideosResult"; @SerializedName(SERIALIZED_NAME_THEME_VIDEOS_RESULT) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/Architecture.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/Architecture.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/Architecture.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/Architecture.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ArtistInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ArtistInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ArtistInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ArtistInfo.java index 18be42d57d6..1589501f91f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ArtistInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ArtistInfo.java @@ -55,7 +55,7 @@ import org.openapitools.client.JSON; /** * ArtistInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ArtistInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ArtistInfoRemoteSearchQuery.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ArtistInfoRemoteSearchQuery.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ArtistInfoRemoteSearchQuery.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ArtistInfoRemoteSearchQuery.java index ae929a87c2f..d0a078958e9 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ArtistInfoRemoteSearchQuery.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ArtistInfoRemoteSearchQuery.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * ArtistInfoRemoteSearchQuery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ArtistInfoRemoteSearchQuery { public static final String SERIALIZED_NAME_SEARCH_INFO = "SearchInfo"; @SerializedName(SERIALIZED_NAME_SEARCH_INFO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AuthenticateUserByName.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AuthenticateUserByName.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AuthenticateUserByName.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AuthenticateUserByName.java index c606f913159..536d15e37ec 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AuthenticateUserByName.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AuthenticateUserByName.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * The authenticate user by name request body. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class AuthenticateUserByName { public static final String SERIALIZED_NAME_USERNAME = "Username"; @SerializedName(SERIALIZED_NAME_USERNAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AuthenticationInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AuthenticationInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AuthenticationInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AuthenticationInfo.java index 7670087062f..d39edd952e5 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AuthenticationInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AuthenticationInfo.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * AuthenticationInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class AuthenticationInfo { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AuthenticationInfoQueryResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AuthenticationInfoQueryResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AuthenticationInfoQueryResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AuthenticationInfoQueryResult.java index addc6d3a6f0..4468d41b16c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AuthenticationInfoQueryResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AuthenticationInfoQueryResult.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * AuthenticationInfoQueryResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class AuthenticationInfoQueryResult { public static final String SERIALIZED_NAME_ITEMS = "Items"; @SerializedName(SERIALIZED_NAME_ITEMS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AuthenticationResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AuthenticationResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AuthenticationResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AuthenticationResult.java index 451b4a5add7..4e263fed439 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/AuthenticationResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/AuthenticationResult.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * AuthenticationResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class AuthenticationResult { public static final String SERIALIZED_NAME_USER = "User"; @SerializedName(SERIALIZED_NAME_USER) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItem.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItem.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItem.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItem.java index baa5dd2a7d4..2a3296d676b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItem.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItem.java @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * Class BaseItem. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BaseItem { public static final String SERIALIZED_NAME_SIZE = "Size"; @SerializedName(SERIALIZED_NAME_SIZE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItemDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItemDto.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItemDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItemDto.java index 455189f3866..fc92b02dc8b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItemDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItemDto.java @@ -75,7 +75,7 @@ import org.openapitools.client.JSON; /** * This is strictly used as a data transfer object from the api layer. This holds information about a BaseItem in a format that is convenient for the client. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BaseItemDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItemDtoImageBlurHashes.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItemDtoImageBlurHashes.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItemDtoImageBlurHashes.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItemDtoImageBlurHashes.java index 8873445e080..8d52bf66eae 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItemDtoImageBlurHashes.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItemDtoImageBlurHashes.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Gets or sets the blurhashes for the image tags. Maps image type to dictionary mapping image tag to blurhash value. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BaseItemDtoImageBlurHashes { public static final String SERIALIZED_NAME_PRIMARY = "Primary"; @SerializedName(SERIALIZED_NAME_PRIMARY) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItemDtoQueryResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItemDtoQueryResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItemDtoQueryResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItemDtoQueryResult.java index 504d3576a3d..da5ceb09f14 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItemDtoQueryResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItemDtoQueryResult.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * BaseItemDtoQueryResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BaseItemDtoQueryResult { public static final String SERIALIZED_NAME_ITEMS = "Items"; @SerializedName(SERIALIZED_NAME_ITEMS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItemKind.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItemKind.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItemKind.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItemKind.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItemPerson.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItemPerson.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItemPerson.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItemPerson.java index 0da0442e710..adacff3d5fd 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItemPerson.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItemPerson.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * This is used by the api to get information about a Person within a BaseItem. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BaseItemPerson { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItemPersonImageBlurHashes.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItemPersonImageBlurHashes.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItemPersonImageBlurHashes.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItemPersonImageBlurHashes.java index 34874ad0956..fbc65bd2ce2 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BaseItemPersonImageBlurHashes.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BaseItemPersonImageBlurHashes.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Gets or sets the primary image blurhash. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BaseItemPersonImageBlurHashes { public static final String SERIALIZED_NAME_PRIMARY = "Primary"; @SerializedName(SERIALIZED_NAME_PRIMARY) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BookInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BookInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BookInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BookInfo.java index 59ae5657ca1..f3c5f27eaf7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BookInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BookInfo.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * BookInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BookInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BookInfoRemoteSearchQuery.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BookInfoRemoteSearchQuery.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BookInfoRemoteSearchQuery.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BookInfoRemoteSearchQuery.java index 7b9f291b9f7..8c038275329 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BookInfoRemoteSearchQuery.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BookInfoRemoteSearchQuery.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * BookInfoRemoteSearchQuery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BookInfoRemoteSearchQuery { public static final String SERIALIZED_NAME_SEARCH_INFO = "SearchInfo"; @SerializedName(SERIALIZED_NAME_SEARCH_INFO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BoxSetInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BoxSetInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BoxSetInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BoxSetInfo.java index 60a209b1781..c4f26c0c5a0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BoxSetInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BoxSetInfo.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * BoxSetInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BoxSetInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BoxSetInfoRemoteSearchQuery.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BoxSetInfoRemoteSearchQuery.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BoxSetInfoRemoteSearchQuery.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BoxSetInfoRemoteSearchQuery.java index 3ebd83733b3..1e66b906864 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BoxSetInfoRemoteSearchQuery.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BoxSetInfoRemoteSearchQuery.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * BoxSetInfoRemoteSearchQuery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BoxSetInfoRemoteSearchQuery { public static final String SERIALIZED_NAME_SEARCH_INFO = "SearchInfo"; @SerializedName(SERIALIZED_NAME_SEARCH_INFO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BrandingOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BrandingOptions.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BrandingOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BrandingOptions.java index e32698c3a91..4ac0e5445d7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BrandingOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BrandingOptions.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * The branding options. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BrandingOptions { public static final String SERIALIZED_NAME_LOGIN_DISCLAIMER = "LoginDisclaimer"; @SerializedName(SERIALIZED_NAME_LOGIN_DISCLAIMER) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BufferRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BufferRequestDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BufferRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BufferRequestDto.java index 9a6e5c59de3..e5e51d61dca 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/BufferRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/BufferRequestDto.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Class BufferRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class BufferRequestDto { public static final String SERIALIZED_NAME_WHEN = "When"; @SerializedName(SERIALIZED_NAME_WHEN) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChannelFeatures.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ChannelFeatures.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChannelFeatures.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ChannelFeatures.java index 13c44862db6..946d9c43cb8 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChannelFeatures.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ChannelFeatures.java @@ -55,7 +55,7 @@ import org.openapitools.client.JSON; /** * ChannelFeatures */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ChannelFeatures { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ChannelItemSortField.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ChannelItemSortField.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ChannelItemSortField.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ChannelItemSortField.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChannelMappingOptionsDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ChannelMappingOptionsDto.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChannelMappingOptionsDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ChannelMappingOptionsDto.java index 43bad455037..125f93a3e1f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ChannelMappingOptionsDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ChannelMappingOptionsDto.java @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * Channel mapping options dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ChannelMappingOptionsDto { public static final String SERIALIZED_NAME_TUNER_CHANNELS = "TunerChannels"; @SerializedName(SERIALIZED_NAME_TUNER_CHANNELS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ChannelMediaContentType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ChannelMediaContentType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ChannelMediaContentType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ChannelMediaContentType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ChannelMediaType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ChannelMediaType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ChannelMediaType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ChannelMediaType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ChannelType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ChannelType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ChannelType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ChannelType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ChapterInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ChapterInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ChapterInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ChapterInfo.java index 244d46e8446..5960d5bdfc4 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ChapterInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ChapterInfo.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Class ChapterInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ChapterInfo { public static final String SERIALIZED_NAME_START_POSITION_TICKS = "StartPositionTicks"; @SerializedName(SERIALIZED_NAME_START_POSITION_TICKS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ClientCapabilities.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ClientCapabilities.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ClientCapabilities.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ClientCapabilities.java index f72ebb36da5..481f504cfff 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ClientCapabilities.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ClientCapabilities.java @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * ClientCapabilities */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ClientCapabilities { public static final String SERIALIZED_NAME_PLAYABLE_MEDIA_TYPES = "PlayableMediaTypes"; @SerializedName(SERIALIZED_NAME_PLAYABLE_MEDIA_TYPES) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ClientCapabilitiesDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ClientCapabilitiesDto.java similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ClientCapabilitiesDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ClientCapabilitiesDto.java index 07992f8f42c..e5c5edb8cd1 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ClientCapabilitiesDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ClientCapabilitiesDto.java @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * Client capabilities dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ClientCapabilitiesDto { public static final String SERIALIZED_NAME_PLAYABLE_MEDIA_TYPES = "PlayableMediaTypes"; @SerializedName(SERIALIZED_NAME_PLAYABLE_MEDIA_TYPES) @@ -263,7 +263,7 @@ public class ClientCapabilitiesDto { } /** - * Gets or sets the device profile. + * A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play. <br /> Specifically, it defines the supported <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles\">containers</see> and <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles\">codecs</see> (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles\">containers/codecs to transcode to</see> in case it isn't. * @return deviceProfile */ @javax.annotation.Nullable diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ClientLogDocumentResponseDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ClientLogDocumentResponseDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ClientLogDocumentResponseDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ClientLogDocumentResponseDto.java index 0b71359c87d..4723386e086 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ClientLogDocumentResponseDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ClientLogDocumentResponseDto.java @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Client log document response dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ClientLogDocumentResponseDto { public static final String SERIALIZED_NAME_FILE_NAME = "FileName"; @SerializedName(SERIALIZED_NAME_FILE_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CodecProfile.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CodecProfile.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CodecProfile.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CodecProfile.java index 321b6ca049d..88e8195aa68 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CodecProfile.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CodecProfile.java @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * CodecProfile */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class CodecProfile { public static final String SERIALIZED_NAME_TYPE = "Type"; @SerializedName(SERIALIZED_NAME_TYPE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CodecType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CodecType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CodecType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CodecType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CollectionCreationResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CollectionCreationResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CollectionCreationResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CollectionCreationResult.java index c8c28cadbbc..76f3a8bee56 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CollectionCreationResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CollectionCreationResult.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * CollectionCreationResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class CollectionCreationResult { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CollectionTypeOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CollectionTypeOptions.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CollectionTypeOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CollectionTypeOptions.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ConfigImageTypes.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ConfigImageTypes.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ConfigImageTypes.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ConfigImageTypes.java index 34943358475..c06d94daa77 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ConfigImageTypes.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ConfigImageTypes.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * ConfigImageTypes */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ConfigImageTypes { public static final String SERIALIZED_NAME_BACKDROP_SIZES = "BackdropSizes"; @SerializedName(SERIALIZED_NAME_BACKDROP_SIZES) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ConfigurationPageInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ConfigurationPageInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ConfigurationPageInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ConfigurationPageInfo.java index 49daedcee52..5f247d64b93 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ConfigurationPageInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ConfigurationPageInfo.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * The configuration page info. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ConfigurationPageInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ContainerProfile.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ContainerProfile.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ContainerProfile.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ContainerProfile.java index 218f36ad6b1..97feb25a2ee 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ContainerProfile.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ContainerProfile.java @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * ContainerProfile */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ContainerProfile { public static final String SERIALIZED_NAME_TYPE = "Type"; @SerializedName(SERIALIZED_NAME_TYPE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ControlResponse.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ControlResponse.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ControlResponse.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ControlResponse.java index abd4927a357..79bc6420ce8 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ControlResponse.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ControlResponse.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * ControlResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ControlResponse { public static final String SERIALIZED_NAME_HEADERS = "Headers"; @SerializedName(SERIALIZED_NAME_HEADERS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CountryInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CountryInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CountryInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CountryInfo.java index 339f17e7108..6af85cf9b67 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CountryInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CountryInfo.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class CountryInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class CountryInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CreatePlaylistDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CreatePlaylistDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CreatePlaylistDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CreatePlaylistDto.java index 92457acae2f..e5a3581d09e 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CreatePlaylistDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CreatePlaylistDto.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * Create new playlist dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class CreatePlaylistDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CreateUserByName.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CreateUserByName.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CreateUserByName.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CreateUserByName.java index 1e5492f1091..145fd88ff31 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CreateUserByName.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CreateUserByName.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * The create user by name request body. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class CreateUserByName { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CultureDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CultureDto.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CultureDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CultureDto.java index ab0e2a8b926..34d438a1c59 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CultureDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/CultureDto.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class CultureDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class CultureDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DayOfWeek.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DayOfWeek.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DayOfWeek.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DayOfWeek.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DayPattern.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DayPattern.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DayPattern.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DayPattern.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DefaultDirectoryBrowserInfoDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DefaultDirectoryBrowserInfoDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DefaultDirectoryBrowserInfoDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DefaultDirectoryBrowserInfoDto.java index cc10e147f48..b3a7e474717 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DefaultDirectoryBrowserInfoDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DefaultDirectoryBrowserInfoDto.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Default directory browser info. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class DefaultDirectoryBrowserInfoDto { public static final String SERIALIZED_NAME_PATH = "Path"; @SerializedName(SERIALIZED_NAME_PATH) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceIdentification.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceIdentification.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceIdentification.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceIdentification.java index 857bfab2c13..5da2187d5a6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceIdentification.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceIdentification.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * DeviceIdentification */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class DeviceIdentification { public static final String SERIALIZED_NAME_FRIENDLY_NAME = "FriendlyName"; @SerializedName(SERIALIZED_NAME_FRIENDLY_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceInfo.java index 71b3ca17a61..cc0bf7725e6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceInfo.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * DeviceInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class DeviceInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceInfoQueryResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceInfoQueryResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceInfoQueryResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceInfoQueryResult.java index b424eac1627..e04743291a3 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceInfoQueryResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceInfoQueryResult.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * DeviceInfoQueryResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class DeviceInfoQueryResult { public static final String SERIALIZED_NAME_ITEMS = "Items"; @SerializedName(SERIALIZED_NAME_ITEMS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceOptions.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceOptions.java index 3f5a5c0b385..ff042850caa 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceOptions.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * An entity representing custom options for a device. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class DeviceOptions { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceOptionsDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceOptionsDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceOptionsDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceOptionsDto.java index 36acd860df1..0936fd1f5f1 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceOptionsDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceOptionsDto.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * A dto representing custom options for a device. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class DeviceOptionsDto { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceProfile.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceProfile.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceProfile.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceProfile.java index f97f09f6594..3906576d1c5 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceProfile.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceProfile.java @@ -59,7 +59,7 @@ import org.openapitools.client.JSON; /** * A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play. <br /> Specifically, it defines the supported <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles\">containers</see> and <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles\">codecs</see> (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles\">containers/codecs to transcode to</see> in case it isn't. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class DeviceProfile { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceProfileInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceProfileInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceProfileInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceProfileInfo.java index 6e280dcf08d..17bdeb58f1a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceProfileInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceProfileInfo.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * DeviceProfileInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class DeviceProfileInfo { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceProfileType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceProfileType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceProfileType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DeviceProfileType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DirectPlayProfile.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DirectPlayProfile.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DirectPlayProfile.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DirectPlayProfile.java index b7eddcdb8f7..8fc1e506999 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DirectPlayProfile.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DirectPlayProfile.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * DirectPlayProfile */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class DirectPlayProfile { public static final String SERIALIZED_NAME_CONTAINER = "Container"; @SerializedName(SERIALIZED_NAME_CONTAINER) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DisplayPreferencesDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DisplayPreferencesDto.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DisplayPreferencesDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DisplayPreferencesDto.java index 11079f7a748..ed4b0bf5a5e 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DisplayPreferencesDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DisplayPreferencesDto.java @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * Defines the display preferences for any item that supports them (usually Folders). */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class DisplayPreferencesDto { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DlnaOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DlnaOptions.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DlnaOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DlnaOptions.java index fd7271618a4..a301bdf202d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DlnaOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DlnaOptions.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * The DlnaOptions class contains the user definable parameters for the dlna subsystems. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class DlnaOptions { public static final String SERIALIZED_NAME_ENABLE_PLAY_TO = "EnablePlayTo"; @SerializedName(SERIALIZED_NAME_ENABLE_PLAY_TO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DlnaProfileType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DlnaProfileType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DlnaProfileType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DlnaProfileType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DynamicDayOfWeek.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DynamicDayOfWeek.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DynamicDayOfWeek.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/DynamicDayOfWeek.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/EmbeddedSubtitleOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/EmbeddedSubtitleOptions.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/EmbeddedSubtitleOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/EmbeddedSubtitleOptions.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/EncodingContext.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/EncodingContext.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/EncodingContext.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/EncodingContext.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/EncodingOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/EncodingOptions.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/EncodingOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/EncodingOptions.java index 2b4e4824398..9a8f2d7c13a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/EncodingOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/EncodingOptions.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * EncodingOptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class EncodingOptions { public static final String SERIALIZED_NAME_ENCODING_THREAD_COUNT = "EncodingThreadCount"; @SerializedName(SERIALIZED_NAME_ENCODING_THREAD_COUNT) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/EndPointInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/EndPointInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/EndPointInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/EndPointInfo.java index ad7bcc7a546..220b3a48cb2 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/EndPointInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/EndPointInfo.java @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * EndPointInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class EndPointInfo { public static final String SERIALIZED_NAME_IS_LOCAL = "IsLocal"; @SerializedName(SERIALIZED_NAME_IS_LOCAL) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ExternalIdInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ExternalIdInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ExternalIdInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ExternalIdInfo.java index 455361908fa..77593165bec 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ExternalIdInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ExternalIdInfo.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Represents the external id information for serialization to the client. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ExternalIdInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ExternalIdMediaType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ExternalIdMediaType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ExternalIdMediaType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ExternalIdMediaType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ExternalUrl.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ExternalUrl.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ExternalUrl.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ExternalUrl.java index c20fdb38a35..ad304dd2167 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ExternalUrl.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ExternalUrl.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * ExternalUrl */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ExternalUrl { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/FFmpegLocation.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/FFmpegLocation.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/FFmpegLocation.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/FFmpegLocation.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/FileSystemEntryInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/FileSystemEntryInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/FileSystemEntryInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/FileSystemEntryInfo.java index c6abe5869a8..cfd0792443a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/FileSystemEntryInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/FileSystemEntryInfo.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class FileSystemEntryInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class FileSystemEntryInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/FileSystemEntryType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/FileSystemEntryType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/FileSystemEntryType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/FileSystemEntryType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/FontFile.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/FontFile.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/FontFile.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/FontFile.java index 7f16e4694e6..fed9982bc87 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/FontFile.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/FontFile.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Class FontFile. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class FontFile { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordAction.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordAction.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordAction.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordAction.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordDto.java index f735c9cff9a..85a46474305 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordDto.java @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Forgot Password request body DTO. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ForgotPasswordDto { public static final String SERIALIZED_NAME_ENTERED_USERNAME = "EnteredUsername"; @SerializedName(SERIALIZED_NAME_ENTERED_USERNAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordPinDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordPinDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordPinDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordPinDto.java index 38f15235ad2..9f1b1d9f5bc 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordPinDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordPinDto.java @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Forgot Password Pin enter request body DTO. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ForgotPasswordPinDto { public static final String SERIALIZED_NAME_PIN = "Pin"; @SerializedName(SERIALIZED_NAME_PIN) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordResult.java index 30574cb8461..93be3554199 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ForgotPasswordResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ForgotPasswordResult.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * ForgotPasswordResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ForgotPasswordResult { public static final String SERIALIZED_NAME_ACTION = "Action"; @SerializedName(SERIALIZED_NAME_ACTION) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GeneralCommand.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GeneralCommand.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GeneralCommand.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GeneralCommand.java index b24864ab968..18153df1396 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GeneralCommand.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GeneralCommand.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * GeneralCommand */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class GeneralCommand { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GeneralCommandType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GeneralCommandType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GeneralCommandType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GeneralCommandType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GetProgramsDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GetProgramsDto.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GetProgramsDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GetProgramsDto.java index ce76b836fa2..8d381872427 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GetProgramsDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GetProgramsDto.java @@ -56,7 +56,7 @@ import org.openapitools.client.JSON; /** * Get programs dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class GetProgramsDto { public static final String SERIALIZED_NAME_CHANNEL_IDS = "ChannelIds"; @SerializedName(SERIALIZED_NAME_CHANNEL_IDS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GroupInfoDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GroupInfoDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GroupInfoDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GroupInfoDto.java index ae99325c98b..7224e82c2cf 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/GroupInfoDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GroupInfoDto.java @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * Class GroupInfoDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class GroupInfoDto { public static final String SERIALIZED_NAME_GROUP_ID = "GroupId"; @SerializedName(SERIALIZED_NAME_GROUP_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GroupQueueMode.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GroupQueueMode.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GroupQueueMode.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GroupQueueMode.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GroupRepeatMode.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GroupRepeatMode.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GroupRepeatMode.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GroupRepeatMode.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GroupShuffleMode.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GroupShuffleMode.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GroupShuffleMode.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GroupShuffleMode.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GroupStateType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GroupStateType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GroupStateType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GroupStateType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GroupUpdateType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GroupUpdateType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GroupUpdateType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GroupUpdateType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GuideInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GuideInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GuideInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GuideInfo.java index 3d15d36976d..4d688587c80 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/GuideInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/GuideInfo.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * GuideInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class GuideInfo { public static final String SERIALIZED_NAME_START_DATE = "StartDate"; @SerializedName(SERIALIZED_NAME_START_DATE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/HardwareEncodingType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/HardwareEncodingType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/HardwareEncodingType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/HardwareEncodingType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/HeaderMatchType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/HeaderMatchType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/HeaderMatchType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/HeaderMatchType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/HttpHeaderInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/HttpHeaderInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/HttpHeaderInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/HttpHeaderInfo.java index 8ae2a032a6d..06d41917c98 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/HttpHeaderInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/HttpHeaderInfo.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * HttpHeaderInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class HttpHeaderInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/IPlugin.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/IPlugin.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/IPlugin.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/IPlugin.java index 0b1d0130426..c741277b534 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/IPlugin.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/IPlugin.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Defines the MediaBrowser.Common.Plugins.IPlugin. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class IPlugin { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/IgnoreWaitRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/IgnoreWaitRequestDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/IgnoreWaitRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/IgnoreWaitRequestDto.java index aafc18fc4e9..adcfe7a92fd 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/IgnoreWaitRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/IgnoreWaitRequestDto.java @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Class IgnoreWaitRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class IgnoreWaitRequestDto { public static final String SERIALIZED_NAME_IGNORE_WAIT = "IgnoreWait"; @SerializedName(SERIALIZED_NAME_IGNORE_WAIT) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageByNameInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageByNameInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageByNameInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageByNameInfo.java index c3ed04ea5d2..004d53aea65 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageByNameInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageByNameInfo.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * ImageByNameInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ImageByNameInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageFormat.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageFormat.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageFormat.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageFormat.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageInfo.java index 32b45463414..1a73f1d00fb 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageInfo.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Class ImageInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ImageInfo { public static final String SERIALIZED_NAME_IMAGE_TYPE = "ImageType"; @SerializedName(SERIALIZED_NAME_IMAGE_TYPE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageOption.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageOption.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageOption.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageOption.java index 615fcf3bc85..3334eade54f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageOption.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageOption.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * ImageOption */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ImageOption { public static final String SERIALIZED_NAME_TYPE = "Type"; @SerializedName(SERIALIZED_NAME_TYPE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageOrientation.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageOrientation.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageOrientation.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageOrientation.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageProviderInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageProviderInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageProviderInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageProviderInfo.java index 6fb30d1c071..0d39f788775 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageProviderInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageProviderInfo.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class ImageProviderInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ImageProviderInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageSavingConvention.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageSavingConvention.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageSavingConvention.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageSavingConvention.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ImageType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ImageType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/InstallationInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/InstallationInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/InstallationInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/InstallationInfo.java index bed64280671..6c4e7b6d8c6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/InstallationInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/InstallationInfo.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class InstallationInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class InstallationInfo { public static final String SERIALIZED_NAME_GUID = "Guid"; @SerializedName(SERIALIZED_NAME_GUID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/IsoType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/IsoType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/IsoType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/IsoType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ItemCounts.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ItemCounts.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ItemCounts.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ItemCounts.java index fac807892cf..1491629bd21 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ItemCounts.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ItemCounts.java @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Class LibrarySummary. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ItemCounts { public static final String SERIALIZED_NAME_MOVIE_COUNT = "MovieCount"; @SerializedName(SERIALIZED_NAME_MOVIE_COUNT) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ItemFields.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ItemFields.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ItemFields.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ItemFields.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ItemFilter.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ItemFilter.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ItemFilter.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ItemFilter.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/JoinGroupRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/JoinGroupRequestDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/JoinGroupRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/JoinGroupRequestDto.java index 88be1bb433a..cb50ebc4827 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/JoinGroupRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/JoinGroupRequestDto.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class JoinGroupRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class JoinGroupRequestDto { public static final String SERIALIZED_NAME_GROUP_ID = "GroupId"; @SerializedName(SERIALIZED_NAME_GROUP_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/KeepUntil.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/KeepUntil.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/KeepUntil.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/KeepUntil.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LibraryOptionInfoDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LibraryOptionInfoDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LibraryOptionInfoDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LibraryOptionInfoDto.java index 751d1af40ec..92610b61d29 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LibraryOptionInfoDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LibraryOptionInfoDto.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Library option info dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LibraryOptionInfoDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LibraryOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LibraryOptions.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LibraryOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LibraryOptions.java index 94fb2c76733..1ea21cc2b25 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LibraryOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LibraryOptions.java @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * LibraryOptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LibraryOptions { public static final String SERIALIZED_NAME_ENABLE_PHOTOS = "EnablePhotos"; @SerializedName(SERIALIZED_NAME_ENABLE_PHOTOS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LibraryOptionsResultDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LibraryOptionsResultDto.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LibraryOptionsResultDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LibraryOptionsResultDto.java index 176dca0fdf0..f752ba5cc40 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LibraryOptionsResultDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LibraryOptionsResultDto.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * Library options result dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LibraryOptionsResultDto { public static final String SERIALIZED_NAME_METADATA_SAVERS = "MetadataSavers"; @SerializedName(SERIALIZED_NAME_METADATA_SAVERS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LibraryTypeOptionsDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LibraryTypeOptionsDto.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LibraryTypeOptionsDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LibraryTypeOptionsDto.java index eb532b11c1c..48343c72052 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LibraryTypeOptionsDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LibraryTypeOptionsDto.java @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * Library type options dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LibraryTypeOptionsDto { public static final String SERIALIZED_NAME_TYPE = "Type"; @SerializedName(SERIALIZED_NAME_TYPE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LibraryUpdateInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LibraryUpdateInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LibraryUpdateInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LibraryUpdateInfo.java index 7ca61b71c4c..0eb4f9cb7ab 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LibraryUpdateInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LibraryUpdateInfo.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Class LibraryUpdateInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LibraryUpdateInfo { public static final String SERIALIZED_NAME_FOLDERS_ADDED_TO = "FoldersAddedTo"; @SerializedName(SERIALIZED_NAME_FOLDERS_ADDED_TO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ListingsProviderInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ListingsProviderInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ListingsProviderInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ListingsProviderInfo.java index bc8a9faf89c..136c70fb862 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ListingsProviderInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ListingsProviderInfo.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * ListingsProviderInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ListingsProviderInfo { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LiveStreamResponse.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LiveStreamResponse.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LiveStreamResponse.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LiveStreamResponse.java index d5fec4c0fa6..7fcfb78a0e1 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LiveStreamResponse.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LiveStreamResponse.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * LiveStreamResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LiveStreamResponse { public static final String SERIALIZED_NAME_MEDIA_SOURCE = "MediaSource"; @SerializedName(SERIALIZED_NAME_MEDIA_SOURCE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LiveTvInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LiveTvInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LiveTvInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LiveTvInfo.java index 9c7d835f4af..00e77bd8063 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LiveTvInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LiveTvInfo.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * LiveTvInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LiveTvInfo { public static final String SERIALIZED_NAME_SERVICES = "Services"; @SerializedName(SERIALIZED_NAME_SERVICES) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LiveTvOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LiveTvOptions.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LiveTvOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LiveTvOptions.java index 63b5b889a2f..f96c3c87487 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LiveTvOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LiveTvOptions.java @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * LiveTvOptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LiveTvOptions { public static final String SERIALIZED_NAME_GUIDE_DAYS = "GuideDays"; @SerializedName(SERIALIZED_NAME_GUIDE_DAYS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LiveTvServiceInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LiveTvServiceInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LiveTvServiceInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LiveTvServiceInfo.java index 2c2f0fb3e48..ed5542b1cd5 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LiveTvServiceInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LiveTvServiceInfo.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * Class ServiceInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LiveTvServiceInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LiveTvServiceStatus.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LiveTvServiceStatus.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LiveTvServiceStatus.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LiveTvServiceStatus.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LocalizationOption.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LocalizationOption.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LocalizationOption.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LocalizationOption.java index 10c78ab92a8..29e3ff78ab8 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LocalizationOption.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LocalizationOption.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * LocalizationOption */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LocalizationOption { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LocationType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LocationType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LocationType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LocationType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LogFile.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LogFile.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LogFile.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LogFile.java index 4665cea467d..b6adcca9ff5 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LogFile.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LogFile.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * LogFile */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class LogFile { public static final String SERIALIZED_NAME_DATE_CREATED = "DateCreated"; @SerializedName(SERIALIZED_NAME_DATE_CREATED) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LogLevel.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LogLevel.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LogLevel.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/LogLevel.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaAttachment.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaAttachment.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaAttachment.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaAttachment.java index c72c51ea9cf..42be429bc33 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaAttachment.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaAttachment.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class MediaAttachment. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MediaAttachment { public static final String SERIALIZED_NAME_CODEC = "Codec"; @SerializedName(SERIALIZED_NAME_CODEC) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaEncoderPathDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaEncoderPathDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaEncoderPathDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaEncoderPathDto.java index 6d9b9b6b179..4ad2364ad15 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaEncoderPathDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaEncoderPathDto.java @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Media Encoder Path Dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MediaEncoderPathDto { public static final String SERIALIZED_NAME_PATH = "Path"; @SerializedName(SERIALIZED_NAME_PATH) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaPathDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaPathDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaPathDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaPathDto.java index a6c96f720d4..2a74bd14e5c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaPathDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaPathDto.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Media Path dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MediaPathDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaPathInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaPathInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaPathInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaPathInfo.java index f292893929f..85b24a41bf7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaPathInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaPathInfo.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * MediaPathInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MediaPathInfo { public static final String SERIALIZED_NAME_PATH = "Path"; @SerializedName(SERIALIZED_NAME_PATH) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaProtocol.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaProtocol.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaProtocol.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaProtocol.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaSourceInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaSourceInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaSourceInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaSourceInfo.java index 2ed3ca2f3f3..74f2c3fbb30 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaSourceInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaSourceInfo.java @@ -61,7 +61,7 @@ import org.openapitools.client.JSON; /** * MediaSourceInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MediaSourceInfo { public static final String SERIALIZED_NAME_PROTOCOL = "Protocol"; @SerializedName(SERIALIZED_NAME_PROTOCOL) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaSourceType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaSourceType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaSourceType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaSourceType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaStream.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaStream.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaStream.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaStream.java index 174ed7ac326..14fdcf0c6e1 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaStream.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaStream.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class MediaStream. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MediaStream { public static final String SERIALIZED_NAME_CODEC = "Codec"; @SerializedName(SERIALIZED_NAME_CODEC) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaStreamType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaStreamType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaStreamType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaStreamType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaUpdateInfoDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaUpdateInfoDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaUpdateInfoDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaUpdateInfoDto.java index bfde6420d3c..54c45c70777 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaUpdateInfoDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaUpdateInfoDto.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Media Update Info Dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MediaUpdateInfoDto { public static final String SERIALIZED_NAME_UPDATES = "Updates"; @SerializedName(SERIALIZED_NAME_UPDATES) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaUpdateInfoPathDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaUpdateInfoPathDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaUpdateInfoPathDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaUpdateInfoPathDto.java index 2bb9e8d7754..a9de789bd50 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaUpdateInfoPathDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaUpdateInfoPathDto.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * The media update info path. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MediaUpdateInfoPathDto { public static final String SERIALIZED_NAME_PATH = "Path"; @SerializedName(SERIALIZED_NAME_PATH) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaUrl.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaUrl.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaUrl.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaUrl.java index c658ab5ddb2..f8f630c5d96 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MediaUrl.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MediaUrl.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * MediaUrl */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MediaUrl { public static final String SERIALIZED_NAME_URL = "Url"; @SerializedName(SERIALIZED_NAME_URL) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MessageCommand.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MessageCommand.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MessageCommand.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MessageCommand.java index 88ae327b3f2..c912754c202 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MessageCommand.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MessageCommand.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * MessageCommand */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MessageCommand { public static final String SERIALIZED_NAME_HEADER = "Header"; @SerializedName(SERIALIZED_NAME_HEADER) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MetadataConfiguration.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MetadataConfiguration.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MetadataConfiguration.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MetadataConfiguration.java index 445b330f921..57b0cf51b1a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MetadataConfiguration.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MetadataConfiguration.java @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * MetadataConfiguration */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MetadataConfiguration { public static final String SERIALIZED_NAME_USE_FILE_CREATION_TIME_FOR_DATE_ADDED = "UseFileCreationTimeForDateAdded"; @SerializedName(SERIALIZED_NAME_USE_FILE_CREATION_TIME_FOR_DATE_ADDED) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MetadataEditorInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MetadataEditorInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MetadataEditorInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MetadataEditorInfo.java index e5830c4d9f5..8fbbb22edc3 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MetadataEditorInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MetadataEditorInfo.java @@ -56,7 +56,7 @@ import org.openapitools.client.JSON; /** * MetadataEditorInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MetadataEditorInfo { public static final String SERIALIZED_NAME_PARENTAL_RATING_OPTIONS = "ParentalRatingOptions"; @SerializedName(SERIALIZED_NAME_PARENTAL_RATING_OPTIONS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MetadataField.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MetadataField.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MetadataField.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MetadataField.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MetadataOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MetadataOptions.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MetadataOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MetadataOptions.java index 068f40a0ff2..3a72eee3fb9 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MetadataOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MetadataOptions.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class MetadataOptions. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MetadataOptions { public static final String SERIALIZED_NAME_ITEM_TYPE = "ItemType"; @SerializedName(SERIALIZED_NAME_ITEM_TYPE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MetadataRefreshMode.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MetadataRefreshMode.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MetadataRefreshMode.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MetadataRefreshMode.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MovePlaylistItemRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MovePlaylistItemRequestDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MovePlaylistItemRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MovePlaylistItemRequestDto.java index 12e06862ead..2017edcaf3b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MovePlaylistItemRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MovePlaylistItemRequestDto.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class MovePlaylistItemRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MovePlaylistItemRequestDto { public static final String SERIALIZED_NAME_PLAYLIST_ITEM_ID = "PlaylistItemId"; @SerializedName(SERIALIZED_NAME_PLAYLIST_ITEM_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MovieInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MovieInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MovieInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MovieInfo.java index d2e7384ffc6..0b51adcc026 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MovieInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MovieInfo.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * MovieInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MovieInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MovieInfoRemoteSearchQuery.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MovieInfoRemoteSearchQuery.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MovieInfoRemoteSearchQuery.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MovieInfoRemoteSearchQuery.java index 1f760b388d2..670c295a671 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MovieInfoRemoteSearchQuery.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MovieInfoRemoteSearchQuery.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * MovieInfoRemoteSearchQuery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MovieInfoRemoteSearchQuery { public static final String SERIALIZED_NAME_SEARCH_INFO = "SearchInfo"; @SerializedName(SERIALIZED_NAME_SEARCH_INFO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MusicVideoInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MusicVideoInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MusicVideoInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MusicVideoInfo.java index 359e9226ac0..583fe9c762c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MusicVideoInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MusicVideoInfo.java @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * MusicVideoInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MusicVideoInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MusicVideoInfoRemoteSearchQuery.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MusicVideoInfoRemoteSearchQuery.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MusicVideoInfoRemoteSearchQuery.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MusicVideoInfoRemoteSearchQuery.java index c507238c258..a043a4e27ea 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/MusicVideoInfoRemoteSearchQuery.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/MusicVideoInfoRemoteSearchQuery.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * MusicVideoInfoRemoteSearchQuery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class MusicVideoInfoRemoteSearchQuery { public static final String SERIALIZED_NAME_SEARCH_INFO = "SearchInfo"; @SerializedName(SERIALIZED_NAME_SEARCH_INFO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NameGuidPair.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NameGuidPair.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NameGuidPair.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NameGuidPair.java index f1609126566..764ac626382 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NameGuidPair.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NameGuidPair.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * NameGuidPair */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class NameGuidPair { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NameIdPair.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NameIdPair.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NameIdPair.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NameIdPair.java index 0321ec2b16d..0b2c3da4332 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NameIdPair.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NameIdPair.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * NameIdPair */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class NameIdPair { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NameValuePair.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NameValuePair.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NameValuePair.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NameValuePair.java index 788ad510d58..09b23402bbb 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NameValuePair.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NameValuePair.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * NameValuePair */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class NameValuePair { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NetworkConfiguration.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NetworkConfiguration.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NetworkConfiguration.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NetworkConfiguration.java index 6713083783f..265b41df5e7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NetworkConfiguration.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NetworkConfiguration.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Defines the Jellyfin.Networking.Configuration.NetworkConfiguration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class NetworkConfiguration { public static final String SERIALIZED_NAME_REQUIRE_HTTPS = "RequireHttps"; @SerializedName(SERIALIZED_NAME_REQUIRE_HTTPS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NewGroupRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NewGroupRequestDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NewGroupRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NewGroupRequestDto.java index 09c1fcdf63a..dfa140c3b91 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NewGroupRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NewGroupRequestDto.java @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Class NewGroupRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class NewGroupRequestDto { public static final String SERIALIZED_NAME_GROUP_NAME = "GroupName"; @SerializedName(SERIALIZED_NAME_GROUP_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NextItemRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NextItemRequestDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NextItemRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NextItemRequestDto.java index 836402eaae7..4fe476086f1 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NextItemRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NextItemRequestDto.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class NextItemRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class NextItemRequestDto { public static final String SERIALIZED_NAME_PLAYLIST_ITEM_ID = "PlaylistItemId"; @SerializedName(SERIALIZED_NAME_PLAYLIST_ITEM_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationDto.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationDto.java index 2753cfaea31..c567b3898e3 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationDto.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * The notification DTO. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class NotificationDto { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationLevel.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationLevel.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationLevel.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationLevel.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationOption.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationOption.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationOption.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationOption.java index b017eb4e6b3..d1bd701d830 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationOption.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationOption.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * NotificationOption */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class NotificationOption { public static final String SERIALIZED_NAME_TYPE = "Type"; @SerializedName(SERIALIZED_NAME_TYPE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationOptions.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationOptions.java index 5bf15735b0b..febe313067e 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationOptions.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * NotificationOptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class NotificationOptions { public static final String SERIALIZED_NAME_OPTIONS = "Options"; @SerializedName(SERIALIZED_NAME_OPTIONS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationResultDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationResultDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationResultDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationResultDto.java index 087bd0cf953..34966f21ba1 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationResultDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationResultDto.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * A list of notifications with the total record count for pagination. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class NotificationResultDto { public static final String SERIALIZED_NAME_NOTIFICATIONS = "Notifications"; @SerializedName(SERIALIZED_NAME_NOTIFICATIONS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationTypeInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationTypeInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationTypeInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationTypeInfo.java index be6152fbfc3..c6c0bdf0c3a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationTypeInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationTypeInfo.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * NotificationTypeInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class NotificationTypeInfo { public static final String SERIALIZED_NAME_TYPE = "Type"; @SerializedName(SERIALIZED_NAME_TYPE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationsSummaryDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationsSummaryDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationsSummaryDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationsSummaryDto.java index 69ce9f1fa96..3f5f004f61e 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationsSummaryDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/NotificationsSummaryDto.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * The notification summary DTO. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class NotificationsSummaryDto { public static final String SERIALIZED_NAME_UNREAD_COUNT = "UnreadCount"; @SerializedName(SERIALIZED_NAME_UNREAD_COUNT) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ObjectGroupUpdate.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ObjectGroupUpdate.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ObjectGroupUpdate.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ObjectGroupUpdate.java index a24164da226..bed2b5b0352 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ObjectGroupUpdate.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ObjectGroupUpdate.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class GroupUpdate. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ObjectGroupUpdate { public static final String SERIALIZED_NAME_GROUP_ID = "GroupId"; @SerializedName(SERIALIZED_NAME_GROUP_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/OpenLiveStreamDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/OpenLiveStreamDto.java similarity index 95% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/OpenLiveStreamDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/OpenLiveStreamDto.java index ba4007b29c7..34c9435efc4 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/OpenLiveStreamDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/OpenLiveStreamDto.java @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * Open live stream dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class OpenLiveStreamDto { public static final String SERIALIZED_NAME_OPEN_TOKEN = "OpenToken"; @SerializedName(SERIALIZED_NAME_OPEN_TOKEN) @@ -339,7 +339,7 @@ public class OpenLiveStreamDto { } /** - * Gets or sets the device profile. + * A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play. <br /> Specifically, it defines the supported <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles\">containers</see> and <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles\">codecs</see> (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles\">containers/codecs to transcode to</see> in case it isn't. * @return deviceProfile */ @javax.annotation.Nullable diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PackageInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PackageInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PackageInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PackageInfo.java index b9c52f6fdeb..aa8cae477bf 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PackageInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PackageInfo.java @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * Class PackageInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PackageInfo { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ParentalRating.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ParentalRating.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ParentalRating.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ParentalRating.java index 8450e2f3302..a723e068986 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ParentalRating.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ParentalRating.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class ParentalRating. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ParentalRating { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PathSubstitution.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PathSubstitution.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PathSubstitution.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PathSubstitution.java index 312ae83d262..2603831aea7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PathSubstitution.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PathSubstitution.java @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Defines the MediaBrowser.Model.Configuration.PathSubstitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PathSubstitution { public static final String SERIALIZED_NAME_FROM = "From"; @SerializedName(SERIALIZED_NAME_FROM) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PersonLookupInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PersonLookupInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PersonLookupInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PersonLookupInfo.java index 7022b684f54..d0d4006e63b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PersonLookupInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PersonLookupInfo.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * PersonLookupInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PersonLookupInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PersonLookupInfoRemoteSearchQuery.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PersonLookupInfoRemoteSearchQuery.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PersonLookupInfoRemoteSearchQuery.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PersonLookupInfoRemoteSearchQuery.java index 894ab390a4e..7de7aca9854 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PersonLookupInfoRemoteSearchQuery.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PersonLookupInfoRemoteSearchQuery.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * PersonLookupInfoRemoteSearchQuery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PersonLookupInfoRemoteSearchQuery { public static final String SERIALIZED_NAME_SEARCH_INFO = "SearchInfo"; @SerializedName(SERIALIZED_NAME_SEARCH_INFO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PinRedeemResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PinRedeemResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PinRedeemResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PinRedeemResult.java index ebedd183f81..bad32c2b225 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PinRedeemResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PinRedeemResult.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * PinRedeemResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PinRedeemResult { public static final String SERIALIZED_NAME_SUCCESS = "Success"; @SerializedName(SERIALIZED_NAME_SUCCESS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PingRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PingRequestDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PingRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PingRequestDto.java index 318b1ef1120..3c5e4b63c12 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PingRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PingRequestDto.java @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Class PingRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PingRequestDto { public static final String SERIALIZED_NAME_PING = "Ping"; @SerializedName(SERIALIZED_NAME_PING) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlayAccess.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlayAccess.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlayAccess.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlayAccess.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlayCommand.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlayCommand.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlayCommand.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlayCommand.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlayMethod.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlayMethod.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlayMethod.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlayMethod.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlayRequest.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlayRequest.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlayRequest.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlayRequest.java index 09de1664017..96a25d9cb32 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlayRequest.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlayRequest.java @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * Class PlayRequest. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlayRequest { public static final String SERIALIZED_NAME_ITEM_IDS = "ItemIds"; @SerializedName(SERIALIZED_NAME_ITEM_IDS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlayRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlayRequestDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlayRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlayRequestDto.java index 3712d8af590..f45dd3e3092 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlayRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlayRequestDto.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class PlayRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlayRequestDto { public static final String SERIALIZED_NAME_PLAYING_QUEUE = "PlayingQueue"; @SerializedName(SERIALIZED_NAME_PLAYING_QUEUE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaybackErrorCode.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaybackErrorCode.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaybackErrorCode.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaybackErrorCode.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaybackInfoDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaybackInfoDto.java similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaybackInfoDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaybackInfoDto.java index 6b994946f54..5b6ddd4e96c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaybackInfoDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaybackInfoDto.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Plabyback info dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlaybackInfoDto { public static final String SERIALIZED_NAME_USER_ID = "UserId"; @SerializedName(SERIALIZED_NAME_USER_ID) @@ -289,7 +289,7 @@ public class PlaybackInfoDto { } /** - * Gets or sets the device profile. + * A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play. <br /> Specifically, it defines the supported <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles\">containers</see> and <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles\">codecs</see> (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles\">containers/codecs to transcode to</see> in case it isn't. * @return deviceProfile */ @javax.annotation.Nullable diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaybackInfoResponse.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaybackInfoResponse.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaybackInfoResponse.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaybackInfoResponse.java index f82e229277d..ac51b43dd97 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaybackInfoResponse.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaybackInfoResponse.java @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * Class PlaybackInfoResponse. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlaybackInfoResponse { public static final String SERIALIZED_NAME_MEDIA_SOURCES = "MediaSources"; @SerializedName(SERIALIZED_NAME_MEDIA_SOURCES) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaybackProgressInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaybackProgressInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaybackProgressInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaybackProgressInfo.java index 19886f5471a..b521c0af615 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaybackProgressInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaybackProgressInfo.java @@ -56,7 +56,7 @@ import org.openapitools.client.JSON; /** * Class PlaybackProgressInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlaybackProgressInfo { public static final String SERIALIZED_NAME_CAN_SEEK = "CanSeek"; @SerializedName(SERIALIZED_NAME_CAN_SEEK) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaybackStartInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaybackStartInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaybackStartInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaybackStartInfo.java index e2622356377..ece23505a06 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaybackStartInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaybackStartInfo.java @@ -56,7 +56,7 @@ import org.openapitools.client.JSON; /** * Class PlaybackStartInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlaybackStartInfo { public static final String SERIALIZED_NAME_CAN_SEEK = "CanSeek"; @SerializedName(SERIALIZED_NAME_CAN_SEEK) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaybackStopInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaybackStopInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaybackStopInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaybackStopInfo.java index 62221f5f062..6ed742ec4ba 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaybackStopInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaybackStopInfo.java @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * Class PlaybackStopInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlaybackStopInfo { public static final String SERIALIZED_NAME_ITEM = "Item"; @SerializedName(SERIALIZED_NAME_ITEM) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlayerStateInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlayerStateInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlayerStateInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlayerStateInfo.java index 75fed98c0f6..79f427e6081 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlayerStateInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlayerStateInfo.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * PlayerStateInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlayerStateInfo { public static final String SERIALIZED_NAME_POSITION_TICKS = "PositionTicks"; @SerializedName(SERIALIZED_NAME_POSITION_TICKS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaylistCreationResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaylistCreationResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaylistCreationResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaylistCreationResult.java index 6311263b85d..19b57746baa 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaylistCreationResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaylistCreationResult.java @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * PlaylistCreationResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlaylistCreationResult { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaystateCommand.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaystateCommand.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PlaystateCommand.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaystateCommand.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaystateRequest.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaystateRequest.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaystateRequest.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaystateRequest.java index 0055aecc730..e3a65ad8d45 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PlaystateRequest.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PlaystateRequest.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * PlaystateRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PlaystateRequest { public static final String SERIALIZED_NAME_COMMAND = "Command"; @SerializedName(SERIALIZED_NAME_COMMAND) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PluginInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PluginInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PluginInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PluginInfo.java index 3ada1e9db3d..c54aded2979 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/PluginInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PluginInfo.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * This is a serializable stub class that is used by the api to provide information about installed plugins. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PluginInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PluginStatus.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PluginStatus.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PluginStatus.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PluginStatus.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PreviousItemRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PreviousItemRequestDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PreviousItemRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PreviousItemRequestDto.java index 5ef3895bd24..c2127dec385 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PreviousItemRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PreviousItemRequestDto.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class PreviousItemRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PreviousItemRequestDto { public static final String SERIALIZED_NAME_PLAYLIST_ITEM_ID = "PlaylistItemId"; @SerializedName(SERIALIZED_NAME_PLAYLIST_ITEM_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ProblemDetails.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ProblemDetails.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ProblemDetails.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ProblemDetails.java index 0722a1cbd41..ded28c1e29d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ProblemDetails.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ProblemDetails.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * ProblemDetails */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ProblemDetails { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ProfileCondition.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ProfileCondition.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ProfileCondition.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ProfileCondition.java index 8a33f08008c..bfde5bf8e93 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ProfileCondition.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ProfileCondition.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * ProfileCondition */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ProfileCondition { public static final String SERIALIZED_NAME_CONDITION = "Condition"; @SerializedName(SERIALIZED_NAME_CONDITION) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ProfileConditionType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ProfileConditionType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ProfileConditionType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ProfileConditionType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ProfileConditionValue.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ProfileConditionValue.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ProfileConditionValue.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ProfileConditionValue.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ProgramAudio.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ProgramAudio.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ProgramAudio.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ProgramAudio.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PublicSystemInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PublicSystemInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PublicSystemInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PublicSystemInfo.java index c4dfcb4d1ba..23e98744b96 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/PublicSystemInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/PublicSystemInfo.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * PublicSystemInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class PublicSystemInfo { public static final String SERIALIZED_NAME_LOCAL_ADDRESS = "LocalAddress"; @SerializedName(SERIALIZED_NAME_LOCAL_ADDRESS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/QueryFilters.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/QueryFilters.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/QueryFilters.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/QueryFilters.java index 2edb50fb351..4c757c26f3f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/QueryFilters.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/QueryFilters.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * QueryFilters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class QueryFilters { public static final String SERIALIZED_NAME_GENRES = "Genres"; @SerializedName(SERIALIZED_NAME_GENRES) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/QueryFiltersLegacy.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/QueryFiltersLegacy.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/QueryFiltersLegacy.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/QueryFiltersLegacy.java index 78649c3c71d..4e31eb09884 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/QueryFiltersLegacy.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/QueryFiltersLegacy.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * QueryFiltersLegacy */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class QueryFiltersLegacy { public static final String SERIALIZED_NAME_GENRES = "Genres"; @SerializedName(SERIALIZED_NAME_GENRES) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/QueueItem.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/QueueItem.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/QueueItem.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/QueueItem.java index 7f4d5d38b43..0ccda776e99 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/QueueItem.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/QueueItem.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * QueueItem */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class QueueItem { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/QueueRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/QueueRequestDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/QueueRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/QueueRequestDto.java index 1ad6f7023a7..4b6ab0435c1 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/QueueRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/QueueRequestDto.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * Class QueueRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class QueueRequestDto { public static final String SERIALIZED_NAME_ITEM_IDS = "ItemIds"; @SerializedName(SERIALIZED_NAME_ITEM_IDS) @@ -100,7 +100,7 @@ public class QueueRequestDto { } /** - * Gets or sets the mode in which to add the new items. + * Enum GroupQueueMode. * @return mode */ @javax.annotation.Nullable diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/QuickConnectDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/QuickConnectDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/QuickConnectDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/QuickConnectDto.java index c95ac600f4d..6ff0ca4ab53 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/QuickConnectDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/QuickConnectDto.java @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * The quick connect request body. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class QuickConnectDto { public static final String SERIALIZED_NAME_SECRET = "Secret"; @SerializedName(SERIALIZED_NAME_SECRET) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/QuickConnectResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/QuickConnectResult.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/QuickConnectResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/QuickConnectResult.java index 6111257a635..27a86fd8131 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/QuickConnectResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/QuickConnectResult.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Stores the state of an quick connect request. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class QuickConnectResult { public static final String SERIALIZED_NAME_AUTHENTICATED = "Authenticated"; @SerializedName(SERIALIZED_NAME_AUTHENTICATED) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RatingType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RatingType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RatingType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RatingType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReadyRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ReadyRequestDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReadyRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ReadyRequestDto.java index 5e444c286bb..b55c1c6237c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReadyRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ReadyRequestDto.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Class ReadyRequest. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ReadyRequestDto { public static final String SERIALIZED_NAME_WHEN = "When"; @SerializedName(SERIALIZED_NAME_WHEN) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RecommendationDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RecommendationDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RecommendationDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RecommendationDto.java index f2423fd6f95..ec7e9afbc77 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RecommendationDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RecommendationDto.java @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * RecommendationDto */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class RecommendationDto { public static final String SERIALIZED_NAME_ITEMS = "Items"; @SerializedName(SERIALIZED_NAME_ITEMS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RecommendationType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RecommendationType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RecommendationType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RecommendationType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RecordingStatus.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RecordingStatus.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RecordingStatus.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RecordingStatus.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RemoteImageInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RemoteImageInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RemoteImageInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RemoteImageInfo.java index eb47689c022..4042d105dcc 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RemoteImageInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RemoteImageInfo.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class RemoteImageInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class RemoteImageInfo { public static final String SERIALIZED_NAME_PROVIDER_NAME = "ProviderName"; @SerializedName(SERIALIZED_NAME_PROVIDER_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RemoteImageResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RemoteImageResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RemoteImageResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RemoteImageResult.java index 07df1886c3a..f72958858e8 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RemoteImageResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RemoteImageResult.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * Class RemoteImageResult. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class RemoteImageResult { public static final String SERIALIZED_NAME_IMAGES = "Images"; @SerializedName(SERIALIZED_NAME_IMAGES) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RemoteSearchResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RemoteSearchResult.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RemoteSearchResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RemoteSearchResult.java index def126ee255..40b9e44b491 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RemoteSearchResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RemoteSearchResult.java @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * RemoteSearchResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class RemoteSearchResult { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RemoteSubtitleInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RemoteSubtitleInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RemoteSubtitleInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RemoteSubtitleInfo.java index ec18a86007b..3b694ac28df 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RemoteSubtitleInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RemoteSubtitleInfo.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * RemoteSubtitleInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class RemoteSubtitleInfo { public static final String SERIALIZED_NAME_THREE_LETTER_I_S_O_LANGUAGE_NAME = "ThreeLetterISOLanguageName"; @SerializedName(SERIALIZED_NAME_THREE_LETTER_I_S_O_LANGUAGE_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RemoveFromPlaylistRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RemoveFromPlaylistRequestDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RemoveFromPlaylistRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RemoveFromPlaylistRequestDto.java index 58d2801c46d..6f1f6ddac82 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RemoveFromPlaylistRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RemoveFromPlaylistRequestDto.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class RemoveFromPlaylistRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class RemoveFromPlaylistRequestDto { public static final String SERIALIZED_NAME_PLAYLIST_ITEM_IDS = "PlaylistItemIds"; @SerializedName(SERIALIZED_NAME_PLAYLIST_ITEM_IDS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RepeatMode.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RepeatMode.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RepeatMode.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RepeatMode.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RepositoryInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RepositoryInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RepositoryInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RepositoryInfo.java index ac2519eb08b..b835fc244c5 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/RepositoryInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/RepositoryInfo.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class RepositoryInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class RepositoryInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ResponseProfile.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ResponseProfile.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ResponseProfile.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ResponseProfile.java index 70f765fbca7..2313fd4f2c2 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ResponseProfile.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ResponseProfile.java @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * ResponseProfile */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ResponseProfile { public static final String SERIALIZED_NAME_CONTAINER = "Container"; @SerializedName(SERIALIZED_NAME_CONTAINER) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ScrollDirection.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ScrollDirection.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ScrollDirection.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ScrollDirection.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SearchHint.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SearchHint.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SearchHint.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SearchHint.java index 3d83565320a..b8170120fbb 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SearchHint.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SearchHint.java @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * Class SearchHintResult. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SearchHint { public static final String SERIALIZED_NAME_ITEM_ID = "ItemId"; @SerializedName(SERIALIZED_NAME_ITEM_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SearchHintResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SearchHintResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SearchHintResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SearchHintResult.java index 80ab052f9d6..6aa47bfee70 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SearchHintResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SearchHintResult.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class SearchHintResult. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SearchHintResult { public static final String SERIALIZED_NAME_SEARCH_HINTS = "SearchHints"; @SerializedName(SERIALIZED_NAME_SEARCH_HINTS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SeekRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SeekRequestDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SeekRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SeekRequestDto.java index bc5dfb09c2b..ab343674b88 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SeekRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SeekRequestDto.java @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Class SeekRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SeekRequestDto { public static final String SERIALIZED_NAME_POSITION_TICKS = "PositionTicks"; @SerializedName(SERIALIZED_NAME_POSITION_TICKS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SendCommand.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SendCommand.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SendCommand.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SendCommand.java index f4a152b121d..311e2821922 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SendCommand.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SendCommand.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * Class SendCommand. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SendCommand { public static final String SERIALIZED_NAME_GROUP_ID = "GroupId"; @SerializedName(SERIALIZED_NAME_GROUP_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SendCommandType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SendCommandType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SendCommandType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SendCommandType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SendToUserType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SendToUserType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SendToUserType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SendToUserType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SeriesInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SeriesInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SeriesInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SeriesInfo.java index e4166466972..608c02a379a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SeriesInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SeriesInfo.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * SeriesInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SeriesInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SeriesInfoRemoteSearchQuery.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SeriesInfoRemoteSearchQuery.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SeriesInfoRemoteSearchQuery.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SeriesInfoRemoteSearchQuery.java index 822a3f6b8ee..c9ac90c3bac 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SeriesInfoRemoteSearchQuery.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SeriesInfoRemoteSearchQuery.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * SeriesInfoRemoteSearchQuery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SeriesInfoRemoteSearchQuery { public static final String SERIALIZED_NAME_SEARCH_INFO = "SearchInfo"; @SerializedName(SERIALIZED_NAME_SEARCH_INFO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SeriesStatus.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SeriesStatus.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SeriesStatus.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SeriesStatus.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SeriesTimerInfoDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SeriesTimerInfoDto.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SeriesTimerInfoDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SeriesTimerInfoDto.java index 5129e3b7fa5..b0591329def 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SeriesTimerInfoDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SeriesTimerInfoDto.java @@ -58,7 +58,7 @@ import org.openapitools.client.JSON; /** * Class SeriesTimerInfoDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SeriesTimerInfoDto { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SeriesTimerInfoDtoQueryResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SeriesTimerInfoDtoQueryResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SeriesTimerInfoDtoQueryResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SeriesTimerInfoDtoQueryResult.java index 13f1aea41b5..03172f5b11a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SeriesTimerInfoDtoQueryResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SeriesTimerInfoDtoQueryResult.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * SeriesTimerInfoDtoQueryResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SeriesTimerInfoDtoQueryResult { public static final String SERIALIZED_NAME_ITEMS = "Items"; @SerializedName(SERIALIZED_NAME_ITEMS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ServerConfiguration.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ServerConfiguration.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ServerConfiguration.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ServerConfiguration.java index 5f8ad027e2b..d8a6572e682 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ServerConfiguration.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ServerConfiguration.java @@ -56,7 +56,7 @@ import org.openapitools.client.JSON; /** * Represents the server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ServerConfiguration { public static final String SERIALIZED_NAME_LOG_FILE_RETENTION_DAYS = "LogFileRetentionDays"; @SerializedName(SERIALIZED_NAME_LOG_FILE_RETENTION_DAYS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ServerDiscoveryInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ServerDiscoveryInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ServerDiscoveryInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ServerDiscoveryInfo.java index 652cb25a5f2..c91a888f967 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ServerDiscoveryInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ServerDiscoveryInfo.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * The server discovery info model. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ServerDiscoveryInfo { public static final String SERIALIZED_NAME_ADDRESS = "Address"; @SerializedName(SERIALIZED_NAME_ADDRESS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SessionInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SessionInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SessionInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SessionInfo.java index cc598d35acd..8af0665d966 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SessionInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SessionInfo.java @@ -61,7 +61,7 @@ import org.openapitools.client.JSON; /** * Class SessionInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SessionInfo { public static final String SERIALIZED_NAME_PLAY_STATE = "PlayState"; @SerializedName(SERIALIZED_NAME_PLAY_STATE) @@ -479,7 +479,7 @@ public class SessionInfo { } /** - * This is strictly used as a data transfer object from the api layer. This holds information about a BaseItem in a format that is convenient for the client. + * Gets or sets the now playing item. * @return nowPlayingItem */ @javax.annotation.Nullable diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SessionMessageType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SessionMessageType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SessionMessageType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SessionMessageType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SessionUserInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SessionUserInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SessionUserInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SessionUserInfo.java index 20a16623d98..b919a819a5d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SessionUserInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SessionUserInfo.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Class SessionUserInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SessionUserInfo { public static final String SERIALIZED_NAME_USER_ID = "UserId"; @SerializedName(SERIALIZED_NAME_USER_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SetChannelMappingDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SetChannelMappingDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SetChannelMappingDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SetChannelMappingDto.java index 1a5304c5d69..1d9671f15dd 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SetChannelMappingDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SetChannelMappingDto.java @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Set channel mapping dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SetChannelMappingDto { public static final String SERIALIZED_NAME_PROVIDER_ID = "ProviderId"; @SerializedName(SERIALIZED_NAME_PROVIDER_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SetPlaylistItemRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SetPlaylistItemRequestDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SetPlaylistItemRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SetPlaylistItemRequestDto.java index 03e76aaacd5..58b01514047 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SetPlaylistItemRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SetPlaylistItemRequestDto.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class SetPlaylistItemRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SetPlaylistItemRequestDto { public static final String SERIALIZED_NAME_PLAYLIST_ITEM_ID = "PlaylistItemId"; @SerializedName(SERIALIZED_NAME_PLAYLIST_ITEM_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SetRepeatModeRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SetRepeatModeRequestDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SetRepeatModeRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SetRepeatModeRequestDto.java index cd352561a62..f49d9abf7fa 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SetRepeatModeRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SetRepeatModeRequestDto.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class SetRepeatModeRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SetRepeatModeRequestDto { public static final String SERIALIZED_NAME_MODE = "Mode"; @SerializedName(SERIALIZED_NAME_MODE) @@ -65,7 +65,7 @@ public class SetRepeatModeRequestDto { } /** - * Gets or sets the repeat mode. + * Enum GroupRepeatMode. * @return mode */ @javax.annotation.Nullable diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SetShuffleModeRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SetShuffleModeRequestDto.java similarity index 97% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SetShuffleModeRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SetShuffleModeRequestDto.java index fb32b742d2b..d7316ca0d02 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SetShuffleModeRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SetShuffleModeRequestDto.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class SetShuffleModeRequestDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SetShuffleModeRequestDto { public static final String SERIALIZED_NAME_MODE = "Mode"; @SerializedName(SERIALIZED_NAME_MODE) @@ -65,7 +65,7 @@ public class SetShuffleModeRequestDto { } /** - * Gets or sets the shuffle mode. + * Enum GroupShuffleMode. * @return mode */ @javax.annotation.Nullable diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SongInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SongInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SongInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SongInfo.java index c9079d805dd..f26f960b1e6 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SongInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SongInfo.java @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * SongInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SongInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SortOrder.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SortOrder.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SortOrder.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SortOrder.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SpecialViewOptionDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SpecialViewOptionDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SpecialViewOptionDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SpecialViewOptionDto.java index 052ec67d6be..ed7a4492d0b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SpecialViewOptionDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SpecialViewOptionDto.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Special view option dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SpecialViewOptionDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/StartupConfigurationDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/StartupConfigurationDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/StartupConfigurationDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/StartupConfigurationDto.java index b63d1ecafdd..2a6d3473dbd 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/StartupConfigurationDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/StartupConfigurationDto.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * The startup configuration DTO. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class StartupConfigurationDto { public static final String SERIALIZED_NAME_UI_CULTURE = "UICulture"; @SerializedName(SERIALIZED_NAME_UI_CULTURE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/StartupRemoteAccessDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/StartupRemoteAccessDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/StartupRemoteAccessDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/StartupRemoteAccessDto.java index 5ac1f6c4f46..923bd25938b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/StartupRemoteAccessDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/StartupRemoteAccessDto.java @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Startup remote access dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class StartupRemoteAccessDto { public static final String SERIALIZED_NAME_ENABLE_REMOTE_ACCESS = "EnableRemoteAccess"; @SerializedName(SERIALIZED_NAME_ENABLE_REMOTE_ACCESS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/StartupUserDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/StartupUserDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/StartupUserDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/StartupUserDto.java index 187c417d33b..a01ef5e9101 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/StartupUserDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/StartupUserDto.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * The startup user DTO. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class StartupUserDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SubtitleDeliveryMethod.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SubtitleDeliveryMethod.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SubtitleDeliveryMethod.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SubtitleDeliveryMethod.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SubtitleOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SubtitleOptions.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SubtitleOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SubtitleOptions.java index b4bed239d88..751be9964c3 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SubtitleOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SubtitleOptions.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * SubtitleOptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SubtitleOptions { public static final String SERIALIZED_NAME_SKIP_IF_EMBEDDED_SUBTITLES_PRESENT = "SkipIfEmbeddedSubtitlesPresent"; @SerializedName(SERIALIZED_NAME_SKIP_IF_EMBEDDED_SUBTITLES_PRESENT) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SubtitlePlaybackMode.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SubtitlePlaybackMode.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SubtitlePlaybackMode.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SubtitlePlaybackMode.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SubtitleProfile.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SubtitleProfile.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SubtitleProfile.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SubtitleProfile.java index 5d102d527a1..fc7ab724213 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/SubtitleProfile.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SubtitleProfile.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * SubtitleProfile */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SubtitleProfile { public static final String SERIALIZED_NAME_FORMAT = "Format"; @SerializedName(SERIALIZED_NAME_FORMAT) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SyncPlayUserAccessType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SyncPlayUserAccessType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SyncPlayUserAccessType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SyncPlayUserAccessType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SystemInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SystemInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SystemInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SystemInfo.java index e24ca1c5b4a..343d42f081b 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/SystemInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/SystemInfo.java @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * Class SystemInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class SystemInfo { public static final String SERIALIZED_NAME_LOCAL_ADDRESS = "LocalAddress"; @SerializedName(SERIALIZED_NAME_LOCAL_ADDRESS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TaskCompletionStatus.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TaskCompletionStatus.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TaskCompletionStatus.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TaskCompletionStatus.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TaskInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TaskInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TaskInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TaskInfo.java index fad55790cc4..ae37650a2ca 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TaskInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TaskInfo.java @@ -54,7 +54,7 @@ import org.openapitools.client.JSON; /** * Class TaskInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TaskInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TaskResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TaskResult.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TaskResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TaskResult.java index c943a010f9a..670f8513433 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TaskResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TaskResult.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Class TaskExecutionInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TaskResult { public static final String SERIALIZED_NAME_START_TIME_UTC = "StartTimeUtc"; @SerializedName(SERIALIZED_NAME_START_TIME_UTC) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TaskState.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TaskState.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TaskState.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TaskState.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TaskTriggerInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TaskTriggerInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TaskTriggerInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TaskTriggerInfo.java index 9ca3561ee8c..f9fee079834 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TaskTriggerInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TaskTriggerInfo.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Class TaskTriggerInfo. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TaskTriggerInfo { public static final String SERIALIZED_NAME_TYPE = "Type"; @SerializedName(SERIALIZED_NAME_TYPE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ThemeMediaResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ThemeMediaResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ThemeMediaResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ThemeMediaResult.java index d7862bf8963..73ab3c69f07 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ThemeMediaResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ThemeMediaResult.java @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * Class ThemeMediaResult. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ThemeMediaResult { public static final String SERIALIZED_NAME_ITEMS = "Items"; @SerializedName(SERIALIZED_NAME_ITEMS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TimerEventInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TimerEventInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TimerEventInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TimerEventInfo.java index 527ed794339..9d19ac4bd7d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TimerEventInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TimerEventInfo.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * TimerEventInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TimerEventInfo { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TimerInfoDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TimerInfoDto.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TimerInfoDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TimerInfoDto.java index 7a0402cd901..5cb1780432d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TimerInfoDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TimerInfoDto.java @@ -56,7 +56,7 @@ import org.openapitools.client.JSON; /** * TimerInfoDto */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TimerInfoDto { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TimerInfoDtoQueryResult.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TimerInfoDtoQueryResult.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TimerInfoDtoQueryResult.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TimerInfoDtoQueryResult.java index a5b6d564eaf..49e7580003c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TimerInfoDtoQueryResult.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TimerInfoDtoQueryResult.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * TimerInfoDtoQueryResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TimerInfoDtoQueryResult { public static final String SERIALIZED_NAME_ITEMS = "Items"; @SerializedName(SERIALIZED_NAME_ITEMS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TrailerInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TrailerInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TrailerInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TrailerInfo.java index 663c5df754f..184838809cc 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TrailerInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TrailerInfo.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * TrailerInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TrailerInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TrailerInfoRemoteSearchQuery.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TrailerInfoRemoteSearchQuery.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TrailerInfoRemoteSearchQuery.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TrailerInfoRemoteSearchQuery.java index 700292060b0..751915d91cc 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TrailerInfoRemoteSearchQuery.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TrailerInfoRemoteSearchQuery.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * TrailerInfoRemoteSearchQuery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TrailerInfoRemoteSearchQuery { public static final String SERIALIZED_NAME_SEARCH_INFO = "SearchInfo"; @SerializedName(SERIALIZED_NAME_SEARCH_INFO) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TranscodeReason.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TranscodeReason.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TranscodeReason.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TranscodeReason.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TranscodeSeekInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TranscodeSeekInfo.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TranscodeSeekInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TranscodeSeekInfo.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TranscodingInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TranscodingInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TranscodingInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TranscodingInfo.java index 3dd1a14af56..d36cab8eeeb 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TranscodingInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TranscodingInfo.java @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * TranscodingInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TranscodingInfo { public static final String SERIALIZED_NAME_AUDIO_CODEC = "AudioCodec"; @SerializedName(SERIALIZED_NAME_AUDIO_CODEC) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TranscodingProfile.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TranscodingProfile.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TranscodingProfile.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TranscodingProfile.java index 9fe0be65707..b598436a5f0 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TranscodingProfile.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TranscodingProfile.java @@ -55,7 +55,7 @@ import org.openapitools.client.JSON; /** * TranscodingProfile */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TranscodingProfile { public static final String SERIALIZED_NAME_CONTAINER = "Container"; @SerializedName(SERIALIZED_NAME_CONTAINER) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TransportStreamTimestamp.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TransportStreamTimestamp.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TransportStreamTimestamp.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TransportStreamTimestamp.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TunerChannelMapping.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TunerChannelMapping.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TunerChannelMapping.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TunerChannelMapping.java index 3a479d64814..3b38979ef27 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TunerChannelMapping.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TunerChannelMapping.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * TunerChannelMapping */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TunerChannelMapping { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TunerHostInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TunerHostInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TunerHostInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TunerHostInfo.java index 7f2d062744a..e4c8d25ce64 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/TunerHostInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TunerHostInfo.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * TunerHostInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TunerHostInfo { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TypeOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TypeOptions.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TypeOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TypeOptions.java index cb1e8f46769..d428a9479d3 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/TypeOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/TypeOptions.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * TypeOptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class TypeOptions { public static final String SERIALIZED_NAME_TYPE = "Type"; @SerializedName(SERIALIZED_NAME_TYPE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UnratedItem.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UnratedItem.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UnratedItem.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UnratedItem.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UpdateLibraryOptionsDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UpdateLibraryOptionsDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UpdateLibraryOptionsDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UpdateLibraryOptionsDto.java index b31075f91a0..8ed6bf0747a 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UpdateLibraryOptionsDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UpdateLibraryOptionsDto.java @@ -51,7 +51,7 @@ import org.openapitools.client.JSON; /** * Update library options dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class UpdateLibraryOptionsDto { public static final String SERIALIZED_NAME_ID = "Id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UpdateMediaPathRequestDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UpdateMediaPathRequestDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UpdateMediaPathRequestDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UpdateMediaPathRequestDto.java index 368f8ed2f0f..b1dc9658a4c 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UpdateMediaPathRequestDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UpdateMediaPathRequestDto.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Update library options dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class UpdateMediaPathRequestDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UpdateUserEasyPassword.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UpdateUserEasyPassword.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UpdateUserEasyPassword.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UpdateUserEasyPassword.java index af8c4d73792..c7d9bbe718d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UpdateUserEasyPassword.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UpdateUserEasyPassword.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * The update user easy password request body. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class UpdateUserEasyPassword { public static final String SERIALIZED_NAME_NEW_PASSWORD = "NewPassword"; @SerializedName(SERIALIZED_NAME_NEW_PASSWORD) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UpdateUserPassword.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UpdateUserPassword.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UpdateUserPassword.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UpdateUserPassword.java index 65395dd9d6f..03edf524f3f 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UpdateUserPassword.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UpdateUserPassword.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * The update user password request body. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class UpdateUserPassword { public static final String SERIALIZED_NAME_CURRENT_PASSWORD = "CurrentPassword"; @SerializedName(SERIALIZED_NAME_CURRENT_PASSWORD) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UploadSubtitleDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UploadSubtitleDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UploadSubtitleDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UploadSubtitleDto.java index 3bf3b48c780..a2e5fb3c33d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UploadSubtitleDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UploadSubtitleDto.java @@ -48,7 +48,7 @@ import org.openapitools.client.JSON; /** * Upload subtitles dto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class UploadSubtitleDto { public static final String SERIALIZED_NAME_LANGUAGE = "Language"; @SerializedName(SERIALIZED_NAME_LANGUAGE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UserConfiguration.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UserConfiguration.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UserConfiguration.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UserConfiguration.java index 9de9c1f411d..ec1a84d3464 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UserConfiguration.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UserConfiguration.java @@ -52,7 +52,7 @@ import org.openapitools.client.JSON; /** * Class UserConfiguration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class UserConfiguration { public static final String SERIALIZED_NAME_AUDIO_LANGUAGE_PREFERENCE = "AudioLanguagePreference"; @SerializedName(SERIALIZED_NAME_AUDIO_LANGUAGE_PREFERENCE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UserDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UserDto.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UserDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UserDto.java index 18f3a857f0f..26a171922f7 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UserDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UserDto.java @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * Class UserDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class UserDto { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UserItemDataDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UserItemDataDto.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UserItemDataDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UserItemDataDto.java index 06ade0cd23d..c48f3438daa 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UserItemDataDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UserItemDataDto.java @@ -50,7 +50,7 @@ import org.openapitools.client.JSON; /** * Class UserItemDataDto. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class UserItemDataDto { public static final String SERIALIZED_NAME_RATING = "Rating"; @SerializedName(SERIALIZED_NAME_RATING) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UserPolicy.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UserPolicy.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UserPolicy.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UserPolicy.java index 458934a2aa1..681945deae8 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/UserPolicy.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UserPolicy.java @@ -55,7 +55,7 @@ import org.openapitools.client.JSON; /** * UserPolicy */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class UserPolicy { public static final String SERIALIZED_NAME_IS_ADMINISTRATOR = "IsAdministrator"; @SerializedName(SERIALIZED_NAME_IS_ADMINISTRATOR) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UtcTimeResponse.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UtcTimeResponse.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UtcTimeResponse.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UtcTimeResponse.java index b06d4e4a0db..b24cb9b87ab 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/UtcTimeResponse.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/UtcTimeResponse.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Class UtcTimeResponse. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class UtcTimeResponse { public static final String SERIALIZED_NAME_REQUEST_RECEPTION_TIME = "RequestReceptionTime"; @SerializedName(SERIALIZED_NAME_REQUEST_RECEPTION_TIME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ValidatePathDto.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ValidatePathDto.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ValidatePathDto.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ValidatePathDto.java index 7efa9c703d6..fd70cac3d5d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ValidatePathDto.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/ValidatePathDto.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Validate path object. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class ValidatePathDto { public static final String SERIALIZED_NAME_VALIDATE_WRITABLE = "ValidateWritable"; @SerializedName(SERIALIZED_NAME_VALIDATE_WRITABLE) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/VersionInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/VersionInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/VersionInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/VersionInfo.java index 7f7b85e112a..c7f02184546 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/VersionInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/VersionInfo.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Defines the MediaBrowser.Model.Updates.VersionInfo class. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class VersionInfo { public static final String SERIALIZED_NAME_VERSION = "version"; @SerializedName(SERIALIZED_NAME_VERSION) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/Video3DFormat.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/Video3DFormat.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/Video3DFormat.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/Video3DFormat.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/VideoType.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/VideoType.java similarity index 100% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/VideoType.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/VideoType.java diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/VirtualFolderInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/VirtualFolderInfo.java similarity index 99% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/VirtualFolderInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/VirtualFolderInfo.java index 9880fd55fea..e6ef6d0473d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/VirtualFolderInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/VirtualFolderInfo.java @@ -53,7 +53,7 @@ import org.openapitools.client.JSON; /** * Used to hold information about a user's list of configured virtual folders. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class VirtualFolderInfo { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/WakeOnLanInfo.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/WakeOnLanInfo.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/WakeOnLanInfo.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/WakeOnLanInfo.java index 1ffb063bdf0..95ba41d9484 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/WakeOnLanInfo.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/WakeOnLanInfo.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Provides the MAC address and port for wake-on-LAN functionality. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class WakeOnLanInfo { public static final String SERIALIZED_NAME_MAC_ADDRESS = "MacAddress"; @SerializedName(SERIALIZED_NAME_MAC_ADDRESS) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/XbmcMetadataOptions.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/XbmcMetadataOptions.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/XbmcMetadataOptions.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/XbmcMetadataOptions.java index 4e39881c462..dd2b924a675 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/XbmcMetadataOptions.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/XbmcMetadataOptions.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * XbmcMetadataOptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class XbmcMetadataOptions { public static final String SERIALIZED_NAME_USER_ID = "UserId"; @SerializedName(SERIALIZED_NAME_USER_ID) diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/XmlAttribute.java b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/XmlAttribute.java similarity index 98% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/XmlAttribute.java rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/XmlAttribute.java index 99170f550bb..531582afb1e 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/XmlAttribute.java +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/generated/10.8.13/src/main/java/org/openapitools/client/model/XmlAttribute.java @@ -49,7 +49,7 @@ import org.openapitools.client.JSON; /** * Defines the MediaBrowser.Model.Dlna.XmlAttribute. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-27T20:32:44.334408221+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") public class XmlAttribute { public static final String SERIALIZED_NAME_NAME = "Name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/openapitools.json b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/openapitools.json new file mode 100644 index 00000000000..89430c43c28 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/openapitools.json @@ -0,0 +1,7 @@ +{ + "$schema": "./specifications/json/config.schema.json", + "spaces": 2, + "generator-cli": { + "version": "7.10.0" + } +} \ No newline at end of file diff --git a/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/specifications/json/config.schema.json b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/specifications/json/config.schema.json new file mode 100644 index 00000000000..84aaf692617 --- /dev/null +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/specifications/json/config.schema.json @@ -0,0 +1,520 @@ +{ + "$id": "https://openapitools.org/openapi-generator-cli/config.schema.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "OpenAPI Generator CLI - Config", + "type": "object", + "required": ["generator-cli"], + "additionalProperties": false, + "properties": { + "$schema": { + "type": "string" + }, + "spaces": { + "type": "number", + "default": 2 + }, + "generator-cli": { + "type": "object", + "required": ["version"], + "properties": { + "version": { + "type": "string" + }, + "storageDir": { + "type": "string" + }, + "repository": { + "queryUrl": { + "type": "string", + "default": "https://search.maven.org/solrsearch/select?q=g:${group.id}+AND+a:${artifact.id}&core=gav&start=0&rows=200" + }, + "downloadUrl": { + "type": "string", + "default": "https://repo1.maven.org/maven2/${groupId}/${artifactId}/${versionName}/${artifactId}-${versionName}.jar" + } + }, + "useDocker": { + "type": "boolean", + "default": false + }, + "dockerImageName": { + "type": "string", + "default": "openapitools/openapi-generator-cli" + }, + "generators": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/generator" + } + } + } + } + }, + "definitions": { + "strOrAnyObject": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "additionalProperties": true + } + ] + }, + "generator": { + "type": "object", + "anyOf": [ + { + "required": ["inputSpec", "output", "generatorName"] + }, + { + "required": ["glob", "output", "generatorName"] + } + ], + "properties": { + "glob": { + "description": "matches local specification files using a glob pattern", + "type": "string", + "minLength": 1 + }, + "output": { + "type": "string", + "minLength": 1 + }, + "disabled": { + "type": "boolean", + "default": false + }, + "generatorName": { + "description": "generator to use (see list command for list)", + "anyOf": [ + { + "type": "string" + }, + { + "type": "string", + "enum": [ + "ada", + "ada-server", + "android", + "apache2", + "apex", + "asciidoc", + "aspnetcore", + "avro-schema", + "bash", + "c", + "clojure", + "cpp-pistache-server", + "cpp-qt5-client", + "cpp-qt5-qhttpengine-server", + "cpp-restbed-server", + "cpp-restsdk", + "cpp-tizen", + "csharp", + "csharp-nancyfx", + "csharp-netcore", + "cwiki", + "dart", + "dart-dio", + "dart-jaguar", + "dynamic-html", + "eiffel", + "elixir", + "elm", + "erlang-client", + "erlang-proper", + "erlang-server", + "flash", + "fsharp-functions", + "fsharp-giraffe-server", + "go", + "go-experimental", + "go-gin-server", + "go-server", + "graphql-nodejs-express-server", + "graphql-schema", + "groovy", + "haskell", + "haskell-http-client", + "html", + "html2", + "java", + "java-inflector", + "java-msf4j", + "java-pkmst", + "java-play-framework", + "java-undertow-server", + "java-vertx", + "java-vertx-web", + "javascript", + "javascript-apollo", + "javascript-closure-angular", + "javascript-flowtyped", + "jaxrs-cxf", + "jaxrs-cxf-cdi", + "jaxrs-cxf-client", + "jaxrs-cxf-extended", + "jaxrs-jersey", + "jaxrs-resteasy", + "jaxrs-resteasy-eap", + "jaxrs-spec", + "jmeter", + "k6", + "kotlin", + "kotlin-server", + "kotlin-spring", + "kotlin-vertx", + "lua", + "markdown", + "mysql-schema", + "nim", + "nodejs-express-server", + "objc", + "ocaml", + "openapi", + "openapi-yaml", + "perl", + "php", + "php-laravel", + "php-lumen", + "php-silex", + "php-slim4", + "php-symfony", + "php-ze-ph", + "powershell", + "powershell-experimental", + "protobuf-schema", + "python", + "python-aiohttp", + "python-blueplanet", + "python-experimental", + "python-flask", + "r", + "ruby", + "ruby-on-rails", + "ruby-sinatra", + "rust", + "rust-server", + "scala-akka", + "scala-akka-http-server", + "scala-finch", + "scala-gatling", + "scala-lagom-server", + "scala-play-server", + "scala-sttp", + "scalatra", + "scalaz", + "spring", + "swift4", + "swift5", + "typescript-angular", + "typescript-angularjs", + "typescript-aurelia", + "typescript-axios", + "typescript-fetch", + "typescript-inversify", + "typescript-jquery", + "typescript-node", + "typescript-redux-query", + "typescript-rxjs" + ] + } + ] + }, + "auth": { + "type": "string", + "description": "adds authorization headers when fetching the OpenAPI definitions remotely. Pass in a URL-encoded string of name:header with a comma separating multiple values" + }, + "apiNameSuffix": { + "type": "string", + "description": "suffix that will be appended to all API names ('tags'). Default: Api. e.g. Pet => PetApi. Note: Only ruby, python, jaxrs generators support this feature at the moment" + }, + "apiPackage": { + "type": "string", + "description": "package for generated api classes" + }, + "artifactId": { + "type": "string", + "description": "artifactId in generated pom.xml. This also becomes part of the generated library's filename" + }, + "artifactVersion": { + "type": "string", + "description": "artifact version in generated pom.xml. This also becomes part of the generated library's filename" + }, + "config": { + "type": "string", + "description": "path to configuration file. It can be JSON or YAML" + }, + "dryRun": { + "type": "boolean", + "description": "try things out and report on potential changes (without actually making changes)" + }, + "engine": { + "type": "string", + "enum": ["mustache", "handlebars"], + "description": "templating engine: \"mustache\" (default) or \"handlebars\" (beta)" + }, + "enablePostProcessFile": { + "type": "boolean", + "description": "enable post-processing file using environment variables" + }, + "generateAliasAsModel": { + "type": "boolean", + "description": "generate model implementation for aliases to map and array schemas. An 'alias' is an array, map, or list which is defined inline in a OpenAPI document and becomes a model in the generated code. A 'map' schema is an object that can have undeclared properties, i.e. the 'additionalproperties' attribute is set on that object. An 'array' schema is a list of sub schemas in a OAS document" + }, + "gitHost": { + "type": "string", + "description": "git host, e.g. gitlab.com" + }, + "gitRepoId": { + "type": "string", + "description": "git repo ID, e.g. openapi-generator" + }, + "gitUserId": { + "type": "string", + "description": "git user ID, e.g. openapitools" + }, + "globalProperty": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "additionalProperties": true + } + ], + "description": "sets specified global properties (previously called 'system properties') in the format of name=value,name=value (or multiple options, each with name=value)" + }, + "groupId": { + "type": "string", + "description": "groupId in generated pom.xml" + }, + "httpUserAgent": { + "type": "string", + "description": "HTTP user agent, e.g. codegen_csharp_api_client, default to 'OpenAPI-Generator/{packageVersion}}/{language}'" + }, + "inputSpec": { + "type": "string", + "description": "location of the OpenAPI spec, as URL or file (required if not loaded via config using -c)" + }, + "ignoreFileOverride": { + "type": "string", + "description": "specifies an override location for the .openapi-generator-ignore file. Most useful on initial generation.\n" + }, + "importMappings": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "additionalProperties": true + } + ], + "description": "specifies mappings between a given class and the import that should be used for that class in the format of type=import,type=import. You can also have multiple occurrences of this option" + }, + "instantiationTypes": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "additionalProperties": true + } + ], + "description": "sets instantiation type mappings in the format of type=instantiatedType,type=instantiatedType.For example (in Java): array=ArrayList,map=HashMap. In other words array types will get instantiated as ArrayList in generated code. You can also have multiple occurrences of this option" + }, + "invokerPackage": { + "type": "string", + "description": "root package for generated code" + }, + "languageSpecificPrimitives": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "additionalProperties": true + } + ], + "description": "specifies additional language specific primitive types in the format of type1,type2,type3,type3. For example: String,boolean,Boolean,Double. You can also have multiple occurrences of this option" + }, + "legacyDiscriminatorBehavior": { + "type": "boolean", + "description": "this flag is used by OpenAPITools codegen to influence the processing of the discriminator attribute in OpenAPI documents. This flag has no impact if the OAS document does not use the discriminator attribute. The default value of this flag is set in each language-specific code generator (e.g. Python, Java, go...)using the method toModelName. Note to developers supporting a language generator in OpenAPITools; to fully support the discriminator attribute as defined in the OAS specification 3.x, language generators should set this flag to true by default; however this requires updating the mustache templates to generate a language-specific discriminator lookup function that iterates over {{#mappedModels}} and does not iterate over {{children}}, {{#anyOf}}, or {{#oneOf}}" + }, + "library": { + "type": "string", + "description": "library template (sub-template)" + }, + "logToStderr": { + "type": "boolean", + "description": "write all log messages (not just errors) to STDOUT. Useful for piping the JSON output of debug options (e.g. `-DdebugOperations`) to an external parser directly while testing a generator" + }, + "minimalUpdate": { + "type": "boolean", + "description": "only write output files that have changed" + }, + "modelNamePrefix": { + "type": "string", + "description": "prefix that will be prepended to all model names" + }, + "modelNameSuffix": { + "type": "string", + "description": "suffix that will be appended to all model names" + }, + "modelPackage": { + "type": "string", + "description": "package for generated models" + }, + "additionalProperties": { + "description": "sets additional properties that can be referenced by the mustache templates in the format of name=value,name=value. You can also have multiple occurrences of this option", + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "additionalProperties": true + } + ] + }, + "openapi-normalizer": { + "description": "OpenAPI Normalizer transforms the input OpenAPI doc/spec (which may not perfectly conform to the specification) to make it workable with OpenAPI Generator.", + "type": "object", + "properties": { + "ADD_UNSIGNED_TO_INTEGER_WITH_INVALID_MAX_VALUE": { + "description": "when set to true, auto fix integer with maximum value 4294967295 (2^32-1) or long with 18446744073709551615 (2^64-1) by adding x-unsigned to the schema", + "type": "boolean" + }, + "FILTER": { + "description": "When set to operationId:addPet|getPetById for example, it will add x-internal:true to operations with operationId not equal to addPet/getPetById (which will have x-internal set to false) so that these operations marked as internal won't be generated", + "type": "string" + }, + "KEEP_ONLY_FIRST_TAG_IN_OPERATION": { + "description": "when set to true, only keep the first tag in operation if there are more than one tag defined", + "type": "boolean" + }, + "REF_AS_PARENT_IN_ALLOF": { + "description": "when set to true, child schemas in allOf is considered a parent if it's a $ref (instead of inline schema)", + "type": "boolean" + }, + "REFACTOR_ALLOF_WITH_PROPERTIES_ONLY": { + "description": "When set to true, refactor schema with allOf and properties in the same level to a schema with allOf only and, the allOf contains a new schema containing the properties in the top level", + "type": "boolean" + }, + "REMOVE_ANYOF_ONEOF_AND_KEEP_PROPERTIES_ONLY": { + "description": "when set to true, oneOf/anyOf schema with only required properies only in a schema with properties will be removed", + "type": "boolean" + }, + "REMOVE_X_INTERNAL": { + "description": "Set to true if you want to disable the default behavior of removing/hiding the x-internal in operations and model", + "type": "boolean" + }, + "SET_CONTAINER_TO_NULLABLE": { + "description": "When set to array|set|map (or just array) for example, it will set nullable in array, set and map to true", + "type": "string" + }, + "SET_PRIMITIVE_TYPES_TO_NULLABLE": { + "description": "When set to string|integer|number|boolean (or just string) for example, it will set the type to nullable (nullable: true)", + "type": "string" + }, + "SET_TAGS_FOR_ALL_OPERATIONS": { + "description": "when set to a string value, tags in all operations will reset to the string value provided", + "type": "boolean" + }, + "SET_TAGS_TO_OPERATIONID": { + "description": "when set to true, tags in all operations will be set to operationId or \"default\" if operationId is empty", + "type": "boolean" + }, + "SIMPLIFY_ANYOF_STRING_AND_ENUM_STRING": { + "description": "when set to true, simplify anyOf schema with string and enum of string to just string", + "type": "boolean" + }, + "SIMPLIFY_BOOLEAN_ENUM": { + "description": "when set to true, convert boolean enum to just enum", + "type": "boolean" + }, + "SIMPLIFY_ONEOF_ANYOF": { + "description": "when set to true, simplify oneOf/anyOf by 1) removing null (sub-schema) or enum of null (sub-schema) and setting nullable to true instead, and 2) simplifying oneOf/anyOf with a single sub-schema to just the sub-schema itself", + "type": "boolean" + } + } + }, + "packageName": { + "type": "string", + "description": "package for generated classes (where supported)" + }, + "releaseNote": { + "type": "string", + "description": "release note, default to 'Minor update'" + }, + "removeOperationIdPrefix": { + "type": "boolean", + "description": "remove prefix of operationId, e.g. config_getId => getId" + }, + "reservedWordsMappings": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "additionalProperties": true + } + ], + "description": "specifies how a reserved name should be escaped to. Otherwise, the default _ is used. For example id=identifier. You can also have multiple occurrences of this option" + }, + "skipOverwrite": { + "type": "boolean", + "description": "specifies if the existing files should be overwritten during the generation" + }, + "serverVariables": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "additionalProperties": true + } + ], + "description": "sets server variables overrides for spec documents which support variable templating of servers" + }, + "skipValidateSpec": { + "type": "boolean", + "description": "skips the default behavior of validating an input specification" + }, + "strictSpec": { + "type": "boolean", + "description": "'MUST' and 'SHALL' wording in OpenAPI spec is strictly adhered to. e.g. when false, no fixes will be applied to documents which pass validation but don't follow the spec" + }, + "templateDir": { + "type": "string", + "description": "folder containing the template files" + }, + "typeMappings": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "additionalProperties": true + } + ], + "description": "sets mappings between OpenAPI spec types and generated code types in the format of OpenAPIType=generatedType,OpenAPIType=generatedType. For example: array=List,map=Map,string=String. You can also have multiple occurrences of this option" + }, + "verbose": { + "type": "boolean", + "description": "verbose mode" + } + } + } + } +} diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/jellyfin-openapi-10.10.3.json b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/specifications/json/jellyfin-openapi-10.10.3.json similarity index 86% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/jellyfin-openapi-10.10.3.json rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/specifications/json/jellyfin-openapi-10.10.3.json index 2992207ced9..13c9f6ca977 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/jellyfin-openapi-10.10.3.json +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/specifications/json/jellyfin-openapi-10.10.3.json @@ -2,12 +2,12 @@ "openapi": "3.0.1", "info": { "title": "Jellyfin API", - "version": "10.8.13", - "x-jellyfin-version": "10.8.13" + "version": "10.10.3", + "x-jellyfin-version": "10.10.3" }, "servers": [ { - "url": "http://nuc.ehrendingen:8096" + "url": "http://localhost" } ], "paths": { @@ -321,7 +321,7 @@ "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/MediaType" } } }, @@ -504,7 +504,7 @@ "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/ItemSortBy" } } }, @@ -575,6 +575,70 @@ ] } }, + "/Artists/{name}": { + "get": { + "tags": [ + "Artists" + ], + "summary": "Gets an artist by name.", + "operationId": "GetArtistByName", + "parameters": [ + { + "name": "name", + "in": "path", + "description": "Studio name.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "userId", + "in": "query", + "description": "Optional. Filter by user id, and attach user data.", + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Artist returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/Artists/AlbumArtists": { "get": { "tags": [ @@ -686,7 +750,7 @@ "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/MediaType" } } }, @@ -869,7 +933,7 @@ "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/ItemSortBy" } } }, @@ -940,70 +1004,6 @@ ] } }, - "/Artists/{name}": { - "get": { - "tags": [ - "Artists" - ], - "summary": "Gets an artist by name.", - "operationId": "GetArtistByName", - "parameters": [ - { - "name": "name", - "in": "path", - "description": "Studio name.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "query", - "description": "Optional. Filter by user id, and attach user data.", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Artist returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Audio/{itemId}/stream": { "get": { "tags": [ @@ -1059,6 +1059,7 @@ "name": "deviceProfileId", "in": "query", "description": "Optional. The dlna device profile id to utilize.", + "deprecated": true, "schema": { "type": "string" } @@ -1117,7 +1118,7 @@ { "name": "audioCodec", "in": "query", - "description": "Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma.", + "description": "Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -1292,6 +1293,13 @@ "in": "query", "description": "Optional. Specify the subtitle delivery method.", "schema": { + "enum": [ + "Encode", + "Embed", + "External", + "Hls", + "Drop" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitleDeliveryMethod" @@ -1378,7 +1386,7 @@ { "name": "videoCodec", "in": "query", - "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.", + "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -1424,6 +1432,10 @@ "in": "query", "description": "Optional. The MediaBrowser.Model.Dlna.EncodingContext.", "schema": { + "enum": [ + "Streaming", + "Static" + ], "allOf": [ { "$ref": "#/components/schemas/EncodingContext" @@ -1442,6 +1454,15 @@ "nullable": true } } + }, + { + "name": "enableAudioVbrEncoding", + "in": "query", + "description": "Optional. Whether to enable Audio Encoding.", + "schema": { + "type": "boolean", + "default": true + } } ], "responses": { @@ -1512,6 +1533,7 @@ "name": "deviceProfileId", "in": "query", "description": "Optional. The dlna device profile id to utilize.", + "deprecated": true, "schema": { "type": "string" } @@ -1570,7 +1592,7 @@ { "name": "audioCodec", "in": "query", - "description": "Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma.", + "description": "Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -1745,6 +1767,13 @@ "in": "query", "description": "Optional. Specify the subtitle delivery method.", "schema": { + "enum": [ + "Encode", + "Embed", + "External", + "Hls", + "Drop" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitleDeliveryMethod" @@ -1831,7 +1860,7 @@ { "name": "videoCodec", "in": "query", - "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.", + "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -1877,6 +1906,10 @@ "in": "query", "description": "Optional. The MediaBrowser.Model.Dlna.EncodingContext.", "schema": { + "enum": [ + "Streaming", + "Static" + ], "allOf": [ { "$ref": "#/components/schemas/EncodingContext" @@ -1895,6 +1928,15 @@ "nullable": true } } + }, + { + "name": "enableAudioVbrEncoding", + "in": "query", + "description": "Optional. Whether to enable Audio Encoding.", + "schema": { + "type": "boolean", + "default": true + } } ], "responses": { @@ -1967,6 +2009,7 @@ "name": "deviceProfileId", "in": "query", "description": "Optional. The dlna device profile id to utilize.", + "deprecated": true, "schema": { "type": "string" } @@ -1991,7 +2034,7 @@ { "name": "segmentLength", "in": "query", - "description": "The segment lenght.", + "description": "The segment length.", "schema": { "type": "integer", "format": "int32" @@ -2025,7 +2068,7 @@ { "name": "audioCodec", "in": "query", - "description": "Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma.", + "description": "Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -2200,6 +2243,13 @@ "in": "query", "description": "Optional. Specify the subtitle delivery method.", "schema": { + "enum": [ + "Encode", + "Embed", + "External", + "Hls", + "Drop" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitleDeliveryMethod" @@ -2286,7 +2336,7 @@ { "name": "videoCodec", "in": "query", - "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.", + "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -2332,6 +2382,10 @@ "in": "query", "description": "Optional. The MediaBrowser.Model.Dlna.EncodingContext.", "schema": { + "enum": [ + "Streaming", + "Static" + ], "allOf": [ { "$ref": "#/components/schemas/EncodingContext" @@ -2350,6 +2404,15 @@ "nullable": true } } + }, + { + "name": "enableAudioVbrEncoding", + "in": "query", + "description": "Optional. Whether to enable Audio Encoding.", + "schema": { + "type": "boolean", + "default": true + } } ], "responses": { @@ -2420,6 +2483,7 @@ "name": "deviceProfileId", "in": "query", "description": "Optional. The dlna device profile id to utilize.", + "deprecated": true, "schema": { "type": "string" } @@ -2444,7 +2508,7 @@ { "name": "segmentLength", "in": "query", - "description": "The segment lenght.", + "description": "The segment length.", "schema": { "type": "integer", "format": "int32" @@ -2478,7 +2542,7 @@ { "name": "audioCodec", "in": "query", - "description": "Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma.", + "description": "Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -2653,6 +2717,13 @@ "in": "query", "description": "Optional. Specify the subtitle delivery method.", "schema": { + "enum": [ + "Encode", + "Embed", + "External", + "Hls", + "Drop" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitleDeliveryMethod" @@ -2739,7 +2810,7 @@ { "name": "videoCodec", "in": "query", - "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.", + "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -2785,6 +2856,10 @@ "in": "query", "description": "Optional. The MediaBrowser.Model.Dlna.EncodingContext.", "schema": { + "enum": [ + "Streaming", + "Static" + ], "allOf": [ { "$ref": "#/components/schemas/EncodingContext" @@ -2803,6 +2878,15 @@ "nullable": true } } + }, + { + "name": "enableAudioVbrEncoding", + "in": "query", + "description": "Optional. Whether to enable Audio Encoding.", + "schema": { + "type": "boolean", + "default": true + } } ], "responses": { @@ -3026,166 +3110,6 @@ ] } }, - "/Channels/Features": { - "get": { - "tags": [ - "Channels" - ], - "summary": "Get all channel features.", - "operationId": "GetAllChannelFeatures", - "responses": { - "200": { - "description": "All channel features returned.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ChannelFeatures" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ChannelFeatures" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ChannelFeatures" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Channels/Items/Latest": { - "get": { - "tags": [ - "Channels" - ], - "summary": "Gets latest channel items.", - "operationId": "GetLatestChannelItems", - "parameters": [ - { - "name": "userId", - "in": "query", - "description": "Optional. User Id.", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "startIndex", - "in": "query", - "description": "Optional. The record index to start at. All items with a lower index will be dropped from the results.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "limit", - "in": "query", - "description": "Optional. The maximum number of records to return.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "filters", - "in": "query", - "description": "Optional. Specify additional filters to apply.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemFilter" - } - } - }, - { - "name": "fields", - "in": "query", - "description": "Optional. Specify additional fields of information to return in the output.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemFields" - } - } - }, - { - "name": "channelIds", - "in": "query", - "description": "Optional. Specify one or more channel id's, comma delimited.", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - } - ], - "responses": { - "200": { - "description": "Latest channel items returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Channels/{channelId}/Features": { "get": { "tags": [ @@ -3325,7 +3249,7 @@ "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/ItemSortBy" } } }, @@ -3378,6 +3302,166 @@ ] } }, + "/Channels/Features": { + "get": { + "tags": [ + "Channels" + ], + "summary": "Get all channel features.", + "operationId": "GetAllChannelFeatures", + "responses": { + "200": { + "description": "All channel features returned.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ChannelFeatures" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ChannelFeatures" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ChannelFeatures" + } + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Channels/Items/Latest": { + "get": { + "tags": [ + "Channels" + ], + "summary": "Gets latest channel items.", + "operationId": "GetLatestChannelItems", + "parameters": [ + { + "name": "userId", + "in": "query", + "description": "Optional. User Id.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "startIndex", + "in": "query", + "description": "Optional. The record index to start at. All items with a lower index will be dropped from the results.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "limit", + "in": "query", + "description": "Optional. The maximum number of records to return.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filters", + "in": "query", + "description": "Optional. Specify additional filters to apply.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemFilter" + } + } + }, + { + "name": "fields", + "in": "query", + "description": "Optional. Specify additional fields of information to return in the output.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemFields" + } + } + }, + { + "name": "channelIds", + "in": "query", + "description": "Optional. Specify one or more channel id's, comma delimited.", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + } + } + ], + "responses": { + "200": { + "description": "Latest channel items returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/ClientLog/Document": { "post": { "tags": [ @@ -3546,6 +3630,7 @@ "security": [ { "CustomAuthentication": [ + "CollectionManagement", "DefaultAuthorization" ] } @@ -3598,6 +3683,7 @@ "security": [ { "CustomAuthentication": [ + "CollectionManagement", "DefaultAuthorization" ] } @@ -3648,6 +3734,7 @@ "security": [ { "CustomAuthentication": [ + "CollectionManagement", "DefaultAuthorization" ] } @@ -3760,51 +3847,6 @@ ] } }, - "/System/Configuration/MetadataOptions/Default": { - "get": { - "tags": [ - "Configuration" - ], - "summary": "Gets a default MetadataOptions object.", - "operationId": "GetDefaultMetadataOptions", - "responses": { - "200": { - "description": "Metadata options returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MetadataOptions" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/MetadataOptions" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/MetadataOptions" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation", - "DefaultAuthorization" - ] - } - ] - } - }, "/System/Configuration/{key}": { "get": { "tags": [ @@ -3903,53 +3945,34 @@ ] } }, - "/System/MediaEncoder/Path": { - "post": { + "/System/Configuration/MetadataOptions/Default": { + "get": { "tags": [ "Configuration" ], - "summary": "Updates the path to the media encoder.", - "operationId": "UpdateMediaEncoderPath", - "requestBody": { - "description": "Media encoder path form body.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MediaEncoderPathDto" - } - ], - "description": "Media Encoder Path Dto." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MediaEncoderPathDto" - } - ], - "description": "Media Encoder Path Dto." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MediaEncoderPathDto" - } - ], - "description": "Media Encoder Path Dto." + "summary": "Gets a default MetadataOptions object.", + "operationId": "GetDefaultMetadataOptions", + "responses": { + "200": { + "description": "Metadata options returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MetadataOptions" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/MetadataOptions" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/MetadataOptions" + } } } }, - "required": true - }, - "responses": { - "204": { - "description": "Media encoder path updated." - }, "401": { "description": "Unauthorized" }, @@ -3957,11 +3980,10 @@ "description": "Forbidden" } }, - "deprecated": true, "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated", + "RequiresElevation", "DefaultAuthorization" ] } @@ -4103,7 +4125,7 @@ "security": [ { "CustomAuthentication": [ - "DefaultAuthorization" + "RequiresElevation" ] } ] @@ -4117,14 +4139,6 @@ "summary": "Get Devices.", "operationId": "GetDevices", "parameters": [ - { - "name": "supportsSync", - "in": "query", - "description": "Gets or sets a value indicating whether [supports synchronize].", - "schema": { - "type": "boolean" - } - }, { "name": "userId", "in": "query", @@ -4141,17 +4155,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeviceInfoQueryResult" + "$ref": "#/components/schemas/DeviceInfoDtoQueryResult" } }, "application/json; profile=\"CamelCase\"": { "schema": { - "$ref": "#/components/schemas/DeviceInfoQueryResult" + "$ref": "#/components/schemas/DeviceInfoDtoQueryResult" } }, "application/json; profile=\"PascalCase\"": { "schema": { - "$ref": "#/components/schemas/DeviceInfoQueryResult" + "$ref": "#/components/schemas/DeviceInfoDtoQueryResult" } } } @@ -4252,17 +4266,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeviceInfo" + "$ref": "#/components/schemas/DeviceInfoDto" } }, "application/json; profile=\"CamelCase\"": { "schema": { - "$ref": "#/components/schemas/DeviceInfo" + "$ref": "#/components/schemas/DeviceInfoDto" } }, "application/json; profile=\"PascalCase\"": { "schema": { - "$ref": "#/components/schemas/DeviceInfo" + "$ref": "#/components/schemas/DeviceInfoDto" } } } @@ -4327,17 +4341,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeviceOptions" + "$ref": "#/components/schemas/DeviceOptionsDto" } }, "application/json; profile=\"CamelCase\"": { "schema": { - "$ref": "#/components/schemas/DeviceOptions" + "$ref": "#/components/schemas/DeviceOptionsDto" } }, "application/json; profile=\"PascalCase\"": { "schema": { - "$ref": "#/components/schemas/DeviceOptions" + "$ref": "#/components/schemas/DeviceOptionsDto" } } } @@ -4471,7 +4485,6 @@ "name": "userId", "in": "query", "description": "User id.", - "required": true, "schema": { "type": "string", "format": "uuid" @@ -4543,7 +4556,6 @@ "name": "userId", "in": "query", "description": "User Id.", - "required": true, "schema": { "type": "string", "format": "uuid" @@ -4615,1220 +4627,6 @@ ] } }, - "/Dlna/icons/{fileName}": { - "get": { - "tags": [ - "DlnaServer" - ], - "summary": "Gets a server icon.", - "operationId": "GetIcon", - "parameters": [ - { - "name": "fileName", - "in": "path", - "description": "The icon filename.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Request processed.", - "content": { - "image/*": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "404": { - "description": "Not Found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "503": { - "description": "DLNA is disabled." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "AnonymousLanAccessPolicy" - ] - } - ] - } - }, - "/Dlna/{serverId}/ConnectionManager": { - "get": { - "tags": [ - "DlnaServer" - ], - "summary": "Gets Dlna media receiver registrar xml.", - "operationId": "GetConnectionManager", - "parameters": [ - { - "name": "serverId", - "in": "path", - "description": "Server UUID.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Dlna media receiver registrar xml returned.", - "content": { - "text/xml": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "503": { - "description": "DLNA is disabled." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "AnonymousLanAccessPolicy" - ] - } - ] - } - }, - "/Dlna/{serverId}/ConnectionManager/ConnectionManager": { - "get": { - "tags": [ - "DlnaServer" - ], - "summary": "Gets Dlna media receiver registrar xml.", - "operationId": "GetConnectionManager_2", - "parameters": [ - { - "name": "serverId", - "in": "path", - "description": "Server UUID.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Dlna media receiver registrar xml returned.", - "content": { - "text/xml": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "503": { - "description": "DLNA is disabled." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "AnonymousLanAccessPolicy" - ] - } - ] - } - }, - "/Dlna/{serverId}/ConnectionManager/ConnectionManager.xml": { - "get": { - "tags": [ - "DlnaServer" - ], - "summary": "Gets Dlna media receiver registrar xml.", - "operationId": "GetConnectionManager_3", - "parameters": [ - { - "name": "serverId", - "in": "path", - "description": "Server UUID.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Dlna media receiver registrar xml returned.", - "content": { - "text/xml": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "503": { - "description": "DLNA is disabled." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "AnonymousLanAccessPolicy" - ] - } - ] - } - }, - "/Dlna/{serverId}/ConnectionManager/Control": { - "post": { - "tags": [ - "DlnaServer" - ], - "summary": "Process a connection manager control request.", - "operationId": "ProcessConnectionManagerControlRequest", - "parameters": [ - { - "name": "serverId", - "in": "path", - "description": "Server UUID.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Request processed.", - "content": { - "text/xml": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "503": { - "description": "DLNA is disabled." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "AnonymousLanAccessPolicy" - ] - } - ] - } - }, - "/Dlna/{serverId}/ContentDirectory": { - "get": { - "tags": [ - "DlnaServer" - ], - "summary": "Gets Dlna content directory xml.", - "operationId": "GetContentDirectory", - "parameters": [ - { - "name": "serverId", - "in": "path", - "description": "Server UUID.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Dlna content directory returned.", - "content": { - "text/xml": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "503": { - "description": "DLNA is disabled." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "AnonymousLanAccessPolicy" - ] - } - ] - } - }, - "/Dlna/{serverId}/ContentDirectory/ContentDirectory": { - "get": { - "tags": [ - "DlnaServer" - ], - "summary": "Gets Dlna content directory xml.", - "operationId": "GetContentDirectory_2", - "parameters": [ - { - "name": "serverId", - "in": "path", - "description": "Server UUID.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Dlna content directory returned.", - "content": { - "text/xml": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "503": { - "description": "DLNA is disabled." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "AnonymousLanAccessPolicy" - ] - } - ] - } - }, - "/Dlna/{serverId}/ContentDirectory/ContentDirectory.xml": { - "get": { - "tags": [ - "DlnaServer" - ], - "summary": "Gets Dlna content directory xml.", - "operationId": "GetContentDirectory_3", - "parameters": [ - { - "name": "serverId", - "in": "path", - "description": "Server UUID.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Dlna content directory returned.", - "content": { - "text/xml": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "503": { - "description": "DLNA is disabled." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "AnonymousLanAccessPolicy" - ] - } - ] - } - }, - "/Dlna/{serverId}/ContentDirectory/Control": { - "post": { - "tags": [ - "DlnaServer" - ], - "summary": "Process a content directory control request.", - "operationId": "ProcessContentDirectoryControlRequest", - "parameters": [ - { - "name": "serverId", - "in": "path", - "description": "Server UUID.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Request processed.", - "content": { - "text/xml": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "503": { - "description": "DLNA is disabled." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "AnonymousLanAccessPolicy" - ] - } - ] - } - }, - "/Dlna/{serverId}/MediaReceiverRegistrar": { - "get": { - "tags": [ - "DlnaServer" - ], - "summary": "Gets Dlna media receiver registrar xml.", - "operationId": "GetMediaReceiverRegistrar", - "parameters": [ - { - "name": "serverId", - "in": "path", - "description": "Server UUID.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Dlna media receiver registrar xml returned.", - "content": { - "text/xml": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "503": { - "description": "DLNA is disabled." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "AnonymousLanAccessPolicy" - ] - } - ] - } - }, - "/Dlna/{serverId}/MediaReceiverRegistrar/Control": { - "post": { - "tags": [ - "DlnaServer" - ], - "summary": "Process a media receiver registrar control request.", - "operationId": "ProcessMediaReceiverRegistrarControlRequest", - "parameters": [ - { - "name": "serverId", - "in": "path", - "description": "Server UUID.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Request processed.", - "content": { - "text/xml": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "503": { - "description": "DLNA is disabled." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "AnonymousLanAccessPolicy" - ] - } - ] - } - }, - "/Dlna/{serverId}/MediaReceiverRegistrar/MediaReceiverRegistrar": { - "get": { - "tags": [ - "DlnaServer" - ], - "summary": "Gets Dlna media receiver registrar xml.", - "operationId": "GetMediaReceiverRegistrar_2", - "parameters": [ - { - "name": "serverId", - "in": "path", - "description": "Server UUID.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Dlna media receiver registrar xml returned.", - "content": { - "text/xml": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "503": { - "description": "DLNA is disabled." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "AnonymousLanAccessPolicy" - ] - } - ] - } - }, - "/Dlna/{serverId}/MediaReceiverRegistrar/MediaReceiverRegistrar.xml": { - "get": { - "tags": [ - "DlnaServer" - ], - "summary": "Gets Dlna media receiver registrar xml.", - "operationId": "GetMediaReceiverRegistrar_3", - "parameters": [ - { - "name": "serverId", - "in": "path", - "description": "Server UUID.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Dlna media receiver registrar xml returned.", - "content": { - "text/xml": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "503": { - "description": "DLNA is disabled." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "AnonymousLanAccessPolicy" - ] - } - ] - } - }, - "/Dlna/{serverId}/description": { - "get": { - "tags": [ - "DlnaServer" - ], - "summary": "Get Description Xml.", - "operationId": "GetDescriptionXml", - "parameters": [ - { - "name": "serverId", - "in": "path", - "description": "Server UUID.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Description xml returned.", - "content": { - "text/xml": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "503": { - "description": "DLNA is disabled." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "AnonymousLanAccessPolicy" - ] - } - ] - } - }, - "/Dlna/{serverId}/description.xml": { - "get": { - "tags": [ - "DlnaServer" - ], - "summary": "Get Description Xml.", - "operationId": "GetDescriptionXml_2", - "parameters": [ - { - "name": "serverId", - "in": "path", - "description": "Server UUID.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Description xml returned.", - "content": { - "text/xml": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "503": { - "description": "DLNA is disabled." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "AnonymousLanAccessPolicy" - ] - } - ] - } - }, - "/Dlna/{serverId}/icons/{fileName}": { - "get": { - "tags": [ - "DlnaServer" - ], - "summary": "Gets a server icon.", - "operationId": "GetIconId", - "parameters": [ - { - "name": "serverId", - "in": "path", - "description": "Server UUID.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "fileName", - "in": "path", - "description": "The icon filename.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Request processed.", - "content": { - "image/*": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "404": { - "description": "Not Found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "503": { - "description": "DLNA is disabled." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "AnonymousLanAccessPolicy" - ] - } - ] - } - }, - "/Dlna/ProfileInfos": { - "get": { - "tags": [ - "Dlna" - ], - "summary": "Get profile infos.", - "operationId": "GetProfileInfos", - "responses": { - "200": { - "description": "Device profile infos returned.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceProfileInfo" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceProfileInfo" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceProfileInfo" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, - "/Dlna/Profiles": { - "post": { - "tags": [ - "Dlna" - ], - "summary": "Creates a profile.", - "operationId": "CreateProfile", - "requestBody": { - "description": "Device profile.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/DeviceProfile" - } - ], - "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/DeviceProfile" - } - ], - "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/DeviceProfile" - } - ], - "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - } - } - } - }, - "responses": { - "204": { - "description": "Device profile created." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, - "/Dlna/Profiles/Default": { - "get": { - "tags": [ - "Dlna" - ], - "summary": "Gets the default profile.", - "operationId": "GetDefaultProfile", - "responses": { - "200": { - "description": "Default device profile returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceProfile" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/DeviceProfile" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/DeviceProfile" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, - "/Dlna/Profiles/{profileId}": { - "get": { - "tags": [ - "Dlna" - ], - "summary": "Gets a single profile.", - "operationId": "GetProfile", - "parameters": [ - { - "name": "profileId", - "in": "path", - "description": "Profile Id.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Device profile returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceProfile" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/DeviceProfile" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/DeviceProfile" - } - } - } - }, - "404": { - "description": "Device profile not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - }, - "delete": { - "tags": [ - "Dlna" - ], - "summary": "Deletes a profile.", - "operationId": "DeleteProfile", - "parameters": [ - { - "name": "profileId", - "in": "path", - "description": "Profile id.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Device profile deleted." - }, - "404": { - "description": "Device profile not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - }, - "post": { - "tags": [ - "Dlna" - ], - "summary": "Updates a profile.", - "operationId": "UpdateProfile", - "parameters": [ - { - "name": "profileId", - "in": "path", - "description": "Profile id.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "description": "Device profile.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/DeviceProfile" - } - ], - "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/DeviceProfile" - } - ], - "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/DeviceProfile" - } - ], - "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - } - } - } - }, - "responses": { - "204": { - "description": "Device profile updated." - }, - "404": { - "description": "Device profile not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, "/Audio/{itemId}/hls1/{playlistId}/{segmentId}.{container}": { "get": { "tags": [ @@ -5923,6 +4721,7 @@ "name": "deviceProfileId", "in": "query", "description": "Optional. The dlna device profile id to utilize.", + "deprecated": true, "schema": { "type": "string" } @@ -5981,7 +4780,7 @@ { "name": "audioCodec", "in": "query", - "description": "Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma.", + "description": "Optional. Specify an audio codec to encode to, e.g. mp3.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -6165,6 +4964,13 @@ "in": "query", "description": "Optional. Specify the subtitle delivery method.", "schema": { + "enum": [ + "Encode", + "Embed", + "External", + "Hls", + "Drop" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitleDeliveryMethod" @@ -6251,7 +5057,7 @@ { "name": "videoCodec", "in": "query", - "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv.", + "description": "Optional. Specify a video codec to encode to, e.g. h264.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -6297,6 +5103,10 @@ "in": "query", "description": "Optional. The MediaBrowser.Model.Dlna.EncodingContext.", "schema": { + "enum": [ + "Streaming", + "Static" + ], "allOf": [ { "$ref": "#/components/schemas/EncodingContext" @@ -6315,6 +5125,15 @@ "nullable": true } } + }, + { + "name": "enableAudioVbrEncoding", + "in": "query", + "description": "Optional. Whether to enable Audio Encoding.", + "schema": { + "type": "boolean", + "default": true + } } ], "responses": { @@ -6391,6 +5210,7 @@ "name": "deviceProfileId", "in": "query", "description": "Optional. The dlna device profile id to utilize.", + "deprecated": true, "schema": { "type": "string" } @@ -6449,7 +5269,7 @@ { "name": "audioCodec", "in": "query", - "description": "Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma.", + "description": "Optional. Specify an audio codec to encode to, e.g. mp3.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -6633,6 +5453,13 @@ "in": "query", "description": "Optional. Specify the subtitle delivery method.", "schema": { + "enum": [ + "Encode", + "Embed", + "External", + "Hls", + "Drop" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitleDeliveryMethod" @@ -6719,7 +5546,7 @@ { "name": "videoCodec", "in": "query", - "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv.", + "description": "Optional. Specify a video codec to encode to, e.g. h264.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -6765,6 +5592,10 @@ "in": "query", "description": "Optional. The MediaBrowser.Model.Dlna.EncodingContext.", "schema": { + "enum": [ + "Streaming", + "Static" + ], "allOf": [ { "$ref": "#/components/schemas/EncodingContext" @@ -6783,6 +5614,15 @@ "nullable": true } } + }, + { + "name": "enableAudioVbrEncoding", + "in": "query", + "description": "Optional. Whether to enable Audio Encoding.", + "schema": { + "type": "boolean", + "default": true + } } ], "responses": { @@ -6859,6 +5699,7 @@ "name": "deviceProfileId", "in": "query", "description": "Optional. The dlna device profile id to utilize.", + "deprecated": true, "schema": { "type": "string" } @@ -6918,7 +5759,7 @@ { "name": "audioCodec", "in": "query", - "description": "Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma.", + "description": "Optional. Specify an audio codec to encode to, e.g. mp3.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -7102,6 +5943,13 @@ "in": "query", "description": "Optional. Specify the subtitle delivery method.", "schema": { + "enum": [ + "Encode", + "Embed", + "External", + "Hls", + "Drop" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitleDeliveryMethod" @@ -7188,7 +6036,7 @@ { "name": "videoCodec", "in": "query", - "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.", + "description": "Optional. Specify a video codec to encode to, e.g. h264.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -7234,6 +6082,10 @@ "in": "query", "description": "Optional. The MediaBrowser.Model.Dlna.EncodingContext.", "schema": { + "enum": [ + "Streaming", + "Static" + ], "allOf": [ { "$ref": "#/components/schemas/EncodingContext" @@ -7261,6 +6113,15 @@ "type": "boolean", "default": true } + }, + { + "name": "enableAudioVbrEncoding", + "in": "query", + "description": "Optional. Whether to enable Audio Encoding.", + "schema": { + "type": "boolean", + "default": true + } } ], "responses": { @@ -7335,6 +6196,7 @@ "name": "deviceProfileId", "in": "query", "description": "Optional. The dlna device profile id to utilize.", + "deprecated": true, "schema": { "type": "string" } @@ -7394,7 +6256,7 @@ { "name": "audioCodec", "in": "query", - "description": "Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma.", + "description": "Optional. Specify an audio codec to encode to, e.g. mp3.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -7578,6 +6440,13 @@ "in": "query", "description": "Optional. Specify the subtitle delivery method.", "schema": { + "enum": [ + "Encode", + "Embed", + "External", + "Hls", + "Drop" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitleDeliveryMethod" @@ -7664,7 +6533,7 @@ { "name": "videoCodec", "in": "query", - "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.", + "description": "Optional. Specify a video codec to encode to, e.g. h264.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -7710,6 +6579,10 @@ "in": "query", "description": "Optional. The MediaBrowser.Model.Dlna.EncodingContext.", "schema": { + "enum": [ + "Streaming", + "Static" + ], "allOf": [ { "$ref": "#/components/schemas/EncodingContext" @@ -7737,6 +6610,15 @@ "type": "boolean", "default": true } + }, + { + "name": "enableAudioVbrEncoding", + "in": "query", + "description": "Optional. Whether to enable Audio Encoding.", + "schema": { + "type": "boolean", + "default": true + } } ], "responses": { @@ -7861,6 +6743,7 @@ "name": "deviceProfileId", "in": "query", "description": "Optional. The dlna device profile id to utilize.", + "deprecated": true, "schema": { "type": "string" } @@ -7919,7 +6802,7 @@ { "name": "audioCodec", "in": "query", - "description": "Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma.", + "description": "Optional. Specify an audio codec to encode to, e.g. mp3.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -8112,6 +6995,13 @@ "in": "query", "description": "Optional. Specify the subtitle delivery method.", "schema": { + "enum": [ + "Encode", + "Embed", + "External", + "Hls", + "Drop" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitleDeliveryMethod" @@ -8198,7 +7088,7 @@ { "name": "videoCodec", "in": "query", - "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.", + "description": "Optional. Specify a video codec to encode to, e.g. h264.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -8244,6 +7134,10 @@ "in": "query", "description": "Optional. The MediaBrowser.Model.Dlna.EncodingContext.", "schema": { + "enum": [ + "Streaming", + "Static" + ], "allOf": [ { "$ref": "#/components/schemas/EncodingContext" @@ -8262,6 +7156,24 @@ "nullable": true } } + }, + { + "name": "enableAudioVbrEncoding", + "in": "query", + "description": "Optional. Whether to enable Audio Encoding.", + "schema": { + "type": "boolean", + "default": true + } + }, + { + "name": "alwaysBurnInSubtitleWhenTranscoding", + "in": "query", + "description": "Whether to always burn in subtitles when transcoding.", + "schema": { + "type": "boolean", + "default": false + } } ], "responses": { @@ -8347,6 +7259,7 @@ "name": "deviceProfileId", "in": "query", "description": "Optional. The dlna device profile id to utilize.", + "deprecated": true, "schema": { "type": "string" } @@ -8371,7 +7284,7 @@ { "name": "segmentLength", "in": "query", - "description": "The segment lenght.", + "description": "The segment length.", "schema": { "type": "integer", "format": "int32" @@ -8405,7 +7318,7 @@ { "name": "audioCodec", "in": "query", - "description": "Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma.", + "description": "Optional. Specify an audio codec to encode to, e.g. mp3.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -8580,6 +7493,13 @@ "in": "query", "description": "Optional. Specify the subtitle delivery method.", "schema": { + "enum": [ + "Encode", + "Embed", + "External", + "Hls", + "Drop" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitleDeliveryMethod" @@ -8666,7 +7586,7 @@ { "name": "videoCodec", "in": "query", - "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.", + "description": "Optional. Specify a video codec to encode to, e.g. h264.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -8712,6 +7632,10 @@ "in": "query", "description": "Optional. The MediaBrowser.Model.Dlna.EncodingContext.", "schema": { + "enum": [ + "Streaming", + "Static" + ], "allOf": [ { "$ref": "#/components/schemas/EncodingContext" @@ -8756,6 +7680,24 @@ "schema": { "type": "boolean" } + }, + { + "name": "enableAudioVbrEncoding", + "in": "query", + "description": "Optional. Whether to enable Audio Encoding.", + "schema": { + "type": "boolean", + "default": true + } + }, + { + "name": "alwaysBurnInSubtitleWhenTranscoding", + "in": "query", + "description": "Whether to always burn in subtitles when transcoding.", + "schema": { + "type": "boolean", + "default": false + } } ], "responses": { @@ -8832,6 +7774,7 @@ "name": "deviceProfileId", "in": "query", "description": "Optional. The dlna device profile id to utilize.", + "deprecated": true, "schema": { "type": "string" } @@ -8890,7 +7833,7 @@ { "name": "audioCodec", "in": "query", - "description": "Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma.", + "description": "Optional. Specify an audio codec to encode to, e.g. mp3.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -9083,6 +8026,13 @@ "in": "query", "description": "Optional. Specify the subtitle delivery method.", "schema": { + "enum": [ + "Encode", + "Embed", + "External", + "Hls", + "Drop" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitleDeliveryMethod" @@ -9169,7 +8119,7 @@ { "name": "videoCodec", "in": "query", - "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.", + "description": "Optional. Specify a video codec to encode to, e.g. h264.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -9215,6 +8165,10 @@ "in": "query", "description": "Optional. The MediaBrowser.Model.Dlna.EncodingContext.", "schema": { + "enum": [ + "Streaming", + "Static" + ], "allOf": [ { "$ref": "#/components/schemas/EncodingContext" @@ -9233,6 +8187,24 @@ "nullable": true } } + }, + { + "name": "enableAudioVbrEncoding", + "in": "query", + "description": "Optional. Whether to enable Audio Encoding.", + "schema": { + "type": "boolean", + "default": true + } + }, + { + "name": "alwaysBurnInSubtitleWhenTranscoding", + "in": "query", + "description": "Whether to always burn in subtitles when transcoding.", + "schema": { + "type": "boolean", + "default": false + } } ], "responses": { @@ -9309,6 +8281,7 @@ "name": "deviceProfileId", "in": "query", "description": "Optional. The dlna device profile id to utilize.", + "deprecated": true, "schema": { "type": "string" } @@ -9368,7 +8341,7 @@ { "name": "audioCodec", "in": "query", - "description": "Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma.", + "description": "Optional. Specify an audio codec to encode to, e.g. mp3.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -9561,6 +8534,13 @@ "in": "query", "description": "Optional. Specify the subtitle delivery method.", "schema": { + "enum": [ + "Encode", + "Embed", + "External", + "Hls", + "Drop" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitleDeliveryMethod" @@ -9647,7 +8627,7 @@ { "name": "videoCodec", "in": "query", - "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.", + "description": "Optional. Specify a video codec to encode to, e.g. h264.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -9693,6 +8673,10 @@ "in": "query", "description": "Optional. The MediaBrowser.Model.Dlna.EncodingContext.", "schema": { + "enum": [ + "Streaming", + "Static" + ], "allOf": [ { "$ref": "#/components/schemas/EncodingContext" @@ -9720,6 +8704,33 @@ "type": "boolean", "default": true } + }, + { + "name": "enableTrickplay", + "in": "query", + "description": "Enable trickplay image playlists being added to master playlist.", + "schema": { + "type": "boolean", + "default": true + } + }, + { + "name": "enableAudioVbrEncoding", + "in": "query", + "description": "Whether to enable Audio Encoding.", + "schema": { + "type": "boolean", + "default": true + } + }, + { + "name": "alwaysBurnInSubtitleWhenTranscoding", + "in": "query", + "description": "Whether to always burn in subtitles when transcoding.", + "schema": { + "type": "boolean", + "default": false + } } ], "responses": { @@ -9794,6 +8805,7 @@ "name": "deviceProfileId", "in": "query", "description": "Optional. The dlna device profile id to utilize.", + "deprecated": true, "schema": { "type": "string" } @@ -9853,7 +8865,7 @@ { "name": "audioCodec", "in": "query", - "description": "Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma.", + "description": "Optional. Specify an audio codec to encode to, e.g. mp3.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -10046,6 +9058,13 @@ "in": "query", "description": "Optional. Specify the subtitle delivery method.", "schema": { + "enum": [ + "Encode", + "Embed", + "External", + "Hls", + "Drop" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitleDeliveryMethod" @@ -10132,7 +9151,7 @@ { "name": "videoCodec", "in": "query", - "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.", + "description": "Optional. Specify a video codec to encode to, e.g. h264.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -10178,6 +9197,10 @@ "in": "query", "description": "Optional. The MediaBrowser.Model.Dlna.EncodingContext.", "schema": { + "enum": [ + "Streaming", + "Static" + ], "allOf": [ { "$ref": "#/components/schemas/EncodingContext" @@ -10205,6 +9228,33 @@ "type": "boolean", "default": true } + }, + { + "name": "enableTrickplay", + "in": "query", + "description": "Enable trickplay image playlists being added to master playlist.", + "schema": { + "type": "boolean", + "default": true + } + }, + { + "name": "enableAudioVbrEncoding", + "in": "query", + "description": "Whether to enable Audio Encoding.", + "schema": { + "type": "boolean", + "default": true + } + }, + { + "name": "alwaysBurnInSubtitleWhenTranscoding", + "in": "query", + "description": "Whether to always burn in subtitles when transcoding.", + "schema": { + "type": "boolean", + "default": false + } } ], "responses": { @@ -10273,7 +9323,8 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated" + "FirstTimeSetupOrElevated", + "DefaultAuthorization" ] } ] @@ -10355,7 +9406,8 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated" + "FirstTimeSetupOrElevated", + "DefaultAuthorization" ] } ] @@ -10408,7 +9460,8 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated" + "FirstTimeSetupOrElevated", + "DefaultAuthorization" ] } ] @@ -10462,7 +9515,8 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated" + "FirstTimeSetupOrElevated", + "DefaultAuthorization" ] } ] @@ -10517,7 +9571,8 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated" + "FirstTimeSetupOrElevated", + "DefaultAuthorization" ] } ] @@ -10600,7 +9655,8 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated" + "FirstTimeSetupOrElevated", + "DefaultAuthorization" ] } ] @@ -10650,7 +9706,7 @@ "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/MediaType" } } } @@ -10967,7 +10023,7 @@ "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/ItemSortBy" } } }, @@ -11186,108 +10242,6 @@ } } }, - "/Videos/ActiveEncodings": { - "delete": { - "tags": [ - "HlsSegment" - ], - "summary": "Stops an active encoding.", - "operationId": "StopEncodingProcess", - "parameters": [ - { - "name": "deviceId", - "in": "query", - "description": "The device id of the client requesting. Used to stop encoding processes when needed.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "playSessionId", - "in": "query", - "description": "The play session id.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Encoding stopped successfully." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Videos/{itemId}/hls/{playlistId}/stream.m3u8": { - "get": { - "tags": [ - "HlsSegment" - ], - "summary": "Gets a hls video playlist.", - "operationId": "GetHlsPlaylistLegacy", - "parameters": [ - { - "name": "itemId", - "in": "path", - "description": "The video id.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "playlistId", - "in": "path", - "description": "The playlist id.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Hls video playlist returned.", - "content": { - "application/x-mpegURL": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Videos/{itemId}/hls/{playlistId}/{segmentId}.{segmentContainer}": { "get": { "tags": [ @@ -11368,39 +10322,41 @@ } } }, - "/Images/General": { + "/Videos/{itemId}/hls/{playlistId}/stream.m3u8": { "get": { "tags": [ - "ImageByName" + "HlsSegment" + ], + "summary": "Gets a hls video playlist.", + "operationId": "GetHlsPlaylistLegacy", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "The video id.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "playlistId", + "in": "path", + "description": "The playlist id.", + "required": true, + "schema": { + "type": "string" + } + } ], - "summary": "Get all general images.", - "operationId": "GetGeneralImages", "responses": { "200": { - "description": "Retrieved list of images.", + "description": "Hls video playlist returned.", "content": { - "application/json": { + "application/x-mpegURL": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageByNameInfo" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageByNameInfo" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageByNameInfo" - } + "type": "string", + "format": "binary" } } } @@ -11421,27 +10377,27 @@ ] } }, - "/Images/General/{name}/{type}": { - "get": { + "/Videos/ActiveEncodings": { + "delete": { "tags": [ - "ImageByName" + "HlsSegment" ], - "summary": "Get General Image.", - "operationId": "GetGeneralImage", + "summary": "Stops an active encoding.", + "operationId": "StopEncodingProcess", "parameters": [ { - "name": "name", - "in": "path", - "description": "The name of the image.", + "name": "deviceId", + "in": "query", + "description": "The device id of the client requesting. Used to stop encoding processes when needed.", "required": true, "schema": { "type": "string" } }, { - "name": "type", - "in": "path", - "description": "Image Type (primary, backdrop, logo, etc).", + "name": "playSessionId", + "in": "query", + "description": "The play session id.", "required": true, "schema": { "type": "string" @@ -11449,81 +10405,8 @@ } ], "responses": { - "200": { - "description": "Image stream retrieved.", - "content": { - "image/*": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "404": { - "description": "Image not found.", - "content": { - "application/octet-stream": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/Images/MediaInfo": { - "get": { - "tags": [ - "ImageByName" - ], - "summary": "Get all media info images.", - "operationId": "GetMediaInfoImages", - "responses": { - "200": { - "description": "Image list retrieved.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageByNameInfo" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageByNameInfo" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageByNameInfo" - } - } - } - } + "204": { + "description": "Encoding stopped successfully." }, "401": { "description": "Unauthorized" @@ -11541,193 +10424,6 @@ ] } }, - "/Images/MediaInfo/{theme}/{name}": { - "get": { - "tags": [ - "ImageByName" - ], - "summary": "Get media info image.", - "operationId": "GetMediaInfoImage", - "parameters": [ - { - "name": "theme", - "in": "path", - "description": "The theme to get the image from.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "in": "path", - "description": "The name of the image.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Image stream retrieved.", - "content": { - "image/*": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "404": { - "description": "Image not found.", - "content": { - "application/octet-stream": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/Images/Ratings": { - "get": { - "tags": [ - "ImageByName" - ], - "summary": "Get all general images.", - "operationId": "GetRatingImages", - "responses": { - "200": { - "description": "Retrieved list of images.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageByNameInfo" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageByNameInfo" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageByNameInfo" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Images/Ratings/{theme}/{name}": { - "get": { - "tags": [ - "ImageByName" - ], - "summary": "Get rating image.", - "operationId": "GetRatingImage", - "parameters": [ - { - "name": "theme", - "in": "path", - "description": "The theme to get the image from.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "in": "path", - "description": "The name of the image.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Image stream retrieved.", - "content": { - "image/*": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "404": { - "description": "Image not found.", - "content": { - "application/octet-stream": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, "/Artists/{name}/Images/{imageType}/{imageIndex}": { "get": { "tags": [ @@ -11751,6 +10447,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -11772,6 +10483,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -11860,23 +10579,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -11969,6 +10671,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -11990,6 +10707,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -12078,23 +10803,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -12187,6 +10895,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -12421,6 +11137,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -12442,6 +11173,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -12530,23 +11269,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -12638,6 +11360,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -12659,6 +11396,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -12747,23 +11492,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -12857,6 +11585,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -12888,6 +11631,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -12976,23 +11727,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -13075,6 +11809,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -13106,6 +11855,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -13194,23 +11951,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -13381,6 +12121,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -13461,6 +12216,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -13484,6 +12254,26 @@ "204": { "description": "Image saved." }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "404": { "description": "Item not found.", "content": { @@ -13542,6 +12332,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -13621,20 +12426,19 @@ "type": "string" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, { "name": "format", "in": "query", "description": "Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -13642,14 +12446,6 @@ ] } }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "percentPlayed", "in": "query", @@ -13760,6 +12556,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -13839,20 +12650,19 @@ "type": "string" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, { "name": "format", "in": "query", "description": "Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -13860,14 +12670,6 @@ ] } }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "percentPlayed", "in": "query", @@ -13980,6 +12782,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -14061,6 +12878,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -14094,6 +12926,26 @@ "204": { "description": "Image saved." }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "404": { "description": "Item not found.", "content": { @@ -14152,6 +13004,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -14241,20 +13108,19 @@ "type": "string" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, { "name": "format", "in": "query", "description": "Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -14262,14 +13128,6 @@ ] } }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "percentPlayed", "in": "query", @@ -14371,6 +13229,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -14460,20 +13333,19 @@ "type": "string" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, { "name": "format", "in": "query", "description": "Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -14481,14 +13353,6 @@ ] } }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "percentPlayed", "in": "query", @@ -14568,99 +13432,6 @@ } } }, - "/Items/{itemId}/Images/{imageType}/{imageIndex}/Index": { - "post": { - "tags": [ - "Image" - ], - "summary": "Updates the index for an item image.", - "operationId": "UpdateItemImageIndex", - "parameters": [ - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "imageType", - "in": "path", - "description": "Image type.", - "required": true, - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ImageType" - } - ], - "description": "Enum ImageType." - } - }, - { - "name": "imageIndex", - "in": "path", - "description": "Old image index.", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "newIndex", - "in": "query", - "description": "New image index.", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "responses": { - "204": { - "description": "Image index updated." - }, - "404": { - "description": "Item not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, "/Items/{itemId}/Images/{imageType}/{imageIndex}/{tag}/{format}/{maxWidth}/{maxHeight}/{percentPlayed}/{unplayedCount}": { "get": { "tags": [ @@ -14685,6 +13456,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -14767,21 +13553,20 @@ "type": "string" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, { "name": "format", "in": "path", "description": "Determines the output format of the image - original,gif,jpg,png.", "required": true, "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -14790,14 +13575,6 @@ "description": "Enum ImageOutputFormat." } }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "percentPlayed", "in": "path", @@ -14911,6 +13688,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -14993,21 +13785,20 @@ "type": "string" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, { "name": "format", "in": "path", "description": "Determines the output format of the image - original,gif,jpg,png.", "required": true, "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -15016,14 +13807,6 @@ "description": "Enum ImageOutputFormat." } }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "percentPlayed", "in": "path", @@ -15115,6 +13898,114 @@ } } }, + "/Items/{itemId}/Images/{imageType}/{imageIndex}/Index": { + "post": { + "tags": [ + "Image" + ], + "summary": "Updates the index for an item image.", + "operationId": "UpdateItemImageIndex", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "imageType", + "in": "path", + "description": "Image type.", + "required": true, + "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], + "allOf": [ + { + "$ref": "#/components/schemas/ImageType" + } + ], + "description": "Enum ImageType." + } + }, + { + "name": "imageIndex", + "in": "path", + "description": "Old image index.", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "newIndex", + "in": "query", + "description": "New image index.", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "204": { + "description": "Image index updated." + }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" + ] + } + ] + } + }, "/MusicGenres/{name}/Images/{imageType}": { "get": { "tags": [ @@ -15138,6 +14029,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -15159,6 +14065,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -15247,23 +14161,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -15355,6 +14252,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -15376,6 +14288,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -15464,23 +14384,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -15574,6 +14477,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -15605,6 +14523,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -15693,23 +14619,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -15792,6 +14701,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -15823,6 +14747,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -15911,23 +14843,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -16012,6 +14927,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -16033,6 +14963,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -16121,23 +15059,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -16229,6 +15150,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -16250,6 +15186,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -16338,23 +15282,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -16448,6 +15375,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -16479,6 +15421,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -16567,23 +15517,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -16666,6 +15599,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -16697,6 +15645,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -16785,23 +15741,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -16886,6 +15825,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -16907,6 +15861,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -16995,23 +15957,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -17103,6 +16048,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -17124,6 +16084,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -17212,23 +16180,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -17322,6 +16273,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -17353,6 +16319,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -17441,23 +16415,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -17540,6 +16497,21 @@ "description": "Image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -17571,6 +16543,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -17659,23 +16639,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -17737,7 +16700,7 @@ } } }, - "/Users/{userId}/Images/{imageType}": { + "/UserImage": { "post": { "tags": [ "Image" @@ -17747,36 +16710,12 @@ "parameters": [ { "name": "userId", - "in": "path", + "in": "query", "description": "User Id.", - "required": true, "schema": { "type": "string", "format": "uuid" } - }, - { - "name": "imageType", - "in": "path", - "description": "(Unused) Image type.", - "required": true, - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ImageType" - } - ], - "description": "Enum ImageType." - } - }, - { - "name": "index", - "in": "query", - "description": "(Unused) Image index.", - "schema": { - "type": "integer", - "format": "int32" - } } ], "requestBody": { @@ -17793,6 +16732,26 @@ "204": { "description": "Image updated." }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "403": { "description": "User does not have permission to delete the image.", "content": { @@ -17813,6 +16772,26 @@ } } }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" } @@ -17834,36 +16813,12 @@ "parameters": [ { "name": "userId", - "in": "path", + "in": "query", "description": "User Id.", - "required": true, "schema": { "type": "string", "format": "uuid" } - }, - { - "name": "imageType", - "in": "path", - "description": "(Unused) Image type.", - "required": true, - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ImageType" - } - ], - "description": "Enum ImageType." - } - }, - { - "name": "index", - "in": "query", - "description": "(Unused) Image index.", - "schema": { - "type": "integer", - "format": "int32" - } } ], "responses": { @@ -17911,28 +16866,13 @@ "parameters": [ { "name": "userId", - "in": "path", + "in": "query", "description": "User id.", - "required": true, "schema": { "type": "string", "format": "uuid" } }, - { - "name": "imageType", - "in": "path", - "description": "Image type.", - "required": true, - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ImageType" - } - ], - "description": "Enum ImageType." - } - }, { "name": "tag", "in": "query", @@ -17946,6 +16886,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -18034,23 +16982,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -18098,6 +17029,26 @@ } } }, + "400": { + "description": "User id not provided.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "404": { "description": "Item not found.", "content": { @@ -18129,28 +17080,13 @@ "parameters": [ { "name": "userId", - "in": "path", + "in": "query", "description": "User id.", - "required": true, "schema": { "type": "string", "format": "uuid" } }, - { - "name": "imageType", - "in": "path", - "description": "Image type.", - "required": true, - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ImageType" - } - ], - "description": "Enum ImageType." - } - }, { "name": "tag", "in": "query", @@ -18164,6 +17100,14 @@ "in": "query", "description": "Determines the output format of the image - original,gif,jpg,png.", "schema": { + "enum": [ + "Bmp", + "Gif", + "Jpg", + "Png", + "Webp", + "Svg" + ], "allOf": [ { "$ref": "#/components/schemas/ImageFormat" @@ -18252,23 +17196,6 @@ "format": "int32" } }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, { "name": "blur", "in": "query", @@ -18316,8 +17243,8 @@ } } }, - "404": { - "description": "Item not found.", + "400": { + "description": "User id not provided.", "content": { "application/json": { "schema": { @@ -18335,426 +17262,6 @@ } } } - } - } - } - }, - "/Users/{userId}/Images/{imageType}/{imageIndex}": { - "get": { - "tags": [ - "Image" - ], - "summary": "Get user profile image.", - "operationId": "GetUserImageByIndex", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "imageType", - "in": "path", - "description": "Image type.", - "required": true, - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ImageType" - } - ], - "description": "Enum ImageType." - } - }, - { - "name": "imageIndex", - "in": "path", - "description": "Image index.", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "tag", - "in": "query", - "description": "Optional. Supply the cache tag from the item object to receive strong caching headers.", - "schema": { - "type": "string" - } - }, - { - "name": "format", - "in": "query", - "description": "Determines the output format of the image - original,gif,jpg,png.", - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ImageFormat" - } - ] - } - }, - { - "name": "maxWidth", - "in": "query", - "description": "The maximum image width to return.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "maxHeight", - "in": "query", - "description": "The maximum image height to return.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "percentPlayed", - "in": "query", - "description": "Optional. Percent to render for the percent played overlay.", - "schema": { - "type": "number", - "format": "double" - } - }, - { - "name": "unplayedCount", - "in": "query", - "description": "Optional. Unplayed count overlay to render.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "width", - "in": "query", - "description": "The fixed image width to return.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "height", - "in": "query", - "description": "The fixed image height to return.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "quality", - "in": "query", - "description": "Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "fillWidth", - "in": "query", - "description": "Width of box to fill.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "fillHeight", - "in": "query", - "description": "Height of box to fill.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, - { - "name": "blur", - "in": "query", - "description": "Optional. Blur image.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "backgroundColor", - "in": "query", - "description": "Optional. Apply a background color for transparent images.", - "schema": { - "type": "string" - } - }, - { - "name": "foregroundLayer", - "in": "query", - "description": "Optional. Apply a foreground layer on top of the image.", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Image stream returned.", - "content": { - "image/*": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "404": { - "description": "Item not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "head": { - "tags": [ - "Image" - ], - "summary": "Get user profile image.", - "operationId": "HeadUserImageByIndex", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "imageType", - "in": "path", - "description": "Image type.", - "required": true, - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ImageType" - } - ], - "description": "Enum ImageType." - } - }, - { - "name": "imageIndex", - "in": "path", - "description": "Image index.", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "tag", - "in": "query", - "description": "Optional. Supply the cache tag from the item object to receive strong caching headers.", - "schema": { - "type": "string" - } - }, - { - "name": "format", - "in": "query", - "description": "Determines the output format of the image - original,gif,jpg,png.", - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ImageFormat" - } - ] - } - }, - { - "name": "maxWidth", - "in": "query", - "description": "The maximum image width to return.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "maxHeight", - "in": "query", - "description": "The maximum image height to return.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "percentPlayed", - "in": "query", - "description": "Optional. Percent to render for the percent played overlay.", - "schema": { - "type": "number", - "format": "double" - } - }, - { - "name": "unplayedCount", - "in": "query", - "description": "Optional. Unplayed count overlay to render.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "width", - "in": "query", - "description": "The fixed image width to return.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "height", - "in": "query", - "description": "The fixed image height to return.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "quality", - "in": "query", - "description": "Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "fillWidth", - "in": "query", - "description": "Width of box to fill.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "fillHeight", - "in": "query", - "description": "Height of box to fill.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "cropWhitespace", - "in": "query", - "description": "Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.", - "deprecated": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "addPlayedIndicator", - "in": "query", - "description": "Optional. Add a played indicator.", - "schema": { - "type": "boolean" - } - }, - { - "name": "blur", - "in": "query", - "description": "Optional. Blur image.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "backgroundColor", - "in": "query", - "description": "Optional. Apply a background color for transparent images.", - "schema": { - "type": "string" - } - }, - { - "name": "foregroundLayer", - "in": "query", - "description": "Optional. Apply a foreground layer on top of the image.", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Image stream returned.", - "content": { - "image/*": { - "schema": { - "type": "string", - "format": "binary" - } - } - } }, "404": { "description": "Item not found.", @@ -18779,175 +17286,7 @@ } } }, - "/Users/{userId}/Images/{imageType}/{index}": { - "post": { - "tags": [ - "Image" - ], - "summary": "Sets the user image.", - "operationId": "PostUserImageByIndex", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User Id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "imageType", - "in": "path", - "description": "(Unused) Image type.", - "required": true, - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ImageType" - } - ], - "description": "Enum ImageType." - } - }, - { - "name": "index", - "in": "path", - "description": "(Unused) Image index.", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "requestBody": { - "content": { - "image/*": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "responses": { - "204": { - "description": "Image updated." - }, - "403": { - "description": "User does not have permission to delete the image.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - }, - "delete": { - "tags": [ - "Image" - ], - "summary": "Delete the user's image.", - "operationId": "DeleteUserImageByIndex", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User Id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "imageType", - "in": "path", - "description": "(Unused) Image type.", - "required": true, - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ImageType" - } - ], - "description": "Enum ImageType." - } - }, - { - "name": "index", - "in": "path", - "description": "(Unused) Image index.", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "responses": { - "204": { - "description": "Image deleted." - }, - "403": { - "description": "User does not have permission to delete the image.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Albums/{id}/InstantMix": { + "/Albums/{itemId}/InstantMix": { "get": { "tags": [ "InstantMix" @@ -18956,7 +17295,7 @@ "operationId": "GetInstantMixFromAlbum", "parameters": [ { - "name": "id", + "name": "itemId", "in": "path", "description": "The item id.", "required": true, @@ -19052,6 +17391,167 @@ } } }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Artists/{itemId}/InstantMix": { + "get": { + "tags": [ + "InstantMix" + ], + "summary": "Creates an instant playlist based on a given artist.", + "operationId": "GetInstantMixFromArtists", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "The item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "userId", + "in": "query", + "description": "Optional. Filter by user id, and attach user data.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "limit", + "in": "query", + "description": "Optional. The maximum number of records to return.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "fields", + "in": "query", + "description": "Optional. Specify additional fields of information to return in the output.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemFields" + } + } + }, + { + "name": "enableImages", + "in": "query", + "description": "Optional. Include image information in output.", + "schema": { + "type": "boolean" + } + }, + { + "name": "enableUserData", + "in": "query", + "description": "Optional. Include user data.", + "schema": { + "type": "boolean" + } + }, + { + "name": "imageTypeLimit", + "in": "query", + "description": "Optional. The max number of images to return, per image type.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "enableImageTypes", + "in": "query", + "description": "Optional. The image types to include in the output.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ImageType" + } + } + } + ], + "responses": { + "200": { + "description": "Instant playlist returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + } + } + }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" }, @@ -19173,6 +17673,26 @@ } } }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" }, @@ -19190,16 +17710,16 @@ ] } }, - "/Artists/{id}/InstantMix": { + "/Items/{itemId}/InstantMix": { "get": { "tags": [ "InstantMix" ], - "summary": "Creates an instant playlist based on a given artist.", - "operationId": "GetInstantMixFromArtists", + "summary": "Creates an instant playlist based on a given item.", + "operationId": "GetInstantMixFromItem", "parameters": [ { - "name": "id", + "name": "itemId", "in": "path", "description": "The item id.", "required": true, @@ -19295,6 +17815,26 @@ } } }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" }, @@ -19311,22 +17851,21 @@ ] } }, - "/Items/{id}/InstantMix": { + "/MusicGenres/{name}/InstantMix": { "get": { "tags": [ "InstantMix" ], - "summary": "Creates an instant playlist based on a given item.", - "operationId": "GetInstantMixFromItem", + "summary": "Creates an instant playlist based on a given genre.", + "operationId": "GetInstantMixFromMusicGenreByName", "parameters": [ { - "name": "id", + "name": "name", "in": "path", - "description": "The item id.", + "description": "The genre name.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -19537,122 +18076,22 @@ } } }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/MusicGenres/{name}/InstantMix": { - "get": { - "tags": [ - "InstantMix" - ], - "summary": "Creates an instant playlist based on a given genre.", - "operationId": "GetInstantMixFromMusicGenreByName", - "parameters": [ - { - "name": "name", - "in": "path", - "description": "The genre name.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "query", - "description": "Optional. Filter by user id, and attach user data.", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "limit", - "in": "query", - "description": "Optional. The maximum number of records to return.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "fields", - "in": "query", - "description": "Optional. Specify additional fields of information to return in the output.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemFields" - } - } - }, - { - "name": "enableImages", - "in": "query", - "description": "Optional. Include image information in output.", - "schema": { - "type": "boolean" - } - }, - { - "name": "enableUserData", - "in": "query", - "description": "Optional. Include user data.", - "schema": { - "type": "boolean" - } - }, - { - "name": "imageTypeLimit", - "in": "query", - "description": "Optional. The max number of images to return, per image type.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "enableImageTypes", - "in": "query", - "description": "Optional. The image types to include in the output.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageType" - } - } - } - ], - "responses": { - "200": { - "description": "Instant playlist returned.", + "404": { + "description": "Item not found.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" + "$ref": "#/components/schemas/ProblemDetails" } }, "application/json; profile=\"CamelCase\"": { "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" + "$ref": "#/components/schemas/ProblemDetails" } }, "application/json; profile=\"PascalCase\"": { "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" + "$ref": "#/components/schemas/ProblemDetails" } } } @@ -19673,7 +18112,7 @@ ] } }, - "/Playlists/{id}/InstantMix": { + "/Playlists/{itemId}/InstantMix": { "get": { "tags": [ "InstantMix" @@ -19682,7 +18121,7 @@ "operationId": "GetInstantMixFromPlaylist", "parameters": [ { - "name": "id", + "name": "itemId", "in": "path", "description": "The item id.", "required": true, @@ -19778,6 +18217,26 @@ } } }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" }, @@ -19794,7 +18253,7 @@ ] } }, - "/Songs/{id}/InstantMix": { + "/Songs/{itemId}/InstantMix": { "get": { "tags": [ "InstantMix" @@ -19803,7 +18262,7 @@ "operationId": "GetInstantMixFromSong", "parameters": [ { - "name": "id", + "name": "itemId", "in": "path", "description": "The item id.", "required": true, @@ -19899,6 +18358,26 @@ } } }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" }, @@ -19915,6 +18394,92 @@ ] } }, + "/Items/{itemId}/ExternalIdInfos": { + "get": { + "tags": [ + "ItemLookup" + ], + "summary": "Get the item's external id info.", + "operationId": "GetExternalIdInfos", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "External id info retrieved.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ExternalIdInfo" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ExternalIdInfo" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ExternalIdInfo" + } + } + } + } + }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation", + "DefaultAuthorization" + ] + } + ] + } + }, "/Items/RemoteSearch/Apply/{itemId}": { "post": { "tags": [ @@ -19980,6 +18545,26 @@ "204": { "description": "Item metadata refreshed." }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" }, @@ -20772,92 +19357,6 @@ ] } }, - "/Items/{itemId}/ExternalIdInfos": { - "get": { - "tags": [ - "ItemLookup" - ], - "summary": "Get the item's external id info.", - "operationId": "GetExternalIdInfos", - "parameters": [ - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "External id info retrieved.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ExternalIdInfo" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ExternalIdInfo" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ExternalIdInfo" - } - } - } - } - }, - "404": { - "description": "Item not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation", - "DefaultAuthorization" - ] - } - ] - } - }, "/Items/{itemId}/Refresh": { "post": { "tags": [ @@ -20881,6 +19380,12 @@ "in": "query", "description": "(Optional) Specifies the metadata refresh mode.", "schema": { + "enum": [ + "None", + "ValidationOnly", + "Default", + "FullRefresh" + ], "allOf": [ { "$ref": "#/components/schemas/MetadataRefreshMode" @@ -20894,6 +19399,12 @@ "in": "query", "description": "(Optional) Specifies the image refresh mode.", "schema": { + "enum": [ + "None", + "ValidationOnly", + "Default", + "FullRefresh" + ], "allOf": [ { "$ref": "#/components/schemas/MetadataRefreshMode" @@ -20919,6 +19430,15 @@ "type": "boolean", "default": false } + }, + { + "name": "regenerateTrickplay", + "in": "query", + "description": "(Optional) Determines if trickplay images should be replaced. Only applicable if mode is FullRefresh.", + "schema": { + "type": "boolean", + "default": false + } } ], "responses": { @@ -20961,298 +19481,6 @@ ] } }, - "/Items/{itemId}": { - "post": { - "tags": [ - "ItemUpdate" - ], - "summary": "Updates an item.", - "operationId": "UpdateItem", - "parameters": [ - { - "name": "itemId", - "in": "path", - "description": "The item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "description": "The new item properties.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/BaseItemDto" - } - ], - "description": "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/BaseItemDto" - } - ], - "description": "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/BaseItemDto" - } - ], - "description": "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Item updated." - }, - "404": { - "description": "Item not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - }, - "delete": { - "tags": [ - "Library" - ], - "summary": "Deletes an item from the library and filesystem.", - "operationId": "DeleteItem", - "parameters": [ - { - "name": "itemId", - "in": "path", - "description": "The item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "Item deleted." - }, - "401": { - "description": "Unauthorized access.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Items/{itemId}/ContentType": { - "post": { - "tags": [ - "ItemUpdate" - ], - "summary": "Updates an item's content type.", - "operationId": "UpdateItemContentType", - "parameters": [ - { - "name": "itemId", - "in": "path", - "description": "The item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "contentType", - "in": "query", - "description": "The content type of the item.", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Item content type updated." - }, - "404": { - "description": "Item not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, - "/Items/{itemId}/MetadataEditor": { - "get": { - "tags": [ - "ItemUpdate" - ], - "summary": "Gets metadata editor info for an item.", - "operationId": "GetMetadataEditorInfo", - "parameters": [ - { - "name": "itemId", - "in": "path", - "description": "The item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Item metadata editor returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MetadataEditorInfo" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/MetadataEditorInfo" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/MetadataEditorInfo" - } - } - } - }, - "404": { - "description": "Item not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, "/Items": { "get": { "tags": [ @@ -21264,7 +19492,7 @@ { "name": "userId", "in": "query", - "description": "The user id supplied as query parameter.", + "description": "The user id supplied as query parameter; this is required when not using an API key.", "schema": { "type": "string", "format": "uuid" @@ -21323,7 +19551,17 @@ "in": "query", "description": "Optional. Return items that are siblings of a supplied item.", "schema": { - "type": "string" + "type": "string", + "format": "uuid" + } + }, + { + "name": "indexNumber", + "in": "query", + "description": "Optional filter by index number.", + "schema": { + "type": "integer", + "format": "int32" } }, { @@ -21462,7 +19700,7 @@ { "name": "hasImdbId", "in": "query", - "description": "Optional filter by items that have an imdb id or not.", + "description": "Optional filter by items that have an IMDb id or not.", "schema": { "type": "boolean" } @@ -21470,7 +19708,7 @@ { "name": "hasTmdbId", "in": "query", - "description": "Optional filter by items that have a tmdb id or not.", + "description": "Optional filter by items that have a TMDb id or not.", "schema": { "type": "boolean" } @@ -21478,7 +19716,7 @@ { "name": "hasTvdbId", "in": "query", - "description": "Optional filter by items that have a tvdb id or not.", + "description": "Optional filter by items that have a TVDb id or not.", "schema": { "type": "boolean" } @@ -21572,7 +19810,7 @@ { "name": "sortOrder", "in": "query", - "description": "Sort Order - Ascending,Descending.", + "description": "Sort Order - Ascending, Descending.", "schema": { "type": "array", "items": { @@ -21648,7 +19886,7 @@ "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/MediaType" } } }, @@ -21670,7 +19908,7 @@ "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/ItemSortBy" } } }, @@ -22144,6 +20382,26 @@ } } }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "403": { "description": "Forbidden" } @@ -22157,835 +20415,190 @@ ] } }, - "/Users/{userId}/Items": { + "/UserItems/{itemId}/UserData": { "get": { "tags": [ "Items" ], - "summary": "Gets items based on a query.", - "operationId": "GetItemsByUserId", + "summary": "Get Item User Data.", + "operationId": "GetItemUserData", "parameters": [ { "name": "userId", + "in": "query", + "description": "The user id.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "itemId", "in": "path", - "description": "The user id supplied as query parameter.", + "description": "The item id.", "required": true, "schema": { "type": "string", "format": "uuid" } - }, - { - "name": "maxOfficialRating", - "in": "query", - "description": "Optional filter by maximum official rating (PG, PG-13, TV-MA, etc).", - "schema": { - "type": "string" - } - }, - { - "name": "hasThemeSong", - "in": "query", - "description": "Optional filter by items with theme songs.", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasThemeVideo", - "in": "query", - "description": "Optional filter by items with theme videos.", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasSubtitles", - "in": "query", - "description": "Optional filter by items with subtitles.", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasSpecialFeature", - "in": "query", - "description": "Optional filter by items with special features.", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasTrailer", - "in": "query", - "description": "Optional filter by items with trailers.", - "schema": { - "type": "boolean" - } - }, - { - "name": "adjacentTo", - "in": "query", - "description": "Optional. Return items that are siblings of a supplied item.", - "schema": { - "type": "string" - } - }, - { - "name": "parentIndexNumber", - "in": "query", - "description": "Optional filter by parent index number.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "hasParentalRating", - "in": "query", - "description": "Optional filter by items that have or do not have a parental rating.", - "schema": { - "type": "boolean" - } - }, - { - "name": "isHd", - "in": "query", - "description": "Optional filter by items that are HD or not.", - "schema": { - "type": "boolean" - } - }, - { - "name": "is4K", - "in": "query", - "description": "Optional filter by items that are 4K or not.", - "schema": { - "type": "boolean" - } - }, - { - "name": "locationTypes", - "in": "query", - "description": "Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LocationType" + } + ], + "responses": { + "200": { + "description": "return item user data.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } } } }, - { - "name": "excludeLocationTypes", - "in": "query", - "description": "Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LocationType" + "404": { + "description": "Item is not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } } } }, - { - "name": "isMissing", - "in": "query", - "description": "Optional filter by items that are missing episodes or not.", - "schema": { - "type": "boolean" - } + "401": { + "description": "Unauthorized" }, + "403": { + "description": "Forbidden" + } + }, + "security": [ { - "name": "isUnaired", - "in": "query", - "description": "Optional filter by items that are unaired episodes or not.", - "schema": { - "type": "boolean" - } - }, + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + }, + "post": { + "tags": [ + "Items" + ], + "summary": "Update Item User Data.", + "operationId": "UpdateItemUserData", + "parameters": [ { - "name": "minCommunityRating", + "name": "userId", "in": "query", - "description": "Optional filter by minimum community rating.", - "schema": { - "type": "number", - "format": "double" - } - }, - { - "name": "minCriticRating", - "in": "query", - "description": "Optional filter by minimum critic rating.", - "schema": { - "type": "number", - "format": "double" - } - }, - { - "name": "minPremiereDate", - "in": "query", - "description": "Optional. The minimum premiere date. Format = ISO.", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "minDateLastSaved", - "in": "query", - "description": "Optional. The minimum last saved date. Format = ISO.", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "minDateLastSavedForUser", - "in": "query", - "description": "Optional. The minimum last saved date for the current user. Format = ISO.", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "maxPremiereDate", - "in": "query", - "description": "Optional. The maximum premiere date. Format = ISO.", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "hasOverview", - "in": "query", - "description": "Optional filter by items that have an overview or not.", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasImdbId", - "in": "query", - "description": "Optional filter by items that have an imdb id or not.", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasTmdbId", - "in": "query", - "description": "Optional filter by items that have a tmdb id or not.", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasTvdbId", - "in": "query", - "description": "Optional filter by items that have a tvdb id or not.", - "schema": { - "type": "boolean" - } - }, - { - "name": "isMovie", - "in": "query", - "description": "Optional filter for live tv movies.", - "schema": { - "type": "boolean" - } - }, - { - "name": "isSeries", - "in": "query", - "description": "Optional filter for live tv series.", - "schema": { - "type": "boolean" - } - }, - { - "name": "isNews", - "in": "query", - "description": "Optional filter for live tv news.", - "schema": { - "type": "boolean" - } - }, - { - "name": "isKids", - "in": "query", - "description": "Optional filter for live tv kids.", - "schema": { - "type": "boolean" - } - }, - { - "name": "isSports", - "in": "query", - "description": "Optional filter for live tv sports.", - "schema": { - "type": "boolean" - } - }, - { - "name": "excludeItemIds", - "in": "query", - "description": "Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited.", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - { - "name": "startIndex", - "in": "query", - "description": "Optional. The record index to start at. All items with a lower index will be dropped from the results.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "limit", - "in": "query", - "description": "Optional. The maximum number of records to return.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "recursive", - "in": "query", - "description": "When searching within folders, this determines whether or not the search will be recursive. true/false.", - "schema": { - "type": "boolean" - } - }, - { - "name": "searchTerm", - "in": "query", - "description": "Optional. Filter based on a search term.", - "schema": { - "type": "string" - } - }, - { - "name": "sortOrder", - "in": "query", - "description": "Sort Order - Ascending,Descending.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SortOrder" - } - } - }, - { - "name": "parentId", - "in": "query", - "description": "Specify this to localize the search to a specific item or folder. Omit to use the root.", + "description": "The user id.", "schema": { "type": "string", "format": "uuid" } }, { - "name": "fields", - "in": "query", - "description": "Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines.", + "name": "itemId", + "in": "path", + "description": "The item id.", + "required": true, "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemFields" - } - } - }, - { - "name": "excludeItemTypes", - "in": "query", - "description": "Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemKind" - } - } - }, - { - "name": "includeItemTypes", - "in": "query", - "description": "Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemKind" - } - } - }, - { - "name": "filters", - "in": "query", - "description": "Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemFilter" - } - } - }, - { - "name": "isFavorite", - "in": "query", - "description": "Optional filter by items that are marked as favorite, or not.", - "schema": { - "type": "boolean" - } - }, - { - "name": "mediaTypes", - "in": "query", - "description": "Optional filter by MediaType. Allows multiple, comma delimited.", - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "imageTypes", - "in": "query", - "description": "Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageType" - } - } - }, - { - "name": "sortBy", - "in": "query", - "description": "Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.", - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "isPlayed", - "in": "query", - "description": "Optional filter by items that are played, or not.", - "schema": { - "type": "boolean" - } - }, - { - "name": "genres", - "in": "query", - "description": "Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited.", - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "officialRatings", - "in": "query", - "description": "Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited.", - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "tags", - "in": "query", - "description": "Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited.", - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "years", - "in": "query", - "description": "Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited.", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - } - }, - { - "name": "enableUserData", - "in": "query", - "description": "Optional, include user data.", - "schema": { - "type": "boolean" - } - }, - { - "name": "imageTypeLimit", - "in": "query", - "description": "Optional, the max number of images to return, per image type.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "enableImageTypes", - "in": "query", - "description": "Optional. The image types to include in the output.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageType" - } - } - }, - { - "name": "person", - "in": "query", - "description": "Optional. If specified, results will be filtered to include only those containing the specified person.", - "schema": { - "type": "string" - } - }, - { - "name": "personIds", - "in": "query", - "description": "Optional. If specified, results will be filtered to include only those containing the specified person id.", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - { - "name": "personTypes", - "in": "query", - "description": "Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited.", - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "studios", - "in": "query", - "description": "Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited.", - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "artists", - "in": "query", - "description": "Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited.", - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "excludeArtistIds", - "in": "query", - "description": "Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited.", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - { - "name": "artistIds", - "in": "query", - "description": "Optional. If specified, results will be filtered to include only those containing the specified artist id.", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - { - "name": "albumArtistIds", - "in": "query", - "description": "Optional. If specified, results will be filtered to include only those containing the specified album artist id.", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - { - "name": "contributingArtistIds", - "in": "query", - "description": "Optional. If specified, results will be filtered to include only those containing the specified contributing artist id.", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - { - "name": "albums", - "in": "query", - "description": "Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited.", - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "albumIds", - "in": "query", - "description": "Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited.", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - { - "name": "ids", - "in": "query", - "description": "Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited.", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - { - "name": "videoTypes", - "in": "query", - "description": "Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VideoType" - } - } - }, - { - "name": "minOfficialRating", - "in": "query", - "description": "Optional filter by minimum official rating (PG, PG-13, TV-MA, etc).", - "schema": { - "type": "string" - } - }, - { - "name": "isLocked", - "in": "query", - "description": "Optional filter by items that are locked.", - "schema": { - "type": "boolean" - } - }, - { - "name": "isPlaceHolder", - "in": "query", - "description": "Optional filter by items that are placeholders.", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasOfficialRating", - "in": "query", - "description": "Optional filter by items that have official ratings.", - "schema": { - "type": "boolean" - } - }, - { - "name": "collapseBoxSetItems", - "in": "query", - "description": "Whether or not to hide items behind their boxsets.", - "schema": { - "type": "boolean" - } - }, - { - "name": "minWidth", - "in": "query", - "description": "Optional. Filter by the minimum width of the item.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "minHeight", - "in": "query", - "description": "Optional. Filter by the minimum height of the item.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "maxWidth", - "in": "query", - "description": "Optional. Filter by the maximum width of the item.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "maxHeight", - "in": "query", - "description": "Optional. Filter by the maximum height of the item.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "is3D", - "in": "query", - "description": "Optional filter by items that are 3D, or not.", - "schema": { - "type": "boolean" - } - }, - { - "name": "seriesStatus", - "in": "query", - "description": "Optional filter by Series Status. Allows multiple, comma delimited.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SeriesStatus" - } - } - }, - { - "name": "nameStartsWithOrGreater", - "in": "query", - "description": "Optional filter by items whose name is sorted equally or greater than a given input string.", - "schema": { - "type": "string" - } - }, - { - "name": "nameStartsWith", - "in": "query", - "description": "Optional filter by items whose name is sorted equally than a given input string.", - "schema": { - "type": "string" - } - }, - { - "name": "nameLessThan", - "in": "query", - "description": "Optional filter by items whose name is equally or lesser than a given input string.", - "schema": { - "type": "string" - } - }, - { - "name": "studioIds", - "in": "query", - "description": "Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited.", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - { - "name": "genreIds", - "in": "query", - "description": "Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited.", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - { - "name": "enableTotalRecordCount", - "in": "query", - "description": "Optional. Enable the total record count.", - "schema": { - "type": "boolean", - "default": true - } - }, - { - "name": "enableImages", - "in": "query", - "description": "Optional, include image information in output.", - "schema": { - "type": "boolean", - "default": true + "type": "string", + "format": "uuid" } } ], + "requestBody": { + "description": "New user data object.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdateUserItemDataDto" + } + ], + "description": "This is used by the api to get information about a item user data." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdateUserItemDataDto" + } + ], + "description": "This is used by the api to get information about a item user data." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdateUserItemDataDto" + } + ], + "description": "This is used by the api to get information about a item user data." + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Success", + "description": "return updated user item data.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" + "$ref": "#/components/schemas/UserItemDataDto" } }, "application/json; profile=\"CamelCase\"": { "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" + "$ref": "#/components/schemas/UserItemDataDto" } }, "application/json; profile=\"PascalCase\"": { "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" + "$ref": "#/components/schemas/UserItemDataDto" + } + } + } + }, + "404": { + "description": "Item is not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" } } } @@ -23006,7 +20619,7 @@ ] } }, - "/Users/{userId}/Items/Resume": { + "/UserItems/Resume": { "get": { "tags": [ "Items" @@ -23016,9 +20629,8 @@ "parameters": [ { "name": "userId", - "in": "path", + "in": "query", "description": "The user id.", - "required": true, "schema": { "type": "string", "format": "uuid" @@ -23077,7 +20689,7 @@ "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/MediaType" } } }, @@ -23196,327 +20808,67 @@ ] } }, - "/Library/VirtualFolders": { - "get": { - "tags": [ - "LibraryStructure" - ], - "summary": "Gets all virtual folders.", - "operationId": "GetVirtualFolders", - "responses": { - "200": { - "description": "Virtual folders retrieved.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualFolderInfo" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualFolderInfo" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualFolderInfo" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "FirstTimeSetupOrElevated" - ] - } - ] - }, + "/Items/{itemId}": { "post": { "tags": [ - "LibraryStructure" + "ItemUpdate" ], - "summary": "Adds a virtual folder.", - "operationId": "AddVirtualFolder", + "summary": "Updates an item.", + "operationId": "UpdateItem", "parameters": [ { - "name": "name", - "in": "query", - "description": "The name of the virtual folder.", + "name": "itemId", + "in": "path", + "description": "The item id.", + "required": true, "schema": { - "type": "string" - } - }, - { - "name": "collectionType", - "in": "query", - "description": "The type of the collection.", - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CollectionTypeOptions" - } - ] - } - }, - { - "name": "paths", - "in": "query", - "description": "The paths of the virtual folder.", - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "refreshLibrary", - "in": "query", - "description": "Whether to refresh the library.", - "schema": { - "type": "boolean", - "default": false + "type": "string", + "format": "uuid" } } ], "requestBody": { - "description": "The library options.", + "description": "The new item properties.", "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "#/components/schemas/AddVirtualFolderDto" + "$ref": "#/components/schemas/BaseItemDto" } ], - "description": "Add virtual folder dto." + "description": "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." } }, "text/json": { "schema": { "allOf": [ { - "$ref": "#/components/schemas/AddVirtualFolderDto" + "$ref": "#/components/schemas/BaseItemDto" } ], - "description": "Add virtual folder dto." + "description": "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." } }, "application/*+json": { "schema": { "allOf": [ { - "$ref": "#/components/schemas/AddVirtualFolderDto" + "$ref": "#/components/schemas/BaseItemDto" } ], - "description": "Add virtual folder dto." + "description": "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." } } - } + }, + "required": true }, "responses": { "204": { - "description": "Folder added." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "FirstTimeSetupOrElevated" - ] - } - ] - }, - "delete": { - "tags": [ - "LibraryStructure" - ], - "summary": "Removes a virtual folder.", - "operationId": "RemoveVirtualFolder", - "parameters": [ - { - "name": "name", - "in": "query", - "description": "The name of the folder.", - "schema": { - "type": "string" - } - }, - { - "name": "refreshLibrary", - "in": "query", - "description": "Whether to refresh the library.", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "204": { - "description": "Folder removed." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "FirstTimeSetupOrElevated" - ] - } - ] - } - }, - "/Library/VirtualFolders/LibraryOptions": { - "post": { - "tags": [ - "LibraryStructure" - ], - "summary": "Update library options.", - "operationId": "UpdateLibraryOptions", - "requestBody": { - "description": "The library name and options.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateLibraryOptionsDto" - } - ], - "description": "Update library options dto." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateLibraryOptionsDto" - } - ], - "description": "Update library options dto." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateLibraryOptionsDto" - } - ], - "description": "Update library options dto." - } - } - } - }, - "responses": { - "204": { - "description": "Library updated." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "FirstTimeSetupOrElevated" - ] - } - ] - } - }, - "/Library/VirtualFolders/Name": { - "post": { - "tags": [ - "LibraryStructure" - ], - "summary": "Renames a virtual folder.", - "operationId": "RenameVirtualFolder", - "parameters": [ - { - "name": "name", - "in": "query", - "description": "The name of the virtual folder.", - "schema": { - "type": "string" - } - }, - { - "name": "newName", - "in": "query", - "description": "The new name.", - "schema": { - "type": "string" - } - }, - { - "name": "refreshLibrary", - "in": "query", - "description": "Whether to refresh the library.", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "204": { - "description": "Folder renamed." + "description": "Item updated." }, "404": { - "description": "Library doesn't exist.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Library already exists.", + "description": "Item not found.", "content": { "application/json": { "schema": { @@ -23545,121 +20897,132 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated" - ] - } - ] - } - }, - "/Library/VirtualFolders/Paths": { - "post": { - "tags": [ - "LibraryStructure" - ], - "summary": "Add a media path to a library.", - "operationId": "AddMediaPath", - "parameters": [ - { - "name": "refreshLibrary", - "in": "query", - "description": "Whether to refresh the library.", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "requestBody": { - "description": "The media path dto.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MediaPathDto" - } - ], - "description": "Media Path dto." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MediaPathDto" - } - ], - "description": "Media Path dto." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MediaPathDto" - } - ], - "description": "Media Path dto." - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Media path added." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "FirstTimeSetupOrElevated" + "RequiresElevation" ] } ] }, "delete": { "tags": [ - "LibraryStructure" + "Library" ], - "summary": "Remove a media path.", - "operationId": "RemoveMediaPath", + "summary": "Deletes an item from the library and filesystem.", + "operationId": "DeleteItem", "parameters": [ { - "name": "name", - "in": "query", - "description": "The name of the library.", + "name": "itemId", + "in": "path", + "description": "The item id.", + "required": true, "schema": { - "type": "string" - } - }, - { - "name": "path", - "in": "query", - "description": "The path to remove.", - "schema": { - "type": "string" - } - }, - { - "name": "refreshLibrary", - "in": "query", - "description": "Whether to refresh the library.", - "schema": { - "type": "boolean", - "default": false + "type": "string", + "format": "uuid" } } ], "responses": { "204": { - "description": "Media path removed." + "description": "Item deleted." + }, + "401": { + "description": "Unauthorized access.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + }, + "get": { + "tags": [ + "UserLibrary" + ], + "summary": "Gets an item from a user's library.", + "operationId": "GetItem", + "parameters": [ + { + "name": "userId", + "in": "query", + "description": "User id.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Item returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + } }, "401": { "description": "Unauthorized" @@ -23671,58 +21034,62 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated" + "DefaultAuthorization" ] } ] } }, - "/Library/VirtualFolders/Paths/Update": { + "/Items/{itemId}/ContentType": { "post": { "tags": [ - "LibraryStructure" + "ItemUpdate" ], - "summary": "Updates a media path.", - "operationId": "UpdateMediaPath", - "requestBody": { - "description": "The name of the library and path infos.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateMediaPathRequestDto" - } - ], - "description": "Update library options dto." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateMediaPathRequestDto" - } - ], - "description": "Update library options dto." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateMediaPathRequestDto" - } - ], - "description": "Update library options dto." - } + "summary": "Updates an item's content type.", + "operationId": "UpdateItemContentType", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "The item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" } }, - "required": true - }, + { + "name": "contentType", + "in": "query", + "description": "The content type of the item.", + "schema": { + "type": "string" + } + } + ], "responses": { "204": { - "description": "Media path updated." + "description": "Item content type updated." + }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } }, "401": { "description": "Unauthorized" @@ -23734,7 +21101,83 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated" + "RequiresElevation" + ] + } + ] + } + }, + "/Items/{itemId}/MetadataEditor": { + "get": { + "tags": [ + "ItemUpdate" + ], + "summary": "Gets metadata editor info for an item.", + "operationId": "GetMetadataEditorInfo", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "The item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Item metadata editor returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MetadataEditorInfo" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/MetadataEditorInfo" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/MetadataEditorInfo" + } + } + } + }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" ] } ] @@ -23934,69 +21377,6 @@ ] } }, - "/Items/Counts": { - "get": { - "tags": [ - "Library" - ], - "summary": "Get item counts.", - "operationId": "GetItemCounts", - "parameters": [ - { - "name": "userId", - "in": "query", - "description": "Optional. Get counts from a specific user's library.", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "isFavorite", - "in": "query", - "description": "Optional. Get counts of favorite items.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "Item counts returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ItemCounts" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ItemCounts" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ItemCounts" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Items/{itemId}/Ancestors": { "get": { "tags": [ @@ -24213,7 +21593,8 @@ "security": [ { "CustomAuthentication": [ - "Download" + "Download", + "DefaultAuthorization" ] } ] @@ -24424,6 +21805,28 @@ "type": "boolean", "default": false } + }, + { + "name": "sortBy", + "in": "query", + "description": "Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemSortBy" + } + } + }, + { + "name": "sortOrder", + "in": "query", + "description": "Optional. Sort Order - Ascending, Descending.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SortOrder" + } + } } ], "responses": { @@ -24501,6 +21904,28 @@ "type": "boolean", "default": false } + }, + { + "name": "sortBy", + "in": "query", + "description": "Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemSortBy" + } + } + }, + { + "name": "sortOrder", + "in": "query", + "description": "Optional. Sort Order - Ascending, Descending.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SortOrder" + } + } } ], "responses": { @@ -24595,6 +22020,28 @@ "type": "boolean", "default": false } + }, + { + "name": "sortBy", + "in": "query", + "description": "Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemSortBy" + } + } + }, + { + "name": "sortOrder", + "in": "query", + "description": "Optional. Sort Order - Ascending, Descending.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SortOrder" + } + } } ], "responses": { @@ -24654,6 +22101,69 @@ ] } }, + "/Items/Counts": { + "get": { + "tags": [ + "Library" + ], + "summary": "Get item counts.", + "operationId": "GetItemCounts", + "parameters": [ + { + "name": "userId", + "in": "query", + "description": "Optional. Get counts from a specific user's library.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "isFavorite", + "in": "query", + "description": "Optional. Get counts of favorite items.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "Item counts returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ItemCounts" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ItemCounts" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ItemCounts" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/Libraries/AvailableOptions": { "get": { "tags": [ @@ -24667,7 +22177,26 @@ "in": "query", "description": "Library content type.", "schema": { - "type": "string" + "enum": [ + "unknown", + "movies", + "tvshows", + "music", + "musicvideos", + "trailers", + "homevideos", + "boxsets", + "books", + "photos", + "livetv", + "playlists", + "folders" + ], + "allOf": [ + { + "$ref": "#/components/schemas/CollectionType" + } + ] } }, { @@ -24711,7 +22240,8 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrDefault" + "FirstTimeSetupOrDefault", + "DefaultAuthorization" ] } ] @@ -25369,6 +22899,588 @@ ] } }, + "/Library/VirtualFolders": { + "get": { + "tags": [ + "LibraryStructure" + ], + "summary": "Gets all virtual folders.", + "operationId": "GetVirtualFolders", + "responses": { + "200": { + "description": "Virtual folders retrieved.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/VirtualFolderInfo" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/VirtualFolderInfo" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/VirtualFolderInfo" + } + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "FirstTimeSetupOrElevated", + "DefaultAuthorization" + ] + } + ] + }, + "post": { + "tags": [ + "LibraryStructure" + ], + "summary": "Adds a virtual folder.", + "operationId": "AddVirtualFolder", + "parameters": [ + { + "name": "name", + "in": "query", + "description": "The name of the virtual folder.", + "schema": { + "type": "string" + } + }, + { + "name": "collectionType", + "in": "query", + "description": "The type of the collection.", + "schema": { + "enum": [ + "movies", + "tvshows", + "music", + "musicvideos", + "homevideos", + "boxsets", + "books", + "mixed" + ], + "allOf": [ + { + "$ref": "#/components/schemas/CollectionTypeOptions" + } + ] + } + }, + { + "name": "paths", + "in": "query", + "description": "The paths of the virtual folder.", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "refreshLibrary", + "in": "query", + "description": "Whether to refresh the library.", + "schema": { + "type": "boolean", + "default": false + } + } + ], + "requestBody": { + "description": "The library options.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/AddVirtualFolderDto" + } + ], + "description": "Add virtual folder dto." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/AddVirtualFolderDto" + } + ], + "description": "Add virtual folder dto." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/AddVirtualFolderDto" + } + ], + "description": "Add virtual folder dto." + } + } + } + }, + "responses": { + "204": { + "description": "Folder added." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "FirstTimeSetupOrElevated", + "DefaultAuthorization" + ] + } + ] + }, + "delete": { + "tags": [ + "LibraryStructure" + ], + "summary": "Removes a virtual folder.", + "operationId": "RemoveVirtualFolder", + "parameters": [ + { + "name": "name", + "in": "query", + "description": "The name of the folder.", + "schema": { + "type": "string" + } + }, + { + "name": "refreshLibrary", + "in": "query", + "description": "Whether to refresh the library.", + "schema": { + "type": "boolean", + "default": false + } + } + ], + "responses": { + "204": { + "description": "Folder removed." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "FirstTimeSetupOrElevated", + "DefaultAuthorization" + ] + } + ] + } + }, + "/Library/VirtualFolders/LibraryOptions": { + "post": { + "tags": [ + "LibraryStructure" + ], + "summary": "Update library options.", + "operationId": "UpdateLibraryOptions", + "requestBody": { + "description": "The library name and options.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdateLibraryOptionsDto" + } + ], + "description": "Update library options dto." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdateLibraryOptionsDto" + } + ], + "description": "Update library options dto." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdateLibraryOptionsDto" + } + ], + "description": "Update library options dto." + } + } + } + }, + "responses": { + "204": { + "description": "Library updated." + }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "FirstTimeSetupOrElevated", + "DefaultAuthorization" + ] + } + ] + } + }, + "/Library/VirtualFolders/Name": { + "post": { + "tags": [ + "LibraryStructure" + ], + "summary": "Renames a virtual folder.", + "operationId": "RenameVirtualFolder", + "parameters": [ + { + "name": "name", + "in": "query", + "description": "The name of the virtual folder.", + "schema": { + "type": "string" + } + }, + { + "name": "newName", + "in": "query", + "description": "The new name.", + "schema": { + "type": "string" + } + }, + { + "name": "refreshLibrary", + "in": "query", + "description": "Whether to refresh the library.", + "schema": { + "type": "boolean", + "default": false + } + } + ], + "responses": { + "204": { + "description": "Folder renamed." + }, + "404": { + "description": "Library doesn't exist.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "409": { + "description": "Library already exists.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "FirstTimeSetupOrElevated", + "DefaultAuthorization" + ] + } + ] + } + }, + "/Library/VirtualFolders/Paths": { + "post": { + "tags": [ + "LibraryStructure" + ], + "summary": "Add a media path to a library.", + "operationId": "AddMediaPath", + "parameters": [ + { + "name": "refreshLibrary", + "in": "query", + "description": "Whether to refresh the library.", + "schema": { + "type": "boolean", + "default": false + } + } + ], + "requestBody": { + "description": "The media path dto.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/MediaPathDto" + } + ], + "description": "Media Path dto." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/MediaPathDto" + } + ], + "description": "Media Path dto." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/MediaPathDto" + } + ], + "description": "Media Path dto." + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Media path added." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "FirstTimeSetupOrElevated", + "DefaultAuthorization" + ] + } + ] + }, + "delete": { + "tags": [ + "LibraryStructure" + ], + "summary": "Remove a media path.", + "operationId": "RemoveMediaPath", + "parameters": [ + { + "name": "name", + "in": "query", + "description": "The name of the library.", + "schema": { + "type": "string" + } + }, + { + "name": "path", + "in": "query", + "description": "The path to remove.", + "schema": { + "type": "string" + } + }, + { + "name": "refreshLibrary", + "in": "query", + "description": "Whether to refresh the library.", + "schema": { + "type": "boolean", + "default": false + } + } + ], + "responses": { + "204": { + "description": "Media path removed." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "FirstTimeSetupOrElevated", + "DefaultAuthorization" + ] + } + ] + } + }, + "/Library/VirtualFolders/Paths/Update": { + "post": { + "tags": [ + "LibraryStructure" + ], + "summary": "Updates a media path.", + "operationId": "UpdateMediaPath", + "requestBody": { + "description": "The name of the library and path infos.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdateMediaPathRequestDto" + } + ], + "description": "Update library options dto." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdateMediaPathRequestDto" + } + ], + "description": "Update library options dto." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdateMediaPathRequestDto" + } + ], + "description": "Update library options dto." + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Media path updated." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "FirstTimeSetupOrElevated", + "DefaultAuthorization" + ] + } + ] + } + }, "/LiveTv/ChannelMappingOptions": { "get": { "tags": [ @@ -25417,7 +23529,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -25497,7 +23610,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvManagement" + "LiveTvManagement", + "DefaultAuthorization" ] } ] @@ -25516,6 +23630,10 @@ "in": "query", "description": "Optional. Filter by channel type.", "schema": { + "enum": [ + "TV", + "Radio" + ], "allOf": [ { "$ref": "#/components/schemas/ChannelType" @@ -25668,7 +23786,7 @@ "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/ItemSortBy" } } }, @@ -25677,6 +23795,10 @@ "in": "query", "description": "Optional. Sort order.", "schema": { + "enum": [ + "Ascending", + "Descending" + ], "allOf": [ { "$ref": "#/components/schemas/SortOrder" @@ -25734,7 +23856,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -25789,6 +23912,26 @@ } } }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" }, @@ -25799,7 +23942,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -25843,7 +23987,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -25887,7 +24032,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -25991,7 +24137,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvManagement" + "LiveTvManagement", + "DefaultAuthorization" ] } ] @@ -26026,7 +24173,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvManagement" + "LiveTvManagement", + "DefaultAuthorization" ] } ] @@ -26070,7 +24218,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -26157,7 +24306,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -26192,7 +24342,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -26459,7 +24610,7 @@ "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/ItemSortBy" } } }, @@ -26602,7 +24753,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -26679,7 +24831,73 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" + ] + } + ] + } + }, + "/LiveTv/Programs/{programId}": { + "get": { + "tags": [ + "LiveTv" + ], + "summary": "Gets a live tv program.", + "operationId": "GetProgram", + "parameters": [ + { + "name": "programId", + "in": "path", + "description": "Program id.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "userId", + "in": "query", + "description": "Optional. Attach user data.", + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Program returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -26867,71 +25085,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" - ] - } - ] - } - }, - "/LiveTv/Programs/{programId}": { - "get": { - "tags": [ - "LiveTv" - ], - "summary": "Gets a live tv program.", - "operationId": "GetProgram", - "parameters": [ - { - "name": "programId", - "in": "path", - "description": "Program id.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "query", - "description": "Optional. Attach user data.", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Program returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -26985,6 +25140,15 @@ "in": "query", "description": "Optional. Filter by recording status.", "schema": { + "enum": [ + "New", + "InProgress", + "Completed", + "Cancelled", + "ConflictedOk", + "ConflictedNotOk", + "Error" + ], "allOf": [ { "$ref": "#/components/schemas/RecordingStatus" @@ -27144,7 +25308,152 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" + ] + } + ] + } + }, + "/LiveTv/Recordings/{recordingId}": { + "get": { + "tags": [ + "LiveTv" + ], + "summary": "Gets a live tv recording.", + "operationId": "GetRecording", + "parameters": [ + { + "name": "recordingId", + "in": "path", + "description": "Recording id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "userId", + "in": "query", + "description": "Optional. Attach user data.", + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Recording returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + } + }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "LiveTvAccess", + "DefaultAuthorization" + ] + } + ] + }, + "delete": { + "tags": [ + "LiveTv" + ], + "summary": "Deletes a live tv recording.", + "operationId": "DeleteRecording", + "parameters": [ + { + "name": "recordingId", + "in": "path", + "description": "Recording id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "204": { + "description": "Recording deleted." + }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "LiveTvManagement", + "DefaultAuthorization" ] } ] @@ -27199,7 +25508,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -27255,7 +25565,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -27312,7 +25623,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -27374,6 +25686,15 @@ "in": "query", "description": "Optional. Filter by recording status.", "schema": { + "enum": [ + "New", + "InProgress", + "Completed", + "Cancelled", + "ConflictedOk", + "ConflictedNotOk", + "Error" + ], "allOf": [ { "$ref": "#/components/schemas/RecordingStatus" @@ -27486,129 +25807,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" - ] - } - ] - } - }, - "/LiveTv/Recordings/{recordingId}": { - "get": { - "tags": [ - "LiveTv" - ], - "summary": "Gets a live tv recording.", - "operationId": "GetRecording", - "parameters": [ - { - "name": "recordingId", - "in": "path", - "description": "Recording id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "userId", - "in": "query", - "description": "Optional. Attach user data.", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Recording returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "LiveTvAccess" - ] - } - ] - }, - "delete": { - "tags": [ - "LiveTv" - ], - "summary": "Deletes a live tv recording.", - "operationId": "DeleteRecording", - "parameters": [ - { - "name": "recordingId", - "in": "path", - "description": "Recording id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "Recording deleted." - }, - "404": { - "description": "Item not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "LiveTvManagement" + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -27635,6 +25835,10 @@ "in": "query", "description": "Optional. Sort in Ascending or Descending order.", "schema": { + "enum": [ + "Ascending", + "Descending" + ], "allOf": [ { "$ref": "#/components/schemas/SortOrder" @@ -27674,7 +25878,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -27734,7 +25939,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvManagement" + "LiveTvManagement", + "DefaultAuthorization" ] } ] @@ -27809,7 +26015,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -27845,7 +26052,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvManagement" + "LiveTvManagement", + "DefaultAuthorization" ] } ] @@ -27916,7 +26124,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvManagement" + "LiveTvManagement", + "DefaultAuthorization" ] } ] @@ -27994,7 +26203,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -28051,61 +26261,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvManagement" - ] - } - ] - } - }, - "/LiveTv/Timers/Defaults": { - "get": { - "tags": [ - "LiveTv" - ], - "summary": "Gets the default values for a new timer.", - "operationId": "GetDefaultTimer", - "parameters": [ - { - "name": "programId", - "in": "query", - "description": "Optional. To attach default values based on a program.", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Default values returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SeriesTimerInfoDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/SeriesTimerInfoDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/SeriesTimerInfoDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvManagement", + "DefaultAuthorization" ] } ] @@ -28160,7 +26317,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -28196,7 +26354,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvManagement" + "LiveTvManagement", + "DefaultAuthorization" ] } ] @@ -28264,7 +26423,63 @@ "security": [ { "CustomAuthentication": [ - "LiveTvManagement" + "LiveTvManagement", + "DefaultAuthorization" + ] + } + ] + } + }, + "/LiveTv/Timers/Defaults": { + "get": { + "tags": [ + "LiveTv" + ], + "summary": "Gets the default values for a new timer.", + "operationId": "GetDefaultTimer", + "parameters": [ + { + "name": "programId", + "in": "query", + "description": "Optional. To attach default values based on a program.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Default values returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SeriesTimerInfoDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/SeriesTimerInfoDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/SeriesTimerInfoDto" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "LiveTvAccess", + "DefaultAuthorization" ] } ] @@ -28340,7 +26555,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvManagement" + "LiveTvManagement", + "DefaultAuthorization" ] } ] @@ -28375,7 +26591,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvManagement" + "LiveTvManagement", + "DefaultAuthorization" ] } ] @@ -28428,7 +26645,47 @@ "security": [ { "CustomAuthentication": [ - "LiveTvAccess" + "LiveTvAccess", + "DefaultAuthorization" + ] + } + ] + } + }, + "/LiveTv/Tuners/{tunerId}/Reset": { + "post": { + "tags": [ + "LiveTv" + ], + "summary": "Resets a tv tuner.", + "operationId": "ResetTuner", + "parameters": [ + { + "name": "tunerId", + "in": "path", + "description": "Tuner id.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Tuner reset." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "LiveTvManagement", + "DefaultAuthorization" ] } ] @@ -28492,7 +26749,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvManagement" + "LiveTvManagement", + "DefaultAuthorization" ] } ] @@ -28556,45 +26814,8 @@ "security": [ { "CustomAuthentication": [ - "LiveTvManagement" - ] - } - ] - } - }, - "/LiveTv/Tuners/{tunerId}/Reset": { - "post": { - "tags": [ - "LiveTv" - ], - "summary": "Resets a tv tuner.", - "operationId": "ResetTuner", - "parameters": [ - { - "name": "tunerId", - "in": "path", - "description": "Tuner id.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Tuner reset." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "LiveTvManagement" + "LiveTvManagement", + "DefaultAuthorization" ] } ] @@ -28647,7 +26868,8 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrDefault" + "FirstTimeSetupOrDefault", + "DefaultAuthorization" ] } ] @@ -28700,7 +26922,8 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrDefault" + "FirstTimeSetupOrDefault", + "DefaultAuthorization" ] } ] @@ -28753,7 +26976,8 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrDefault" + "FirstTimeSetupOrDefault", + "DefaultAuthorization" ] } ] @@ -28806,7 +27030,504 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrDefault" + "FirstTimeSetupOrDefault", + "DefaultAuthorization" + ] + } + ] + } + }, + "/Audio/{itemId}/Lyrics": { + "get": { + "tags": [ + "Lyrics" + ], + "summary": "Gets an item's lyrics.", + "operationId": "GetLyrics", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Lyrics returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LyricDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/LyricDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/LyricDto" + } + } + } + }, + "404": { + "description": "Something went wrong. No Lyrics will be returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + }, + "post": { + "tags": [ + "Lyrics" + ], + "summary": "Upload an external lyric file.", + "operationId": "UploadLyrics", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "The item the lyric belongs to.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "fileName", + "in": "query", + "description": "Name of the file being uploaded.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "text/plain": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + }, + "responses": { + "200": { + "description": "Lyrics uploaded.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LyricDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/LyricDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/LyricDto" + } + } + } + }, + "400": { + "description": "Error processing upload.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "LyricManagement", + "DefaultAuthorization" + ] + } + ] + }, + "delete": { + "tags": [ + "Lyrics" + ], + "summary": "Deletes an external lyric file.", + "operationId": "DeleteLyrics", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "The item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "204": { + "description": "Lyric deleted." + }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "LyricManagement", + "DefaultAuthorization" + ] + } + ] + } + }, + "/Audio/{itemId}/RemoteSearch/Lyrics": { + "get": { + "tags": [ + "Lyrics" + ], + "summary": "Search remote lyrics.", + "operationId": "SearchRemoteLyrics", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "The item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Lyrics retrieved.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RemoteLyricInfoDto" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RemoteLyricInfoDto" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RemoteLyricInfoDto" + } + } + } + } + }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "LyricManagement", + "DefaultAuthorization" + ] + } + ] + } + }, + "/Audio/{itemId}/RemoteSearch/Lyrics/{lyricId}": { + "post": { + "tags": [ + "Lyrics" + ], + "summary": "Downloads a remote lyric.", + "operationId": "DownloadRemoteLyrics", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "The item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "lyricId", + "in": "path", + "description": "The lyric id.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Lyric downloaded.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LyricDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/LyricDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/LyricDto" + } + } + } + }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "LyricManagement", + "DefaultAuthorization" + ] + } + ] + } + }, + "/Providers/Lyrics/{lyricId}": { + "get": { + "tags": [ + "Lyrics" + ], + "summary": "Gets the remote lyrics.", + "operationId": "GetRemoteLyrics", + "parameters": [ + { + "name": "lyricId", + "in": "path", + "description": "The remote provider item id.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "File returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LyricDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/LyricDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/LyricDto" + } + } + } + }, + "404": { + "description": "Lyric not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "LyricManagement", + "DefaultAuthorization" ] } ] @@ -28834,7 +27555,6 @@ "name": "userId", "in": "query", "description": "The user id.", - "required": true, "schema": { "type": "string", "format": "uuid" @@ -28862,6 +27582,26 @@ } } }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" }, @@ -29084,6 +27824,26 @@ } } }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" }, @@ -29240,6 +28000,14 @@ "schema": { "type": "boolean" } + }, + { + "name": "alwaysBurnInSubtitleWhenTranscoding", + "in": "query", + "description": "Always burn-in subtitle when transcoding.", + "schema": { + "type": "boolean" + } } ], "requestBody": { @@ -29363,6 +28131,93 @@ ] } }, + "/MediaSegments/{itemId}": { + "get": { + "tags": [ + "MediaSegments" + ], + "summary": "Gets all media segments based on an itemId.", + "operationId": "GetItemSegments", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "The ItemId.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "includeSegmentTypes", + "in": "query", + "description": "Optional filter of requested segment types.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MediaSegmentType" + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MediaSegmentDtoQueryResult" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/MediaSegmentDtoQueryResult" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/MediaSegmentDtoQueryResult" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/Movies/Recommendations": { "get": { "tags": [ @@ -29611,7 +28466,7 @@ "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/ItemSortBy" } } }, @@ -29747,431 +28602,6 @@ ] } }, - "/Notifications/Admin": { - "post": { - "tags": [ - "Notifications" - ], - "summary": "Sends a notification to all admins.", - "operationId": "CreateAdminNotification", - "requestBody": { - "description": "The notification request.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/AdminNotificationDto" - } - ], - "description": "The admin notification dto." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/AdminNotificationDto" - } - ], - "description": "The admin notification dto." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/AdminNotificationDto" - } - ], - "description": "The admin notification dto." - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Notification sent." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Notifications/Services": { - "get": { - "tags": [ - "Notifications" - ], - "summary": "Gets notification services.", - "operationId": "GetNotificationServices", - "responses": { - "200": { - "description": "All notification services returned.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NameIdPair" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NameIdPair" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NameIdPair" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Notifications/Types": { - "get": { - "tags": [ - "Notifications" - ], - "summary": "Gets notification types.", - "operationId": "GetNotificationTypes", - "responses": { - "200": { - "description": "All notification types returned.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationTypeInfo" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationTypeInfo" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationTypeInfo" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Notifications/{userId}": { - "get": { - "tags": [ - "Notifications" - ], - "summary": "Gets a user's notifications.", - "operationId": "GetNotifications", - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Notifications returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationResultDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/NotificationResultDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/NotificationResultDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Notifications/{userId}/Read": { - "post": { - "tags": [ - "Notifications" - ], - "summary": "Sets notifications as read.", - "operationId": "SetRead", - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Notifications set as read." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Notifications/{userId}/Summary": { - "get": { - "tags": [ - "Notifications" - ], - "summary": "Gets a user's notification summary.", - "operationId": "GetNotificationsSummary", - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Summary of user's notifications returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationsSummaryDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/NotificationsSummaryDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/NotificationsSummaryDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Notifications/{userId}/Unread": { - "post": { - "tags": [ - "Notifications" - ], - "summary": "Sets notifications as unread.", - "operationId": "SetUnread", - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Notifications set as unread." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Jellyfin.Plugin.OpenSubtitles/ValidateLoginInfo": { - "post": { - "tags": [ - "OpenSubtitles" - ], - "operationId": "ValidateLoginInfo", - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/LoginInfoInput" - } - ] - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/LoginInfoInput" - } - ] - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/LoginInfoInput" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Success" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Packages": { "get": { "tags": [ @@ -30219,7 +28649,71 @@ "security": [ { "CustomAuthentication": [ - "DefaultAuthorization" + "RequiresElevation" + ] + } + ] + } + }, + "/Packages/{name}": { + "get": { + "tags": [ + "Package" + ], + "summary": "Gets a package by name or assembly GUID.", + "operationId": "GetPackageInfo", + "parameters": [ + { + "name": "name", + "in": "path", + "description": "The name of the package.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "assemblyGuid", + "in": "query", + "description": "The GUID of the associated assembly.", + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Package retrieved.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PackageInfo" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/PackageInfo" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/PackageInfo" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" ] } ] @@ -30302,8 +28796,7 @@ "security": [ { "CustomAuthentication": [ - "RequiresElevation", - "DefaultAuthorization" + "RequiresElevation" ] } ] @@ -30342,72 +28835,7 @@ "security": [ { "CustomAuthentication": [ - "RequiresElevation", - "DefaultAuthorization" - ] - } - ] - } - }, - "/Packages/{name}": { - "get": { - "tags": [ - "Package" - ], - "summary": "Gets a package by name or assembly GUID.", - "operationId": "GetPackageInfo", - "parameters": [ - { - "name": "name", - "in": "path", - "description": "The name of the package.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "assemblyGuid", - "in": "query", - "description": "The GUID of the associated assembly.", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Package retrieved.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PackageInfo" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/PackageInfo" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/PackageInfo" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" + "RequiresElevation" ] } ] @@ -30460,7 +28888,7 @@ "security": [ { "CustomAuthentication": [ - "DefaultAuthorization" + "RequiresElevation" ] } ] @@ -30515,8 +28943,7 @@ "security": [ { "CustomAuthentication": [ - "RequiresElevation", - "DefaultAuthorization" + "RequiresElevation" ] } ] @@ -30776,772 +29203,6 @@ ] } }, - "/user_usage_stats/DurationHistogramReport": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetDurationHistogramReport", - "parameters": [ - { - "name": "days", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "endDate", - "in": "query", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "filter", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/GetTvShowsReport": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetTvShowsReport", - "parameters": [ - { - "name": "days", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "endDate", - "in": "query", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "timezoneOffset", - "in": "query", - "schema": { - "type": "number", - "format": "float" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/HourlyReport": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetHourlyReport", - "parameters": [ - { - "name": "days", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "endDate", - "in": "query", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "filter", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "timezoneOffset", - "in": "query", - "schema": { - "type": "number", - "format": "float" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/MoviesReport": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetMovieReport", - "parameters": [ - { - "name": "days", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "endDate", - "in": "query", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "timezoneOffset", - "in": "query", - "schema": { - "type": "number", - "format": "float" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/PlayActivity": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetUsageStats", - "parameters": [ - { - "name": "days", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "endDate", - "in": "query", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "filter", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "dataType", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "timezoneOffset", - "in": "query", - "schema": { - "type": "number", - "format": "float" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/load_backup": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "LoadBackup", - "parameters": [ - { - "name": "backupFilePath", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/save_backup": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "SaveBackup", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/submit_custom_query": { - "post": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "CustomQuery", - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomQueryData" - } - ] - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomQueryData" - } - ] - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomQueryData" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/type_filter_list": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetTypeFilterList", - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/user_activity": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetUserReport", - "parameters": [ - { - "name": "days", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "endDate", - "in": "query", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "timezoneOffset", - "in": "query", - "schema": { - "type": "number", - "format": "float" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/user_list": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetJellyfinUsers", - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/user_manage/add": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "IgnoreListAdd", - "parameters": [ - { - "name": "id", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "boolean" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/user_manage/prune": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "PruneUnknownUsers", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "boolean" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/user_manage/remove": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "IgnoreListRemove", - "parameters": [ - { - "name": "id", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "boolean" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/{breakdownType}/BreakdownReport": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetBreakdownReport", - "parameters": [ - { - "name": "breakdownType", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "days", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "endDate", - "in": "query", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "timezoneOffset", - "in": "query", - "schema": { - "type": "number", - "format": "float" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/{userId}/{date}/GetItems": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetUserReportData", - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "date", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "filter", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "timezoneOffset", - "in": "query", - "schema": { - "type": "number", - "format": "float" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Playlists": { "post": { "tags": [ @@ -31589,7 +29250,18 @@ "description": "The media type.", "deprecated": true, "schema": { - "type": "string" + "enum": [ + "Unknown", + "Video", + "Audio", + "Photo", + "Book" + ], + "allOf": [ + { + "$ref": "#/components/schemas/MediaType" + } + ] } } ], @@ -31630,7 +29302,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "Playlist created.", "content": { "application/json": { "schema": { @@ -31665,13 +29337,199 @@ ] } }, + "/Playlists/{playlistId}": { + "post": { + "tags": [ + "Playlists" + ], + "summary": "Updates a playlist.", + "operationId": "UpdatePlaylist", + "parameters": [ + { + "name": "playlistId", + "in": "path", + "description": "The playlist id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "description": "The Jellyfin.Api.Models.PlaylistDtos.UpdatePlaylistDto id.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdatePlaylistDto" + } + ], + "description": "Update existing playlist dto. Fields set to `null` will not be updated and keep their current values." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdatePlaylistDto" + } + ], + "description": "Update existing playlist dto. Fields set to `null` will not be updated and keep their current values." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdatePlaylistDto" + } + ], + "description": "Update existing playlist dto. Fields set to `null` will not be updated and keep their current values." + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Playlist updated." + }, + "403": { + "description": "Access forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Playlist not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + }, + "get": { + "tags": [ + "Playlists" + ], + "summary": "Get a playlist.", + "operationId": "GetPlaylist", + "parameters": [ + { + "name": "playlistId", + "in": "path", + "description": "The playlist id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "The playlist.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlaylistDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/PlaylistDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/PlaylistDto" + } + } + } + }, + "404": { + "description": "Playlist not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/Playlists/{playlistId}/Items": { "post": { "tags": [ "Playlists" ], "summary": "Adds items to a playlist.", - "operationId": "AddToPlaylist", + "operationId": "AddItemToPlaylist", "parameters": [ { "name": "playlistId", @@ -31709,11 +29567,48 @@ "204": { "description": "Items added to playlist." }, + "403": { + "description": "Access forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Playlist not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" } }, "security": [ @@ -31729,7 +29624,7 @@ "Playlists" ], "summary": "Removes items from a playlist.", - "operationId": "RemoveFromPlaylist", + "operationId": "RemoveItemFromPlaylist", "parameters": [ { "name": "playlistId", @@ -31756,11 +29651,48 @@ "204": { "description": "Items removed." }, + "403": { + "description": "Access forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Playlist not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" } }, "security": [ @@ -31792,7 +29724,6 @@ "name": "userId", "in": "query", "description": "User id.", - "required": true, "schema": { "type": "string", "format": "uuid" @@ -31885,14 +29816,48 @@ } } }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "404": { - "description": "Playlist not found." + "description": "Playlist not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } }, "401": { "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" } }, "security": [ @@ -31945,6 +29910,788 @@ "204": { "description": "Item moved to new index." }, + "403": { + "description": "Access forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Playlist not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Playlists/{playlistId}/Users": { + "get": { + "tags": [ + "Playlists" + ], + "summary": "Get a playlist's users.", + "operationId": "GetPlaylistUsers", + "parameters": [ + { + "name": "playlistId", + "in": "path", + "description": "The playlist id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Found shares.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PlaylistUserPermissions" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PlaylistUserPermissions" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PlaylistUserPermissions" + } + } + } + } + }, + "403": { + "description": "Access forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Playlist not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Playlists/{playlistId}/Users/{userId}": { + "get": { + "tags": [ + "Playlists" + ], + "summary": "Get a playlist user.", + "operationId": "GetPlaylistUser", + "parameters": [ + { + "name": "playlistId", + "in": "path", + "description": "The playlist id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "userId", + "in": "path", + "description": "The user id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "User permission found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PlaylistUserPermissions" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/PlaylistUserPermissions" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/PlaylistUserPermissions" + } + } + } + }, + "403": { + "description": "Access forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Playlist not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + }, + "post": { + "tags": [ + "Playlists" + ], + "summary": "Modify a user of a playlist's users.", + "operationId": "UpdatePlaylistUser", + "parameters": [ + { + "name": "playlistId", + "in": "path", + "description": "The playlist id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "userId", + "in": "path", + "description": "The user id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "description": "The Jellyfin.Api.Models.PlaylistDtos.UpdatePlaylistUserDto.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdatePlaylistUserDto" + } + ], + "description": "Update existing playlist user dto. Fields set to `null` will not be updated and keep their current values." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdatePlaylistUserDto" + } + ], + "description": "Update existing playlist user dto. Fields set to `null` will not be updated and keep their current values." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdatePlaylistUserDto" + } + ], + "description": "Update existing playlist user dto. Fields set to `null` will not be updated and keep their current values." + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "User's permissions modified." + }, + "403": { + "description": "Access forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Playlist not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + }, + "delete": { + "tags": [ + "Playlists" + ], + "summary": "Remove a user from a playlist's users.", + "operationId": "RemoveUserFromPlaylist", + "parameters": [ + { + "name": "playlistId", + "in": "path", + "description": "The playlist id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "userId", + "in": "path", + "description": "The user id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "204": { + "description": "User permissions removed from playlist." + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "No playlist or user permissions found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized access." + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/PlayingItems/{itemId}": { + "post": { + "tags": [ + "Playstate" + ], + "summary": "Reports that a session has begun playing an item.", + "operationId": "OnPlaybackStart", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "mediaSourceId", + "in": "query", + "description": "The id of the MediaSource.", + "schema": { + "type": "string" + } + }, + { + "name": "audioStreamIndex", + "in": "query", + "description": "The audio stream index.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "subtitleStreamIndex", + "in": "query", + "description": "The subtitle stream index.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "playMethod", + "in": "query", + "description": "The play method.", + "schema": { + "enum": [ + "Transcode", + "DirectStream", + "DirectPlay" + ], + "allOf": [ + { + "$ref": "#/components/schemas/PlayMethod" + } + ] + } + }, + { + "name": "liveStreamId", + "in": "query", + "description": "The live stream id.", + "schema": { + "type": "string" + } + }, + { + "name": "playSessionId", + "in": "query", + "description": "The play session id.", + "schema": { + "type": "string" + } + }, + { + "name": "canSeek", + "in": "query", + "description": "Indicates if the client can seek.", + "schema": { + "type": "boolean", + "default": false + } + } + ], + "responses": { + "204": { + "description": "Play start recorded." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + }, + "delete": { + "tags": [ + "Playstate" + ], + "summary": "Reports that a session has stopped playing an item.", + "operationId": "OnPlaybackStopped", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "mediaSourceId", + "in": "query", + "description": "The id of the MediaSource.", + "schema": { + "type": "string" + } + }, + { + "name": "nextMediaType", + "in": "query", + "description": "The next media type that will play.", + "schema": { + "type": "string" + } + }, + { + "name": "positionTicks", + "in": "query", + "description": "Optional. The position, in ticks, where playback stopped. 1 tick = 10000 ms.", + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "liveStreamId", + "in": "query", + "description": "The live stream id.", + "schema": { + "type": "string" + } + }, + { + "name": "playSessionId", + "in": "query", + "description": "The play session id.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Playback stop recorded." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/PlayingItems/{itemId}/Progress": { + "post": { + "tags": [ + "Playstate" + ], + "summary": "Reports a session's playback progress.", + "operationId": "OnPlaybackProgress", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "mediaSourceId", + "in": "query", + "description": "The id of the MediaSource.", + "schema": { + "type": "string" + } + }, + { + "name": "positionTicks", + "in": "query", + "description": "Optional. The current position, in ticks. 1 tick = 10000 ms.", + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "audioStreamIndex", + "in": "query", + "description": "The audio stream index.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "subtitleStreamIndex", + "in": "query", + "description": "The subtitle stream index.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "volumeLevel", + "in": "query", + "description": "Scale of 0-100.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "playMethod", + "in": "query", + "description": "The play method.", + "schema": { + "enum": [ + "Transcode", + "DirectStream", + "DirectPlay" + ], + "allOf": [ + { + "$ref": "#/components/schemas/PlayMethod" + } + ] + } + }, + { + "name": "liveStreamId", + "in": "query", + "description": "The live stream id.", + "schema": { + "type": "string" + } + }, + { + "name": "playSessionId", + "in": "query", + "description": "The play session id.", + "schema": { + "type": "string" + } + }, + { + "name": "repeatMode", + "in": "query", + "description": "The repeat mode.", + "schema": { + "enum": [ + "RepeatNone", + "RepeatAll", + "RepeatOne" + ], + "allOf": [ + { + "$ref": "#/components/schemas/RepeatMode" + } + ] + } + }, + { + "name": "isPaused", + "in": "query", + "description": "Indicates if the player is paused.", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "isMuted", + "in": "query", + "description": "Indicates if the player is muted.", + "schema": { + "type": "boolean", + "default": false + } + } + ], + "responses": { + "204": { + "description": "Play progress recorded." + }, "401": { "description": "Unauthorized" }, @@ -32185,7 +30932,7 @@ ] } }, - "/Users/{userId}/PlayedItems/{itemId}": { + "/UserPlayedItems/{itemId}": { "post": { "tags": [ "Playstate" @@ -32195,9 +30942,8 @@ "parameters": [ { "name": "userId", - "in": "path", + "in": "query", "description": "User id.", - "required": true, "schema": { "type": "string", "format": "uuid" @@ -32244,6 +30990,26 @@ } } }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" }, @@ -32268,9 +31034,8 @@ "parameters": [ { "name": "userId", - "in": "path", + "in": "query", "description": "User id.", - "required": true, "schema": { "type": "string", "format": "uuid" @@ -32308,357 +31073,26 @@ } } }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/PlayingItems/{itemId}": { - "post": { - "tags": [ - "Playstate" - ], - "summary": "Reports that a user has begun playing an item.", - "operationId": "OnPlaybackStart", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "mediaSourceId", - "in": "query", - "description": "The id of the MediaSource.", - "schema": { - "type": "string" - } - }, - { - "name": "audioStreamIndex", - "in": "query", - "description": "The audio stream index.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "subtitleStreamIndex", - "in": "query", - "description": "The subtitle stream index.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "playMethod", - "in": "query", - "description": "The play method.", - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/PlayMethod" + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" } - ] - } - }, - { - "name": "liveStreamId", - "in": "query", - "description": "The live stream id.", - "schema": { - "type": "string" - } - }, - { - "name": "playSessionId", - "in": "query", - "description": "The play session id.", - "schema": { - "type": "string" - } - }, - { - "name": "canSeek", - "in": "query", - "description": "Indicates if the client can seek.", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "204": { - "description": "Play start recorded." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - }, - "delete": { - "tags": [ - "Playstate" - ], - "summary": "Reports that a user has stopped playing an item.", - "operationId": "OnPlaybackStopped", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "mediaSourceId", - "in": "query", - "description": "The id of the MediaSource.", - "schema": { - "type": "string" - } - }, - { - "name": "nextMediaType", - "in": "query", - "description": "The next media type that will play.", - "schema": { - "type": "string" - } - }, - { - "name": "positionTicks", - "in": "query", - "description": "Optional. The position, in ticks, where playback stopped. 1 tick = 10000 ms.", - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "liveStreamId", - "in": "query", - "description": "The live stream id.", - "schema": { - "type": "string" - } - }, - { - "name": "playSessionId", - "in": "query", - "description": "The play session id.", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Playback stop recorded." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/PlayingItems/{itemId}/Progress": { - "post": { - "tags": [ - "Playstate" - ], - "summary": "Reports a user's playback progress.", - "operationId": "OnPlaybackProgress", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "mediaSourceId", - "in": "query", - "description": "The id of the MediaSource.", - "schema": { - "type": "string" - } - }, - { - "name": "positionTicks", - "in": "query", - "description": "Optional. The current position, in ticks. 1 tick = 10000 ms.", - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "audioStreamIndex", - "in": "query", - "description": "The audio stream index.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "subtitleStreamIndex", - "in": "query", - "description": "The subtitle stream index.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "volumeLevel", - "in": "query", - "description": "Scale of 0-100.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "playMethod", - "in": "query", - "description": "The play method.", - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/PlayMethod" + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" } - ] - } - }, - { - "name": "liveStreamId", - "in": "query", - "description": "The live stream id.", - "schema": { - "type": "string" - } - }, - { - "name": "playSessionId", - "in": "query", - "description": "The play session id.", - "schema": { - "type": "string" - } - }, - { - "name": "repeatMode", - "in": "query", - "description": "The repeat mode.", - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/RepeatMode" + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" } - ] + } } }, - { - "name": "isPaused", - "in": "query", - "description": "Indicates if the player is paused.", - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "isMuted", - "in": "query", - "description": "Indicates if the player is muted.", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "204": { - "description": "Play progress recorded." - }, "401": { "description": "Unauthorized" }, @@ -32722,7 +31156,7 @@ "security": [ { "CustomAuthentication": [ - "DefaultAuthorization" + "RequiresElevation" ] } ] @@ -32782,201 +31216,7 @@ "security": [ { "CustomAuthentication": [ - "RequiresElevation", - "DefaultAuthorization" - ] - } - ] - } - }, - "/Plugins/{pluginId}/Configuration": { - "get": { - "tags": [ - "Plugins" - ], - "summary": "Gets plugin configuration.", - "operationId": "GetPluginConfiguration", - "parameters": [ - { - "name": "pluginId", - "in": "path", - "description": "Plugin id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Plugin configuration returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BasePluginConfiguration" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BasePluginConfiguration" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BasePluginConfiguration" - } - } - } - }, - "404": { - "description": "Plugin not found or plugin configuration not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - }, - "post": { - "tags": [ - "Plugins" - ], - "summary": "Updates plugin configuration.", - "description": "Accepts plugin configuration as JSON body.", - "operationId": "UpdatePluginConfiguration", - "parameters": [ - { - "name": "pluginId", - "in": "path", - "description": "Plugin id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "Plugin configuration updated." - }, - "404": { - "description": "Plugin not found or plugin does not have configuration.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Plugins/{pluginId}/Manifest": { - "post": { - "tags": [ - "Plugins" - ], - "summary": "Gets a plugin's manifest.", - "operationId": "GetPluginManifest", - "parameters": [ - { - "name": "pluginId", - "in": "path", - "description": "Plugin id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "Plugin manifest returned." - }, - "404": { - "description": "Plugin not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" + "RequiresElevation" ] } ] @@ -33044,8 +31284,7 @@ "security": [ { "CustomAuthentication": [ - "RequiresElevation", - "DefaultAuthorization" + "RequiresElevation" ] } ] @@ -33113,8 +31352,7 @@ "security": [ { "CustomAuthentication": [ - "RequiresElevation", - "DefaultAuthorization" + "RequiresElevation" ] } ] @@ -33182,8 +31420,7 @@ "security": [ { "CustomAuthentication": [ - "RequiresElevation", - "DefaultAuthorization" + "RequiresElevation" ] } ] @@ -33259,7 +31496,200 @@ "security": [ { "CustomAuthentication": [ - "DefaultAuthorization" + "RequiresElevation" + ] + } + ] + } + }, + "/Plugins/{pluginId}/Configuration": { + "get": { + "tags": [ + "Plugins" + ], + "summary": "Gets plugin configuration.", + "operationId": "GetPluginConfiguration", + "parameters": [ + { + "name": "pluginId", + "in": "path", + "description": "Plugin id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Plugin configuration returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BasePluginConfiguration" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BasePluginConfiguration" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BasePluginConfiguration" + } + } + } + }, + "404": { + "description": "Plugin not found or plugin configuration not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" + ] + } + ] + }, + "post": { + "tags": [ + "Plugins" + ], + "summary": "Updates plugin configuration.", + "description": "Accepts plugin configuration as JSON body.", + "operationId": "UpdatePluginConfiguration", + "parameters": [ + { + "name": "pluginId", + "in": "path", + "description": "Plugin id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "204": { + "description": "Plugin configuration updated." + }, + "404": { + "description": "Plugin not found or plugin does not have configuration.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" + ] + } + ] + } + }, + "/Plugins/{pluginId}/Manifest": { + "post": { + "tags": [ + "Plugins" + ], + "summary": "Gets a plugin's manifest.", + "operationId": "GetPluginManifest", + "parameters": [ + { + "name": "pluginId", + "in": "path", + "description": "Plugin id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "204": { + "description": "Plugin manifest returned." + }, + "404": { + "description": "Plugin not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" ] } ] @@ -33271,7 +31701,7 @@ "QuickConnect" ], "summary": "Authorizes a pending quick connect request.", - "operationId": "Authorize", + "operationId": "AuthorizeQuickConnect", "parameters": [ { "name": "code", @@ -33281,6 +31711,15 @@ "schema": { "type": "string" } + }, + { + "name": "userId", + "in": "query", + "description": "The user the authorize. Access to the requested user is required.", + "schema": { + "type": "string", + "format": "uuid" + } } ], "responses": { @@ -33343,7 +31782,7 @@ "QuickConnect" ], "summary": "Attempts to retrieve authentication information.", - "operationId": "Connect", + "operationId": "GetQuickConnectState", "parameters": [ { "name": "secret", @@ -33405,7 +31844,7 @@ "QuickConnect" ], "summary": "Gets the current quick connect state.", - "operationId": "GetEnabled", + "operationId": "GetQuickConnectEnabled", "responses": { "200": { "description": "Quick connect state returned.", @@ -33431,12 +31870,12 @@ } }, "/QuickConnect/Initiate": { - "get": { + "post": { "tags": [ "QuickConnect" ], "summary": "Initiate a new quick connect request.", - "operationId": "Initiate", + "operationId": "InitiateQuickConnect", "responses": { "200": { "description": "Quick connect request successfully created.", @@ -33487,6 +31926,21 @@ "in": "query", "description": "The image type.", "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -33611,6 +32065,21 @@ "description": "The image type.", "required": true, "schema": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -33753,1394 +32222,6 @@ ] } }, - "/Reports/Activities": { - "get": { - "tags": [ - "Reports" - ], - "operationId": "GetActivityLogs", - "parameters": [ - { - "name": "reportView", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "displayType", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "hasQueryLimit", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "groupBy", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "reportColumns", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "startIndex", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "minDate", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "includeItemTypes", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Reports/Headers": { - "get": { - "tags": [ - "Reports" - ], - "operationId": "GetReportHeaders", - "parameters": [ - { - "name": "reportView", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "includeItemTypes", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Reports/Items": { - "get": { - "tags": [ - "Reports" - ], - "operationId": "GetItemReport", - "parameters": [ - { - "name": "hasThemeSong", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasThemeVideo", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasSubtitles", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasSpecialFeature", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasTrailer", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "adjacentTo", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "minIndexNumber", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "parentIndexNumber", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "hasParentalRating", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isHd", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "locationTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "excludeLocationTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isMissing", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isUnaried", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "minCommunityRating", - "in": "query", - "schema": { - "type": "number", - "format": "double" - } - }, - { - "name": "minCriticRating", - "in": "query", - "schema": { - "type": "number", - "format": "double" - } - }, - { - "name": "airedDuringSeason", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "minPremiereDate", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "minDateLastSaved", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "minDateLastSavedForUser", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "maxPremiereDate", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "hasOverview", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasImdbId", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasTmdbId", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasTvdbId", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isInBoxSet", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "excludeItemIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "enableTotalRecordCount", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "startIndex", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "recursive", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "sortOrder", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "parentId", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "fields", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "excludeItemTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "includeItemTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "filters", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isFavorite", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isNotFavorite", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "mediaTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "imageTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "sortBy", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isPlayed", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "genres", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "genreIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "officialRatings", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "tags", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "years", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "enableUserData", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "imageTypeLimit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "enableImageTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "person", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "personIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "personTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "studios", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "studioIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "artists", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "excludeArtistIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "artistIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "albums", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "albumIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "ids", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "videoTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "minOfficialRating", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isLocked", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isPlaceHolder", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasOfficialRating", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "collapseBoxSetItems", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "is3D", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "seriesStatus", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "nameStartsWithOrGreater", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "nameStartsWith", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "nameLessThan", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "reportView", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "displayType", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "hasQueryLimit", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "groupBy", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "reportColumns", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "enableImages", - "in": "query", - "schema": { - "type": "boolean", - "default": true - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReportResult" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Reports/Items/Download": { - "get": { - "tags": [ - "Reports" - ], - "operationId": "GetReportDownload", - "parameters": [ - { - "name": "hasThemeSong", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasThemeVideo", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasSubtitles", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasSpecialFeature", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasTrailer", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "adjacentTo", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "minIndexNumber", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "parentIndexNumber", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "hasParentalRating", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isHd", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "locationTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "excludeLocationTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isMissing", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isUnaried", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "minCommunityRating", - "in": "query", - "schema": { - "type": "number", - "format": "double" - } - }, - { - "name": "minCriticRating", - "in": "query", - "schema": { - "type": "number", - "format": "double" - } - }, - { - "name": "airedDuringSeason", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "minPremiereDate", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "minDateLastSaved", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "minDateLastSavedForUser", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "maxPremiereDate", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "hasOverview", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasImdbId", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasTmdbId", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasTvdbId", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isInBoxSet", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "excludeItemIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "enableTotalRecordCount", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "startIndex", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "recursive", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "sortOrder", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "parentId", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "fields", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "excludeItemTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "includeItemTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "filters", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isFavorite", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isNotFavorite", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "mediaTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "imageTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "sortBy", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isPlayed", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "genres", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "genreIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "officialRatings", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "tags", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "years", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "enableUserData", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "imageTypeLimit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "enableImageTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "person", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "personIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "personTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "studios", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "studioIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "artists", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "excludeArtistIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "artistIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "albums", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "albumIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "ids", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "videoTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "minOfficialRating", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isLocked", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isPlaceHolder", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasOfficialRating", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "collapseBoxSetItems", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "is3D", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "seriesStatus", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "nameStartsWithOrGreater", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "nameStartsWith", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "nameLessThan", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "reportView", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "displayType", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "hasQueryLimit", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "groupBy", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "reportColumns", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "minDate", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "exportType", - "in": "query", - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ReportExportType" - } - ], - "default": "CSV" - } - }, - { - "name": "enableImages", - "in": "query", - "schema": { - "type": "boolean", - "default": true - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReportResult" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Lastfm/Login": { - "post": { - "tags": [ - "RestApi" - ], - "operationId": "CreateMobileSession", - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/LastFMUser" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Success" - } - } - } - }, "/ScheduledTasks": { "get": { "tags": [ @@ -35212,120 +32293,6 @@ ] } }, - "/ScheduledTasks/Running/{taskId}": { - "post": { - "tags": [ - "ScheduledTasks" - ], - "summary": "Start specified task.", - "operationId": "StartTask", - "parameters": [ - { - "name": "taskId", - "in": "path", - "description": "Task Id.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Task started." - }, - "404": { - "description": "Task not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - }, - "delete": { - "tags": [ - "ScheduledTasks" - ], - "summary": "Stop specified task.", - "operationId": "StopTask", - "parameters": [ - { - "name": "taskId", - "in": "path", - "description": "Task Id.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Task stopped." - }, - "404": { - "description": "Task not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, "/ScheduledTasks/{taskId}": { "get": { "tags": [ @@ -35489,13 +32456,127 @@ ] } }, + "/ScheduledTasks/Running/{taskId}": { + "post": { + "tags": [ + "ScheduledTasks" + ], + "summary": "Start specified task.", + "operationId": "StartTask", + "parameters": [ + { + "name": "taskId", + "in": "path", + "description": "Task Id.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Task started." + }, + "404": { + "description": "Task not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" + ] + } + ] + }, + "delete": { + "tags": [ + "ScheduledTasks" + ], + "summary": "Stop specified task.", + "operationId": "StopTask", + "parameters": [ + { + "name": "taskId", + "in": "path", + "description": "Task Id.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Task stopped." + }, + "404": { + "description": "Task not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" + ] + } + ] + } + }, "/Search/Hints": { "get": { "tags": [ "Search" ], "summary": "Gets the search hint result.", - "operationId": "Get", + "operationId": "GetSearchHints", "parameters": [ { "name": "startIndex", @@ -35536,7 +32617,7 @@ { "name": "includeItemTypes", "in": "query", - "description": "If specified, only results with the specified item types are returned. This allows multiple, comma delimeted.", + "description": "If specified, only results with the specified item types are returned. This allows multiple, comma delimited.", "schema": { "type": "array", "items": { @@ -35547,7 +32628,7 @@ { "name": "excludeItemTypes", "in": "query", - "description": "If specified, results with these item types are filtered out. This allows multiple, comma delimeted.", + "description": "If specified, results with these item types are filtered out. This allows multiple, comma delimited.", "schema": { "type": "array", "items": { @@ -35558,11 +32639,11 @@ { "name": "mediaTypes", "in": "query", - "description": "If specified, only results with the specified media types are returned. This allows multiple, comma delimeted.", + "description": "If specified, only results with the specified media types are returned. This allows multiple, comma delimited.", "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/MediaType" } } }, @@ -35847,7 +32928,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/SessionInfo" + "$ref": "#/components/schemas/SessionInfoDto" } } }, @@ -35855,7 +32936,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/SessionInfo" + "$ref": "#/components/schemas/SessionInfoDto" } } }, @@ -35863,7 +32944,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/SessionInfo" + "$ref": "#/components/schemas/SessionInfoDto" } } } @@ -35885,6 +32966,741 @@ ] } }, + "/Sessions/{sessionId}/Command": { + "post": { + "tags": [ + "Session" + ], + "summary": "Issues a full general command to a client.", + "operationId": "SendFullGeneralCommand", + "parameters": [ + { + "name": "sessionId", + "in": "path", + "description": "The session id.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The MediaBrowser.Model.Session.GeneralCommand.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/GeneralCommand" + } + ] + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/GeneralCommand" + } + ] + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/GeneralCommand" + } + ] + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Full general command sent to session." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Sessions/{sessionId}/Command/{command}": { + "post": { + "tags": [ + "Session" + ], + "summary": "Issues a general command to a client.", + "operationId": "SendGeneralCommand", + "parameters": [ + { + "name": "sessionId", + "in": "path", + "description": "The session id.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "command", + "in": "path", + "description": "The command to send.", + "required": true, + "schema": { + "enum": [ + "MoveUp", + "MoveDown", + "MoveLeft", + "MoveRight", + "PageUp", + "PageDown", + "PreviousLetter", + "NextLetter", + "ToggleOsd", + "ToggleContextMenu", + "Select", + "Back", + "TakeScreenshot", + "SendKey", + "SendString", + "GoHome", + "GoToSettings", + "VolumeUp", + "VolumeDown", + "Mute", + "Unmute", + "ToggleMute", + "SetVolume", + "SetAudioStreamIndex", + "SetSubtitleStreamIndex", + "ToggleFullscreen", + "DisplayContent", + "GoToSearch", + "DisplayMessage", + "SetRepeatMode", + "ChannelUp", + "ChannelDown", + "Guide", + "ToggleStats", + "PlayMediaSource", + "PlayTrailers", + "SetShuffleQueue", + "PlayState", + "PlayNext", + "ToggleOsdMenu", + "Play", + "SetMaxStreamingBitrate", + "SetPlaybackOrder" + ], + "allOf": [ + { + "$ref": "#/components/schemas/GeneralCommandType" + } + ], + "description": "This exists simply to identify a set of known commands." + } + } + ], + "responses": { + "204": { + "description": "General command sent to session." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Sessions/{sessionId}/Message": { + "post": { + "tags": [ + "Session" + ], + "summary": "Issues a command to a client to display a message to the user.", + "operationId": "SendMessageCommand", + "parameters": [ + { + "name": "sessionId", + "in": "path", + "description": "The session id.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The MediaBrowser.Model.Session.MessageCommand object containing Header, Message Text, and TimeoutMs.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/MessageCommand" + } + ] + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/MessageCommand" + } + ] + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/MessageCommand" + } + ] + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Message sent." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Sessions/{sessionId}/Playing": { + "post": { + "tags": [ + "Session" + ], + "summary": "Instructs a session to play an item.", + "operationId": "Play", + "parameters": [ + { + "name": "sessionId", + "in": "path", + "description": "The session id.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "playCommand", + "in": "query", + "description": "The type of play command to issue (PlayNow, PlayNext, PlayLast). Clients who have not yet implemented play next and play last may play now.", + "required": true, + "schema": { + "enum": [ + "PlayNow", + "PlayNext", + "PlayLast", + "PlayInstantMix", + "PlayShuffle" + ], + "allOf": [ + { + "$ref": "#/components/schemas/PlayCommand" + } + ], + "description": "Enum PlayCommand." + } + }, + { + "name": "itemIds", + "in": "query", + "description": "The ids of the items to play, comma delimited.", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + } + }, + { + "name": "startPositionTicks", + "in": "query", + "description": "The starting position of the first item.", + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "mediaSourceId", + "in": "query", + "description": "Optional. The media source id.", + "schema": { + "type": "string" + } + }, + { + "name": "audioStreamIndex", + "in": "query", + "description": "Optional. The index of the audio stream to play.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "subtitleStreamIndex", + "in": "query", + "description": "Optional. The index of the subtitle stream to play.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "startIndex", + "in": "query", + "description": "Optional. The start index.", + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "204": { + "description": "Instruction sent to session." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Sessions/{sessionId}/Playing/{command}": { + "post": { + "tags": [ + "Session" + ], + "summary": "Issues a playstate command to a client.", + "operationId": "SendPlaystateCommand", + "parameters": [ + { + "name": "sessionId", + "in": "path", + "description": "The session id.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "command", + "in": "path", + "description": "The MediaBrowser.Model.Session.PlaystateCommand.", + "required": true, + "schema": { + "enum": [ + "Stop", + "Pause", + "Unpause", + "NextTrack", + "PreviousTrack", + "Seek", + "Rewind", + "FastForward", + "PlayPause" + ], + "allOf": [ + { + "$ref": "#/components/schemas/PlaystateCommand" + } + ], + "description": "Enum PlaystateCommand." + } + }, + { + "name": "seekPositionTicks", + "in": "query", + "description": "The optional position ticks.", + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "controllingUserId", + "in": "query", + "description": "The optional controlling user id.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Playstate command sent to session." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Sessions/{sessionId}/System/{command}": { + "post": { + "tags": [ + "Session" + ], + "summary": "Issues a system command to a client.", + "operationId": "SendSystemCommand", + "parameters": [ + { + "name": "sessionId", + "in": "path", + "description": "The session id.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "command", + "in": "path", + "description": "The command to send.", + "required": true, + "schema": { + "enum": [ + "MoveUp", + "MoveDown", + "MoveLeft", + "MoveRight", + "PageUp", + "PageDown", + "PreviousLetter", + "NextLetter", + "ToggleOsd", + "ToggleContextMenu", + "Select", + "Back", + "TakeScreenshot", + "SendKey", + "SendString", + "GoHome", + "GoToSettings", + "VolumeUp", + "VolumeDown", + "Mute", + "Unmute", + "ToggleMute", + "SetVolume", + "SetAudioStreamIndex", + "SetSubtitleStreamIndex", + "ToggleFullscreen", + "DisplayContent", + "GoToSearch", + "DisplayMessage", + "SetRepeatMode", + "ChannelUp", + "ChannelDown", + "Guide", + "ToggleStats", + "PlayMediaSource", + "PlayTrailers", + "SetShuffleQueue", + "PlayState", + "PlayNext", + "ToggleOsdMenu", + "Play", + "SetMaxStreamingBitrate", + "SetPlaybackOrder" + ], + "allOf": [ + { + "$ref": "#/components/schemas/GeneralCommandType" + } + ], + "description": "This exists simply to identify a set of known commands." + } + } + ], + "responses": { + "204": { + "description": "System command sent to session." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Sessions/{sessionId}/User/{userId}": { + "post": { + "tags": [ + "Session" + ], + "summary": "Adds an additional user to a session.", + "operationId": "AddUserToSession", + "parameters": [ + { + "name": "sessionId", + "in": "path", + "description": "The session id.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "userId", + "in": "path", + "description": "The user id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "204": { + "description": "User added to session." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + }, + "delete": { + "tags": [ + "Session" + ], + "summary": "Removes an additional user from a session.", + "operationId": "RemoveUserFromSession", + "parameters": [ + { + "name": "sessionId", + "in": "path", + "description": "The session id.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "userId", + "in": "path", + "description": "The user id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "204": { + "description": "User removed from session." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Sessions/{sessionId}/Viewing": { + "post": { + "tags": [ + "Session" + ], + "summary": "Instructs a session to browse to an item or view.", + "operationId": "DisplayContent", + "parameters": [ + { + "name": "sessionId", + "in": "path", + "description": "The session Id.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "itemType", + "in": "query", + "description": "The type of item to browse to.", + "required": true, + "schema": { + "enum": [ + "AggregateFolder", + "Audio", + "AudioBook", + "BasePluginFolder", + "Book", + "BoxSet", + "Channel", + "ChannelFolderItem", + "CollectionFolder", + "Episode", + "Folder", + "Genre", + "ManualPlaylistsFolder", + "Movie", + "LiveTvChannel", + "LiveTvProgram", + "MusicAlbum", + "MusicArtist", + "MusicGenre", + "MusicVideo", + "Person", + "Photo", + "PhotoAlbum", + "Playlist", + "PlaylistsFolder", + "Program", + "Recording", + "Season", + "Series", + "Studio", + "Trailer", + "TvChannel", + "TvProgram", + "UserRootFolder", + "UserView", + "Video", + "Year" + ], + "allOf": [ + { + "$ref": "#/components/schemas/BaseItemKind" + } + ], + "description": "The base item kind." + } + }, + { + "name": "itemId", + "in": "query", + "description": "The Id of the item.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "itemName", + "in": "query", + "description": "The name of the item.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Instruction sent to session." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/Sessions/Capabilities": { "post": { "tags": [ @@ -35908,7 +33724,7 @@ "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/MediaType" } } }, @@ -35932,15 +33748,6 @@ "default": false } }, - { - "name": "supportsSync", - "in": "query", - "description": "Determines whether sync is supported.", - "schema": { - "type": "boolean", - "default": false - } - }, { "name": "supportsPersistentIdentifier", "in": "query", @@ -36117,594 +33924,6 @@ ] } }, - "/Sessions/{sessionId}/Command": { - "post": { - "tags": [ - "Session" - ], - "summary": "Issues a full general command to a client.", - "operationId": "SendFullGeneralCommand", - "parameters": [ - { - "name": "sessionId", - "in": "path", - "description": "The session id.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "description": "The MediaBrowser.Model.Session.GeneralCommand.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/GeneralCommand" - } - ] - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/GeneralCommand" - } - ] - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/GeneralCommand" - } - ] - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Full general command sent to session." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Sessions/{sessionId}/Command/{command}": { - "post": { - "tags": [ - "Session" - ], - "summary": "Issues a general command to a client.", - "operationId": "SendGeneralCommand", - "parameters": [ - { - "name": "sessionId", - "in": "path", - "description": "The session id.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "command", - "in": "path", - "description": "The command to send.", - "required": true, - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/GeneralCommandType" - } - ], - "description": "This exists simply to identify a set of known commands." - } - } - ], - "responses": { - "204": { - "description": "General command sent to session." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Sessions/{sessionId}/Message": { - "post": { - "tags": [ - "Session" - ], - "summary": "Issues a command to a client to display a message to the user.", - "operationId": "SendMessageCommand", - "parameters": [ - { - "name": "sessionId", - "in": "path", - "description": "The session id.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "description": "The MediaBrowser.Model.Session.MessageCommand object containing Header, Message Text, and TimeoutMs.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MessageCommand" - } - ] - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MessageCommand" - } - ] - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MessageCommand" - } - ] - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Message sent." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Sessions/{sessionId}/Playing": { - "post": { - "tags": [ - "Session" - ], - "summary": "Instructs a session to play an item.", - "operationId": "Play", - "parameters": [ - { - "name": "sessionId", - "in": "path", - "description": "The session id.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "playCommand", - "in": "query", - "description": "The type of play command to issue (PlayNow, PlayNext, PlayLast). Clients who have not yet implemented play next and play last may play now.", - "required": true, - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/PlayCommand" - } - ], - "description": "Enum PlayCommand." - } - }, - { - "name": "itemIds", - "in": "query", - "description": "The ids of the items to play, comma delimited.", - "required": true, - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - { - "name": "startPositionTicks", - "in": "query", - "description": "The starting position of the first item.", - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "mediaSourceId", - "in": "query", - "description": "Optional. The media source id.", - "schema": { - "type": "string" - } - }, - { - "name": "audioStreamIndex", - "in": "query", - "description": "Optional. The index of the audio stream to play.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "subtitleStreamIndex", - "in": "query", - "description": "Optional. The index of the subtitle stream to play.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "startIndex", - "in": "query", - "description": "Optional. The start index.", - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "responses": { - "204": { - "description": "Instruction sent to session." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Sessions/{sessionId}/Playing/{command}": { - "post": { - "tags": [ - "Session" - ], - "summary": "Issues a playstate command to a client.", - "operationId": "SendPlaystateCommand", - "parameters": [ - { - "name": "sessionId", - "in": "path", - "description": "The session id.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "command", - "in": "path", - "description": "The MediaBrowser.Model.Session.PlaystateCommand.", - "required": true, - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/PlaystateCommand" - } - ], - "description": "Enum PlaystateCommand." - } - }, - { - "name": "seekPositionTicks", - "in": "query", - "description": "The optional position ticks.", - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "controllingUserId", - "in": "query", - "description": "The optional controlling user id.", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Playstate command sent to session." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Sessions/{sessionId}/System/{command}": { - "post": { - "tags": [ - "Session" - ], - "summary": "Issues a system command to a client.", - "operationId": "SendSystemCommand", - "parameters": [ - { - "name": "sessionId", - "in": "path", - "description": "The session id.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "command", - "in": "path", - "description": "The command to send.", - "required": true, - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/GeneralCommandType" - } - ], - "description": "This exists simply to identify a set of known commands." - } - } - ], - "responses": { - "204": { - "description": "System command sent to session." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Sessions/{sessionId}/User/{userId}": { - "post": { - "tags": [ - "Session" - ], - "summary": "Adds an additional user to a session.", - "operationId": "AddUserToSession", - "parameters": [ - { - "name": "sessionId", - "in": "path", - "description": "The session id.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "path", - "description": "The user id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "User added to session." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - }, - "delete": { - "tags": [ - "Session" - ], - "summary": "Removes an additional user from a session.", - "operationId": "RemoveUserFromSession", - "parameters": [ - { - "name": "sessionId", - "in": "path", - "description": "The session id.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "path", - "description": "The user id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "User removed from session." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Sessions/{sessionId}/Viewing": { - "post": { - "tags": [ - "Session" - ], - "summary": "Instructs a session to browse to an item or view.", - "operationId": "DisplayContent", - "parameters": [ - { - "name": "sessionId", - "in": "path", - "description": "The session Id.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "itemType", - "in": "query", - "description": "The type of item to browse to.", - "required": true, - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/BaseItemKind" - } - ], - "description": "The base item kind." - } - }, - { - "name": "itemId", - "in": "query", - "description": "The Id of the item.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "itemName", - "in": "query", - "description": "The name of the item.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Instruction sent to session." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Startup/Complete": { "post": { "tags": [ @@ -36726,7 +33945,8 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated" + "FirstTimeSetupOrElevated", + "DefaultAuthorization" ] } ] @@ -36770,7 +33990,8 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated" + "FirstTimeSetupOrElevated", + "DefaultAuthorization" ] } ] @@ -36831,7 +34052,8 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated" + "FirstTimeSetupOrElevated", + "DefaultAuthorization" ] } ] @@ -36875,7 +34097,8 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated" + "FirstTimeSetupOrElevated", + "DefaultAuthorization" ] } ] @@ -36938,7 +34161,8 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated" + "FirstTimeSetupOrElevated", + "DefaultAuthorization" ] } ] @@ -36982,7 +34206,8 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated" + "FirstTimeSetupOrElevated", + "DefaultAuthorization" ] } ] @@ -37042,7 +34267,8 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated" + "FirstTimeSetupOrElevated", + "DefaultAuthorization" ] } ] @@ -37478,6 +34704,26 @@ } } }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" }, @@ -37488,6 +34734,7 @@ "security": [ { "CustomAuthentication": [ + "SubtitleManagement", "DefaultAuthorization" ] } @@ -37526,6 +34773,26 @@ "204": { "description": "Subtitle downloaded." }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" }, @@ -37536,13 +34803,14 @@ "security": [ { "CustomAuthentication": [ + "SubtitleManagement", "DefaultAuthorization" ] } ] } }, - "/Providers/Subtitles/Subtitles/{id}": { + "/Providers/Subtitles/Subtitles/{subtitleId}": { "get": { "tags": [ "Subtitle" @@ -37551,7 +34819,7 @@ "operationId": "GetRemoteSubtitles", "parameters": [ { - "name": "id", + "name": "subtitleId", "in": "path", "description": "The item id.", "required": true, @@ -37579,6 +34847,103 @@ "description": "Forbidden" } }, + "security": [ + { + "CustomAuthentication": [ + "SubtitleManagement", + "DefaultAuthorization" + ] + } + ] + } + }, + "/Videos/{itemId}/{mediaSourceId}/Subtitles/{index}/subtitles.m3u8": { + "get": { + "tags": [ + "Subtitle" + ], + "summary": "Gets an HLS subtitle playlist.", + "operationId": "GetSubtitlePlaylist", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "The item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "index", + "in": "path", + "description": "The subtitle stream index.", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "mediaSourceId", + "in": "path", + "description": "The media source id.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "segmentLength", + "in": "query", + "description": "The subtitle segment length.", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "Subtitle playlist retrieved.", + "content": { + "application/x-mpegURL": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, "security": [ { "CustomAuthentication": [ @@ -37647,6 +35012,26 @@ "204": { "description": "Subtitle uploaded." }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" }, @@ -37657,7 +35042,8 @@ "security": [ { "CustomAuthentication": [ - "RequiresElevation" + "SubtitleManagement", + "DefaultAuthorization" ] } ] @@ -37732,219 +35118,6 @@ ] } }, - "/Videos/{itemId}/{mediaSourceId}/Subtitles/{index}/subtitles.m3u8": { - "get": { - "tags": [ - "Subtitle" - ], - "summary": "Gets an HLS subtitle playlist.", - "operationId": "GetSubtitlePlaylist", - "parameters": [ - { - "name": "itemId", - "in": "path", - "description": "The item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "index", - "in": "path", - "description": "The subtitle stream index.", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "mediaSourceId", - "in": "path", - "description": "The media source id.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "segmentLength", - "in": "query", - "description": "The subtitle segment length.", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "responses": { - "200": { - "description": "Subtitle playlist retrieved.", - "content": { - "application/x-mpegURL": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/Stream.{routeFormat}": { - "get": { - "tags": [ - "Subtitle" - ], - "summary": "Gets subtitles in a specified format.", - "operationId": "GetSubtitle", - "parameters": [ - { - "name": "routeItemId", - "in": "path", - "description": "The (route) item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "routeMediaSourceId", - "in": "path", - "description": "The (route) media source id.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "routeIndex", - "in": "path", - "description": "The (route) subtitle stream index.", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "routeFormat", - "in": "path", - "description": "The (route) format of the returned subtitle.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "itemId", - "in": "query", - "description": "The item id.", - "deprecated": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "mediaSourceId", - "in": "query", - "description": "The media source id.", - "deprecated": true, - "schema": { - "type": "string" - } - }, - { - "name": "index", - "in": "query", - "description": "The subtitle stream index.", - "deprecated": true, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "format", - "in": "query", - "description": "The format of the returned subtitle.", - "deprecated": true, - "schema": { - "type": "string" - } - }, - { - "name": "endPositionTicks", - "in": "query", - "description": "Optional. The end position of the subtitle in ticks.", - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "copyTimestamps", - "in": "query", - "description": "Optional. Whether to copy the timestamps.", - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "addVttTimeMap", - "in": "query", - "description": "Optional. Whether to add a VTT time map.", - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "startPositionTicks", - "in": "query", - "description": "The start position of the subtitle in ticks.", - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - } - } - ], - "responses": { - "200": { - "description": "File returned.", - "content": { - "text/*": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - } - } - } - }, "/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/{routeStartPositionTicks}/Stream.{routeFormat}": { "get": { "tags": [ @@ -38092,7 +35265,144 @@ } } }, - "/Users/{userId}/Suggestions": { + "/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/Stream.{routeFormat}": { + "get": { + "tags": [ + "Subtitle" + ], + "summary": "Gets subtitles in a specified format.", + "operationId": "GetSubtitle", + "parameters": [ + { + "name": "routeItemId", + "in": "path", + "description": "The (route) item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "routeMediaSourceId", + "in": "path", + "description": "The (route) media source id.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "routeIndex", + "in": "path", + "description": "The (route) subtitle stream index.", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "routeFormat", + "in": "path", + "description": "The (route) format of the returned subtitle.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "itemId", + "in": "query", + "description": "The item id.", + "deprecated": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "mediaSourceId", + "in": "query", + "description": "The media source id.", + "deprecated": true, + "schema": { + "type": "string" + } + }, + { + "name": "index", + "in": "query", + "description": "The subtitle stream index.", + "deprecated": true, + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "format", + "in": "query", + "description": "The format of the returned subtitle.", + "deprecated": true, + "schema": { + "type": "string" + } + }, + { + "name": "endPositionTicks", + "in": "query", + "description": "Optional. The end position of the subtitle in ticks.", + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "copyTimestamps", + "in": "query", + "description": "Optional. Whether to copy the timestamps.", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "addVttTimeMap", + "in": "query", + "description": "Optional. Whether to add a VTT time map.", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "startPositionTicks", + "in": "query", + "description": "The start position of the subtitle in ticks.", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + } + ], + "responses": { + "200": { + "description": "File returned.", + "content": { + "text/*": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + } + } + } + }, + "/Items/Suggestions": { "get": { "tags": [ "Suggestions" @@ -38102,9 +35412,8 @@ "parameters": [ { "name": "userId", - "in": "path", + "in": "query", "description": "The user id.", - "required": true, "schema": { "type": "string", "format": "uuid" @@ -38117,7 +35426,7 @@ "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/MediaType" } } }, @@ -38255,7 +35564,8 @@ { "CustomAuthentication": [ "SyncPlayIsInGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -38319,7 +35629,8 @@ { "CustomAuthentication": [ "SyncPlayJoinGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -38347,7 +35658,8 @@ { "CustomAuthentication": [ "SyncPlayIsInGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -38401,7 +35713,8 @@ { "CustomAuthentication": [ "SyncPlayJoinGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -38465,7 +35778,8 @@ { "CustomAuthentication": [ "SyncPlayIsInGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -38529,7 +35843,8 @@ { "CustomAuthentication": [ "SyncPlayCreateGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -38593,7 +35908,8 @@ { "CustomAuthentication": [ "SyncPlayIsInGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -38621,7 +35937,8 @@ { "CustomAuthentication": [ "SyncPlayIsInGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -38684,7 +36001,8 @@ "security": [ { "CustomAuthentication": [ - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -38748,7 +36066,8 @@ { "CustomAuthentication": [ "SyncPlayIsInGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -38812,7 +36131,8 @@ { "CustomAuthentication": [ "SyncPlayIsInGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -38876,7 +36196,8 @@ { "CustomAuthentication": [ "SyncPlayIsInGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -38940,7 +36261,8 @@ { "CustomAuthentication": [ "SyncPlayIsInGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -39004,7 +36326,8 @@ { "CustomAuthentication": [ "SyncPlayIsInGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -39068,7 +36391,8 @@ { "CustomAuthentication": [ "SyncPlayIsInGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -39132,7 +36456,8 @@ { "CustomAuthentication": [ "SyncPlayIsInGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -39196,7 +36521,8 @@ { "CustomAuthentication": [ "SyncPlayIsInGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -39260,7 +36586,8 @@ { "CustomAuthentication": [ "SyncPlayIsInGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -39324,7 +36651,8 @@ { "CustomAuthentication": [ "SyncPlayIsInGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -39352,7 +36680,8 @@ { "CustomAuthentication": [ "SyncPlayIsInGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -39380,7 +36709,8 @@ { "CustomAuthentication": [ "SyncPlayIsInGroup", - "SyncPlayHasAccess" + "SyncPlayHasAccess", + "DefaultAuthorization" ] } ] @@ -39414,11 +36744,28 @@ } } }, + "403": { + "description": "User does not have permission to get endpoint information.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" } }, "security": [ @@ -39458,17 +36805,35 @@ } } }, + "403": { + "description": "User does not have permission to retrieve information.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" } }, "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrIgnoreParentalControl" + "FirstTimeSetupOrIgnoreParentalControl", + "DefaultAuthorization" ] } ] @@ -39542,11 +36907,28 @@ } } }, + "403": { + "description": "User does not have permission to get server logs.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" } }, "security": [ @@ -39588,11 +36970,48 @@ } } }, + "403": { + "description": "User does not have permission to get log files.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Could not find a log file with the name.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" } }, "security": [ @@ -39675,11 +37094,28 @@ "204": { "description": "Server restarted." }, + "403": { + "description": "User does not have permission to restart server.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" } }, "security": [ @@ -39702,11 +37138,28 @@ "204": { "description": "Server shut down." }, + "403": { + "description": "User does not have permission to shutdown server.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" } }, "security": [ @@ -39848,7 +37301,7 @@ { "name": "userId", "in": "query", - "description": "The user id.", + "description": "The user id supplied as query parameter; this is required when not using an API key.", "schema": { "type": "string", "format": "uuid" @@ -39907,7 +37360,8 @@ "in": "query", "description": "Optional. Return items that are siblings of a supplied item.", "schema": { - "type": "string" + "type": "string", + "format": "uuid" } }, { @@ -40046,7 +37500,7 @@ { "name": "hasImdbId", "in": "query", - "description": "Optional filter by items that have an imdb id or not.", + "description": "Optional filter by items that have an IMDb id or not.", "schema": { "type": "boolean" } @@ -40054,7 +37508,7 @@ { "name": "hasTmdbId", "in": "query", - "description": "Optional filter by items that have a tmdb id or not.", + "description": "Optional filter by items that have a TMDb id or not.", "schema": { "type": "boolean" } @@ -40062,7 +37516,7 @@ { "name": "hasTvdbId", "in": "query", - "description": "Optional filter by items that have a tvdb id or not.", + "description": "Optional filter by items that have a TVDb id or not.", "schema": { "type": "boolean" } @@ -40156,7 +37610,7 @@ { "name": "sortOrder", "in": "query", - "description": "Sort Order - Ascending,Descending.", + "description": "Sort Order - Ascending, Descending.", "schema": { "type": "array", "items": { @@ -40221,7 +37675,7 @@ "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/MediaType" } } }, @@ -40243,7 +37697,7 @@ "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/ItemSortBy" } } }, @@ -40674,6 +38128,585 @@ ] } }, + "/Videos/{itemId}/Trickplay/{width}/{index}.jpg": { + "get": { + "tags": [ + "Trickplay" + ], + "summary": "Gets a trickplay tile image.", + "operationId": "GetTrickplayTileImage", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "The item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "width", + "in": "path", + "description": "The width of a single tile.", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "index", + "in": "path", + "description": "The index of the desired tile.", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "mediaSourceId", + "in": "query", + "description": "The media version id, if using an alternate version.", + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Tile image not found at specified index.", + "content": { + "image/*": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Videos/{itemId}/Trickplay/{width}/tiles.m3u8": { + "get": { + "tags": [ + "Trickplay" + ], + "summary": "Gets an image tiles playlist for trickplay.", + "operationId": "GetTrickplayHlsPlaylist", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "The item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "width", + "in": "path", + "description": "The width of a single tile.", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "mediaSourceId", + "in": "query", + "description": "The media version id, if using an alternate version.", + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Tiles playlist returned.", + "content": { + "application/x-mpegURL": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Shows/{seriesId}/Episodes": { + "get": { + "tags": [ + "TvShows" + ], + "summary": "Gets episodes for a tv season.", + "operationId": "GetEpisodes", + "parameters": [ + { + "name": "seriesId", + "in": "path", + "description": "The series id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "userId", + "in": "query", + "description": "The user id.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "fields", + "in": "query", + "description": "Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemFields" + } + } + }, + { + "name": "season", + "in": "query", + "description": "Optional filter by season number.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "seasonId", + "in": "query", + "description": "Optional. Filter by season id.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "isMissing", + "in": "query", + "description": "Optional. Filter by items that are missing episodes or not.", + "schema": { + "type": "boolean" + } + }, + { + "name": "adjacentTo", + "in": "query", + "description": "Optional. Return items that are siblings of a supplied item.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "startItemId", + "in": "query", + "description": "Optional. Skip through the list until a given item is found.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "startIndex", + "in": "query", + "description": "Optional. The record index to start at. All items with a lower index will be dropped from the results.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "limit", + "in": "query", + "description": "Optional. The maximum number of records to return.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "enableImages", + "in": "query", + "description": "Optional, include image information in output.", + "schema": { + "type": "boolean" + } + }, + { + "name": "imageTypeLimit", + "in": "query", + "description": "Optional, the max number of images to return, per image type.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "enableImageTypes", + "in": "query", + "description": "Optional. The image types to include in the output.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ImageType" + } + } + }, + { + "name": "enableUserData", + "in": "query", + "description": "Optional. Include user data.", + "schema": { + "type": "boolean" + } + }, + { + "name": "sortBy", + "in": "query", + "description": "Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.", + "schema": { + "enum": [ + "Default", + "AiredEpisodeOrder", + "Album", + "AlbumArtist", + "Artist", + "DateCreated", + "OfficialRating", + "DatePlayed", + "PremiereDate", + "StartDate", + "SortName", + "Name", + "Random", + "Runtime", + "CommunityRating", + "ProductionYear", + "PlayCount", + "CriticRating", + "IsFolder", + "IsUnplayed", + "IsPlayed", + "SeriesSortName", + "VideoBitRate", + "AirTime", + "Studio", + "IsFavoriteOrLiked", + "DateLastContentAdded", + "SeriesDatePlayed", + "ParentIndexNumber", + "IndexNumber", + "SimilarityScore", + "SearchScore" + ], + "allOf": [ + { + "$ref": "#/components/schemas/ItemSortBy" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Shows/{seriesId}/Seasons": { + "get": { + "tags": [ + "TvShows" + ], + "summary": "Gets seasons for a tv series.", + "operationId": "GetSeasons", + "parameters": [ + { + "name": "seriesId", + "in": "path", + "description": "The series id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "userId", + "in": "query", + "description": "The user id.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "fields", + "in": "query", + "description": "Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemFields" + } + } + }, + { + "name": "isSpecialSeason", + "in": "query", + "description": "Optional. Filter by special season.", + "schema": { + "type": "boolean" + } + }, + { + "name": "isMissing", + "in": "query", + "description": "Optional. Filter by items that are missing episodes or not.", + "schema": { + "type": "boolean" + } + }, + { + "name": "adjacentTo", + "in": "query", + "description": "Optional. Return items that are siblings of a supplied item.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "enableImages", + "in": "query", + "description": "Optional. Include image information in output.", + "schema": { + "type": "boolean" + } + }, + { + "name": "imageTypeLimit", + "in": "query", + "description": "Optional. The max number of images to return, per image type.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "enableImageTypes", + "in": "query", + "description": "Optional. The image types to include in the output.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ImageType" + } + } + }, + { + "name": "enableUserData", + "in": "query", + "description": "Optional. Include user data.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/Shows/NextUp": { "get": { "tags": [ @@ -40725,7 +38758,8 @@ "in": "query", "description": "Optional. Filter by series id.", "schema": { - "type": "string" + "type": "string", + "format": "uuid" } }, { @@ -40800,10 +38834,19 @@ "default": false } }, + { + "name": "enableResumable", + "in": "query", + "description": "Whether to include resumable episodes in next up results.", + "schema": { + "type": "boolean", + "default": true + } + }, { "name": "enableRewatching", "in": "query", - "description": "Whether to include watched episode in next up results.", + "description": "Whether to include watched episodes in next up results.", "schema": { "type": "boolean", "default": false @@ -40976,363 +39019,6 @@ ] } }, - "/Shows/{seriesId}/Episodes": { - "get": { - "tags": [ - "TvShows" - ], - "summary": "Gets episodes for a tv season.", - "operationId": "GetEpisodes", - "parameters": [ - { - "name": "seriesId", - "in": "path", - "description": "The series id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "userId", - "in": "query", - "description": "The user id.", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "fields", - "in": "query", - "description": "Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemFields" - } - } - }, - { - "name": "season", - "in": "query", - "description": "Optional filter by season number.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "seasonId", - "in": "query", - "description": "Optional. Filter by season id.", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "isMissing", - "in": "query", - "description": "Optional. Filter by items that are missing episodes or not.", - "schema": { - "type": "boolean" - } - }, - { - "name": "adjacentTo", - "in": "query", - "description": "Optional. Return items that are siblings of a supplied item.", - "schema": { - "type": "string" - } - }, - { - "name": "startItemId", - "in": "query", - "description": "Optional. Skip through the list until a given item is found.", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "startIndex", - "in": "query", - "description": "Optional. The record index to start at. All items with a lower index will be dropped from the results.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "limit", - "in": "query", - "description": "Optional. The maximum number of records to return.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "enableImages", - "in": "query", - "description": "Optional, include image information in output.", - "schema": { - "type": "boolean" - } - }, - { - "name": "imageTypeLimit", - "in": "query", - "description": "Optional, the max number of images to return, per image type.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "enableImageTypes", - "in": "query", - "description": "Optional. The image types to include in the output.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageType" - } - } - }, - { - "name": "enableUserData", - "in": "query", - "description": "Optional. Include user data.", - "schema": { - "type": "boolean" - } - }, - { - "name": "sortBy", - "in": "query", - "description": "Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Shows/{seriesId}/Seasons": { - "get": { - "tags": [ - "TvShows" - ], - "summary": "Gets seasons for a tv series.", - "operationId": "GetSeasons", - "parameters": [ - { - "name": "seriesId", - "in": "path", - "description": "The series id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "userId", - "in": "query", - "description": "The user id.", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "fields", - "in": "query", - "description": "Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemFields" - } - } - }, - { - "name": "isSpecialSeason", - "in": "query", - "description": "Optional. Filter by special season.", - "schema": { - "type": "boolean" - } - }, - { - "name": "isMissing", - "in": "query", - "description": "Optional. Filter by items that are missing episodes or not.", - "schema": { - "type": "boolean" - } - }, - { - "name": "adjacentTo", - "in": "query", - "description": "Optional. Return items that are siblings of a supplied item.", - "schema": { - "type": "string" - } - }, - { - "name": "enableImages", - "in": "query", - "description": "Optional. Include image information in output.", - "schema": { - "type": "boolean" - } - }, - { - "name": "imageTypeLimit", - "in": "query", - "description": "Optional. The max number of images to return, per image type.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "enableImageTypes", - "in": "query", - "description": "Optional. The image types to include in the output.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageType" - } - } - }, - { - "name": "enableUserData", - "in": "query", - "description": "Optional. Include user data.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Audio/{itemId}/universal": { "get": { "tags": [ @@ -41455,7 +39141,15 @@ "in": "query", "description": "Optional. The transcoding protocol.", "schema": { - "type": "string" + "enum": [ + "http", + "hls" + ], + "allOf": [ + { + "$ref": "#/components/schemas/MediaStreamProtocol" + } + ] } }, { @@ -41484,6 +39178,15 @@ "type": "boolean" } }, + { + "name": "enableAudioVbrEncoding", + "in": "query", + "description": "Optional. Whether to enable Audio Encoding.", + "schema": { + "type": "boolean", + "default": true + } + }, { "name": "breakOnNonKeyFrames", "in": "query", @@ -41518,6 +39221,26 @@ "302": { "description": "Redirected to remote audio stream." }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "401": { "description": "Unauthorized" }, @@ -41654,7 +39377,15 @@ "in": "query", "description": "Optional. The transcoding protocol.", "schema": { - "type": "string" + "enum": [ + "http", + "hls" + ], + "allOf": [ + { + "$ref": "#/components/schemas/MediaStreamProtocol" + } + ] } }, { @@ -41683,6 +39414,15 @@ "type": "boolean" } }, + { + "name": "enableAudioVbrEncoding", + "in": "query", + "description": "Optional. Whether to enable Audio Encoding.", + "schema": { + "type": "boolean", + "default": true + } + }, { "name": "breakOnNonKeyFrames", "in": "query", @@ -41717,838 +39457,8 @@ "302": { "description": "Redirected to remote audio stream." }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/FavoriteItems/{itemId}": { - "post": { - "tags": [ - "UserLibrary" - ], - "summary": "Marks an item as a favorite.", - "operationId": "MarkFavoriteItem", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Item marked as favorite.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - }, - "delete": { - "tags": [ - "UserLibrary" - ], - "summary": "Unmarks item as a favorite.", - "operationId": "UnmarkFavoriteItem", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Item unmarked as favorite.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/Items/Latest": { - "get": { - "tags": [ - "UserLibrary" - ], - "summary": "Gets latest media.", - "operationId": "GetLatestMedia", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "parentId", - "in": "query", - "description": "Specify this to localize the search to a specific item or folder. Omit to use the root.", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "fields", - "in": "query", - "description": "Optional. Specify additional fields of information to return in the output.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemFields" - } - } - }, - { - "name": "includeItemTypes", - "in": "query", - "description": "Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemKind" - } - } - }, - { - "name": "isPlayed", - "in": "query", - "description": "Filter by items that are played, or not.", - "schema": { - "type": "boolean" - } - }, - { - "name": "enableImages", - "in": "query", - "description": "Optional. include image information in output.", - "schema": { - "type": "boolean" - } - }, - { - "name": "imageTypeLimit", - "in": "query", - "description": "Optional. the max number of images to return, per image type.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "enableImageTypes", - "in": "query", - "description": "Optional. The image types to include in the output.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageType" - } - } - }, - { - "name": "enableUserData", - "in": "query", - "description": "Optional. include user data.", - "schema": { - "type": "boolean" - } - }, - { - "name": "limit", - "in": "query", - "description": "Return item limit.", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - }, - { - "name": "groupItems", - "in": "query", - "description": "Whether or not to group items into a parent container.", - "schema": { - "type": "boolean", - "default": true - } - } - ], - "responses": { - "200": { - "description": "Latest media returned.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/Items/Root": { - "get": { - "tags": [ - "UserLibrary" - ], - "summary": "Gets the root folder from a user's library.", - "operationId": "GetRootFolder", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Root folder returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/Items/{itemId}": { - "get": { - "tags": [ - "UserLibrary" - ], - "summary": "Gets an item from a user's library.", - "operationId": "GetItem", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Item returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/Items/{itemId}/Intros": { - "get": { - "tags": [ - "UserLibrary" - ], - "summary": "Gets intros to play before the main media item plays.", - "operationId": "GetIntros", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Intros returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/Items/{itemId}/LocalTrailers": { - "get": { - "tags": [ - "UserLibrary" - ], - "summary": "Gets local trailers for an item.", - "operationId": "GetLocalTrailers", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "An Microsoft.AspNetCore.Mvc.OkResult containing the item's local trailers.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/Items/{itemId}/Rating": { - "delete": { - "tags": [ - "UserLibrary" - ], - "summary": "Deletes a user's saved personal rating for an item.", - "operationId": "DeleteUserItemRating", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Personal rating removed.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - }, - "post": { - "tags": [ - "UserLibrary" - ], - "summary": "Updates a user's rating for an item.", - "operationId": "UpdateUserItemRating", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "likes", - "in": "query", - "description": "Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Guid,System.Guid,System.Nullable{System.Boolean}) is likes.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "Item rating updated.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/Items/{itemId}/SpecialFeatures": { - "get": { - "tags": [ - "UserLibrary" - ], - "summary": "Gets special features for an item.", - "operationId": "GetSpecialFeatures", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Special features returned.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/GroupingOptions": { - "get": { - "tags": [ - "UserViews" - ], - "summary": "Get user view grouping options.", - "operationId": "GetGroupingOptions", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "User view grouping options returned.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpecialViewOptionDto" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpecialViewOptionDto" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpecialViewOptionDto" - } - } - } - } - }, "404": { - "description": "User not found.", + "description": "Item not found.", "content": { "application/json": { "schema": { @@ -42583,90 +39493,6 @@ ] } }, - "/Users/{userId}/Views": { - "get": { - "tags": [ - "UserViews" - ], - "summary": "Get user views.", - "operationId": "GetUserViews", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "includeExternalContent", - "in": "query", - "description": "Whether or not to include external views such as channels or live tv.", - "schema": { - "type": "boolean" - } - }, - { - "name": "presetViews", - "in": "query", - "description": "Preset views.", - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "includeHidden", - "in": "query", - "description": "Whether or not to include hidden content.", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "User views returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Users": { "get": { "tags": [ @@ -42736,6 +39562,358 @@ ] } ] + }, + "post": { + "tags": [ + "User" + ], + "summary": "Updates a user.", + "operationId": "UpdateUser", + "parameters": [ + { + "name": "userId", + "in": "query", + "description": "The user id.", + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "description": "The updated user model.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UserDto" + } + ], + "description": "Class UserDto." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UserDto" + } + ], + "description": "Class UserDto." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UserDto" + } + ], + "description": "Class UserDto." + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "User updated." + }, + "400": { + "description": "User information was not supplied.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "User update forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Users/{userId}": { + "get": { + "tags": [ + "User" + ], + "summary": "Gets a user by Id.", + "operationId": "GetUserById", + "parameters": [ + { + "name": "userId", + "in": "path", + "description": "The user id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "User returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/UserDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/UserDto" + } + } + } + }, + "404": { + "description": "User not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "IgnoreParentalControl", + "DefaultAuthorization" + ] + } + ] + }, + "delete": { + "tags": [ + "User" + ], + "summary": "Deletes a user.", + "operationId": "DeleteUser", + "parameters": [ + { + "name": "userId", + "in": "path", + "description": "The user id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "204": { + "description": "User deleted." + }, + "404": { + "description": "User not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" + ] + } + ] + } + }, + "/Users/{userId}/Policy": { + "post": { + "tags": [ + "User" + ], + "summary": "Updates a user policy.", + "operationId": "UpdateUserPolicy", + "parameters": [ + { + "name": "userId", + "in": "path", + "description": "The user id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "description": "The new user policy.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UserPolicy" + } + ] + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UserPolicy" + } + ] + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UserPolicy" + } + ] + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "User policy updated." + }, + "400": { + "description": "User policy was not supplied.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "User policy update forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" + ] + } + ] } }, "/Users/AuthenticateByName": { @@ -42875,6 +40053,97 @@ } } }, + "/Users/Configuration": { + "post": { + "tags": [ + "User" + ], + "summary": "Updates a user configuration.", + "operationId": "UpdateUserConfiguration", + "parameters": [ + { + "name": "userId", + "in": "query", + "description": "The user id.", + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "description": "The new user configuration.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UserConfiguration" + } + ], + "description": "Class UserConfiguration." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UserConfiguration" + } + ], + "description": "Class UserConfiguration." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UserConfiguration" + } + ], + "description": "Class UserConfiguration." + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "User configuration updated." + }, + "403": { + "description": "User configuration update forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/Users/ForgotPassword": { "post": { "tags": [ @@ -43153,6 +40422,117 @@ ] } }, + "/Users/Password": { + "post": { + "tags": [ + "User" + ], + "summary": "Updates a user's password.", + "operationId": "UpdateUserPassword", + "parameters": [ + { + "name": "userId", + "in": "query", + "description": "The user id.", + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "description": "The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Nullable{System.Guid},Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdateUserPassword" + } + ], + "description": "The update user password request body." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdateUserPassword" + } + ], + "description": "The update user password request body." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdateUserPassword" + } + ], + "description": "The update user password request body." + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Password successfully reset." + }, + "403": { + "description": "User is not allowed to update the password.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "User not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/Users/Public": { "get": { "tags": [ @@ -43193,18 +40573,27 @@ } } }, - "/Users/{userId}": { + "/Items/{itemId}/Intros": { "get": { "tags": [ - "User" + "UserLibrary" ], - "summary": "Gets a user by Id.", - "operationId": "GetUserById", + "summary": "Gets intros to play before the main media item plays.", + "operationId": "GetIntros", "parameters": [ { "name": "userId", + "in": "query", + "description": "User id.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "itemId", "in": "path", - "description": "The user id.", + "description": "Item id.", "required": true, "schema": { "type": "string", @@ -43214,41 +40603,21 @@ ], "responses": { "200": { - "description": "User returned.", + "description": "Intros returned.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserDto" + "$ref": "#/components/schemas/BaseItemDtoQueryResult" } }, "application/json; profile=\"CamelCase\"": { "schema": { - "$ref": "#/components/schemas/UserDto" + "$ref": "#/components/schemas/BaseItemDtoQueryResult" } }, "application/json; profile=\"PascalCase\"": { "schema": { - "$ref": "#/components/schemas/UserDto" - } - } - } - }, - "404": { - "description": "User not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" + "$ref": "#/components/schemas/BaseItemDtoQueryResult" } } } @@ -43263,22 +40632,457 @@ "security": [ { "CustomAuthentication": [ - "IgnoreParentalControl" + "DefaultAuthorization" + ] + } + ] + } + }, + "/Items/{itemId}/LocalTrailers": { + "get": { + "tags": [ + "UserLibrary" + ], + "summary": "Gets local trailers for an item.", + "operationId": "GetLocalTrailers", + "parameters": [ + { + "name": "userId", + "in": "query", + "description": "User id.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "An Microsoft.AspNetCore.Mvc.OkResult containing the item's local trailers.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Items/{itemId}/SpecialFeatures": { + "get": { + "tags": [ + "UserLibrary" + ], + "summary": "Gets special features for an item.", + "operationId": "GetSpecialFeatures", + "parameters": [ + { + "name": "userId", + "in": "query", + "description": "User id.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Special features returned.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Items/Latest": { + "get": { + "tags": [ + "UserLibrary" + ], + "summary": "Gets latest media.", + "operationId": "GetLatestMedia", + "parameters": [ + { + "name": "userId", + "in": "query", + "description": "User id.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "parentId", + "in": "query", + "description": "Specify this to localize the search to a specific item or folder. Omit to use the root.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "fields", + "in": "query", + "description": "Optional. Specify additional fields of information to return in the output.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemFields" + } + } + }, + { + "name": "includeItemTypes", + "in": "query", + "description": "Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemKind" + } + } + }, + { + "name": "isPlayed", + "in": "query", + "description": "Filter by items that are played, or not.", + "schema": { + "type": "boolean" + } + }, + { + "name": "enableImages", + "in": "query", + "description": "Optional. include image information in output.", + "schema": { + "type": "boolean" + } + }, + { + "name": "imageTypeLimit", + "in": "query", + "description": "Optional. the max number of images to return, per image type.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "enableImageTypes", + "in": "query", + "description": "Optional. The image types to include in the output.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ImageType" + } + } + }, + { + "name": "enableUserData", + "in": "query", + "description": "Optional. include user data.", + "schema": { + "type": "boolean" + } + }, + { + "name": "limit", + "in": "query", + "description": "Return item limit.", + "schema": { + "type": "integer", + "format": "int32", + "default": 20 + } + }, + { + "name": "groupItems", + "in": "query", + "description": "Whether or not to group items into a parent container.", + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Latest media returned.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Items/Root": { + "get": { + "tags": [ + "UserLibrary" + ], + "summary": "Gets the root folder from a user's library.", + "operationId": "GetRootFolder", + "parameters": [ + { + "name": "userId", + "in": "query", + "description": "User id.", + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Root folder returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/UserFavoriteItems/{itemId}": { + "post": { + "tags": [ + "UserLibrary" + ], + "summary": "Marks an item as a favorite.", + "operationId": "MarkFavoriteItem", + "parameters": [ + { + "name": "userId", + "in": "query", + "description": "User id.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Item marked as favorite.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" ] } ] }, "delete": { "tags": [ - "User" + "UserLibrary" ], - "summary": "Deletes a user.", - "operationId": "DeleteUser", + "summary": "Unmarks item as a favorite.", + "operationId": "UnmarkFavoriteItem", "parameters": [ { "name": "userId", + "in": "query", + "description": "User id.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "itemId", "in": "path", - "description": "The user id.", + "description": "Item id.", "required": true, "schema": { "type": "string", @@ -43287,8 +41091,308 @@ } ], "responses": { - "204": { - "description": "User deleted." + "200": { + "description": "Item unmarked as favorite.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/UserItems/{itemId}/Rating": { + "delete": { + "tags": [ + "UserLibrary" + ], + "summary": "Deletes a user's saved personal rating for an item.", + "operationId": "DeleteUserItemRating", + "parameters": [ + { + "name": "userId", + "in": "query", + "description": "User id.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Personal rating removed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + }, + "post": { + "tags": [ + "UserLibrary" + ], + "summary": "Updates a user's rating for an item.", + "operationId": "UpdateUserItemRating", + "parameters": [ + { + "name": "userId", + "in": "query", + "description": "User id.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "likes", + "in": "query", + "description": "Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Nullable{System.Guid},System.Guid,System.Nullable{System.Boolean}) is likes.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "Item rating updated.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/UserViews": { + "get": { + "tags": [ + "UserViews" + ], + "summary": "Get user views.", + "operationId": "GetUserViews", + "parameters": [ + { + "name": "userId", + "in": "query", + "description": "User id.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "includeExternalContent", + "in": "query", + "description": "Whether or not to include external views such as channels or live tv.", + "schema": { + "type": "boolean" + } + }, + { + "name": "presetViews", + "in": "query", + "description": "Preset views.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CollectionType" + } + } + }, + { + "name": "includeHidden", + "in": "query", + "description": "Whether or not to include hidden content.", + "schema": { + "type": "boolean", + "default": false + } + } + ], + "responses": { + "200": { + "description": "User views returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/UserViews/GroupingOptions": { + "get": { + "tags": [ + "UserViews" + ], + "summary": "Get user view grouping options.", + "operationId": "GetGroupingOptions", + "parameters": [ + { + "name": "userId", + "in": "query", + "description": "User id.", + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "User view grouping options returned.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SpecialViewOptionDto" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SpecialViewOptionDto" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SpecialViewOptionDto" + } + } + } + } }, "404": { "description": "User not found.", @@ -43317,116 +41421,6 @@ "description": "Forbidden" } }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - }, - "post": { - "tags": [ - "User" - ], - "summary": "Updates a user.", - "operationId": "UpdateUser", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "The user id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "description": "The updated user model.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UserDto" - } - ], - "description": "Class UserDto." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UserDto" - } - ], - "description": "Class UserDto." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UserDto" - } - ], - "description": "Class UserDto." - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "User updated." - }, - "400": { - "description": "User information was not supplied.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "User update forbidden.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - } - }, "security": [ { "CustomAuthentication": [ @@ -43436,531 +41430,6 @@ ] } }, - "/Users/{userId}/Authenticate": { - "post": { - "tags": [ - "User" - ], - "summary": "Authenticates a user.", - "operationId": "AuthenticateUser", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "The user id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "pw", - "in": "query", - "description": "The password as plain text.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "password", - "in": "query", - "description": "The password sha1-hash.", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "User authenticated.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AuthenticationResult" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/AuthenticationResult" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/AuthenticationResult" - } - } - } - }, - "403": { - "description": "Sha1-hashed password only is not allowed.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "User not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/Users/{userId}/Configuration": { - "post": { - "tags": [ - "User" - ], - "summary": "Updates a user configuration.", - "operationId": "UpdateUserConfiguration", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "The user id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "description": "The new user configuration.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UserConfiguration" - } - ], - "description": "Class UserConfiguration." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UserConfiguration" - } - ], - "description": "Class UserConfiguration." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UserConfiguration" - } - ], - "description": "Class UserConfiguration." - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "User configuration updated." - }, - "403": { - "description": "User configuration update forbidden.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/EasyPassword": { - "post": { - "tags": [ - "User" - ], - "summary": "Updates a user's easy password.", - "operationId": "UpdateUserEasyPassword", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "The user id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "description": "The M:Jellyfin.Api.Controllers.UserController.UpdateUserEasyPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserEasyPassword) request.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateUserEasyPassword" - } - ], - "description": "The update user easy password request body." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateUserEasyPassword" - } - ], - "description": "The update user easy password request body." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateUserEasyPassword" - } - ], - "description": "The update user easy password request body." - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Password successfully reset." - }, - "403": { - "description": "User is not allowed to update the password.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "User not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/Password": { - "post": { - "tags": [ - "User" - ], - "summary": "Updates a user's password.", - "operationId": "UpdateUserPassword", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "The user id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "description": "The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateUserPassword" - } - ], - "description": "The update user password request body." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateUserPassword" - } - ], - "description": "The update user password request body." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateUserPassword" - } - ], - "description": "The update user password request body." - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Password successfully reset." - }, - "403": { - "description": "User is not allowed to update the password.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "User not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/Policy": { - "post": { - "tags": [ - "User" - ], - "summary": "Updates a user policy.", - "operationId": "UpdateUserPolicy", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "The user id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "description": "The new user policy.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UserPolicy" - } - ] - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UserPolicy" - } - ] - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UserPolicy" - } - ] - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "User policy updated." - }, - "400": { - "description": "User policy was not supplied.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "User policy update forbidden.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, "/Videos/{videoId}/{mediaSourceId}/Attachments/{index}": { "get": { "tags": [ @@ -44034,68 +41503,6 @@ } } }, - "/Videos/MergeVersions": { - "post": { - "tags": [ - "Videos" - ], - "summary": "Merges videos into a single record.", - "operationId": "MergeVersions", - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "Item id list. This allows multiple, comma delimited.", - "required": true, - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - } - ], - "responses": { - "204": { - "description": "Videos merged." - }, - "400": { - "description": "Supply at least 2 video ids.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, "/Videos/{itemId}/AdditionalParts": { "get": { "tags": [ @@ -44275,6 +41682,7 @@ "name": "deviceProfileId", "in": "query", "description": "Optional. The dlna device profile id to utilize.", + "deprecated": true, "schema": { "type": "string" } @@ -44333,7 +41741,7 @@ { "name": "audioCodec", "in": "query", - "description": "Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma.", + "description": "Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -44526,6 +41934,13 @@ "in": "query", "description": "Optional. Specify the subtitle delivery method.", "schema": { + "enum": [ + "Encode", + "Embed", + "External", + "Hls", + "Drop" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitleDeliveryMethod" @@ -44612,7 +42027,7 @@ { "name": "videoCodec", "in": "query", - "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.", + "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -44658,6 +42073,10 @@ "in": "query", "description": "Optional. The MediaBrowser.Model.Dlna.EncodingContext.", "schema": { + "enum": [ + "Streaming", + "Static" + ], "allOf": [ { "$ref": "#/components/schemas/EncodingContext" @@ -44676,6 +42095,15 @@ "nullable": true } } + }, + { + "name": "enableAudioVbrEncoding", + "in": "query", + "description": "Optional. Whether to enable Audio Encoding.", + "schema": { + "type": "boolean", + "default": true + } } ], "responses": { @@ -44746,6 +42174,7 @@ "name": "deviceProfileId", "in": "query", "description": "Optional. The dlna device profile id to utilize.", + "deprecated": true, "schema": { "type": "string" } @@ -44804,7 +42233,7 @@ { "name": "audioCodec", "in": "query", - "description": "Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma.", + "description": "Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -44997,6 +42426,13 @@ "in": "query", "description": "Optional. Specify the subtitle delivery method.", "schema": { + "enum": [ + "Encode", + "Embed", + "External", + "Hls", + "Drop" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitleDeliveryMethod" @@ -45083,7 +42519,7 @@ { "name": "videoCodec", "in": "query", - "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.", + "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -45129,6 +42565,10 @@ "in": "query", "description": "Optional. The MediaBrowser.Model.Dlna.EncodingContext.", "schema": { + "enum": [ + "Streaming", + "Static" + ], "allOf": [ { "$ref": "#/components/schemas/EncodingContext" @@ -45147,6 +42587,15 @@ "nullable": true } } + }, + { + "name": "enableAudioVbrEncoding", + "in": "query", + "description": "Optional. Whether to enable Audio Encoding.", + "schema": { + "type": "boolean", + "default": true + } } ], "responses": { @@ -45277,7 +42726,7 @@ { "name": "audioCodec", "in": "query", - "description": "Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma.", + "description": "Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -45470,6 +42919,13 @@ "in": "query", "description": "Optional. Specify the subtitle delivery method.", "schema": { + "enum": [ + "Encode", + "Embed", + "External", + "Hls", + "Drop" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitleDeliveryMethod" @@ -45556,7 +43012,7 @@ { "name": "videoCodec", "in": "query", - "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.", + "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -45602,6 +43058,10 @@ "in": "query", "description": "Optional. The MediaBrowser.Model.Dlna.EncodingContext.", "schema": { + "enum": [ + "Streaming", + "Static" + ], "allOf": [ { "$ref": "#/components/schemas/EncodingContext" @@ -45620,6 +43080,15 @@ "nullable": true } } + }, + { + "name": "enableAudioVbrEncoding", + "in": "query", + "description": "Optional. Whether to enable Audio Encoding.", + "schema": { + "type": "boolean", + "default": true + } } ], "responses": { @@ -45748,7 +43217,7 @@ { "name": "audioCodec", "in": "query", - "description": "Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma.", + "description": "Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -45941,6 +43410,13 @@ "in": "query", "description": "Optional. Specify the subtitle delivery method.", "schema": { + "enum": [ + "Encode", + "Embed", + "External", + "Hls", + "Drop" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitleDeliveryMethod" @@ -46027,7 +43503,7 @@ { "name": "videoCodec", "in": "query", - "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.", + "description": "Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension.", "schema": { "pattern": "^[a-zA-Z0-9\\-\\._,|]{0,40}$", "type": "string" @@ -46073,6 +43549,10 @@ "in": "query", "description": "Optional. The MediaBrowser.Model.Dlna.EncodingContext.", "schema": { + "enum": [ + "Streaming", + "Static" + ], "allOf": [ { "$ref": "#/components/schemas/EncodingContext" @@ -46091,6 +43571,15 @@ "nullable": true } } + }, + { + "name": "enableAudioVbrEncoding", + "in": "query", + "description": "Optional. Whether to enable Audio Encoding.", + "schema": { + "type": "boolean", + "default": true + } } ], "responses": { @@ -46108,6 +43597,68 @@ } } }, + "/Videos/MergeVersions": { + "post": { + "tags": [ + "Videos" + ], + "summary": "Merges videos into a single record.", + "operationId": "MergeVersions", + "parameters": [ + { + "name": "ids", + "in": "query", + "description": "Item id list. This allows multiple, comma delimited.", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + } + } + ], + "responses": { + "204": { + "description": "Videos merged." + }, + "400": { + "description": "Supply at least 2 video ids.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" + ] + } + ] + } + }, "/Years": { "get": { "tags": [ @@ -46194,7 +43745,7 @@ "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/MediaType" } } }, @@ -46205,7 +43756,7 @@ "schema": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/ItemSortBy" } } }, @@ -46405,6 +43956,18 @@ "format": "uuid" }, "DayOfWeek": { + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Everyday", + "Weekday", + "Weekend" + ], "allOf": [ { "$ref": "#/components/schemas/DynamicDayOfWeek" @@ -46474,6 +44037,15 @@ "deprecated": true }, "Severity": { + "enum": [ + "Trace", + "Debug", + "Information", + "Warning", + "Error", + "Critical", + "None" + ], "allOf": [ { "$ref": "#/components/schemas/LogLevel" @@ -46485,6 +44057,72 @@ "additionalProperties": false, "description": "An activity log entry." }, + "ActivityLogEntryMessage": { + "type": "object", + "properties": { + "Data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ActivityLogEntry" + }, + "description": "Gets or sets the data.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "ActivityLogEntry", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Activity log created message." + }, "ActivityLogEntryQueryResult": { "type": "object", "properties": { @@ -46493,8 +44131,7 @@ "items": { "$ref": "#/components/schemas/ActivityLogEntry" }, - "description": "Gets or sets the items.", - "nullable": true + "description": "Gets or sets the items." }, "TotalRecordCount": { "type": "integer", @@ -46507,7 +44144,119 @@ "format": "int32" } }, - "additionalProperties": false + "additionalProperties": false, + "description": "Query result container." + }, + "ActivityLogEntryStartMessage": { + "type": "object", + "properties": { + "Data": { + "type": "string", + "description": "Gets or sets the data.", + "nullable": true + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "ActivityLogEntryStart", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Activity log entry start message.\r\nData is the timing data encoded as \"$initialDelay,$interval\" in ms." + }, + "ActivityLogEntryStopMessage": { + "type": "object", + "properties": { + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "ActivityLogEntryStop", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Activity log entry stop message." }, "AddVirtualFolderDto": { "type": "object", @@ -46525,37 +44274,6 @@ "additionalProperties": false, "description": "Add virtual folder dto." }, - "AdminNotificationDto": { - "type": "object", - "properties": { - "Name": { - "type": "string", - "description": "Gets or sets the notification name.", - "nullable": true - }, - "Description": { - "type": "string", - "description": "Gets or sets the notification description.", - "nullable": true - }, - "NotificationLevel": { - "allOf": [ - { - "$ref": "#/components/schemas/NotificationLevel" - } - ], - "description": "Gets or sets the notification level.", - "nullable": true - }, - "Url": { - "type": "string", - "description": "Gets or sets the notification url.", - "nullable": true - } - }, - "additionalProperties": false, - "description": "The admin notification dto." - }, "AlbumInfo": { "type": "object", "properties": { @@ -46701,17 +44419,6 @@ }, "additionalProperties": false }, - "Architecture": { - "enum": [ - "X86", - "X64", - "Arm", - "Arm64", - "Wasm", - "S390x" - ], - "type": "string" - }, "ArtistInfo": { "type": "object", "properties": { @@ -46809,6 +44516,15 @@ }, "additionalProperties": false }, + "AudioSpatialFormat": { + "enum": [ + "None", + "DolbyAtmos", + "DTSX" + ], + "type": "string", + "description": "An enum representing formats of spatial audio." + }, "AuthenticateUserByName": { "type": "object", "properties": { @@ -46821,12 +44537,6 @@ "type": "string", "description": "Gets or sets the plain text password.", "nullable": true - }, - "Password": { - "type": "string", - "description": "Gets or sets the sha1-hashed password.", - "nullable": true, - "deprecated": true } }, "additionalProperties": false, @@ -46904,8 +44614,7 @@ "items": { "$ref": "#/components/schemas/AuthenticationInfo" }, - "description": "Gets or sets the items.", - "nullable": true + "description": "Gets or sets the items." }, "TotalRecordCount": { "type": "integer", @@ -46918,7 +44627,8 @@ "format": "int32" } }, - "additionalProperties": false + "additionalProperties": false, + "description": "Query result container." }, "AuthenticationResult": { "type": "object", @@ -46935,81 +44645,25 @@ "SessionInfo": { "allOf": [ { - "$ref": "#/components/schemas/SessionInfo" + "$ref": "#/components/schemas/SessionInfoDto" } ], - "description": "Class SessionInfo.", + "description": "Session info DTO.", "nullable": true }, "AccessToken": { "type": "string", + "description": "Gets or sets the access token.", "nullable": true }, "ServerId": { "type": "string", + "description": "Gets or sets the server id.", "nullable": true } }, - "additionalProperties": false - }, - "BaseItem": { - "type": "object", - "properties": { - "Size": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "Container": { - "type": "string", - "nullable": true - }, - "IsHD": { - "type": "boolean", - "readOnly": true - }, - "IsShortcut": { - "type": "boolean" - }, - "ShortcutPath": { - "type": "string", - "nullable": true - }, - "Width": { - "type": "integer", - "format": "int32" - }, - "Height": { - "type": "integer", - "format": "int32" - }, - "ExtraIds": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "nullable": true - }, - "DateLastSaved": { - "type": "string", - "format": "date-time" - }, - "RemoteTrailers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MediaUrl" - }, - "description": "Gets or sets the remote trailers.", - "nullable": true - }, - "SupportsExternalTransfer": { - "type": "boolean", - "readOnly": true - } - }, "additionalProperties": false, - "description": "Class BaseItem." + "description": "A class representing an authentication result." }, "BaseItemDto": { "type": "object", @@ -47060,7 +44714,25 @@ "nullable": true }, "ExtraType": { - "type": "string", + "enum": [ + "Unknown", + "Clip", + "Trailer", + "BehindTheScenes", + "DeletedScene", + "Interview", + "Scene", + "Sample", + "ThemeSong", + "ThemeVideo", + "Featurette", + "Short" + ], + "allOf": [ + { + "$ref": "#/components/schemas/ExtraType" + } + ], "nullable": true }, "AirsBeforeSeasonNumber": { @@ -47086,6 +44758,10 @@ "type": "boolean", "nullable": true }, + "HasLyrics": { + "type": "boolean", + "nullable": true + }, "HasSubtitles": { "type": "boolean", "nullable": true @@ -47098,11 +44774,6 @@ "type": "string", "nullable": true }, - "SupportsSync": { - "type": "boolean", - "description": "Gets or sets a value indicating whether [supports synchronize].", - "nullable": true - }, "Container": { "type": "string", "nullable": true @@ -47117,6 +44788,13 @@ "nullable": true }, "Video3DFormat": { + "enum": [ + "HalfSideBySide", + "FullSideBySide", + "FullTopAndBottom", + "HalfTopAndBottom", + "MVC" + ], "allOf": [ { "$ref": "#/components/schemas/Video3DFormat" @@ -47229,6 +44907,10 @@ "nullable": true }, "PlayAccess": { + "enum": [ + "Full", + "None" + ], "allOf": [ { "$ref": "#/components/schemas/PlayAccess" @@ -47314,12 +44996,51 @@ "nullable": true }, "Type": { + "enum": [ + "AggregateFolder", + "Audio", + "AudioBook", + "BasePluginFolder", + "Book", + "BoxSet", + "Channel", + "ChannelFolderItem", + "CollectionFolder", + "Episode", + "Folder", + "Genre", + "ManualPlaylistsFolder", + "Movie", + "LiveTvChannel", + "LiveTvProgram", + "MusicAlbum", + "MusicArtist", + "MusicGenre", + "MusicVideo", + "Person", + "Photo", + "PhotoAlbum", + "Playlist", + "PlaylistsFolder", + "Program", + "Recording", + "Season", + "Series", + "Studio", + "Trailer", + "TvChannel", + "TvProgram", + "UserRootFolder", + "UserView", + "Video", + "Year" + ], "allOf": [ { "$ref": "#/components/schemas/BaseItemKind" } ], - "description": "Gets or sets the type." + "description": "The base item kind." }, "People": { "type": "array", @@ -47346,13 +45067,13 @@ }, "ParentLogoItemId": { "type": "string", - "description": "Gets or sets wether the item has a logo, this will hold the Id of the Parent that has one.", + "description": "Gets or sets whether the item has a logo, this will hold the Id of the Parent that has one.", "format": "uuid", "nullable": true }, "ParentBackdropItemId": { "type": "string", - "description": "Gets or sets wether the item has any backdrops, this will hold the Id of the Parent that has one.", + "description": "Gets or sets whether the item has any backdrops, this will hold the Id of the Parent that has one.", "format": "uuid", "nullable": true }, @@ -47473,7 +45194,26 @@ "nullable": true }, "CollectionType": { - "type": "string", + "enum": [ + "unknown", + "movies", + "tvshows", + "music", + "musicvideos", + "trailers", + "homevideos", + "boxsets", + "books", + "photos", + "livetv", + "playlists", + "folders" + ], + "allOf": [ + { + "$ref": "#/components/schemas/CollectionType" + } + ], "description": "Gets or sets the type of the collection.", "nullable": true }, @@ -47525,6 +45265,12 @@ "nullable": true }, "VideoType": { + "enum": [ + "VideoFile", + "Iso", + "Dvd", + "BluRay" + ], "allOf": [ { "$ref": "#/components/schemas/VideoType" @@ -47575,7 +45321,7 @@ }, "ParentArtItemId": { "type": "string", - "description": "Gets or sets wether the item has fan art, this will hold the Id of the Parent that has one.", + "description": "Gets or sets whether the item has fan art, this will hold the Id of the Parent that has one.", "format": "uuid", "nullable": true }, @@ -47708,7 +45454,24 @@ "description": "Gets or sets the chapters.", "nullable": true }, + "Trickplay": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/TrickplayInfo" + } + }, + "description": "Gets or sets the trickplay manifest.", + "nullable": true + }, "LocationType": { + "enum": [ + "FileSystem", + "Remote", + "Virtual", + "Offline" + ], "allOf": [ { "$ref": "#/components/schemas/LocationType" @@ -47718,6 +45481,10 @@ "nullable": true }, "IsoType": { + "enum": [ + "Dvd", + "BluRay" + ], "allOf": [ { "$ref": "#/components/schemas/IsoType" @@ -47727,9 +45494,19 @@ "nullable": true }, "MediaType": { - "type": "string", - "description": "Gets or sets the type of the media.", - "nullable": true + "enum": [ + "Unknown", + "Video", + "Audio", + "Photo", + "Book" + ], + "allOf": [ + { + "$ref": "#/components/schemas/MediaType" + } + ], + "description": "Media types." }, "EndDate": { "type": "string", @@ -47835,6 +45612,16 @@ "nullable": true }, "ImageOrientation": { + "enum": [ + "TopLeft", + "TopRight", + "BottomRight", + "BottomLeft", + "LeftTop", + "RightTop", + "RightBottom", + "LeftBottom" + ], "allOf": [ { "$ref": "#/components/schemas/ImageOrientation" @@ -47910,6 +45697,10 @@ "nullable": true }, "ChannelType": { + "enum": [ + "TV", + "Radio" + ], "allOf": [ { "$ref": "#/components/schemas/ChannelType" @@ -47919,6 +45710,14 @@ "nullable": true }, "Audio": { + "enum": [ + "Mono", + "Stereo", + "Dolby", + "DolbyDigital", + "Thx", + "Atmos" + ], "allOf": [ { "$ref": "#/components/schemas/ProgramAudio" @@ -47967,6 +45766,12 @@ "description": "Gets or sets the timer identifier.", "nullable": true }, + "NormalizationGain": { + "type": "number", + "description": "Gets or sets the gain required for audio normalization.", + "format": "float", + "nullable": true + }, "CurrentProgram": { "allOf": [ { @@ -47988,8 +45793,7 @@ "items": { "$ref": "#/components/schemas/BaseItemDto" }, - "description": "Gets or sets the items.", - "nullable": true + "description": "Gets or sets the items." }, "TotalRecordCount": { "type": "integer", @@ -48002,7 +45806,8 @@ "format": "int32" } }, - "additionalProperties": false + "additionalProperties": false, + "description": "Query result container." }, "BaseItemKind": { "enum": [ @@ -48066,9 +45871,39 @@ "nullable": true }, "Type": { - "type": "string", - "description": "Gets or sets the type.", - "nullable": true + "enum": [ + "Unknown", + "Actor", + "Director", + "Composer", + "Writer", + "GuestStar", + "Producer", + "Conductor", + "Lyricist", + "Arranger", + "Engineer", + "Mixer", + "Remixer", + "Creator", + "Artist", + "AlbumArtist", + "Author", + "Illustrator", + "Penciller", + "Inker", + "Colorist", + "Letterer", + "CoverArtist", + "Editor", + "Translator" + ], + "allOf": [ + { + "$ref": "#/components/schemas/PersonKind" + } + ], + "description": "The person kind." }, "PrimaryImageTag": { "type": "string", @@ -48402,6 +46237,21 @@ "additionalProperties": false, "description": "Class BufferRequestDto." }, + "CastReceiverApplication": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "description": "Gets or sets the cast receiver application id." + }, + "Name": { + "type": "string", + "description": "Gets or sets the cast receiver application name." + } + }, + "additionalProperties": false, + "description": "The cast receiver application model." + }, "ChannelFeatures": { "type": "object", "properties": { @@ -48574,66 +46424,13 @@ "additionalProperties": false, "description": "Class ChapterInfo." }, - "ClientCapabilities": { - "type": "object", - "properties": { - "PlayableMediaTypes": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "SupportedCommands": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GeneralCommandType" - }, - "nullable": true - }, - "SupportsMediaControl": { - "type": "boolean" - }, - "SupportsContentUploading": { - "type": "boolean" - }, - "MessageCallbackUrl": { - "type": "string", - "nullable": true - }, - "SupportsPersistentIdentifier": { - "type": "boolean" - }, - "SupportsSync": { - "type": "boolean" - }, - "DeviceProfile": { - "allOf": [ - { - "$ref": "#/components/schemas/DeviceProfile" - } - ], - "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't.", - "nullable": true - }, - "AppStoreUrl": { - "type": "string", - "nullable": true - }, - "IconUrl": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, "ClientCapabilitiesDto": { "type": "object", "properties": { "PlayableMediaTypes": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/MediaType" }, "description": "Gets or sets the list of playable media types." }, @@ -48648,23 +46445,10 @@ "type": "boolean", "description": "Gets or sets a value indicating whether session supports media control." }, - "SupportsContentUploading": { - "type": "boolean", - "description": "Gets or sets a value indicating whether session supports content uploading." - }, - "MessageCallbackUrl": { - "type": "string", - "description": "Gets or sets the message callback url.", - "nullable": true - }, "SupportsPersistentIdentifier": { "type": "boolean", "description": "Gets or sets a value indicating whether session supports a persistent identifier." }, - "SupportsSync": { - "type": "boolean", - "description": "Gets or sets a value indicating whether session supports sync." - }, "DeviceProfile": { "allOf": [ { @@ -48703,36 +46487,50 @@ "type": "object", "properties": { "Type": { + "enum": [ + "Video", + "VideoAudio", + "Audio" + ], "allOf": [ { "$ref": "#/components/schemas/CodecType" } - ] + ], + "description": "Gets or sets the MediaBrowser.Model.Dlna.CodecType which this container must meet." }, "Conditions": { "type": "array", "items": { "$ref": "#/components/schemas/ProfileCondition" }, - "nullable": true + "description": "Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this profile must meet." }, "ApplyConditions": { "type": "array", "items": { "$ref": "#/components/schemas/ProfileCondition" }, - "nullable": true + "description": "Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition to apply if this profile is met." }, "Codec": { "type": "string", + "description": "Gets or sets the codec(s) that this profile applies to.", "nullable": true }, "Container": { "type": "string", + "description": "Gets or sets the container(s) which this profile will be applied to.", + "nullable": true + }, + "SubContainer": { + "type": "string", + "description": "Gets or sets the sub-container(s) which this profile will be applied to.", "nullable": true } }, - "additionalProperties": false + "additionalProperties": false, + "description": "Defines the MediaBrowser.Model.Dlna.CodecProfile." }, "CodecType": { "enum": [ @@ -48752,18 +46550,38 @@ }, "additionalProperties": false }, + "CollectionType": { + "enum": [ + "unknown", + "movies", + "tvshows", + "music", + "musicvideos", + "trailers", + "homevideos", + "boxsets", + "books", + "photos", + "livetv", + "playlists", + "folders" + ], + "type": "string", + "description": "Collection type." + }, "CollectionTypeOptions": { "enum": [ - "Movies", - "TvShows", - "Music", - "MusicVideos", - "HomeVideos", - "BoxSets", - "Books", - "Mixed" + "movies", + "tvshows", + "music", + "musicvideos", + "homevideos", + "boxsets", + "books", + "mixed" ], - "type": "string" + "type": "string", + "description": "The collection type options." }, "ConfigImageTypes": { "type": "object", @@ -48854,43 +46672,40 @@ "type": "object", "properties": { "Type": { + "enum": [ + "Audio", + "Video", + "Photo", + "Subtitle", + "Lyric" + ], "allOf": [ { "$ref": "#/components/schemas/DlnaProfileType" } - ] + ], + "description": "Gets or sets the MediaBrowser.Model.Dlna.DlnaProfileType which this container must meet." }, "Conditions": { "type": "array", "items": { "$ref": "#/components/schemas/ProfileCondition" }, - "nullable": true + "description": "Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this container will be applied to." }, "Container": { - "type": "string" + "type": "string", + "description": "Gets or sets the container(s) which this container must meet.", + "nullable": true + }, + "SubContainer": { + "type": "string", + "description": "Gets or sets the sub container(s) which this container must meet.", + "nullable": true } }, - "additionalProperties": false - }, - "ControlResponse": { - "type": "object", - "properties": { - "Headers": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "readOnly": true - }, - "Xml": { - "type": "string" - }, - "IsSuccessful": { - "type": "boolean" - } - }, - "additionalProperties": false + "additionalProperties": false, + "description": "Defines the MediaBrowser.Model.Dlna.ContainerProfile." }, "CountryInfo": { "type": "object", @@ -48924,8 +46739,7 @@ "properties": { "Name": { "type": "string", - "description": "Gets or sets the name of the new playlist.", - "nullable": true + "description": "Gets or sets the name of the new playlist." }, "Ids": { "type": "array", @@ -48942,21 +46756,45 @@ "nullable": true }, "MediaType": { - "type": "string", + "enum": [ + "Unknown", + "Video", + "Audio", + "Photo", + "Book" + ], + "allOf": [ + { + "$ref": "#/components/schemas/MediaType" + } + ], "description": "Gets or sets the media type.", "nullable": true + }, + "Users": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PlaylistUserPermissions" + }, + "description": "Gets or sets the playlist users." + }, + "IsPublic": { + "type": "boolean", + "description": "Gets or sets a value indicating whether the playlist is public." } }, "additionalProperties": false, "description": "Create new playlist dto." }, "CreateUserByName": { + "required": [ + "Name" + ], "type": "object", "properties": { "Name": { "type": "string", - "description": "Gets or sets the username.", - "nullable": true + "description": "Gets or sets the username." }, "Password": { "type": "string", @@ -48998,18 +46836,6 @@ "additionalProperties": false, "description": "Class CultureDto." }, - "CustomQueryData": { - "type": "object", - "properties": { - "CustomQueryString": { - "type": "string" - }, - "ReplaceUserId": { - "type": "boolean" - } - }, - "additionalProperties": false - }, "DayOfWeek": { "enum": [ "Sunday", @@ -49042,56 +46868,25 @@ "additionalProperties": false, "description": "Default directory browser info." }, - "DeviceIdentification": { - "type": "object", - "properties": { - "FriendlyName": { - "type": "string", - "description": "Gets or sets the name of the friendly." - }, - "ModelNumber": { - "type": "string", - "description": "Gets or sets the model number." - }, - "SerialNumber": { - "type": "string", - "description": "Gets or sets the serial number." - }, - "ModelName": { - "type": "string", - "description": "Gets or sets the name of the model." - }, - "ModelDescription": { - "type": "string", - "description": "Gets or sets the model description." - }, - "ModelUrl": { - "type": "string", - "description": "Gets or sets the model URL." - }, - "Manufacturer": { - "type": "string", - "description": "Gets or sets the manufacturer." - }, - "ManufacturerUrl": { - "type": "string", - "description": "Gets or sets the manufacturer URL." - }, - "Headers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/HttpHeaderInfo" - }, - "description": "Gets or sets the headers." - } - }, - "additionalProperties": false + "DeinterlaceMethod": { + "enum": [ + "yadif", + "bwdif" + ], + "type": "string", + "description": "Enum containing deinterlace methods." }, - "DeviceInfo": { + "DeviceInfoDto": { "type": "object", "properties": { "Name": { "type": "string", + "description": "Gets or sets the name.", + "nullable": true + }, + "CustomName": { + "type": "string", + "description": "Gets or sets the custom name.", "nullable": true }, "AccessToken": { @@ -49122,39 +46917,41 @@ "LastUserId": { "type": "string", "description": "Gets or sets the last user identifier.", - "format": "uuid" + "format": "uuid", + "nullable": true }, "DateLastActivity": { "type": "string", "description": "Gets or sets the date last modified.", - "format": "date-time" + "format": "date-time", + "nullable": true }, "Capabilities": { "allOf": [ { - "$ref": "#/components/schemas/ClientCapabilities" + "$ref": "#/components/schemas/ClientCapabilitiesDto" } ], - "description": "Gets or sets the capabilities.", - "nullable": true + "description": "Gets or sets the capabilities." }, "IconUrl": { "type": "string", + "description": "Gets or sets the icon URL.", "nullable": true } }, - "additionalProperties": false + "additionalProperties": false, + "description": "A DTO representing device information." }, - "DeviceInfoQueryResult": { + "DeviceInfoDtoQueryResult": { "type": "object", "properties": { "Items": { "type": "array", "items": { - "$ref": "#/components/schemas/DeviceInfo" + "$ref": "#/components/schemas/DeviceInfoDto" }, - "description": "Gets or sets the items.", - "nullable": true + "description": "Gets or sets the items." }, "TotalRecordCount": { "type": "integer", @@ -49167,29 +46964,8 @@ "format": "int32" } }, - "additionalProperties": false - }, - "DeviceOptions": { - "type": "object", - "properties": { - "Id": { - "type": "integer", - "description": "Gets the id.", - "format": "int32", - "readOnly": true - }, - "DeviceId": { - "type": "string", - "description": "Gets the device id." - }, - "CustomName": { - "type": "string", - "description": "Gets or sets the custom name.", - "nullable": true - } - }, "additionalProperties": false, - "description": "An entity representing custom options for a device." + "description": "Query result container." }, "DeviceOptionsDto": { "type": "object", @@ -49218,114 +46994,13 @@ "properties": { "Name": { "type": "string", - "description": "Gets or sets the name of this device profile.", + "description": "Gets or sets the name of this device profile. User profiles must have a unique name.", "nullable": true }, "Id": { "type": "string", - "description": "Gets or sets the Id.", - "nullable": true - }, - "Identification": { - "allOf": [ - { - "$ref": "#/components/schemas/DeviceIdentification" - } - ], - "description": "Gets or sets the Identification.", - "nullable": true - }, - "FriendlyName": { - "type": "string", - "description": "Gets or sets the friendly name of the device profile, which can be shown to users.", - "nullable": true - }, - "Manufacturer": { - "type": "string", - "description": "Gets or sets the manufacturer of the device which this profile represents.", - "nullable": true - }, - "ManufacturerUrl": { - "type": "string", - "description": "Gets or sets an url for the manufacturer of the device which this profile represents.", - "nullable": true - }, - "ModelName": { - "type": "string", - "description": "Gets or sets the model name of the device which this profile represents.", - "nullable": true - }, - "ModelDescription": { - "type": "string", - "description": "Gets or sets the model description of the device which this profile represents.", - "nullable": true - }, - "ModelNumber": { - "type": "string", - "description": "Gets or sets the model number of the device which this profile represents.", - "nullable": true - }, - "ModelUrl": { - "type": "string", - "description": "Gets or sets the ModelUrl.", - "nullable": true - }, - "SerialNumber": { - "type": "string", - "description": "Gets or sets the serial number of the device which this profile represents.", - "nullable": true - }, - "EnableAlbumArtInDidl": { - "type": "boolean", - "description": "Gets or sets a value indicating whether EnableAlbumArtInDidl.", - "default": false - }, - "EnableSingleAlbumArtLimit": { - "type": "boolean", - "description": "Gets or sets a value indicating whether EnableSingleAlbumArtLimit.", - "default": false - }, - "EnableSingleSubtitleLimit": { - "type": "boolean", - "description": "Gets or sets a value indicating whether EnableSingleSubtitleLimit.", - "default": false - }, - "SupportedMediaTypes": { - "type": "string", - "description": "Gets or sets the SupportedMediaTypes." - }, - "UserId": { - "type": "string", - "description": "Gets or sets the UserId.", - "nullable": true - }, - "AlbumArtPn": { - "type": "string", - "description": "Gets or sets the AlbumArtPn.", - "nullable": true - }, - "MaxAlbumArtWidth": { - "type": "integer", - "description": "Gets or sets the MaxAlbumArtWidth.", - "format": "int32", - "nullable": true - }, - "MaxAlbumArtHeight": { - "type": "integer", - "description": "Gets or sets the MaxAlbumArtHeight.", - "format": "int32", - "nullable": true - }, - "MaxIconWidth": { - "type": "integer", - "description": "Gets or sets the maximum allowed width of embedded icons.", - "format": "int32", - "nullable": true - }, - "MaxIconHeight": { - "type": "integer", - "description": "Gets or sets the maximum allowed height of embedded icons.", - "format": "int32", + "description": "Gets or sets the unique internal identifier.", + "format": "uuid", "nullable": true }, "MaxStreamingBitrate": { @@ -49352,49 +47027,6 @@ "format": "int32", "nullable": true }, - "SonyAggregationFlags": { - "type": "string", - "description": "Gets or sets the content of the aggregationFlags element in the urn:schemas-sonycom:av namespace.", - "nullable": true - }, - "ProtocolInfo": { - "type": "string", - "description": "Gets or sets the ProtocolInfo.", - "nullable": true - }, - "TimelineOffsetSeconds": { - "type": "integer", - "description": "Gets or sets the TimelineOffsetSeconds.", - "format": "int32", - "default": 0 - }, - "RequiresPlainVideoItems": { - "type": "boolean", - "description": "Gets or sets a value indicating whether RequiresPlainVideoItems.", - "default": false - }, - "RequiresPlainFolders": { - "type": "boolean", - "description": "Gets or sets a value indicating whether RequiresPlainFolders.", - "default": false - }, - "EnableMSMediaReceiverRegistrar": { - "type": "boolean", - "description": "Gets or sets a value indicating whether EnableMSMediaReceiverRegistrar.", - "default": false - }, - "IgnoreTranscodeByteRangeRequests": { - "type": "boolean", - "description": "Gets or sets a value indicating whether IgnoreTranscodeByteRangeRequests.", - "default": false - }, - "XmlRootAttributes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/XmlAttribute" - }, - "description": "Gets or sets the XmlRootAttributes." - }, "DirectPlayProfiles": { "type": "array", "items": { @@ -49414,7 +47046,7 @@ "items": { "$ref": "#/components/schemas/ContainerProfile" }, - "description": "Gets or sets the container profiles." + "description": "Gets or sets the container profiles. Failing to meet these optional conditions causes transcoding to occur." }, "CodecProfiles": { "type": "array", @@ -49423,13 +47055,6 @@ }, "description": "Gets or sets the codec profiles." }, - "ResponseProfiles": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResponseProfile" - }, - "description": "Gets or sets the ResponseProfiles." - }, "SubtitleProfiles": { "type": "array", "items": { @@ -49441,61 +47066,41 @@ "additionalProperties": false, "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." }, - "DeviceProfileInfo": { - "type": "object", - "properties": { - "Id": { - "type": "string", - "description": "Gets or sets the identifier.", - "nullable": true - }, - "Name": { - "type": "string", - "description": "Gets or sets the name.", - "nullable": true - }, - "Type": { - "allOf": [ - { - "$ref": "#/components/schemas/DeviceProfileType" - } - ], - "description": "Gets or sets the type." - } - }, - "additionalProperties": false - }, - "DeviceProfileType": { - "enum": [ - "System", - "User" - ], - "type": "string" - }, "DirectPlayProfile": { "type": "object", "properties": { "Container": { "type": "string", - "nullable": true + "description": "Gets or sets the container." }, "AudioCodec": { "type": "string", + "description": "Gets or sets the audio codec.", "nullable": true }, "VideoCodec": { "type": "string", + "description": "Gets or sets the video codec.", "nullable": true }, "Type": { + "enum": [ + "Audio", + "Video", + "Photo", + "Subtitle", + "Lyric" + ], "allOf": [ { "$ref": "#/components/schemas/DlnaProfileType" } - ] + ], + "description": "Gets or sets the Dlna profile type." } }, - "additionalProperties": false + "additionalProperties": false, + "description": "Defines the MediaBrowser.Model.Dlna.DirectPlayProfile." }, "DisplayPreferencesDto": { "type": "object", @@ -49543,12 +47148,16 @@ "description": "Gets or sets the custom prefs." }, "ScrollDirection": { + "enum": [ + "Horizontal", + "Vertical" + ], "allOf": [ { "$ref": "#/components/schemas/ScrollDirection" } ], - "description": "Gets or sets the scroll direction." + "description": "An enum representing the axis that should be scrolled." }, "ShowBackdrop": { "type": "boolean", @@ -49559,12 +47168,16 @@ "description": "Gets or sets a value indicating whether [remember sorting]." }, "SortOrder": { + "enum": [ + "Ascending", + "Descending" + ], "allOf": [ { "$ref": "#/components/schemas/SortOrder" } ], - "description": "Gets or sets the sort order." + "description": "An enum representing the sorting order." }, "ShowSidebar": { "type": "boolean", @@ -49579,70 +47192,27 @@ "additionalProperties": false, "description": "Defines the display preferences for any item that supports them (usually Folders)." }, - "DlnaOptions": { - "type": "object", - "properties": { - "EnablePlayTo": { - "type": "boolean", - "description": "Gets or sets a value indicating whether gets or sets a value to indicate the status of the dlna playTo subsystem." - }, - "EnableServer": { - "type": "boolean", - "description": "Gets or sets a value indicating whether gets or sets a value to indicate the status of the dlna server subsystem." - }, - "EnableDebugLog": { - "type": "boolean", - "description": "Gets or sets a value indicating whether detailed dlna server logs are sent to the console/log.\r\nIf the setting \"Emby.Dlna\": \"Debug\" msut be set in logging.default.json for this property to work." - }, - "EnablePlayToTracing": { - "type": "boolean", - "description": "Gets or sets a value indicating whether whether detailed playTo debug logs are sent to the console/log.\r\nIf the setting \"Emby.Dlna.PlayTo\": \"Debug\" msut be set in logging.default.json for this property to work." - }, - "ClientDiscoveryIntervalSeconds": { - "type": "integer", - "description": "Gets or sets the ssdp client discovery interval time (in seconds).\r\nThis is the time after which the server will send a ssdp search request.", - "format": "int32" - }, - "AliveMessageIntervalSeconds": { - "type": "integer", - "description": "Gets or sets the frequency at which ssdp alive notifications are transmitted.", - "format": "int32" - }, - "BlastAliveMessageIntervalSeconds": { - "type": "integer", - "description": "Gets or sets the frequency at which ssdp alive notifications are transmitted. MIGRATING - TO BE REMOVED ONCE WEB HAS BEEN ALTERED.", - "format": "int32" - }, - "DefaultUserId": { - "type": "string", - "description": "Gets or sets the default user account that the dlna server uses.", - "nullable": true - }, - "AutoCreatePlayToProfiles": { - "type": "boolean", - "description": "Gets or sets a value indicating whether playTo device profiles should be created." - }, - "BlastAliveMessages": { - "type": "boolean", - "description": "Gets or sets a value indicating whether to blast alive messages." - }, - "SendOnlyMatchedHost": { - "type": "boolean", - "description": "gets or sets a value indicating whether to send only matched host." - } - }, - "additionalProperties": false, - "description": "The DlnaOptions class contains the user definable parameters for the dlna subsystems." - }, "DlnaProfileType": { "enum": [ "Audio", "Video", "Photo", - "Subtitle" + "Subtitle", + "Lyric" ], "type": "string" }, + "DownMixStereoAlgorithms": { + "enum": [ + "None", + "Dave750", + "NightmodeDialogue", + "Rfc7845", + "Ac4" + ], + "type": "string", + "description": "An enum representing an algorithm to downmix surround sound to stereo." + }, "DynamicDayOfWeek": { "enum": [ "Sunday", @@ -49669,6 +47239,23 @@ "type": "string", "description": "An enum representing the options to disable embedded subs." }, + "EncoderPreset": { + "enum": [ + "auto", + "placebo", + "veryslow", + "slower", + "slow", + "medium", + "fast", + "faster", + "veryfast", + "superfast", + "ultrafast" + ], + "type": "string", + "description": "Enum containing encoder presets." + }, "EncodingContext": { "enum": [ "Streaming", @@ -49681,37 +47268,87 @@ "properties": { "EncodingThreadCount": { "type": "integer", + "description": "Gets or sets the thread count used for encoding.", "format": "int32" }, "TranscodingTempPath": { "type": "string", + "description": "Gets or sets the temporary transcoding path.", "nullable": true }, "FallbackFontPath": { "type": "string", + "description": "Gets or sets the path to the fallback font.", "nullable": true }, "EnableFallbackFont": { - "type": "boolean" + "type": "boolean", + "description": "Gets or sets a value indicating whether to use the fallback font." + }, + "EnableAudioVbr": { + "type": "boolean", + "description": "Gets or sets a value indicating whether audio VBR is enabled." }, "DownMixAudioBoost": { "type": "number", + "description": "Gets or sets the audio boost applied when downmixing audio.", "format": "double" }, + "DownMixStereoAlgorithm": { + "enum": [ + "None", + "Dave750", + "NightmodeDialogue", + "Rfc7845", + "Ac4" + ], + "allOf": [ + { + "$ref": "#/components/schemas/DownMixStereoAlgorithms" + } + ], + "description": "Gets or sets the algorithm used for downmixing audio to stereo." + }, "MaxMuxingQueueSize": { "type": "integer", + "description": "Gets or sets the maximum size of the muxing queue.", "format": "int32" }, "EnableThrottling": { - "type": "boolean" + "type": "boolean", + "description": "Gets or sets a value indicating whether throttling is enabled." }, "ThrottleDelaySeconds": { "type": "integer", + "description": "Gets or sets the delay after which throttling happens.", + "format": "int32" + }, + "EnableSegmentDeletion": { + "type": "boolean", + "description": "Gets or sets a value indicating whether segment deletion is enabled." + }, + "SegmentKeepSeconds": { + "type": "integer", + "description": "Gets or sets seconds for which segments should be kept before being deleted.", "format": "int32" }, "HardwareAccelerationType": { - "type": "string", - "nullable": true + "enum": [ + "none", + "amf", + "qsv", + "nvenc", + "v4l2m2m", + "vaapi", + "videotoolbox", + "rkmpp" + ], + "allOf": [ + { + "$ref": "#/components/schemas/HardwareAccelerationType" + } + ], + "description": "Gets or sets the hardware acceleration type." }, "EncoderAppPath": { "type": "string", @@ -49725,97 +47362,199 @@ }, "VaapiDevice": { "type": "string", + "description": "Gets or sets the VA-API device.", + "nullable": true + }, + "QsvDevice": { + "type": "string", + "description": "Gets or sets the QSV device.", "nullable": true }, "EnableTonemapping": { - "type": "boolean" + "type": "boolean", + "description": "Gets or sets a value indicating whether tonemapping is enabled." }, "EnableVppTonemapping": { - "type": "boolean" + "type": "boolean", + "description": "Gets or sets a value indicating whether VPP tonemapping is enabled." + }, + "EnableVideoToolboxTonemapping": { + "type": "boolean", + "description": "Gets or sets a value indicating whether videotoolbox tonemapping is enabled." }, "TonemappingAlgorithm": { - "type": "string", - "nullable": true + "enum": [ + "none", + "clip", + "linear", + "gamma", + "reinhard", + "hable", + "mobius", + "bt2390" + ], + "allOf": [ + { + "$ref": "#/components/schemas/TonemappingAlgorithm" + } + ], + "description": "Gets or sets the tone-mapping algorithm." }, "TonemappingMode": { - "type": "string", - "nullable": true + "enum": [ + "auto", + "max", + "rgb", + "lum", + "itp" + ], + "allOf": [ + { + "$ref": "#/components/schemas/TonemappingMode" + } + ], + "description": "Gets or sets the tone-mapping mode." }, "TonemappingRange": { - "type": "string", - "nullable": true + "enum": [ + "auto", + "tv", + "pc" + ], + "allOf": [ + { + "$ref": "#/components/schemas/TonemappingRange" + } + ], + "description": "Gets or sets the tone-mapping range." }, "TonemappingDesat": { "type": "number", + "description": "Gets or sets the tone-mapping desaturation.", "format": "double" }, "TonemappingPeak": { "type": "number", + "description": "Gets or sets the tone-mapping peak.", "format": "double" }, "TonemappingParam": { "type": "number", + "description": "Gets or sets the tone-mapping parameters.", "format": "double" }, "VppTonemappingBrightness": { "type": "number", + "description": "Gets or sets the VPP tone-mapping brightness.", "format": "double" }, "VppTonemappingContrast": { "type": "number", + "description": "Gets or sets the VPP tone-mapping contrast.", "format": "double" }, "H264Crf": { "type": "integer", + "description": "Gets or sets the H264 CRF.", "format": "int32" }, "H265Crf": { "type": "integer", + "description": "Gets or sets the H265 CRF.", "format": "int32" }, "EncoderPreset": { - "type": "string", + "enum": [ + "auto", + "placebo", + "veryslow", + "slower", + "slow", + "medium", + "fast", + "faster", + "veryfast", + "superfast", + "ultrafast" + ], + "allOf": [ + { + "$ref": "#/components/schemas/EncoderPreset" + } + ], + "description": "Gets or sets the encoder preset.", "nullable": true }, "DeinterlaceDoubleRate": { - "type": "boolean" + "type": "boolean", + "description": "Gets or sets a value indicating whether the framerate is doubled when deinterlacing." }, "DeinterlaceMethod": { - "type": "string", - "nullable": true + "enum": [ + "yadif", + "bwdif" + ], + "allOf": [ + { + "$ref": "#/components/schemas/DeinterlaceMethod" + } + ], + "description": "Gets or sets the deinterlace method." }, "EnableDecodingColorDepth10Hevc": { - "type": "boolean" + "type": "boolean", + "description": "Gets or sets a value indicating whether 10bit HEVC decoding is enabled." }, "EnableDecodingColorDepth10Vp9": { - "type": "boolean" + "type": "boolean", + "description": "Gets or sets a value indicating whether 10bit VP9 decoding is enabled." + }, + "EnableDecodingColorDepth10HevcRext": { + "type": "boolean", + "description": "Gets or sets a value indicating whether 8/10bit HEVC RExt decoding is enabled." + }, + "EnableDecodingColorDepth12HevcRext": { + "type": "boolean", + "description": "Gets or sets a value indicating whether 12bit HEVC RExt decoding is enabled." }, "EnableEnhancedNvdecDecoder": { - "type": "boolean" + "type": "boolean", + "description": "Gets or sets a value indicating whether the enhanced NVDEC is enabled." }, "PreferSystemNativeHwDecoder": { - "type": "boolean" + "type": "boolean", + "description": "Gets or sets a value indicating whether the system native hardware decoder should be used." }, "EnableIntelLowPowerH264HwEncoder": { - "type": "boolean" + "type": "boolean", + "description": "Gets or sets a value indicating whether the Intel H264 low-power hardware encoder should be used." }, "EnableIntelLowPowerHevcHwEncoder": { - "type": "boolean" + "type": "boolean", + "description": "Gets or sets a value indicating whether the Intel HEVC low-power hardware encoder should be used." }, "EnableHardwareEncoding": { - "type": "boolean" + "type": "boolean", + "description": "Gets or sets a value indicating whether hardware encoding is enabled." }, "AllowHevcEncoding": { - "type": "boolean" + "type": "boolean", + "description": "Gets or sets a value indicating whether HEVC encoding is enabled." + }, + "AllowAv1Encoding": { + "type": "boolean", + "description": "Gets or sets a value indicating whether AV1 encoding is enabled." }, "EnableSubtitleExtraction": { - "type": "boolean" + "type": "boolean", + "description": "Gets or sets a value indicating whether subtitle extraction is enabled." }, "HardwareDecodingCodecs": { "type": "array", "items": { "type": "string" }, + "description": "Gets or sets the codecs hardware encoding is used for.", "nullable": true }, "AllowOnDemandMetadataBasedKeyframeExtractionForExtensions": { @@ -49823,10 +47562,12 @@ "items": { "type": "string" }, + "description": "Gets or sets the file extensions on-demand metadata based keyframe extraction is enabled for.", "nullable": true } }, - "additionalProperties": false + "additionalProperties": false, + "description": "Class EncodingOptions." }, "EndPointInfo": { "type": "object", @@ -49852,6 +47593,21 @@ "description": "Gets or sets the unique key for this id. This key should be unique across all providers." }, "Type": { + "enum": [ + "Album", + "AlbumArtist", + "Artist", + "BoxSet", + "Episode", + "Movie", + "OtherArtist", + "Person", + "ReleaseGroup", + "Season", + "Series", + "Track", + "Book" + ], "allOf": [ { "$ref": "#/components/schemas/ExternalIdMediaType" @@ -49863,7 +47619,8 @@ "UrlFormatString": { "type": "string", "description": "Gets or sets the URL format string.", - "nullable": true + "nullable": true, + "deprecated": true } }, "additionalProperties": false, @@ -49882,7 +47639,8 @@ "ReleaseGroup", "Season", "Series", - "Track" + "Track", + "Book" ], "type": "string", "description": "The specific media type of an MediaBrowser.Model.Providers.ExternalIdInfo." @@ -49903,15 +47661,22 @@ }, "additionalProperties": false }, - "FFmpegLocation": { + "ExtraType": { "enum": [ - "NotFound", - "SetByArgument", - "Custom", - "System" + "Unknown", + "Clip", + "Trailer", + "BehindTheScenes", + "DeletedScene", + "Interview", + "Scene", + "Sample", + "ThemeSong", + "ThemeVideo", + "Featurette", + "Short" ], - "type": "string", - "description": "Enum describing the location of the FFmpeg tool." + "type": "string" }, "FileSystemEntryInfo": { "type": "object", @@ -49925,6 +47690,12 @@ "description": "Gets the path." }, "Type": { + "enum": [ + "File", + "Directory", + "NetworkComputer", + "NetworkShare" + ], "allOf": [ { "$ref": "#/components/schemas/FileSystemEntryType" @@ -49973,6 +47744,69 @@ "additionalProperties": false, "description": "Class FontFile." }, + "ForceKeepAliveMessage": { + "type": "object", + "properties": { + "Data": { + "type": "integer", + "description": "Gets or sets the data.", + "format": "int32" + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "ForceKeepAlive", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Force keep alive websocket messages." + }, "ForgotPasswordAction": { "enum": [ "ContactAdmin", @@ -50013,6 +47847,11 @@ "type": "object", "properties": { "Action": { + "enum": [ + "ContactAdmin", + "PinCode", + "InNetworkRequired" + ], "allOf": [ { "$ref": "#/components/schemas/ForgotPasswordAction" @@ -50038,6 +47877,51 @@ "type": "object", "properties": { "Name": { + "enum": [ + "MoveUp", + "MoveDown", + "MoveLeft", + "MoveRight", + "PageUp", + "PageDown", + "PreviousLetter", + "NextLetter", + "ToggleOsd", + "ToggleContextMenu", + "Select", + "Back", + "TakeScreenshot", + "SendKey", + "SendString", + "GoHome", + "GoToSettings", + "VolumeUp", + "VolumeDown", + "Mute", + "Unmute", + "ToggleMute", + "SetVolume", + "SetAudioStreamIndex", + "SetSubtitleStreamIndex", + "ToggleFullscreen", + "DisplayContent", + "GoToSearch", + "DisplayMessage", + "SetRepeatMode", + "ChannelUp", + "ChannelDown", + "Guide", + "ToggleStats", + "PlayMediaSource", + "PlayTrailers", + "SetShuffleQueue", + "PlayState", + "PlayNext", + "ToggleOsdMenu", + "Play", + "SetMaxStreamingBitrate", + "SetPlaybackOrder" + ], "allOf": [ { "$ref": "#/components/schemas/GeneralCommandType" @@ -50059,6 +47943,73 @@ }, "additionalProperties": false }, + "GeneralCommandMessage": { + "type": "object", + "properties": { + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/GeneralCommand" + } + ], + "description": "Gets or sets the data.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "GeneralCommand", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "General command websocket message." + }, "GeneralCommandType": { "enum": [ "MoveUp", @@ -50102,7 +48053,8 @@ "PlayNext", "ToggleOsdMenu", "Play", - "SetMaxStreamingBitrate" + "SetMaxStreamingBitrate", + "SetPlaybackOrder" ], "type": "string", "description": "This exists simply to identify a set of known commands." @@ -50116,104 +48068,109 @@ "type": "string", "format": "uuid" }, - "description": "Gets or sets the channels to return guide information for." + "description": "Gets or sets the channels to return guide information for.", + "nullable": true }, "UserId": { "type": "string", "description": "Gets or sets optional. Filter by user id.", - "format": "uuid" + "format": "uuid", + "nullable": true }, "MinStartDate": { "type": "string", - "description": "Gets or sets the minimum premiere start date.\r\nOptional.", + "description": "Gets or sets the minimum premiere start date.", "format": "date-time", "nullable": true }, "HasAired": { "type": "boolean", - "description": "Gets or sets filter by programs that have completed airing, or not.\r\nOptional.", + "description": "Gets or sets filter by programs that have completed airing, or not.", "nullable": true }, "IsAiring": { "type": "boolean", - "description": "Gets or sets filter by programs that are currently airing, or not.\r\nOptional.", + "description": "Gets or sets filter by programs that are currently airing, or not.", "nullable": true }, "MaxStartDate": { "type": "string", - "description": "Gets or sets the maximum premiere start date.\r\nOptional.", + "description": "Gets or sets the maximum premiere start date.", "format": "date-time", "nullable": true }, "MinEndDate": { "type": "string", - "description": "Gets or sets the minimum premiere end date.\r\nOptional.", + "description": "Gets or sets the minimum premiere end date.", "format": "date-time", "nullable": true }, "MaxEndDate": { "type": "string", - "description": "Gets or sets the maximum premiere end date.\r\nOptional.", + "description": "Gets or sets the maximum premiere end date.", "format": "date-time", "nullable": true }, "IsMovie": { "type": "boolean", - "description": "Gets or sets filter for movies.\r\nOptional.", + "description": "Gets or sets filter for movies.", "nullable": true }, "IsSeries": { "type": "boolean", - "description": "Gets or sets filter for series.\r\nOptional.", + "description": "Gets or sets filter for series.", "nullable": true }, "IsNews": { "type": "boolean", - "description": "Gets or sets filter for news.\r\nOptional.", + "description": "Gets or sets filter for news.", "nullable": true }, "IsKids": { "type": "boolean", - "description": "Gets or sets filter for kids.\r\nOptional.", + "description": "Gets or sets filter for kids.", "nullable": true }, "IsSports": { "type": "boolean", - "description": "Gets or sets filter for sports.\r\nOptional.", + "description": "Gets or sets filter for sports.", "nullable": true }, "StartIndex": { "type": "integer", - "description": "Gets or sets the record index to start at. All items with a lower index will be dropped from the results.\r\nOptional.", + "description": "Gets or sets the record index to start at. All items with a lower index will be dropped from the results.", "format": "int32", "nullable": true }, "Limit": { "type": "integer", - "description": "Gets or sets the maximum number of records to return.\r\nOptional.", + "description": "Gets or sets the maximum number of records to return.", "format": "int32", "nullable": true }, "SortBy": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/ItemSortBy" }, - "description": "Gets or sets specify one or more sort orders, comma delimited. Options: Name, StartDate.\r\nOptional." + "description": "Gets or sets specify one or more sort orders, comma delimited. Options: Name, StartDate.", + "nullable": true }, "SortOrder": { "type": "array", "items": { "$ref": "#/components/schemas/SortOrder" }, - "description": "Gets or sets sort Order - Ascending,Descending." + "description": "Gets or sets sort order.", + "nullable": true }, "Genres": { "type": "array", "items": { "type": "string" }, - "description": "Gets or sets the genres to return guide information for." + "description": "Gets or sets the genres to return guide information for.", + "nullable": true }, "GenreIds": { "type": "array", @@ -50221,20 +48178,22 @@ "type": "string", "format": "uuid" }, - "description": "Gets or sets the genre ids to return guide information for." + "description": "Gets or sets the genre ids to return guide information for.", + "nullable": true }, "EnableImages": { "type": "boolean", - "description": "Gets or sets include image information in output.\r\nOptional.", + "description": "Gets or sets include image information in output.", "nullable": true }, "EnableTotalRecordCount": { "type": "boolean", - "description": "Gets or sets a value indicating whether retrieve total record count." + "description": "Gets or sets a value indicating whether retrieve total record count.", + "default": true }, "ImageTypeLimit": { "type": "integer", - "description": "Gets or sets the max number of images to return, per image type.\r\nOptional.", + "description": "Gets or sets the max number of images to return, per image type.", "format": "int32", "nullable": true }, @@ -50243,29 +48202,32 @@ "items": { "$ref": "#/components/schemas/ImageType" }, - "description": "Gets or sets the image types to include in the output.\r\nOptional." + "description": "Gets or sets the image types to include in the output.", + "nullable": true }, "EnableUserData": { "type": "boolean", - "description": "Gets or sets include user data.\r\nOptional.", + "description": "Gets or sets include user data.", "nullable": true }, "SeriesTimerId": { "type": "string", - "description": "Gets or sets filter by series timer id.\r\nOptional.", + "description": "Gets or sets filter by series timer id.", "nullable": true }, "LibrarySeriesId": { "type": "string", - "description": "Gets or sets filter by library series id.\r\nOptional.", - "format": "uuid" + "description": "Gets or sets filter by library series id.", + "format": "uuid", + "nullable": true }, "Fields": { "type": "array", "items": { "$ref": "#/components/schemas/ItemFields" }, - "description": "Gets or sets specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines.\r\nOptional." + "description": "Gets or sets specify additional fields of information to return in the output.", + "nullable": true } }, "additionalProperties": false, @@ -50284,6 +48246,12 @@ "description": "Gets the group name." }, "State": { + "enum": [ + "Idle", + "Waiting", + "Paused", + "Playing" + ], "allOf": [ { "$ref": "#/components/schemas/GroupStateType" @@ -50307,6 +48275,48 @@ "additionalProperties": false, "description": "Class GroupInfoDto." }, + "GroupInfoDtoGroupUpdate": { + "type": "object", + "properties": { + "GroupId": { + "type": "string", + "description": "Gets the group identifier.", + "format": "uuid", + "readOnly": true + }, + "Type": { + "enum": [ + "UserJoined", + "UserLeft", + "GroupJoined", + "GroupLeft", + "StateUpdate", + "PlayQueue", + "NotInGroup", + "GroupDoesNotExist", + "CreateGroupDenied", + "JoinGroupDenied", + "LibraryAccessDenied" + ], + "allOf": [ + { + "$ref": "#/components/schemas/GroupUpdateType" + } + ], + "description": "Gets the update type." + }, + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/GroupInfoDto" + } + ], + "description": "Gets the update data." + } + }, + "additionalProperties": false, + "description": "Class GroupUpdate." + }, "GroupQueueMode": { "enum": [ "Queue", @@ -50342,6 +48352,158 @@ "type": "string", "description": "Enum GroupState." }, + "GroupStateUpdate": { + "type": "object", + "properties": { + "State": { + "enum": [ + "Idle", + "Waiting", + "Paused", + "Playing" + ], + "allOf": [ + { + "$ref": "#/components/schemas/GroupStateType" + } + ], + "description": "Gets the state of the group." + }, + "Reason": { + "enum": [ + "Play", + "SetPlaylistItem", + "RemoveFromPlaylist", + "MovePlaylistItem", + "Queue", + "Unpause", + "Pause", + "Stop", + "Seek", + "Buffer", + "Ready", + "NextItem", + "PreviousItem", + "SetRepeatMode", + "SetShuffleMode", + "Ping", + "IgnoreWait" + ], + "allOf": [ + { + "$ref": "#/components/schemas/PlaybackRequestType" + } + ], + "description": "Gets the reason of the state change." + } + }, + "additionalProperties": false, + "description": "Class GroupStateUpdate." + }, + "GroupStateUpdateGroupUpdate": { + "type": "object", + "properties": { + "GroupId": { + "type": "string", + "description": "Gets the group identifier.", + "format": "uuid", + "readOnly": true + }, + "Type": { + "enum": [ + "UserJoined", + "UserLeft", + "GroupJoined", + "GroupLeft", + "StateUpdate", + "PlayQueue", + "NotInGroup", + "GroupDoesNotExist", + "CreateGroupDenied", + "JoinGroupDenied", + "LibraryAccessDenied" + ], + "allOf": [ + { + "$ref": "#/components/schemas/GroupUpdateType" + } + ], + "description": "Gets the update type." + }, + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/GroupStateUpdate" + } + ], + "description": "Gets the update data." + } + }, + "additionalProperties": false, + "description": "Class GroupUpdate." + }, + "GroupUpdate": { + "type": "object", + "oneOf": [ + { + "$ref": "#/components/schemas/GroupInfoDtoGroupUpdate" + }, + { + "$ref": "#/components/schemas/GroupStateUpdateGroupUpdate" + }, + { + "$ref": "#/components/schemas/StringGroupUpdate" + }, + { + "$ref": "#/components/schemas/PlayQueueUpdateGroupUpdate" + } + ], + "properties": { + "GroupId": { + "type": "string", + "description": "Gets the group identifier.", + "format": "uuid", + "readOnly": true + }, + "Type": { + "enum": [ + "UserJoined", + "UserLeft", + "GroupJoined", + "GroupLeft", + "StateUpdate", + "PlayQueue", + "NotInGroup", + "GroupDoesNotExist", + "CreateGroupDenied", + "JoinGroupDenied", + "LibraryAccessDenied" + ], + "allOf": [ + { + "$ref": "#/components/schemas/GroupUpdateType" + } + ], + "description": "Gets the update type." + } + }, + "additionalProperties": false, + "description": "Group update without data.", + "discriminator": { + "propertyName": "Type", + "mapping": { + "UserJoined": "#/components/schemas/StringGroupUpdate", + "UserLeft": "#/components/schemas/StringGroupUpdate", + "GroupJoined": "#/components/schemas/GroupInfoDtoGroupUpdate", + "GroupLeft": "#/components/schemas/StringGroupUpdate", + "StateUpdate": "#/components/schemas/GroupStateUpdateGroupUpdate", + "PlayQueue": "#/components/schemas/PlayQueueUpdateGroupUpdate", + "NotInGroup": "#/components/schemas/StringGroupUpdate", + "GroupDoesNotExist": "#/components/schemas/StringGroupUpdate", + "LibraryAccessDenied": "#/components/schemas/StringGroupUpdate" + } + } + }, "GroupUpdateType": { "enum": [ "UserJoined", @@ -50375,159 +48537,19 @@ }, "additionalProperties": false }, - "HardwareEncodingType": { + "HardwareAccelerationType": { "enum": [ - "AMF", - "QSV", - "NVENC", - "V4L2M2M", - "VAAPI", - "VideoToolBox" + "none", + "amf", + "qsv", + "nvenc", + "v4l2m2m", + "vaapi", + "videotoolbox", + "rkmpp" ], "type": "string", - "description": "Enum HardwareEncodingType." - }, - "HeaderMatchType": { - "enum": [ - "Equals", - "Regex", - "Substring" - ], - "type": "string" - }, - "HeaderMetadata": { - "enum": [ - "None", - "Path", - "Name", - "PremiereDate", - "DateAdded", - "ReleaseDate", - "Runtime", - "PlayCount", - "Season", - "SeasonNumber", - "Series", - "Network", - "Year", - "ParentalRating", - "CommunityRating", - "Trailers", - "Specials", - "AlbumArtist", - "Album", - "Disc", - "Track", - "Audio", - "EmbeddedImage", - "Video", - "Resolution", - "Subtitles", - "Genres", - "Countries", - "Status", - "Tracks", - "EpisodeSeries", - "EpisodeSeason", - "EpisodeNumber", - "AudioAlbumArtist", - "MusicArtist", - "AudioAlbum", - "Locked", - "ImagePrimary", - "ImageBackdrop", - "ImageLogo", - "Actor", - "Studios", - "Composer", - "Director", - "GuestStar", - "Producer", - "Writer", - "Artist", - "Years", - "ParentalRatings", - "CommunityRatings", - "Overview", - "ShortOverview", - "Type", - "Date", - "UserPrimaryImage", - "Severity", - "Item", - "User", - "UserId" - ], - "type": "string" - }, - "HttpHeaderInfo": { - "type": "object", - "properties": { - "Name": { - "type": "string", - "nullable": true - }, - "Value": { - "type": "string", - "nullable": true - }, - "Match": { - "allOf": [ - { - "$ref": "#/components/schemas/HeaderMatchType" - } - ] - } - }, - "additionalProperties": false - }, - "IPlugin": { - "type": "object", - "properties": { - "Name": { - "type": "string", - "description": "Gets the name of the plugin.", - "nullable": true, - "readOnly": true - }, - "Description": { - "type": "string", - "description": "Gets the Description.", - "nullable": true, - "readOnly": true - }, - "Id": { - "type": "string", - "description": "Gets the unique id.", - "format": "uuid", - "readOnly": true - }, - "Version": { - "type": "string", - "description": "Gets the plugin version.", - "nullable": true, - "readOnly": true - }, - "AssemblyFilePath": { - "type": "string", - "description": "Gets the path to the assembly file.", - "nullable": true, - "readOnly": true - }, - "CanUninstall": { - "type": "boolean", - "description": "Gets a value indicating whether the plugin can be uninstalled.", - "readOnly": true - }, - "DataFolderPath": { - "type": "string", - "description": "Gets the full path to the data folder, where the plugin can store any miscellaneous files needed.", - "nullable": true, - "readOnly": true - } - }, - "additionalProperties": false, - "description": "Defines the MediaBrowser.Common.Plugins.IPlugin." + "description": "Enum containing hardware acceleration types." }, "IgnoreWaitRequestDto": { "type": "object", @@ -50540,44 +48562,14 @@ "additionalProperties": false, "description": "Class IgnoreWaitRequestDto." }, - "ImageByNameInfo": { - "type": "object", - "properties": { - "Name": { - "type": "string", - "description": "Gets or sets the name.", - "nullable": true - }, - "Theme": { - "type": "string", - "description": "Gets or sets the theme.", - "nullable": true - }, - "Context": { - "type": "string", - "description": "Gets or sets the context.", - "nullable": true - }, - "FileLength": { - "type": "integer", - "description": "Gets or sets the length of the file.", - "format": "int64" - }, - "Format": { - "type": "string", - "description": "Gets or sets the format.", - "nullable": true - } - }, - "additionalProperties": false - }, "ImageFormat": { "enum": [ "Bmp", "Gif", "Jpg", "Png", - "Webp" + "Webp", + "Svg" ], "type": "string", "description": "Enum ImageOutputFormat." @@ -50586,6 +48578,21 @@ "type": "object", "properties": { "ImageType": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -50639,6 +48646,21 @@ "type": "object", "properties": { "Type": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -50690,6 +48712,21 @@ "additionalProperties": false, "description": "Class ImageProviderInfo." }, + "ImageResolution": { + "enum": [ + "MatchSource", + "P144", + "P240", + "P360", + "P480", + "P720", + "P1080", + "P1440", + "P2160" + ], + "type": "string", + "description": "Enum ImageResolution." + }, "ImageSavingConvention": { "enum": [ "Legacy", @@ -50716,6 +48753,98 @@ "type": "string", "description": "Enum ImageType." }, + "InboundKeepAliveMessage": { + "type": "object", + "properties": { + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "KeepAlive", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Keep alive websocket messages." + }, + "InboundWebSocketMessage": { + "type": "object", + "oneOf": [ + { + "$ref": "#/components/schemas/ActivityLogEntryStartMessage" + }, + { + "$ref": "#/components/schemas/ActivityLogEntryStopMessage" + }, + { + "$ref": "#/components/schemas/InboundKeepAliveMessage" + }, + { + "$ref": "#/components/schemas/ScheduledTasksInfoStartMessage" + }, + { + "$ref": "#/components/schemas/ScheduledTasksInfoStopMessage" + }, + { + "$ref": "#/components/schemas/SessionsStartMessage" + }, + { + "$ref": "#/components/schemas/SessionsStopMessage" + } + ], + "description": "Represents the list of possible inbound websocket types", + "discriminator": { + "propertyName": "MessageType", + "mapping": { + "ActivityLogEntryStart": "#/components/schemas/ActivityLogEntryStartMessage", + "ActivityLogEntryStop": "#/components/schemas/ActivityLogEntryStopMessage", + "KeepAlive": "#/components/schemas/InboundKeepAliveMessage", + "ScheduledTasksInfoStart": "#/components/schemas/ScheduledTasksInfoStartMessage", + "ScheduledTasksInfoStop": "#/components/schemas/ScheduledTasksInfoStopMessage", + "SessionsStart": "#/components/schemas/SessionsStartMessage", + "SessionsStop": "#/components/schemas/SessionsStopMessage" + } + } + }, "InstallationInfo": { "type": "object", "properties": { @@ -50762,6 +48891,54 @@ "additionalProperties": false, "description": "Class InstallationInfo." }, + "IPlugin": { + "type": "object", + "properties": { + "Name": { + "type": "string", + "description": "Gets the name of the plugin.", + "nullable": true, + "readOnly": true + }, + "Description": { + "type": "string", + "description": "Gets the Description.", + "nullable": true, + "readOnly": true + }, + "Id": { + "type": "string", + "description": "Gets the unique id.", + "format": "uuid", + "readOnly": true + }, + "Version": { + "type": "string", + "description": "Gets the plugin version.", + "nullable": true, + "readOnly": true + }, + "AssemblyFilePath": { + "type": "string", + "description": "Gets the path to the assembly file.", + "nullable": true, + "readOnly": true + }, + "CanUninstall": { + "type": "boolean", + "description": "Gets a value indicating whether the plugin can be uninstalled.", + "readOnly": true + }, + "DataFolderPath": { + "type": "string", + "description": "Gets the full path to the data folder, where the plugin can store any miscellaneous files needed.", + "nullable": true, + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Defines the MediaBrowser.Common.Plugins.IPlugin." + }, "IsoType": { "enum": [ "Dvd", @@ -50844,6 +49021,7 @@ "CanDownload", "ChannelInfo", "Chapters", + "Trickplay", "ChildCount", "CumulativeRunTimeTicks", "CustomRating", @@ -50874,8 +49052,6 @@ "SortName", "SpecialEpisodeNumbers", "Studios", - "BasicSyncInfo", - "SyncInfo", "Taglines", "Tags", "RemoteTrailers", @@ -50919,25 +49095,43 @@ "type": "string", "description": "Enum ItemFilter." }, - "ItemViewType": { + "ItemSortBy": { "enum": [ - "None", - "Detail", - "Edit", - "List", - "ItemByNameDetails", - "StatusImage", - "EmbeddedImage", - "SubtitleImage", - "TrailersImage", - "SpecialsImage", - "LockDataImage", - "TagsPrimaryImage", - "TagsBackdropImage", - "TagsLogoImage", - "UserPrimaryImage" + "Default", + "AiredEpisodeOrder", + "Album", + "AlbumArtist", + "Artist", + "DateCreated", + "OfficialRating", + "DatePlayed", + "PremiereDate", + "StartDate", + "SortName", + "Name", + "Random", + "Runtime", + "CommunityRating", + "ProductionYear", + "PlayCount", + "CriticRating", + "IsFolder", + "IsUnplayed", + "IsPlayed", + "SeriesSortName", + "VideoBitRate", + "AirTime", + "Studio", + "IsFavoriteOrLiked", + "DateLastContentAdded", + "SeriesDatePlayed", + "ParentIndexNumber", + "IndexNumber", + "SimilarityScore", + "SearchScore" ], - "type": "string" + "type": "string", + "description": "These represent sort orders." }, "JoinGroupRequestDto": { "type": "object", @@ -50960,19 +49154,72 @@ ], "type": "string" }, - "LastFMUser": { + "LibraryChangedMessage": { "type": "object", "properties": { - "Username": { - "type": "string", + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/LibraryUpdateInfo" + } + ], + "description": "Class LibraryUpdateInfo.", "nullable": true }, - "Password": { + "MessageId": { "type": "string", - "nullable": true + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "LibraryChanged", + "readOnly": true } }, - "additionalProperties": false + "additionalProperties": false, + "description": "Library changed message." }, "LibraryOptionInfoDto": { "type": "object", @@ -50993,18 +49240,30 @@ "LibraryOptions": { "type": "object", "properties": { + "Enabled": { + "type": "boolean" + }, "EnablePhotos": { "type": "boolean" }, "EnableRealtimeMonitor": { "type": "boolean" }, + "EnableLUFSScan": { + "type": "boolean" + }, "EnableChapterImageExtraction": { "type": "boolean" }, "ExtractChapterImagesDuringLibraryScan": { "type": "boolean" }, + "EnableTrickplayImageExtraction": { + "type": "boolean" + }, + "ExtractTrickplayImagesDuringLibraryScan": { + "type": "boolean" + }, "PathInfos": { "type": "array", "items": { @@ -51024,6 +49283,9 @@ "EnableEmbeddedTitles": { "type": "boolean" }, + "EnableEmbeddedExtrasTitles": { + "type": "boolean" + }, "EnableEmbeddedEpisodeInfos": { "type": "boolean" }, @@ -51076,6 +49338,18 @@ "type": "string" } }, + "DisabledMediaSegmentProviders": { + "type": "array", + "items": { + "type": "string" + } + }, + "MediaSegmentProvideOrder": { + "type": "array", + "items": { + "type": "string" + } + }, "SkipSubtitlesIfEmbeddedSubtitlesPresent": { "type": "boolean" }, @@ -51095,10 +49369,56 @@ "SaveSubtitlesWithMedia": { "type": "boolean" }, + "SaveLyricsWithMedia": { + "type": "boolean", + "default": false + }, + "SaveTrickplayWithMedia": { + "type": "boolean", + "default": false + }, + "DisabledLyricFetchers": { + "type": "array", + "items": { + "type": "string" + } + }, + "LyricFetcherOrder": { + "type": "array", + "items": { + "type": "string" + } + }, + "PreferNonstandardArtistsTag": { + "type": "boolean", + "default": false + }, + "UseCustomTagDelimiters": { + "type": "boolean", + "default": false + }, + "CustomTagDelimiters": { + "type": "array", + "items": { + "type": "string" + } + }, + "DelimiterWhitelist": { + "type": "array", + "items": { + "type": "string" + } + }, "AutomaticallyAddToCollection": { "type": "boolean" }, "AllowEmbeddedSubtitles": { + "enum": [ + "AllowAll", + "AllowText", + "AllowImage", + "AllowNone" + ], "allOf": [ { "$ref": "#/components/schemas/EmbeddedSubtitleOptions" @@ -51139,6 +49459,13 @@ }, "description": "Gets or sets the subtitle fetchers." }, + "LyricFetchers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/LibraryOptionInfoDto" + }, + "description": "Gets or sets the list of lyric fetchers." + }, "TypeOptions": { "type": "array", "items": { @@ -51436,6 +49763,12 @@ "RecordingPostProcessorArguments": { "type": "string", "nullable": true + }, + "SaveRecordingNFO": { + "type": "boolean" + }, + "SaveRecordingImages": { + "type": "boolean" } }, "additionalProperties": false @@ -51454,6 +49787,10 @@ "nullable": true }, "Status": { + "enum": [ + "Ok", + "Unavailable" + ], "allOf": [ { "$ref": "#/components/schemas/LiveTvServiceStatus" @@ -51541,8 +49878,7 @@ }, "Name": { "type": "string", - "description": "Gets or sets the name.", - "nullable": true + "description": "Gets or sets the name." } }, "additionalProperties": false @@ -51559,24 +49895,103 @@ ], "type": "string" }, - "LoginInfoInput": { - "required": [ - "Password", - "Username" - ], + "LyricDto": { "type": "object", "properties": { - "Username": { - "type": "string" + "Metadata": { + "allOf": [ + { + "$ref": "#/components/schemas/LyricMetadata" + } + ], + "description": "Gets or sets Metadata for the lyrics." }, - "Password": { - "type": "string" - }, - "CustomApiKey": { - "type": "string" + "Lyrics": { + "type": "array", + "items": { + "$ref": "#/components/schemas/LyricLine" + }, + "description": "Gets or sets a collection of individual lyric lines." } }, - "additionalProperties": false + "additionalProperties": false, + "description": "LyricResponse model." + }, + "LyricLine": { + "type": "object", + "properties": { + "Text": { + "type": "string", + "description": "Gets the text of this lyric line." + }, + "Start": { + "type": "integer", + "description": "Gets the start time in ticks.", + "format": "int64", + "nullable": true + } + }, + "additionalProperties": false, + "description": "Lyric model." + }, + "LyricMetadata": { + "type": "object", + "properties": { + "Artist": { + "type": "string", + "description": "Gets or sets the song artist.", + "nullable": true + }, + "Album": { + "type": "string", + "description": "Gets or sets the album this song is on.", + "nullable": true + }, + "Title": { + "type": "string", + "description": "Gets or sets the title of the song.", + "nullable": true + }, + "Author": { + "type": "string", + "description": "Gets or sets the author of the lyric data.", + "nullable": true + }, + "Length": { + "type": "integer", + "description": "Gets or sets the length of the song in ticks.", + "format": "int64", + "nullable": true + }, + "By": { + "type": "string", + "description": "Gets or sets who the LRC file was created by.", + "nullable": true + }, + "Offset": { + "type": "integer", + "description": "Gets or sets the lyric offset compared to audio in ticks.", + "format": "int64", + "nullable": true + }, + "Creator": { + "type": "string", + "description": "Gets or sets the software used to create the LRC file.", + "nullable": true + }, + "Version": { + "type": "string", + "description": "Gets or sets the version of the creator used.", + "nullable": true + }, + "IsSynced": { + "type": "boolean", + "description": "Gets or sets a value indicating whether this lyric is synced.", + "nullable": true + } + }, + "additionalProperties": false, + "description": "LyricMetadata model." }, "MediaAttachment": { "type": "object", @@ -51620,21 +50035,6 @@ "additionalProperties": false, "description": "Class MediaAttachment." }, - "MediaEncoderPathDto": { - "type": "object", - "properties": { - "Path": { - "type": "string", - "description": "Gets or sets media encoder path." - }, - "PathType": { - "type": "string", - "description": "Gets or sets media encoder path type." - } - }, - "additionalProperties": false, - "description": "Media Encoder Path Dto." - }, "MediaPathDto": { "required": [ "Name" @@ -51668,10 +50068,6 @@ "properties": { "Path": { "type": "string" - }, - "NetworkPath": { - "type": "string", - "nullable": true } }, "additionalProperties": false @@ -51688,10 +50084,98 @@ ], "type": "string" }, + "MediaSegmentDto": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "description": "Gets or sets the id of the media segment.", + "format": "uuid" + }, + "ItemId": { + "type": "string", + "description": "Gets or sets the id of the associated item.", + "format": "uuid" + }, + "Type": { + "enum": [ + "Unknown", + "Commercial", + "Preview", + "Recap", + "Outro", + "Intro" + ], + "allOf": [ + { + "$ref": "#/components/schemas/MediaSegmentType" + } + ], + "description": "Defines the types of content an individual Jellyfin.Data.Entities.MediaSegment represents." + }, + "StartTicks": { + "type": "integer", + "description": "Gets or sets the start of the segment.", + "format": "int64" + }, + "EndTicks": { + "type": "integer", + "description": "Gets or sets the end of the segment.", + "format": "int64" + } + }, + "additionalProperties": false, + "description": "Api model for MediaSegment's." + }, + "MediaSegmentDtoQueryResult": { + "type": "object", + "properties": { + "Items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MediaSegmentDto" + }, + "description": "Gets or sets the items." + }, + "TotalRecordCount": { + "type": "integer", + "description": "Gets or sets the total number of records available.", + "format": "int32" + }, + "StartIndex": { + "type": "integer", + "description": "Gets or sets the index of the first record in Items.", + "format": "int32" + } + }, + "additionalProperties": false, + "description": "Query result container." + }, + "MediaSegmentType": { + "enum": [ + "Unknown", + "Commercial", + "Preview", + "Recap", + "Outro", + "Intro" + ], + "type": "string", + "description": "Defines the types of content an individual Jellyfin.Data.Entities.MediaSegment represents." + }, "MediaSourceInfo": { "type": "object", "properties": { "Protocol": { + "enum": [ + "File", + "Http", + "Rtmp", + "Rtsp", + "Udp", + "Rtp", + "Ftp" + ], "allOf": [ { "$ref": "#/components/schemas/MediaProtocol" @@ -51711,6 +50195,15 @@ "nullable": true }, "EncoderProtocol": { + "enum": [ + "File", + "Http", + "Rtmp", + "Rtsp", + "Udp", + "Rtp", + "Ftp" + ], "allOf": [ { "$ref": "#/components/schemas/MediaProtocol" @@ -51719,6 +50212,11 @@ "nullable": true }, "Type": { + "enum": [ + "Default", + "Grouping", + "Placeholder" + ], "allOf": [ { "$ref": "#/components/schemas/MediaSourceType" @@ -51775,6 +50273,10 @@ "IsInfiniteStream": { "type": "boolean" }, + "UseMostCompatibleTranscodingProfile": { + "type": "boolean", + "default": false + }, "RequiresOpening": { "type": "boolean" }, @@ -51801,6 +50303,12 @@ "type": "boolean" }, "VideoType": { + "enum": [ + "VideoFile", + "Iso", + "Dvd", + "BluRay" + ], "allOf": [ { "$ref": "#/components/schemas/VideoType" @@ -51809,6 +50317,10 @@ "nullable": true }, "IsoType": { + "enum": [ + "Dvd", + "BluRay" + ], "allOf": [ { "$ref": "#/components/schemas/IsoType" @@ -51817,6 +50329,13 @@ "nullable": true }, "Video3DFormat": { + "enum": [ + "HalfSideBySide", + "FullSideBySide", + "FullTopAndBottom", + "HalfTopAndBottom", + "MVC" + ], "allOf": [ { "$ref": "#/components/schemas/Video3DFormat" @@ -51850,7 +50369,17 @@ "format": "int32", "nullable": true }, + "FallbackMaxStreamingBitrate": { + "type": "integer", + "format": "int32", + "nullable": true + }, "Timestamp": { + "enum": [ + "None", + "Zero", + "Valid" + ], "allOf": [ { "$ref": "#/components/schemas/TransportStreamTimestamp" @@ -51871,8 +50400,16 @@ "nullable": true }, "TranscodingSubProtocol": { - "type": "string", - "nullable": true + "enum": [ + "http", + "hls" + ], + "allOf": [ + { + "$ref": "#/components/schemas/MediaStreamProtocol" + } + ], + "description": "Media streaming protocol.\r\nLowercase for backwards compatibility." }, "TranscodingContainer": { "type": "string", @@ -51892,6 +50429,9 @@ "type": "integer", "format": "int32", "nullable": true + }, + "HasSegments": { + "type": "boolean" } }, "additionalProperties": false @@ -51990,6 +50530,12 @@ "format": "int32", "nullable": true }, + "Rotation": { + "type": "integer", + "description": "Gets or sets the Rotation in degrees.", + "format": "int32", + "nullable": true + }, "Comment": { "type": "string", "description": "Gets or sets the comment.", @@ -52011,15 +50557,37 @@ "nullable": true }, "VideoRange": { - "type": "string", - "description": "Gets the video range.", - "nullable": true, + "enum": [ + "Unknown", + "SDR", + "HDR" + ], + "allOf": [ + { + "$ref": "#/components/schemas/VideoRange" + } + ], + "description": "An enum representing video ranges.", "readOnly": true }, "VideoRangeType": { - "type": "string", - "description": "Gets the video range type.", - "nullable": true, + "enum": [ + "Unknown", + "SDR", + "HDR10", + "HLG", + "DOVI", + "DOVIWithHDR10", + "DOVIWithHLG", + "DOVIWithSDR", + "HDR10Plus" + ], + "allOf": [ + { + "$ref": "#/components/schemas/VideoRangeType" + } + ], + "description": "An enum representing types of video ranges.", "readOnly": true }, "VideoDoViTitle": { @@ -52028,6 +50596,21 @@ "nullable": true, "readOnly": true }, + "AudioSpatialFormat": { + "enum": [ + "None", + "DolbyAtmos", + "DTSX" + ], + "allOf": [ + { + "$ref": "#/components/schemas/AudioSpatialFormat" + } + ], + "description": "An enum representing formats of spatial audio.", + "default": "None", + "readOnly": true + }, "LocalizedUndefined": { "type": "string", "nullable": true @@ -52044,6 +50627,10 @@ "type": "string", "nullable": true }, + "LocalizedHearingImpaired": { + "type": "string", + "nullable": true + }, "DisplayTitle": { "type": "string", "nullable": true, @@ -52110,6 +50697,10 @@ "type": "boolean", "description": "Gets or sets a value indicating whether this instance is forced." }, + "IsHearingImpaired": { + "type": "boolean", + "description": "Gets or sets a value indicating whether this instance is for the hearing impaired." + }, "Height": { "type": "integer", "description": "Gets or sets the height.", @@ -52134,12 +50725,27 @@ "format": "float", "nullable": true }, + "ReferenceFrameRate": { + "type": "number", + "description": "Gets the framerate used as reference.\r\nPrefer AverageFrameRate, if that is null or an unrealistic value\r\nthen fallback to RealFrameRate.", + "format": "float", + "nullable": true, + "readOnly": true + }, "Profile": { "type": "string", "description": "Gets or sets the profile.", "nullable": true }, "Type": { + "enum": [ + "Audio", + "Video", + "Subtitle", + "EmbeddedImage", + "Data", + "Lyric" + ], "allOf": [ { "$ref": "#/components/schemas/MediaStreamType" @@ -52168,6 +50774,13 @@ "description": "Gets or sets a value indicating whether this instance is external." }, "DeliveryMethod": { + "enum": [ + "Encode", + "Embed", + "External", + "Hls", + "Drop" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitleDeliveryMethod" @@ -52219,17 +50832,37 @@ "additionalProperties": false, "description": "Class MediaStream." }, + "MediaStreamProtocol": { + "enum": [ + "http", + "hls" + ], + "type": "string", + "description": "Media streaming protocol.\r\nLowercase for backwards compatibility." + }, "MediaStreamType": { "enum": [ "Audio", "Video", "Subtitle", "EmbeddedImage", - "Data" + "Data", + "Lyric" ], "type": "string", "description": "Enum MediaStreamType." }, + "MediaType": { + "enum": [ + "Unknown", + "Video", + "Audio", + "Photo", + "Book" + ], + "type": "string", + "description": "Media types." + }, "MediaUpdateInfoDto": { "type": "object", "properties": { @@ -52333,7 +50966,26 @@ } }, "ContentType": { - "type": "string", + "enum": [ + "unknown", + "movies", + "tvshows", + "music", + "musicvideos", + "trailers", + "homevideos", + "boxsets", + "books", + "photos", + "livetv", + "playlists", + "folders" + ], + "allOf": [ + { + "$ref": "#/components/schemas/CollectionType" + } + ], "nullable": true }, "ContentTypeOptions": { @@ -52677,6 +51329,14 @@ "NetworkConfiguration": { "type": "object", "properties": { + "BaseUrl": { + "type": "string", + "description": "Gets or sets a value used to specify the URL prefix that your Jellyfin instance can be accessed at." + }, + "EnableHttps": { + "type": "boolean", + "description": "Gets or sets a value indicating whether to use HTTPS." + }, "RequireHttps": { "type": "boolean", "description": "Gets or sets a value indicating whether the server should force connections over HTTPS." @@ -52687,129 +51347,47 @@ }, "CertificatePassword": { "type": "string", - "description": "Gets or sets the password required to access the X.509 certificate data in the file specified by Jellyfin.Networking.Configuration.NetworkConfiguration.CertificatePath." + "description": "Gets or sets the password required to access the X.509 certificate data in the file specified by MediaBrowser.Common.Net.NetworkConfiguration.CertificatePath." }, - "BaseUrl": { - "type": "string", - "description": "Gets or sets a value used to specify the URL prefix that your Jellyfin instance can be accessed at." + "InternalHttpPort": { + "type": "integer", + "description": "Gets or sets the internal HTTP server port.", + "format": "int32" + }, + "InternalHttpsPort": { + "type": "integer", + "description": "Gets or sets the internal HTTPS server port.", + "format": "int32" + }, + "PublicHttpPort": { + "type": "integer", + "description": "Gets or sets the public HTTP port.", + "format": "int32" }, "PublicHttpsPort": { "type": "integer", "description": "Gets or sets the public HTTPS port.", "format": "int32" }, - "HttpServerPortNumber": { - "type": "integer", - "description": "Gets or sets the HTTP server port number.", - "format": "int32" - }, - "HttpsPortNumber": { - "type": "integer", - "description": "Gets or sets the HTTPS server port number.", - "format": "int32" - }, - "EnableHttps": { - "type": "boolean", - "description": "Gets or sets a value indicating whether to use HTTPS." - }, - "PublicPort": { - "type": "integer", - "description": "Gets or sets the public mapped port.", - "format": "int32" - }, - "UPnPCreateHttpPortMap": { - "type": "boolean", - "description": "Gets or sets a value indicating whether the http port should be mapped as part of UPnP automatic port forwarding." - }, - "UDPPortRange": { - "type": "string", - "description": "Gets or sets the UDPPortRange." - }, - "EnableIPV6": { - "type": "boolean", - "description": "Gets or sets a value indicating whether gets or sets IPV6 capability." - }, - "EnableIPV4": { - "type": "boolean", - "description": "Gets or sets a value indicating whether gets or sets IPV4 capability." - }, - "EnableSSDPTracing": { - "type": "boolean", - "description": "Gets or sets a value indicating whether detailed SSDP logs are sent to the console/log.\r\n\"Emby.Dlna\": \"Debug\" must be set in logging.default.json for this property to have any effect." - }, - "SSDPTracingFilter": { - "type": "string", - "description": "Gets or sets the SSDPTracingFilter\r\nGets or sets a value indicating whether an IP address is to be used to filter the detailed ssdp logs that are being sent to the console/log.\r\nIf the setting \"Emby.Dlna\": \"Debug\" msut be set in logging.default.json for this property to work." - }, - "UDPSendCount": { - "type": "integer", - "description": "Gets or sets the number of times SSDP UDP messages are sent.", - "format": "int32" - }, - "UDPSendDelay": { - "type": "integer", - "description": "Gets or sets the delay between each groups of SSDP messages (in ms).", - "format": "int32" - }, - "IgnoreVirtualInterfaces": { - "type": "boolean", - "description": "Gets or sets a value indicating whether address names that match Jellyfin.Networking.Configuration.NetworkConfiguration.VirtualInterfaceNames should be Ignore for the purposes of binding." - }, - "VirtualInterfaceNames": { - "type": "string", - "description": "Gets or sets a value indicating the interfaces that should be ignored. The list can be comma separated. ." - }, - "GatewayMonitorPeriod": { - "type": "integer", - "description": "Gets or sets the time (in seconds) between the pings of SSDP gateway monitor.", - "format": "int32" - }, - "EnableMultiSocketBinding": { - "type": "boolean", - "description": "Gets a value indicating whether multi-socket binding is available.", - "readOnly": true - }, - "TrustAllIP6Interfaces": { - "type": "boolean", - "description": "Gets or sets a value indicating whether all IPv6 interfaces should be treated as on the internal network.\r\nDepending on the address range implemented ULA ranges might not be used." - }, - "HDHomerunPortRange": { - "type": "string", - "description": "Gets or sets the ports that HDHomerun uses." - }, - "PublishedServerUriBySubnet": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Gets or sets the PublishedServerUriBySubnet\r\nGets or sets PublishedServerUri to advertise for specific subnets." - }, - "AutoDiscoveryTracing": { - "type": "boolean", - "description": "Gets or sets a value indicating whether Autodiscovery tracing is enabled." - }, "AutoDiscovery": { "type": "boolean", "description": "Gets or sets a value indicating whether Autodiscovery is enabled." }, - "RemoteIPFilter": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Gets or sets the filter for remote IP connectivity. Used in conjuntion with ." - }, - "IsRemoteIPFilterBlacklist": { - "type": "boolean", - "description": "Gets or sets a value indicating whether contains a blacklist or a whitelist. Default is a whitelist." - }, "EnableUPnP": { "type": "boolean", "description": "Gets or sets a value indicating whether to enable automatic port forwarding." }, + "EnableIPv4": { + "type": "boolean", + "description": "Gets or sets a value indicating whether IPv6 is enabled." + }, + "EnableIPv6": { + "type": "boolean", + "description": "Gets or sets a value indicating whether IPv6 is enabled." + }, "EnableRemoteAccess": { "type": "boolean", - "description": "Gets or sets a value indicating whether access outside of the LAN is permitted." + "description": "Gets or sets a value indicating whether access from outside of the LAN is permitted." }, "LocalNetworkSubnets": { "type": "array", @@ -52830,15 +51408,44 @@ "items": { "type": "string" }, - "description": "Gets or sets the known proxies. If the proxy is a network, it's added to the KnownNetworks." + "description": "Gets or sets the known proxies." + }, + "IgnoreVirtualInterfaces": { + "type": "boolean", + "description": "Gets or sets a value indicating whether address names that match MediaBrowser.Common.Net.NetworkConfiguration.VirtualInterfaceNames should be ignored for the purposes of binding." + }, + "VirtualInterfaceNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Gets or sets a value indicating the interface name prefixes that should be ignored. The list can be comma separated and values are case-insensitive. ." }, "EnablePublishedServerUriByRequest": { "type": "boolean", "description": "Gets or sets a value indicating whether the published server uri is based on information in HTTP requests." + }, + "PublishedServerUriBySubnet": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Gets or sets the PublishedServerUriBySubnet\r\nGets or sets PublishedServerUri to advertise for specific subnets." + }, + "RemoteIPFilter": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Gets or sets the filter for remote IP connectivity. Used in conjunction with ." + }, + "IsRemoteIPFilterBlacklist": { + "type": "boolean", + "description": "Gets or sets a value indicating whether contains a blacklist or a whitelist. Default is a whitelist." } }, "additionalProperties": false, - "description": "Defines the Jellyfin.Networking.Configuration.NetworkConfiguration." + "description": "Defines the MediaBrowser.Common.Net.NetworkConfiguration." }, "NewGroupRequestDto": { "type": "object", @@ -52863,201 +51470,6 @@ "additionalProperties": false, "description": "Class NextItemRequestDto." }, - "NotificationDto": { - "type": "object", - "properties": { - "Id": { - "type": "string", - "description": "Gets or sets the notification ID. Defaults to an empty string." - }, - "UserId": { - "type": "string", - "description": "Gets or sets the notification's user ID. Defaults to an empty string." - }, - "Date": { - "type": "string", - "description": "Gets or sets the notification date.", - "format": "date-time" - }, - "IsRead": { - "type": "boolean", - "description": "Gets or sets a value indicating whether the notification has been read. Defaults to false." - }, - "Name": { - "type": "string", - "description": "Gets or sets the notification's name. Defaults to an empty string." - }, - "Description": { - "type": "string", - "description": "Gets or sets the notification's description. Defaults to an empty string." - }, - "Url": { - "type": "string", - "description": "Gets or sets the notification's URL. Defaults to an empty string." - }, - "Level": { - "allOf": [ - { - "$ref": "#/components/schemas/NotificationLevel" - } - ], - "description": "Gets or sets the notification level." - } - }, - "additionalProperties": false, - "description": "The notification DTO." - }, - "NotificationLevel": { - "enum": [ - "Normal", - "Warning", - "Error" - ], - "type": "string" - }, - "NotificationOption": { - "type": "object", - "properties": { - "Type": { - "type": "string", - "nullable": true - }, - "DisabledMonitorUsers": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Gets or sets user Ids to not monitor (it's opt out)." - }, - "SendToUsers": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Gets or sets user Ids to send to (if SendToUserMode == Custom)." - }, - "Enabled": { - "type": "boolean", - "description": "Gets or sets a value indicating whether this MediaBrowser.Model.Notifications.NotificationOption is enabled." - }, - "DisabledServices": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Gets or sets the disabled services." - }, - "SendToUserMode": { - "allOf": [ - { - "$ref": "#/components/schemas/SendToUserType" - } - ], - "description": "Gets or sets the send to user mode." - } - }, - "additionalProperties": false - }, - "NotificationOptions": { - "type": "object", - "properties": { - "Options": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationOption" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "NotificationResultDto": { - "type": "object", - "properties": { - "Notifications": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationDto" - }, - "description": "Gets or sets the current page of notifications." - }, - "TotalRecordCount": { - "type": "integer", - "description": "Gets or sets the total number of notifications.", - "format": "int32" - } - }, - "additionalProperties": false, - "description": "A list of notifications with the total record count for pagination." - }, - "NotificationTypeInfo": { - "type": "object", - "properties": { - "Type": { - "type": "string", - "nullable": true - }, - "Name": { - "type": "string", - "nullable": true - }, - "Enabled": { - "type": "boolean" - }, - "Category": { - "type": "string", - "nullable": true - }, - "IsBasedOnUserEvent": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "NotificationsSummaryDto": { - "type": "object", - "properties": { - "UnreadCount": { - "type": "integer", - "description": "Gets or sets the number of unread notifications.", - "format": "int32" - }, - "MaxUnreadNotificationLevel": { - "allOf": [ - { - "$ref": "#/components/schemas/NotificationLevel" - } - ], - "description": "Gets or sets the maximum unread notification level.", - "nullable": true - } - }, - "additionalProperties": false, - "description": "The notification summary DTO." - }, - "ObjectGroupUpdate": { - "type": "object", - "properties": { - "GroupId": { - "type": "string", - "description": "Gets the group identifier.", - "format": "uuid" - }, - "Type": { - "allOf": [ - { - "$ref": "#/components/schemas/GroupUpdateType" - } - ], - "description": "Gets the update type." - }, - "Data": { - "description": "Gets the update data." - } - }, - "additionalProperties": false, - "description": "Class GroupUpdate." - }, "OpenLiveStreamDto": { "type": "object", "properties": { @@ -53123,6 +51535,11 @@ "description": "Gets or sets a value indicating whether to enale direct stream.", "nullable": true }, + "AlwaysBurnInSubtitleWhenTranscoding": { + "type": "boolean", + "description": "Gets or sets a value indicating whether always burn in subtitles when transcoding.", + "nullable": true + }, "DeviceProfile": { "allOf": [ { @@ -53143,6 +51560,187 @@ "additionalProperties": false, "description": "Open live stream dto." }, + "OutboundKeepAliveMessage": { + "type": "object", + "properties": { + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "KeepAlive", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Keep alive websocket messages." + }, + "OutboundWebSocketMessage": { + "type": "object", + "oneOf": [ + { + "$ref": "#/components/schemas/ActivityLogEntryMessage" + }, + { + "$ref": "#/components/schemas/ForceKeepAliveMessage" + }, + { + "$ref": "#/components/schemas/GeneralCommandMessage" + }, + { + "$ref": "#/components/schemas/LibraryChangedMessage" + }, + { + "$ref": "#/components/schemas/OutboundKeepAliveMessage" + }, + { + "$ref": "#/components/schemas/PlayMessage" + }, + { + "$ref": "#/components/schemas/PlaystateMessage" + }, + { + "$ref": "#/components/schemas/PluginInstallationCancelledMessage" + }, + { + "$ref": "#/components/schemas/PluginInstallationCompletedMessage" + }, + { + "$ref": "#/components/schemas/PluginInstallationFailedMessage" + }, + { + "$ref": "#/components/schemas/PluginInstallingMessage" + }, + { + "$ref": "#/components/schemas/PluginUninstalledMessage" + }, + { + "$ref": "#/components/schemas/RefreshProgressMessage" + }, + { + "$ref": "#/components/schemas/RestartRequiredMessage" + }, + { + "$ref": "#/components/schemas/ScheduledTaskEndedMessage" + }, + { + "$ref": "#/components/schemas/ScheduledTasksInfoMessage" + }, + { + "$ref": "#/components/schemas/SeriesTimerCancelledMessage" + }, + { + "$ref": "#/components/schemas/SeriesTimerCreatedMessage" + }, + { + "$ref": "#/components/schemas/ServerRestartingMessage" + }, + { + "$ref": "#/components/schemas/ServerShuttingDownMessage" + }, + { + "$ref": "#/components/schemas/SessionsMessage" + }, + { + "$ref": "#/components/schemas/SyncPlayCommandMessage" + }, + { + "$ref": "#/components/schemas/SyncPlayGroupUpdateCommandMessage" + }, + { + "$ref": "#/components/schemas/TimerCancelledMessage" + }, + { + "$ref": "#/components/schemas/TimerCreatedMessage" + }, + { + "$ref": "#/components/schemas/UserDataChangedMessage" + }, + { + "$ref": "#/components/schemas/UserDeletedMessage" + }, + { + "$ref": "#/components/schemas/UserUpdatedMessage" + } + ], + "description": "Represents the list of possible outbound websocket types", + "discriminator": { + "propertyName": "MessageType", + "mapping": { + "ActivityLogEntry": "#/components/schemas/ActivityLogEntryMessage", + "ForceKeepAlive": "#/components/schemas/ForceKeepAliveMessage", + "GeneralCommand": "#/components/schemas/GeneralCommandMessage", + "LibraryChanged": "#/components/schemas/LibraryChangedMessage", + "KeepAlive": "#/components/schemas/OutboundKeepAliveMessage", + "Play": "#/components/schemas/PlayMessage", + "Playstate": "#/components/schemas/PlaystateMessage", + "PackageInstallationCancelled": "#/components/schemas/PluginInstallationCancelledMessage", + "PackageInstallationCompleted": "#/components/schemas/PluginInstallationCompletedMessage", + "PackageInstallationFailed": "#/components/schemas/PluginInstallationFailedMessage", + "PackageInstalling": "#/components/schemas/PluginInstallingMessage", + "PackageUninstalled": "#/components/schemas/PluginUninstalledMessage", + "RefreshProgress": "#/components/schemas/RefreshProgressMessage", + "RestartRequired": "#/components/schemas/RestartRequiredMessage", + "ScheduledTaskEnded": "#/components/schemas/ScheduledTaskEndedMessage", + "ScheduledTasksInfo": "#/components/schemas/ScheduledTasksInfoMessage", + "SeriesTimerCancelled": "#/components/schemas/SeriesTimerCancelledMessage", + "SeriesTimerCreated": "#/components/schemas/SeriesTimerCreatedMessage", + "ServerRestarting": "#/components/schemas/ServerRestartingMessage", + "ServerShuttingDown": "#/components/schemas/ServerShuttingDownMessage", + "Sessions": "#/components/schemas/SessionsMessage", + "SyncPlayCommand": "#/components/schemas/SyncPlayCommandMessage", + "SyncPlayGroupUpdate": "#/components/schemas/SyncPlayGroupUpdateCommandMessage", + "TimerCancelled": "#/components/schemas/TimerCancelledMessage", + "TimerCreated": "#/components/schemas/TimerCreatedMessage", + "UserDataChanged": "#/components/schemas/UserDataChangedMessage", + "UserDeleted": "#/components/schemas/UserDeletedMessage", + "UserUpdated": "#/components/schemas/UserUpdatedMessage" + } + } + }, "PackageInfo": { "type": "object", "properties": { @@ -53198,7 +51796,8 @@ "Value": { "type": "integer", "description": "Gets or sets the value.", - "format": "int32" + "format": "int32", + "nullable": true } }, "additionalProperties": false, @@ -53219,6 +51818,37 @@ "additionalProperties": false, "description": "Defines the MediaBrowser.Model.Configuration.PathSubstitution." }, + "PersonKind": { + "enum": [ + "Unknown", + "Actor", + "Director", + "Composer", + "Writer", + "GuestStar", + "Producer", + "Conductor", + "Lyricist", + "Arranger", + "Engineer", + "Mixer", + "Remixer", + "Creator", + "Artist", + "AlbumArtist", + "Author", + "Illustrator", + "Penciller", + "Inker", + "Colorist", + "Letterer", + "CoverArtist", + "Editor", + "Translator" + ], + "type": "string", + "description": "The person kind." + }, "PersonLookupInfo": { "type": "object", "properties": { @@ -53310,6 +51940,18 @@ }, "additionalProperties": false }, + "PingRequestDto": { + "type": "object", + "properties": { + "Ping": { + "type": "integer", + "description": "Gets or sets the ping time.", + "format": "int64" + } + }, + "additionalProperties": false, + "description": "Class PingRequestDto." + }, "PinRedeemResult": { "type": "object", "properties": { @@ -53327,18 +51969,6 @@ }, "additionalProperties": false }, - "PingRequestDto": { - "type": "object", - "properties": { - "Ping": { - "type": "integer", - "description": "Gets or sets the ping time.", - "format": "int64" - } - }, - "additionalProperties": false, - "description": "Class PingRequestDto." - }, "PlayAccess": { "enum": [ "Full", @@ -53346,104 +51976,6 @@ ], "type": "string" }, - "PlayCommand": { - "enum": [ - "PlayNow", - "PlayNext", - "PlayLast", - "PlayInstantMix", - "PlayShuffle" - ], - "type": "string", - "description": "Enum PlayCommand." - }, - "PlayMethod": { - "enum": [ - "Transcode", - "DirectStream", - "DirectPlay" - ], - "type": "string" - }, - "PlayRequest": { - "type": "object", - "properties": { - "ItemIds": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "description": "Gets or sets the item ids.", - "nullable": true - }, - "StartPositionTicks": { - "type": "integer", - "description": "Gets or sets the start position ticks that the first item should be played at.", - "format": "int64", - "nullable": true - }, - "PlayCommand": { - "allOf": [ - { - "$ref": "#/components/schemas/PlayCommand" - } - ], - "description": "Gets or sets the play command." - }, - "ControllingUserId": { - "type": "string", - "description": "Gets or sets the controlling user identifier.", - "format": "uuid" - }, - "SubtitleStreamIndex": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "AudioStreamIndex": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "MediaSourceId": { - "type": "string", - "nullable": true - }, - "StartIndex": { - "type": "integer", - "format": "int32", - "nullable": true - } - }, - "additionalProperties": false, - "description": "Class PlayRequest." - }, - "PlayRequestDto": { - "type": "object", - "properties": { - "PlayingQueue": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "description": "Gets or sets the playing queue." - }, - "PlayingItemPosition": { - "type": "integer", - "description": "Gets or sets the position of the playing item in the queue.", - "format": "int32" - }, - "StartPositionTicks": { - "type": "integer", - "description": "Gets or sets the start position ticks.", - "format": "int64" - } - }, - "additionalProperties": false, - "description": "Class PlayRequestDto." - }, "PlaybackErrorCode": { "enum": [ "NotAllowed", @@ -53539,6 +52071,11 @@ "type": "boolean", "description": "Gets or sets a value indicating whether to auto open the live stream.", "nullable": true + }, + "AlwaysBurnInSubtitleWhenTranscoding": { + "type": "boolean", + "description": "Gets or sets a value indicating whether always burn in subtitles when transcoding.", + "nullable": true } }, "additionalProperties": false, @@ -53560,6 +52097,11 @@ "nullable": true }, "ErrorCode": { + "enum": [ + "NotAllowed", + "NoCompatibleStream", + "RateLimitExceeded" + ], "allOf": [ { "$ref": "#/components/schemas/PlaybackErrorCode" @@ -53572,6 +52114,14 @@ "additionalProperties": false, "description": "Class PlaybackInfoResponse." }, + "PlaybackOrder": { + "enum": [ + "Default", + "Shuffle" + ], + "type": "string", + "description": "Enum PlaybackOrder." + }, "PlaybackProgressInfo": { "type": "object", "properties": { @@ -53650,6 +52200,11 @@ "nullable": true }, "PlayMethod": { + "enum": [ + "Transcode", + "DirectStream", + "DirectPlay" + ], "allOf": [ { "$ref": "#/components/schemas/PlayMethod" @@ -53668,6 +52223,11 @@ "nullable": true }, "RepeatMode": { + "enum": [ + "RepeatNone", + "RepeatAll", + "RepeatOne" + ], "allOf": [ { "$ref": "#/components/schemas/RepeatMode" @@ -53675,6 +52235,18 @@ ], "description": "Gets or sets the repeat mode." }, + "PlaybackOrder": { + "enum": [ + "Default", + "Shuffle" + ], + "allOf": [ + { + "$ref": "#/components/schemas/PlaybackOrder" + } + ], + "description": "Gets or sets the playback order." + }, "NowPlayingQueue": { "type": "array", "items": { @@ -53690,6 +52262,29 @@ "additionalProperties": false, "description": "Class PlaybackProgressInfo." }, + "PlaybackRequestType": { + "enum": [ + "Play", + "SetPlaylistItem", + "RemoveFromPlaylist", + "MovePlaylistItem", + "Queue", + "Unpause", + "Pause", + "Stop", + "Seek", + "Buffer", + "Ready", + "NextItem", + "PreviousItem", + "SetRepeatMode", + "SetShuffleMode", + "Ping", + "IgnoreWait" + ], + "type": "string", + "description": "Enum PlaybackRequestType." + }, "PlaybackStartInfo": { "type": "object", "properties": { @@ -53768,6 +52363,11 @@ "nullable": true }, "PlayMethod": { + "enum": [ + "Transcode", + "DirectStream", + "DirectPlay" + ], "allOf": [ { "$ref": "#/components/schemas/PlayMethod" @@ -53786,6 +52386,11 @@ "nullable": true }, "RepeatMode": { + "enum": [ + "RepeatNone", + "RepeatAll", + "RepeatOne" + ], "allOf": [ { "$ref": "#/components/schemas/RepeatMode" @@ -53793,6 +52398,18 @@ ], "description": "Gets or sets the repeat mode." }, + "PlaybackOrder": { + "enum": [ + "Default", + "Shuffle" + ], + "allOf": [ + { + "$ref": "#/components/schemas/PlaybackOrder" + } + ], + "description": "Gets or sets the playback order." + }, "NowPlayingQueue": { "type": "array", "items": { @@ -53874,6 +52491,17 @@ "additionalProperties": false, "description": "Class PlaybackStopInfo." }, + "PlayCommand": { + "enum": [ + "PlayNow", + "PlayNext", + "PlayLast", + "PlayInstantMix", + "PlayShuffle" + ], + "type": "string", + "description": "Enum PlayCommand." + }, "PlayerStateInfo": { "type": "object", "properties": { @@ -53919,6 +52547,11 @@ "nullable": true }, "PlayMethod": { + "enum": [ + "Transcode", + "DirectStream", + "DirectPlay" + ], "allOf": [ { "$ref": "#/components/schemas/PlayMethod" @@ -53928,6 +52561,11 @@ "nullable": true }, "RepeatMode": { + "enum": [ + "RepeatNone", + "RepeatAll", + "RepeatOne" + ], "allOf": [ { "$ref": "#/components/schemas/RepeatMode" @@ -53935,6 +52573,18 @@ ], "description": "Gets or sets the repeat mode." }, + "PlaybackOrder": { + "enum": [ + "Default", + "Shuffle" + ], + "allOf": [ + { + "$ref": "#/components/schemas/PlaybackOrder" + } + ], + "description": "Gets or sets the playback order." + }, "LiveStreamId": { "type": "string", "description": "Gets or sets the now playing live stream identifier.", @@ -53952,6 +52602,345 @@ }, "additionalProperties": false }, + "PlaylistDto": { + "type": "object", + "properties": { + "OpenAccess": { + "type": "boolean", + "description": "Gets or sets a value indicating whether the playlist is publicly readable." + }, + "Shares": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PlaylistUserPermissions" + }, + "description": "Gets or sets the share permissions." + }, + "ItemIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "description": "Gets or sets the item ids." + } + }, + "additionalProperties": false, + "description": "DTO for playlists." + }, + "PlaylistUserPermissions": { + "type": "object", + "properties": { + "UserId": { + "type": "string", + "description": "Gets or sets the user id.", + "format": "uuid" + }, + "CanEdit": { + "type": "boolean", + "description": "Gets or sets a value indicating whether the user has edit permissions." + } + }, + "additionalProperties": false, + "description": "Class to hold data on user permissions for playlists." + }, + "PlayMessage": { + "type": "object", + "properties": { + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/PlayRequest" + } + ], + "description": "Class PlayRequest.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "Play", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Play command websocket message." + }, + "PlayMethod": { + "enum": [ + "Transcode", + "DirectStream", + "DirectPlay" + ], + "type": "string" + }, + "PlayQueueUpdate": { + "type": "object", + "properties": { + "Reason": { + "enum": [ + "NewPlaylist", + "SetCurrentItem", + "RemoveItems", + "MoveItem", + "Queue", + "QueueNext", + "NextItem", + "PreviousItem", + "RepeatMode", + "ShuffleMode" + ], + "allOf": [ + { + "$ref": "#/components/schemas/PlayQueueUpdateReason" + } + ], + "description": "Gets the request type that originated this update." + }, + "LastUpdate": { + "type": "string", + "description": "Gets the UTC time of the last change to the playing queue.", + "format": "date-time" + }, + "Playlist": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SyncPlayQueueItem" + }, + "description": "Gets the playlist." + }, + "PlayingItemIndex": { + "type": "integer", + "description": "Gets the playing item index in the playlist.", + "format": "int32" + }, + "StartPositionTicks": { + "type": "integer", + "description": "Gets the start position ticks.", + "format": "int64" + }, + "IsPlaying": { + "type": "boolean", + "description": "Gets a value indicating whether the current item is playing." + }, + "ShuffleMode": { + "enum": [ + "Sorted", + "Shuffle" + ], + "allOf": [ + { + "$ref": "#/components/schemas/GroupShuffleMode" + } + ], + "description": "Gets the shuffle mode." + }, + "RepeatMode": { + "enum": [ + "RepeatOne", + "RepeatAll", + "RepeatNone" + ], + "allOf": [ + { + "$ref": "#/components/schemas/GroupRepeatMode" + } + ], + "description": "Gets the repeat mode." + } + }, + "additionalProperties": false, + "description": "Class PlayQueueUpdate." + }, + "PlayQueueUpdateGroupUpdate": { + "type": "object", + "properties": { + "GroupId": { + "type": "string", + "description": "Gets the group identifier.", + "format": "uuid", + "readOnly": true + }, + "Type": { + "enum": [ + "UserJoined", + "UserLeft", + "GroupJoined", + "GroupLeft", + "StateUpdate", + "PlayQueue", + "NotInGroup", + "GroupDoesNotExist", + "CreateGroupDenied", + "JoinGroupDenied", + "LibraryAccessDenied" + ], + "allOf": [ + { + "$ref": "#/components/schemas/GroupUpdateType" + } + ], + "description": "Gets the update type." + }, + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/PlayQueueUpdate" + } + ], + "description": "Gets the update data." + } + }, + "additionalProperties": false, + "description": "Class GroupUpdate." + }, + "PlayQueueUpdateReason": { + "enum": [ + "NewPlaylist", + "SetCurrentItem", + "RemoveItems", + "MoveItem", + "Queue", + "QueueNext", + "NextItem", + "PreviousItem", + "RepeatMode", + "ShuffleMode" + ], + "type": "string", + "description": "Enum PlayQueueUpdateReason." + }, + "PlayRequest": { + "type": "object", + "properties": { + "ItemIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "description": "Gets or sets the item ids.", + "nullable": true + }, + "StartPositionTicks": { + "type": "integer", + "description": "Gets or sets the start position ticks that the first item should be played at.", + "format": "int64", + "nullable": true + }, + "PlayCommand": { + "enum": [ + "PlayNow", + "PlayNext", + "PlayLast", + "PlayInstantMix", + "PlayShuffle" + ], + "allOf": [ + { + "$ref": "#/components/schemas/PlayCommand" + } + ], + "description": "Gets or sets the play command." + }, + "ControllingUserId": { + "type": "string", + "description": "Gets or sets the controlling user identifier.", + "format": "uuid" + }, + "SubtitleStreamIndex": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "AudioStreamIndex": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "MediaSourceId": { + "type": "string", + "nullable": true + }, + "StartIndex": { + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "additionalProperties": false, + "description": "Class PlayRequest." + }, + "PlayRequestDto": { + "type": "object", + "properties": { + "PlayingQueue": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "description": "Gets or sets the playing queue." + }, + "PlayingItemPosition": { + "type": "integer", + "description": "Gets or sets the position of the playing item in the queue.", + "format": "int32" + }, + "StartPositionTicks": { + "type": "integer", + "description": "Gets or sets the start position ticks.", + "format": "int64" + } + }, + "additionalProperties": false, + "description": "Class PlayRequestDto." + }, "PlaystateCommand": { "enum": [ "Stop", @@ -53967,10 +52956,88 @@ "type": "string", "description": "Enum PlaystateCommand." }, + "PlaystateMessage": { + "type": "object", + "properties": { + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/PlaystateRequest" + } + ], + "description": "Gets or sets the data.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "Playstate", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Playstate message." + }, "PlaystateRequest": { "type": "object", "properties": { "Command": { + "enum": [ + "Stop", + "Pause", + "Unpause", + "NextTrack", + "PreviousTrack", + "Seek", + "Rewind", + "FastForward", + "PlayPause" + ], "allOf": [ { "$ref": "#/components/schemas/PlaystateCommand" @@ -54025,6 +53092,15 @@ "description": "Gets or sets a value indicating whether this plugin has a valid image." }, "Status": { + "enum": [ + "Active", + "Restart", + "Deleted", + "Superceded", + "Malfunctioned", + "NotSupported", + "Disabled" + ], "allOf": [ { "$ref": "#/components/schemas/PluginStatus" @@ -54036,6 +53112,274 @@ "additionalProperties": false, "description": "This is a serializable stub class that is used by the api to provide information about installed plugins." }, + "PluginInstallationCancelledMessage": { + "type": "object", + "properties": { + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/InstallationInfo" + } + ], + "description": "Class InstallationInfo.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "PackageInstallationCancelled", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Plugin installation cancelled message." + }, + "PluginInstallationCompletedMessage": { + "type": "object", + "properties": { + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/InstallationInfo" + } + ], + "description": "Class InstallationInfo.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "PackageInstallationCompleted", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Plugin installation completed message." + }, + "PluginInstallationFailedMessage": { + "type": "object", + "properties": { + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/InstallationInfo" + } + ], + "description": "Class InstallationInfo.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "PackageInstallationFailed", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Plugin installation failed message." + }, + "PluginInstallingMessage": { + "type": "object", + "properties": { + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/InstallationInfo" + } + ], + "description": "Class InstallationInfo.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "PackageInstalling", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Package installing message." + }, "PluginStatus": { "enum": [ "Active", @@ -54049,6 +53393,73 @@ "type": "string", "description": "Plugin load status." }, + "PluginUninstalledMessage": { + "type": "object", + "properties": { + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/PluginInfo" + } + ], + "description": "This is a serializable stub class that is used by the api to provide information about installed plugins.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "PackageUninstalled", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Plugin uninstalled message." + }, "PreviousItemRequestDto": { "type": "object", "properties": { @@ -54088,10 +53499,28 @@ }, "additionalProperties": { } }, + "ProcessPriorityClass": { + "enum": [ + "Normal", + "Idle", + "High", + "RealTime", + "BelowNormal", + "AboveNormal" + ], + "type": "string" + }, "ProfileCondition": { "type": "object", "properties": { "Condition": { + "enum": [ + "Equals", + "NotEquals", + "LessThanEqual", + "GreaterThanEqual", + "EqualsAny" + ], "allOf": [ { "$ref": "#/components/schemas/ProfileConditionType" @@ -54099,6 +53528,32 @@ ] }, "Property": { + "enum": [ + "AudioChannels", + "AudioBitrate", + "AudioProfile", + "Width", + "Height", + "Has64BitOffsets", + "PacketLength", + "VideoBitDepth", + "VideoBitrate", + "VideoFramerate", + "VideoLevel", + "VideoProfile", + "VideoTimestamp", + "IsAnamorphic", + "RefFrames", + "NumAudioStreams", + "NumVideoStreams", + "IsSecondaryAudio", + "VideoCodecTag", + "IsAvc", + "IsInterlaced", + "AudioSampleRate", + "AudioBitDepth", + "VideoRangeType" + ], "allOf": [ { "$ref": "#/components/schemas/ProfileConditionValue" @@ -54191,7 +53646,8 @@ "OperatingSystem": { "type": "string", "description": "Gets or sets the operating system.", - "nullable": true + "nullable": true, + "deprecated": true }, "Id": { "type": "string", @@ -54287,6 +53743,10 @@ "description": "Gets or sets the items to enqueue." }, "Mode": { + "enum": [ + "Queue", + "QueueNext" + ], "allOf": [ { "$ref": "#/components/schemas/GroupQueueMode" @@ -54396,6 +53856,14 @@ "nullable": true }, "RecommendationType": { + "enum": [ + "SimilarToRecentlyPlayed", + "SimilarToLikedItem", + "HasDirectorFromRecentlyPlayed", + "HasActorFromRecentlyPlayed", + "HasLikedDirector", + "HasLikedActor" + ], "allOf": [ { "$ref": "#/components/schemas/RecommendationType" @@ -54436,6 +53904,73 @@ ], "type": "string" }, + "RefreshProgressMessage": { + "type": "object", + "properties": { + "Data": { + "type": "object", + "additionalProperties": { + "type": "string", + "nullable": true + }, + "description": "Gets or sets the data.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "RefreshProgress", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Refresh progress message." + }, "RemoteImageInfo": { "type": "object", "properties": { @@ -54484,6 +54019,21 @@ "nullable": true }, "Type": { + "enum": [ + "Primary", + "Art", + "Backdrop", + "Banner", + "Logo", + "Thumb", + "Disc", + "Box", + "Screenshot", + "Menu", + "Chapter", + "BoxRear", + "Profile" + ], "allOf": [ { "$ref": "#/components/schemas/ImageType" @@ -54492,6 +54042,10 @@ "description": "Gets or sets the type." }, "RatingType": { + "enum": [ + "Score", + "Likes" + ], "allOf": [ { "$ref": "#/components/schemas/RatingType" @@ -54531,6 +54085,29 @@ "additionalProperties": false, "description": "Class RemoteImageResult." }, + "RemoteLyricInfoDto": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "description": "Gets or sets the id for the lyric." + }, + "ProviderName": { + "type": "string", + "description": "Gets the provider name." + }, + "Lyrics": { + "allOf": [ + { + "$ref": "#/components/schemas/LyricDto" + } + ], + "description": "Gets the lyrics." + } + }, + "additionalProperties": false, + "description": "The remote lyric info dto." + }, "RemoteSearchResult": { "type": "object", "properties": { @@ -54645,6 +54222,11 @@ "format": "float", "nullable": true }, + "FrameRate": { + "type": "number", + "format": "float", + "nullable": true + }, "DownloadCount": { "type": "integer", "format": "int32", @@ -54653,6 +54235,22 @@ "IsHashMatch": { "type": "boolean", "nullable": true + }, + "AiTranslated": { + "type": "boolean", + "nullable": true + }, + "MachineTranslated": { + "type": "boolean", + "nullable": true + }, + "Forced": { + "type": "boolean", + "nullable": true + }, + "HearingImpaired": { + "type": "boolean", + "nullable": true } }, "additionalProperties": false @@ -54666,7 +54264,7 @@ "type": "string", "format": "uuid" }, - "description": "Gets or sets the playlist identifiers ot the items. Ignored when clearing the playlist." + "description": "Gets or sets the playlist identifiers of the items. Ignored when clearing the playlist." }, "ClearPlaylist": { "type": "boolean", @@ -54688,250 +54286,6 @@ ], "type": "string" }, - "ReportDisplayType": { - "enum": [ - "None", - "Screen", - "Export", - "ScreenExport" - ], - "type": "string" - }, - "ReportExportType": { - "enum": [ - "CSV", - "Excel" - ], - "type": "string" - }, - "ReportFieldType": { - "enum": [ - "String", - "Boolean", - "Date", - "Time", - "DateTime", - "Int", - "Image", - "Object", - "Minutes" - ], - "type": "string" - }, - "ReportGroup": { - "type": "object", - "properties": { - "Name": { - "type": "string" - }, - "Rows": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ReportRow" - } - } - }, - "additionalProperties": false - }, - "ReportHeader": { - "type": "object", - "properties": { - "HeaderFieldType": { - "allOf": [ - { - "$ref": "#/components/schemas/ReportFieldType" - } - ] - }, - "Name": { - "type": "string", - "nullable": true - }, - "FieldName": { - "allOf": [ - { - "$ref": "#/components/schemas/HeaderMetadata" - } - ] - }, - "SortField": { - "type": "string", - "nullable": true - }, - "Type": { - "type": "string", - "nullable": true - }, - "ItemViewType": { - "allOf": [ - { - "$ref": "#/components/schemas/ItemViewType" - } - ] - }, - "Visible": { - "type": "boolean" - }, - "DisplayType": { - "allOf": [ - { - "$ref": "#/components/schemas/ReportDisplayType" - } - ] - }, - "ShowHeaderLabel": { - "type": "boolean" - }, - "CanGroup": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "ReportIncludeItemTypes": { - "enum": [ - "MusicArtist", - "MusicAlbum", - "Book", - "BoxSet", - "Episode", - "Video", - "Movie", - "MusicVideo", - "Trailer", - "Season", - "Series", - "Audio", - "BaseItem", - "Artist" - ], - "type": "string" - }, - "ReportItem": { - "type": "object", - "properties": { - "Id": { - "type": "string", - "nullable": true - }, - "Name": { - "type": "string", - "nullable": true - }, - "Image": { - "type": "string", - "nullable": true - }, - "CustomTag": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "ReportPlaybackOptions": { - "type": "object", - "properties": { - "MaxDataAge": { - "type": "integer", - "format": "int32" - }, - "BackupPath": { - "type": "string" - }, - "MaxBackupFiles": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "ReportResult": { - "type": "object", - "properties": { - "Rows": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ReportRow" - }, - "nullable": true - }, - "Headers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ReportHeader" - }, - "nullable": true - }, - "Groups": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ReportGroup" - }, - "nullable": true - }, - "TotalRecordCount": { - "type": "integer", - "format": "int32" - }, - "IsGrouped": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "ReportRow": { - "type": "object", - "properties": { - "Id": { - "type": "string", - "nullable": true - }, - "HasImageTagsBackdrop": { - "type": "boolean" - }, - "HasImageTagsPrimary": { - "type": "boolean" - }, - "HasImageTagsLogo": { - "type": "boolean" - }, - "HasLocalTrailer": { - "type": "boolean" - }, - "HasLockData": { - "type": "boolean" - }, - "HasEmbeddedImage": { - "type": "boolean" - }, - "HasSubtitles": { - "type": "boolean" - }, - "HasSpecials": { - "type": "boolean" - }, - "Columns": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ReportItem" - }, - "nullable": true - }, - "RowType": { - "allOf": [ - { - "$ref": "#/components/schemas/ReportIncludeItemTypes" - } - ] - }, - "UserId": { - "type": "string", - "format": "uuid" - } - }, - "additionalProperties": false - }, "RepositoryInfo": { "type": "object", "properties": { @@ -54953,45 +54307,307 @@ "additionalProperties": false, "description": "Class RepositoryInfo." }, - "ResponseProfile": { + "RestartRequiredMessage": { "type": "object", "properties": { - "Container": { + "MessageId": { "type": "string", - "nullable": true + "description": "Gets or sets the message id.", + "format": "uuid" }, - "AudioCodec": { - "type": "string", - "nullable": true - }, - "VideoCodec": { - "type": "string", - "nullable": true - }, - "Type": { + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], "allOf": [ { - "$ref": "#/components/schemas/DlnaProfileType" + "$ref": "#/components/schemas/SessionMessageType" } - ] - }, - "OrgPn": { - "type": "string", - "nullable": true - }, - "MimeType": { - "type": "string", - "nullable": true - }, - "Conditions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProfileCondition" - }, - "nullable": true + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "RestartRequired", + "readOnly": true } }, - "additionalProperties": false + "additionalProperties": false, + "description": "Restart required." + }, + "ScheduledTaskEndedMessage": { + "type": "object", + "properties": { + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/TaskResult" + } + ], + "description": "Class TaskExecutionInfo.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "ScheduledTaskEnded", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Scheduled task ended message." + }, + "ScheduledTasksInfoMessage": { + "type": "object", + "properties": { + "Data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TaskInfo" + }, + "description": "Gets or sets the data.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "ScheduledTasksInfo", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Scheduled tasks info message." + }, + "ScheduledTasksInfoStartMessage": { + "type": "object", + "properties": { + "Data": { + "type": "string", + "description": "Gets or sets the data.", + "nullable": true + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "ScheduledTasksInfoStart", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Scheduled tasks info start message.\r\nData is the timing data encoded as \"$initialDelay,$interval\" in ms." + }, + "ScheduledTasksInfoStopMessage": { + "type": "object", + "properties": { + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "ScheduledTasksInfoStop", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Scheduled tasks info stop message." }, "ScrollDirection": { "enum": [ @@ -55007,16 +54623,17 @@ "ItemId": { "type": "string", "description": "Gets or sets the item id.", - "format": "uuid" + "format": "uuid", + "deprecated": true }, "Id": { "type": "string", + "description": "Gets or sets the item id.", "format": "uuid" }, "Name": { "type": "string", - "description": "Gets or sets the name.", - "nullable": true + "description": "Gets or sets the name." }, "MatchedTerm": { "type": "string", @@ -55067,12 +54684,55 @@ "nullable": true }, "Type": { - "type": "string", - "description": "Gets or sets the type.", - "nullable": true + "enum": [ + "AggregateFolder", + "Audio", + "AudioBook", + "BasePluginFolder", + "Book", + "BoxSet", + "Channel", + "ChannelFolderItem", + "CollectionFolder", + "Episode", + "Folder", + "Genre", + "ManualPlaylistsFolder", + "Movie", + "LiveTvChannel", + "LiveTvProgram", + "MusicAlbum", + "MusicArtist", + "MusicGenre", + "MusicVideo", + "Person", + "Photo", + "PhotoAlbum", + "Playlist", + "PlaylistsFolder", + "Program", + "Recording", + "Season", + "Series", + "Studio", + "Trailer", + "TvChannel", + "TvProgram", + "UserRootFolder", + "UserView", + "Video", + "Year" + ], + "allOf": [ + { + "$ref": "#/components/schemas/BaseItemKind" + } + ], + "description": "The base item kind." }, "IsFolder": { "type": "boolean", + "description": "Gets or sets a value indicating whether this instance is folder.", "nullable": true }, "RunTimeTicks": { @@ -55082,17 +54742,29 @@ "nullable": true }, "MediaType": { - "type": "string", - "description": "Gets or sets the type of the media.", - "nullable": true + "enum": [ + "Unknown", + "Video", + "Audio", + "Photo", + "Book" + ], + "allOf": [ + { + "$ref": "#/components/schemas/MediaType" + } + ], + "description": "Media types." }, "StartDate": { "type": "string", + "description": "Gets or sets the start date.", "format": "date-time", "nullable": true }, "EndDate": { "type": "string", + "description": "Gets or sets the end date.", "format": "date-time", "nullable": true }, @@ -55103,6 +54775,7 @@ }, "Status": { "type": "string", + "description": "Gets or sets the status.", "nullable": true }, "Album": { @@ -55112,7 +54785,9 @@ }, "AlbumId": { "type": "string", - "format": "uuid" + "description": "Gets or sets the album id.", + "format": "uuid", + "nullable": true }, "AlbumArtist": { "type": "string", @@ -55124,8 +54799,7 @@ "items": { "type": "string" }, - "description": "Gets or sets the artists.", - "nullable": true + "description": "Gets or sets the artists." }, "SongCount": { "type": "integer", @@ -55142,7 +54816,8 @@ "ChannelId": { "type": "string", "description": "Gets or sets the channel identifier.", - "format": "uuid" + "format": "uuid", + "nullable": true }, "ChannelName": { "type": "string", @@ -55215,6 +54890,12 @@ "nullable": true }, "Command": { + "enum": [ + "Unpause", + "Pause", + "Stop", + "Seek" + ], "allOf": [ { "$ref": "#/components/schemas/SendCommandType" @@ -55241,14 +54922,6 @@ "type": "string", "description": "Enum SendCommandType." }, - "SendToUserType": { - "enum": [ - "All", - "Admins", - "Custom" - ], - "type": "string" - }, "SeriesInfo": { "type": "object", "properties": { @@ -55343,10 +55016,145 @@ "SeriesStatus": { "enum": [ "Continuing", - "Ended" + "Ended", + "Unreleased" ], "type": "string", - "description": "Enum SeriesStatus." + "description": "The status of a series." + }, + "SeriesTimerCancelledMessage": { + "type": "object", + "properties": { + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/TimerEventInfo" + } + ], + "description": "Gets or sets the data.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "SeriesTimerCancelled", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Series timer cancelled message." + }, + "SeriesTimerCreatedMessage": { + "type": "object", + "properties": { + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/TimerEventInfo" + } + ], + "description": "Gets or sets the data.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "SeriesTimerCreated", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Series timer created message." }, "SeriesTimerInfoDto": { "type": "object", @@ -55461,6 +55269,12 @@ "description": "Gets or sets a value indicating whether this instance is post padding required." }, "KeepUntil": { + "enum": [ + "UntilDeleted", + "UntilSpaceNeeded", + "UntilWatched", + "UntilDate" + ], "allOf": [ { "$ref": "#/components/schemas/KeepUntil" @@ -55495,6 +55309,11 @@ "nullable": true }, "DayPattern": { + "enum": [ + "Daily", + "Weekdays", + "Weekends" + ], "allOf": [ { "$ref": "#/components/schemas/DayPattern" @@ -55543,8 +55362,7 @@ "items": { "$ref": "#/components/schemas/SeriesTimerInfoDto" }, - "description": "Gets or sets the items.", - "nullable": true + "description": "Gets or sets the items." }, "TotalRecordCount": { "type": "integer", @@ -55557,7 +55375,8 @@ "format": "int32" } }, - "additionalProperties": false + "additionalProperties": false, + "description": "Query result container." }, "ServerConfiguration": { "type": "object", @@ -55612,9 +55431,6 @@ "type": "string", "description": "Gets or sets the metadata path." }, - "MetadataNetworkPath": { - "type": "string" - }, "PreferredMetadataLanguage": { "type": "string", "description": "Gets or sets the preferred metadata language." @@ -55669,12 +55485,26 @@ "description": "Gets or sets the remaining minutes of a book that can be played while still saving playstate. If this percentage is crossed playstate will be reset to the beginning and the item will be marked watched.", "format": "int32" }, + "InactiveSessionThreshold": { + "type": "integer", + "description": "Gets or sets the threshold in minutes after a inactive session gets closed automatically.\r\nIf set to 0 the check for inactive sessions gets disabled.", + "format": "int32" + }, "LibraryMonitorDelay": { "type": "integer", "description": "Gets or sets the delay in seconds that we will wait after a file system change to try and discover what has been added/removed\r\nSome delay is necessary with some items because their creation is not atomic. It involves the creation of several\r\ndifferent directories and files.", "format": "int32" }, + "LibraryUpdateDuration": { + "type": "integer", + "description": "Gets or sets the duration in seconds that we will wait after a library updated event before executing the library changed notification.", + "format": "int32" + }, "ImageSavingConvention": { + "enum": [ + "Legacy", + "Compatible" + ], "allOf": [ { "$ref": "#/components/schemas/ImageSavingConvention" @@ -55783,6 +55613,50 @@ "AllowClientLogUpload": { "type": "boolean", "description": "Gets or sets a value indicating whether clients should be allowed to upload logs." + }, + "DummyChapterDuration": { + "type": "integer", + "description": "Gets or sets the dummy chapter duration in seconds, use 0 (zero) or less to disable generation alltogether.", + "format": "int32" + }, + "ChapterImageResolution": { + "enum": [ + "MatchSource", + "P144", + "P240", + "P360", + "P480", + "P720", + "P1080", + "P1440", + "P2160" + ], + "allOf": [ + { + "$ref": "#/components/schemas/ImageResolution" + } + ], + "description": "Gets or sets the chapter image resolution." + }, + "ParallelImageEncodingLimit": { + "type": "integer", + "description": "Gets or sets the limit for parallel image encoding.", + "format": "int32" + }, + "CastReceiverApplications": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CastReceiverApplication" + }, + "description": "Gets or sets the list of cast receiver applications." + }, + "TrickplayOptions": { + "allOf": [ + { + "$ref": "#/components/schemas/TrickplayOptions" + } + ], + "description": "Gets or sets the trickplay options." } }, "additionalProperties": false, @@ -55812,7 +55686,123 @@ "additionalProperties": false, "description": "The server discovery info model." }, - "SessionInfo": { + "ServerRestartingMessage": { + "type": "object", + "properties": { + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "ServerRestarting", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Server restarting down message." + }, + "ServerShuttingDownMessage": { + "type": "object", + "properties": { + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "ServerShuttingDown", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Server shutting down message." + }, + "SessionInfoDto": { "type": "object", "properties": { "PlayState": { @@ -55821,6 +55811,7 @@ "$ref": "#/components/schemas/PlayerStateInfo" } ], + "description": "Gets or sets the play state.", "nullable": true }, "AdditionalUsers": { @@ -55828,14 +55819,16 @@ "items": { "$ref": "#/components/schemas/SessionUserInfo" }, + "description": "Gets or sets the additional users.", "nullable": true }, "Capabilities": { "allOf": [ { - "$ref": "#/components/schemas/ClientCapabilities" + "$ref": "#/components/schemas/ClientCapabilitiesDto" } ], + "description": "Gets or sets the client capabilities.", "nullable": true }, "RemoteEndPoint": { @@ -55846,11 +55839,9 @@ "PlayableMediaTypes": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/MediaType" }, - "description": "Gets the playable media types.", - "nullable": true, - "readOnly": true + "description": "Gets or sets the playable media types." }, "Id": { "type": "string", @@ -55882,6 +55873,12 @@ "description": "Gets or sets the last playback check in.", "format": "date-time" }, + "LastPausedDate": { + "type": "string", + "description": "Gets or sets the last paused date.", + "format": "date-time", + "nullable": true + }, "DeviceName": { "type": "string", "description": "Gets or sets the name of the device.", @@ -55898,16 +55895,7 @@ "$ref": "#/components/schemas/BaseItemDto" } ], - "description": "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client.", - "nullable": true - }, - "FullNowPlayingItem": { - "allOf": [ - { - "$ref": "#/components/schemas/BaseItem" - } - ], - "description": "Class BaseItem.", + "description": "Gets or sets the now playing item.", "nullable": true }, "NowViewingItem": { @@ -55916,7 +55904,7 @@ "$ref": "#/components/schemas/BaseItemDto" } ], - "description": "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client.", + "description": "Gets or sets the now viewing item.", "nullable": true }, "DeviceId": { @@ -55935,26 +55923,27 @@ "$ref": "#/components/schemas/TranscodingInfo" } ], + "description": "Gets or sets the transcoding info.", "nullable": true }, "IsActive": { "type": "boolean", - "description": "Gets a value indicating whether this instance is active.", - "readOnly": true + "description": "Gets or sets a value indicating whether this session is active." }, "SupportsMediaControl": { "type": "boolean", - "readOnly": true + "description": "Gets or sets a value indicating whether the session supports media control." }, "SupportsRemoteControl": { "type": "boolean", - "readOnly": true + "description": "Gets or sets a value indicating whether the session supports remote control." }, "NowPlayingQueue": { "type": "array", "items": { "$ref": "#/components/schemas/QueueItem" }, + "description": "Gets or sets the now playing queue.", "nullable": true }, "NowPlayingQueueFullItems": { @@ -55962,21 +55951,26 @@ "items": { "$ref": "#/components/schemas/BaseItemDto" }, + "description": "Gets or sets the now playing queue full items.", "nullable": true }, "HasCustomDeviceName": { - "type": "boolean" + "type": "boolean", + "description": "Gets or sets a value indicating whether the session has a custom device name." }, "PlaylistItemId": { "type": "string", + "description": "Gets or sets the playlist item id.", "nullable": true }, "ServerId": { "type": "string", + "description": "Gets or sets the server id.", "nullable": true }, "UserPrimaryImageTag": { "type": "string", + "description": "Gets or sets the user primary image tag.", "nullable": true }, "SupportedCommands": { @@ -55984,13 +55978,11 @@ "items": { "$ref": "#/components/schemas/GeneralCommandType" }, - "description": "Gets the supported commands.", - "nullable": true, - "readOnly": true + "description": "Gets or sets the supported commands." } }, "additionalProperties": false, - "description": "Class SessionInfo." + "description": "Session info DTO." }, "SessionMessageType": { "enum": [ @@ -56032,6 +56024,183 @@ "type": "string", "description": "The different kinds of messages that are used in the WebSocket api." }, + "SessionsMessage": { + "type": "object", + "properties": { + "Data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SessionInfoDto" + }, + "description": "Gets or sets the data.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "Sessions", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Sessions message." + }, + "SessionsStartMessage": { + "type": "object", + "properties": { + "Data": { + "type": "string", + "description": "Gets or sets the data.", + "nullable": true + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "SessionsStart", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Sessions start message.\r\nData is the timing data encoded as \"$initialDelay,$interval\" in ms." + }, + "SessionsStopMessage": { + "type": "object", + "properties": { + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "SessionsStop", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Sessions stop message." + }, "SessionUserInfo": { "type": "object", "properties": { @@ -56089,6 +56258,11 @@ "type": "object", "properties": { "Mode": { + "enum": [ + "RepeatOne", + "RepeatAll", + "RepeatNone" + ], "allOf": [ { "$ref": "#/components/schemas/GroupRepeatMode" @@ -56104,6 +56278,10 @@ "type": "object", "properties": { "Mode": { + "enum": [ + "Sorted", + "Shuffle" + ], "allOf": [ { "$ref": "#/components/schemas/GroupShuffleMode" @@ -56280,6 +56458,44 @@ "additionalProperties": false, "description": "The startup user DTO." }, + "StringGroupUpdate": { + "type": "object", + "properties": { + "GroupId": { + "type": "string", + "description": "Gets the group identifier.", + "format": "uuid", + "readOnly": true + }, + "Type": { + "enum": [ + "UserJoined", + "UserLeft", + "GroupJoined", + "GroupLeft", + "StateUpdate", + "PlayQueue", + "NotInGroup", + "GroupDoesNotExist", + "CreateGroupDenied", + "JoinGroupDenied", + "LibraryAccessDenied" + ], + "allOf": [ + { + "$ref": "#/components/schemas/GroupUpdateType" + } + ], + "description": "Gets the update type." + }, + "Data": { + "type": "string", + "description": "Gets the update data." + } + }, + "additionalProperties": false, + "description": "Class GroupUpdate." + }, "SubtitleDeliveryMethod": { "enum": [ "Encode", @@ -56346,30 +56562,194 @@ "properties": { "Format": { "type": "string", + "description": "Gets or sets the format.", "nullable": true }, "Method": { + "enum": [ + "Encode", + "Embed", + "External", + "Hls", + "Drop" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitleDeliveryMethod" } ], - "description": "Delivery method to use during playback of a specific subtitle format." + "description": "Gets or sets the delivery method." }, "DidlMode": { "type": "string", + "description": "Gets or sets the DIDL mode.", "nullable": true }, "Language": { "type": "string", + "description": "Gets or sets the language.", "nullable": true }, "Container": { "type": "string", + "description": "Gets or sets the container.", "nullable": true } }, - "additionalProperties": false + "additionalProperties": false, + "description": "A class for subtitle profile information." + }, + "SyncPlayCommandMessage": { + "type": "object", + "properties": { + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/SendCommand" + } + ], + "description": "Class SendCommand.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "SyncPlayCommand", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Sync play command." + }, + "SyncPlayGroupUpdateCommandMessage": { + "type": "object", + "properties": { + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/GroupUpdate" + } + ], + "description": "Group update without data.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "SyncPlayGroupUpdate", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Untyped sync play command." + }, + "SyncPlayQueueItem": { + "type": "object", + "properties": { + "ItemId": { + "type": "string", + "description": "Gets the item identifier.", + "format": "uuid" + }, + "PlaylistItemId": { + "type": "string", + "description": "Gets the playlist identifier of the item.", + "format": "uuid", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Class QueueItem." }, "SyncPlayUserAccessType": { "enum": [ @@ -56406,7 +56786,8 @@ "OperatingSystem": { "type": "string", "description": "Gets or sets the operating system.", - "nullable": true + "nullable": true, + "deprecated": true }, "Id": { "type": "string", @@ -56421,7 +56802,8 @@ "OperatingSystemDisplayName": { "type": "string", "description": "Gets or sets the display name of the operating system.", - "nullable": true + "nullable": true, + "deprecated": true }, "PackageName": { "type": "string", @@ -56454,10 +56836,14 @@ }, "CanSelfRestart": { "type": "boolean", - "description": "Gets or sets a value indicating whether this instance can self restart." + "description": "Gets or sets a value indicating whether this instance can self restart.", + "default": true, + "deprecated": true }, "CanLaunchWebBrowser": { - "type": "boolean" + "type": "boolean", + "default": false, + "deprecated": true }, "ProgramDataPath": { "type": "string", @@ -56494,26 +56880,31 @@ "description": "Gets or sets the transcode path.", "nullable": true }, + "CastReceiverApplications": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CastReceiverApplication" + }, + "description": "Gets or sets the list of cast receiver applications.", + "nullable": true + }, "HasUpdateAvailable": { "type": "boolean", "description": "Gets or sets a value indicating whether this instance has update available.", + "default": false, "deprecated": true }, "EncoderLocation": { - "allOf": [ - { - "$ref": "#/components/schemas/FFmpegLocation" - } - ], - "description": "Enum describing the location of the FFmpeg tool.", + "type": "string", + "default": "System", + "nullable": true, "deprecated": true }, "SystemArchitecture": { - "allOf": [ - { - "$ref": "#/components/schemas/Architecture" - } - ] + "type": "string", + "default": "X64", + "nullable": true, + "deprecated": true } }, "additionalProperties": false, @@ -56538,6 +56929,11 @@ "nullable": true }, "State": { + "enum": [ + "Idle", + "Cancelling", + "Running" + ], "allOf": [ { "$ref": "#/components/schemas/TaskState" @@ -56610,6 +57006,12 @@ "format": "date-time" }, "Status": { + "enum": [ + "Completed", + "Failed", + "Cancelled", + "Aborted" + ], "allOf": [ { "$ref": "#/components/schemas/TaskCompletionStatus" @@ -56676,6 +57078,15 @@ "nullable": true }, "DayOfWeek": { + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ], "allOf": [ { "$ref": "#/components/schemas/DayOfWeek" @@ -56702,8 +57113,7 @@ "items": { "$ref": "#/components/schemas/BaseItemDto" }, - "description": "Gets or sets the items.", - "nullable": true + "description": "Gets or sets the items." }, "TotalRecordCount": { "type": "integer", @@ -56724,6 +57134,140 @@ "additionalProperties": false, "description": "Class ThemeMediaResult." }, + "TimerCancelledMessage": { + "type": "object", + "properties": { + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/TimerEventInfo" + } + ], + "description": "Gets or sets the data.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "TimerCancelled", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Timer cancelled message." + }, + "TimerCreatedMessage": { + "type": "object", + "properties": { + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/TimerEventInfo" + } + ], + "description": "Gets or sets the data.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "TimerCreated", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Timer created message." + }, "TimerEventInfo": { "type": "object", "properties": { @@ -56851,6 +57395,12 @@ "description": "Gets or sets a value indicating whether this instance is post padding required." }, "KeepUntil": { + "enum": [ + "UntilDeleted", + "UntilSpaceNeeded", + "UntilWatched", + "UntilDate" + ], "allOf": [ { "$ref": "#/components/schemas/KeepUntil" @@ -56858,6 +57408,15 @@ ] }, "Status": { + "enum": [ + "New", + "InProgress", + "Completed", + "Cancelled", + "ConflictedOk", + "ConflictedNotOk", + "Error" + ], "allOf": [ { "$ref": "#/components/schemas/RecordingStatus" @@ -56901,8 +57460,7 @@ "items": { "$ref": "#/components/schemas/TimerInfoDto" }, - "description": "Gets or sets the items.", - "nullable": true + "description": "Gets or sets the items." }, "TotalRecordCount": { "type": "integer", @@ -56915,7 +57473,42 @@ "format": "int32" } }, - "additionalProperties": false + "additionalProperties": false, + "description": "Query result container." + }, + "TonemappingAlgorithm": { + "enum": [ + "none", + "clip", + "linear", + "gamma", + "reinhard", + "hable", + "mobius", + "bt2390" + ], + "type": "string", + "description": "Enum containing tonemapping algorithms." + }, + "TonemappingMode": { + "enum": [ + "auto", + "max", + "rgb", + "lum", + "itp" + ], + "type": "string", + "description": "Enum containing tonemapping modes." + }, + "TonemappingRange": { + "enum": [ + "auto", + "tv", + "pc" + ], + "type": "string", + "description": "Enum containing tonemapping ranges." }, "TrailerInfo": { "type": "object", @@ -57034,7 +57627,8 @@ "UnknownVideoStreamInfo", "UnknownAudioStreamInfo", "DirectPlayError", - "VideoRangeTypeNotSupported" + "VideoRangeTypeNotSupported", + "VideoCodecTagNotSupported" ], "type": "string" }, @@ -57050,149 +57644,246 @@ "properties": { "AudioCodec": { "type": "string", + "description": "Gets or sets the thread count used for encoding.", "nullable": true }, "VideoCodec": { "type": "string", + "description": "Gets or sets the thread count used for encoding.", "nullable": true }, "Container": { "type": "string", + "description": "Gets or sets the thread count used for encoding.", "nullable": true }, "IsVideoDirect": { - "type": "boolean" + "type": "boolean", + "description": "Gets or sets a value indicating whether the video is passed through." }, "IsAudioDirect": { - "type": "boolean" + "type": "boolean", + "description": "Gets or sets a value indicating whether the audio is passed through." }, "Bitrate": { "type": "integer", + "description": "Gets or sets the bitrate.", "format": "int32", "nullable": true }, "Framerate": { "type": "number", + "description": "Gets or sets the framerate.", "format": "float", "nullable": true }, "CompletionPercentage": { "type": "number", + "description": "Gets or sets the completion percentage.", "format": "double", "nullable": true }, "Width": { "type": "integer", + "description": "Gets or sets the video width.", "format": "int32", "nullable": true }, "Height": { "type": "integer", + "description": "Gets or sets the video height.", "format": "int32", "nullable": true }, "AudioChannels": { "type": "integer", + "description": "Gets or sets the audio channels.", "format": "int32", "nullable": true }, "HardwareAccelerationType": { + "enum": [ + "none", + "amf", + "qsv", + "nvenc", + "v4l2m2m", + "vaapi", + "videotoolbox", + "rkmpp" + ], "allOf": [ { - "$ref": "#/components/schemas/HardwareEncodingType" + "$ref": "#/components/schemas/HardwareAccelerationType" } ], + "description": "Gets or sets the hardware acceleration type.", "nullable": true }, "TranscodeReasons": { + "enum": [ + "ContainerNotSupported", + "VideoCodecNotSupported", + "AudioCodecNotSupported", + "SubtitleCodecNotSupported", + "AudioIsExternal", + "SecondaryAudioNotSupported", + "VideoProfileNotSupported", + "VideoLevelNotSupported", + "VideoResolutionNotSupported", + "VideoBitDepthNotSupported", + "VideoFramerateNotSupported", + "RefFramesNotSupported", + "AnamorphicVideoNotSupported", + "InterlacedVideoNotSupported", + "AudioChannelsNotSupported", + "AudioProfileNotSupported", + "AudioSampleRateNotSupported", + "AudioBitDepthNotSupported", + "ContainerBitrateExceedsLimit", + "VideoBitrateNotSupported", + "AudioBitrateNotSupported", + "UnknownVideoStreamInfo", + "UnknownAudioStreamInfo", + "DirectPlayError", + "VideoRangeTypeNotSupported", + "VideoCodecTagNotSupported" + ], "type": "array", "items": { "$ref": "#/components/schemas/TranscodeReason" - } + }, + "description": "Gets or sets the transcode reasons." } }, - "additionalProperties": false + "additionalProperties": false, + "description": "Class holding information on a runnning transcode." }, "TranscodingProfile": { "type": "object", "properties": { "Container": { - "type": "string" + "type": "string", + "description": "Gets or sets the container." }, "Type": { + "enum": [ + "Audio", + "Video", + "Photo", + "Subtitle", + "Lyric" + ], "allOf": [ { "$ref": "#/components/schemas/DlnaProfileType" } - ] + ], + "description": "Gets or sets the DLNA profile type." }, "VideoCodec": { - "type": "string" + "type": "string", + "description": "Gets or sets the video codec." }, "AudioCodec": { - "type": "string" + "type": "string", + "description": "Gets or sets the audio codec." }, "Protocol": { - "type": "string" + "enum": [ + "http", + "hls" + ], + "allOf": [ + { + "$ref": "#/components/schemas/MediaStreamProtocol" + } + ], + "description": "Media streaming protocol.\r\nLowercase for backwards compatibility." }, "EstimateContentLength": { "type": "boolean", + "description": "Gets or sets a value indicating whether the content length should be estimated.", "default": false }, "EnableMpegtsM2TsMode": { "type": "boolean", + "description": "Gets or sets a value indicating whether M2TS mode is enabled.", "default": false }, "TranscodeSeekInfo": { + "enum": [ + "Auto", + "Bytes" + ], "allOf": [ { "$ref": "#/components/schemas/TranscodeSeekInfo" } ], + "description": "Gets or sets the transcoding seek info mode.", "default": "Auto" }, "CopyTimestamps": { "type": "boolean", + "description": "Gets or sets a value indicating whether timestamps should be copied.", "default": false }, "Context": { + "enum": [ + "Streaming", + "Static" + ], "allOf": [ { "$ref": "#/components/schemas/EncodingContext" } ], + "description": "Gets or sets the encoding context.", "default": "Streaming" }, "EnableSubtitlesInManifest": { "type": "boolean", + "description": "Gets or sets a value indicating whether subtitles are allowed in the manifest.", "default": false }, "MaxAudioChannels": { "type": "string", + "description": "Gets or sets the maximum audio channels.", "nullable": true }, "MinSegments": { "type": "integer", + "description": "Gets or sets the minimum amount of segments.", "format": "int32", "default": 0 }, "SegmentLength": { "type": "integer", + "description": "Gets or sets the segment length.", "format": "int32", "default": 0 }, "BreakOnNonKeyFrames": { "type": "boolean", + "description": "Gets or sets a value indicating whether breaking the video stream on non-keyframes is supported.", "default": false }, "Conditions": { "type": "array", "items": { "$ref": "#/components/schemas/ProfileCondition" - } + }, + "description": "Gets or sets the profile conditions." + }, + "EnableAudioVbrEncoding": { + "type": "boolean", + "description": "Gets or sets a value indicating whether variable bitrate encoding is supported.", + "default": true } }, - "additionalProperties": false + "additionalProperties": false, + "description": "A class for transcoding profile information." }, "TransportStreamTimestamp": { "enum": [ @@ -57202,6 +57893,141 @@ ], "type": "string" }, + "TrickplayInfo": { + "type": "object", + "properties": { + "Width": { + "type": "integer", + "description": "Gets or sets width of an individual thumbnail.", + "format": "int32" + }, + "Height": { + "type": "integer", + "description": "Gets or sets height of an individual thumbnail.", + "format": "int32" + }, + "TileWidth": { + "type": "integer", + "description": "Gets or sets amount of thumbnails per row.", + "format": "int32" + }, + "TileHeight": { + "type": "integer", + "description": "Gets or sets amount of thumbnails per column.", + "format": "int32" + }, + "ThumbnailCount": { + "type": "integer", + "description": "Gets or sets total amount of non-black thumbnails.", + "format": "int32" + }, + "Interval": { + "type": "integer", + "description": "Gets or sets interval in milliseconds between each trickplay thumbnail.", + "format": "int32" + }, + "Bandwidth": { + "type": "integer", + "description": "Gets or sets peak bandwith usage in bits per second.", + "format": "int32" + } + }, + "additionalProperties": false, + "description": "An entity representing the metadata for a group of trickplay tiles." + }, + "TrickplayOptions": { + "type": "object", + "properties": { + "EnableHwAcceleration": { + "type": "boolean", + "description": "Gets or sets a value indicating whether or not to use HW acceleration." + }, + "EnableHwEncoding": { + "type": "boolean", + "description": "Gets or sets a value indicating whether or not to use HW accelerated MJPEG encoding." + }, + "EnableKeyFrameOnlyExtraction": { + "type": "boolean", + "description": "Gets or sets a value indicating whether to only extract key frames.\r\nSignificantly faster, but is not compatible with all decoders and/or video files." + }, + "ScanBehavior": { + "enum": [ + "Blocking", + "NonBlocking" + ], + "allOf": [ + { + "$ref": "#/components/schemas/TrickplayScanBehavior" + } + ], + "description": "Gets or sets the behavior used by trickplay provider on library scan/update." + }, + "ProcessPriority": { + "enum": [ + "Normal", + "Idle", + "High", + "RealTime", + "BelowNormal", + "AboveNormal" + ], + "allOf": [ + { + "$ref": "#/components/schemas/ProcessPriorityClass" + } + ], + "description": "Gets or sets the process priority for the ffmpeg process." + }, + "Interval": { + "type": "integer", + "description": "Gets or sets the interval, in ms, between each new trickplay image.", + "format": "int32" + }, + "WidthResolutions": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "description": "Gets or sets the target width resolutions, in px, to generates preview images for." + }, + "TileWidth": { + "type": "integer", + "description": "Gets or sets number of tile images to allow in X dimension.", + "format": "int32" + }, + "TileHeight": { + "type": "integer", + "description": "Gets or sets number of tile images to allow in Y dimension.", + "format": "int32" + }, + "Qscale": { + "type": "integer", + "description": "Gets or sets the ffmpeg output quality level.", + "format": "int32" + }, + "JpegQuality": { + "type": "integer", + "description": "Gets or sets the jpeg quality to use for image tiles.", + "format": "int32" + }, + "ProcessThreads": { + "type": "integer", + "description": "Gets or sets the number of threads to be used by ffmpeg.", + "format": "int32" + } + }, + "additionalProperties": false, + "description": "Class TrickplayOptions." + }, + "TrickplayScanBehavior": { + "enum": [ + "Blocking", + "NonBlocking" + ], + "type": "string", + "description": "Enum TrickplayScanBehavior." + }, "TunerChannelMapping": { "type": "object", "properties": { @@ -57253,6 +58079,16 @@ "AllowHWTranscoding": { "type": "boolean" }, + "AllowFmp4TranscodingContainer": { + "type": "boolean" + }, + "AllowStreamSharing": { + "type": "boolean" + }, + "FallbackMaxStreamingBitrate": { + "type": "integer", + "format": "int32" + }, "EnableStreamLooping": { "type": "boolean" }, @@ -57267,6 +58103,9 @@ "UserAgent": { "type": "string", "nullable": true + }, + "IgnoreDts": { + "type": "boolean" } }, "additionalProperties": false @@ -57375,26 +58214,119 @@ "additionalProperties": false, "description": "Update library options dto." }, - "UpdateUserEasyPassword": { + "UpdatePlaylistDto": { "type": "object", "properties": { - "NewPassword": { + "Name": { "type": "string", - "description": "Gets or sets the new sha1-hashed password.", + "description": "Gets or sets the name of the new playlist.", "nullable": true }, - "NewPw": { - "type": "string", - "description": "Gets or sets the new password.", + "Ids": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "description": "Gets or sets item ids of the playlist.", "nullable": true }, - "ResetPassword": { + "Users": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PlaylistUserPermissions" + }, + "description": "Gets or sets the playlist users.", + "nullable": true + }, + "IsPublic": { "type": "boolean", - "description": "Gets or sets a value indicating whether to reset the password." + "description": "Gets or sets a value indicating whether the playlist is public.", + "nullable": true } }, "additionalProperties": false, - "description": "The update user easy password request body." + "description": "Update existing playlist dto. Fields set to `null` will not be updated and keep their current values." + }, + "UpdatePlaylistUserDto": { + "type": "object", + "properties": { + "CanEdit": { + "type": "boolean", + "description": "Gets or sets a value indicating whether the user can edit the playlist.", + "nullable": true + } + }, + "additionalProperties": false, + "description": "Update existing playlist user dto. Fields set to `null` will not be updated and keep their current values." + }, + "UpdateUserItemDataDto": { + "type": "object", + "properties": { + "Rating": { + "type": "number", + "description": "Gets or sets the rating.", + "format": "double", + "nullable": true + }, + "PlayedPercentage": { + "type": "number", + "description": "Gets or sets the played percentage.", + "format": "double", + "nullable": true + }, + "UnplayedItemCount": { + "type": "integer", + "description": "Gets or sets the unplayed item count.", + "format": "int32", + "nullable": true + }, + "PlaybackPositionTicks": { + "type": "integer", + "description": "Gets or sets the playback position ticks.", + "format": "int64", + "nullable": true + }, + "PlayCount": { + "type": "integer", + "description": "Gets or sets the play count.", + "format": "int32", + "nullable": true + }, + "IsFavorite": { + "type": "boolean", + "description": "Gets or sets a value indicating whether this instance is favorite.", + "nullable": true + }, + "Likes": { + "type": "boolean", + "description": "Gets or sets a value indicating whether this MediaBrowser.Model.Dto.UpdateUserItemDataDto is likes.", + "nullable": true + }, + "LastPlayedDate": { + "type": "string", + "description": "Gets or sets the last played date.", + "format": "date-time", + "nullable": true + }, + "Played": { + "type": "boolean", + "description": "Gets or sets a value indicating whether this MediaBrowser.Model.Dto.UserItemDataDto is played.", + "nullable": true + }, + "Key": { + "type": "string", + "description": "Gets or sets the key.", + "nullable": true + }, + "ItemId": { + "type": "string", + "description": "Gets or sets the item identifier.", + "nullable": true + } + }, + "additionalProperties": false, + "description": "This is used by the api to get information about a item user data." }, "UpdateUserPassword": { "type": "object", @@ -57427,6 +58359,7 @@ "Data", "Format", "IsForced", + "IsHearingImpaired", "Language" ], "type": "object", @@ -57443,6 +58376,10 @@ "type": "boolean", "description": "Gets or sets a value indicating whether the subtitle is forced." }, + "IsHearingImpaired": { + "type": "boolean", + "description": "Gets or sets a value indicating whether the subtitle is for hearing impaired." + }, "Data": { "type": "string", "description": "Gets or sets the subtitle data." @@ -57474,10 +58411,18 @@ "GroupedFolders": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "uuid" } }, "SubtitleMode": { + "enum": [ + "Default", + "Always", + "OnlyForced", + "None", + "Smart" + ], "allOf": [ { "$ref": "#/components/schemas/SubtitlePlaybackMode" @@ -57494,19 +58439,22 @@ "OrderedViews": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "uuid" } }, "LatestItemsExcludes": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "uuid" } }, "MyMediaExcludes": { "type": "array", "items": { - "type": "string" + "type": "string", + "format": "uuid" } }, "HidePlayedInLatest": { @@ -57520,11 +58468,165 @@ }, "EnableNextEpisodeAutoPlay": { "type": "boolean" + }, + "CastReceiverId": { + "type": "string", + "description": "Gets or sets the id of the selected cast receiver.", + "nullable": true } }, "additionalProperties": false, "description": "Class UserConfiguration." }, + "UserDataChangedMessage": { + "type": "object", + "properties": { + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/UserDataChangeInfo" + } + ], + "description": "Class UserDataChangeInfo.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "UserDataChanged", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "User data changed message." + }, + "UserDataChangeInfo": { + "type": "object", + "properties": { + "UserId": { + "type": "string", + "description": "Gets or sets the user id.", + "format": "uuid" + }, + "UserDataList": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserItemDataDto" + }, + "description": "Gets or sets the user data list." + } + }, + "additionalProperties": false, + "description": "Class UserDataChangeInfo." + }, + "UserDeletedMessage": { + "type": "object", + "properties": { + "Data": { + "type": "string", + "description": "Gets or sets the data.", + "format": "uuid" + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "UserDeleted", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "User deleted message." + }, "UserDto": { "type": "object", "properties": { @@ -57563,7 +58665,8 @@ }, "HasConfiguredEasyPassword": { "type": "boolean", - "description": "Gets or sets a value indicating whether this instance has configured easy password." + "description": "Gets or sets a value indicating whether this instance has configured easy password.", + "deprecated": true }, "EnableAutoLogin": { "type": "boolean", @@ -57662,19 +58765,22 @@ }, "Key": { "type": "string", - "description": "Gets or sets the key.", - "nullable": true + "description": "Gets or sets the key." }, "ItemId": { "type": "string", "description": "Gets or sets the item identifier.", - "nullable": true + "format": "uuid" } }, "additionalProperties": false, "description": "Class UserItemDataDto." }, "UserPolicy": { + "required": [ + "AuthenticationProviderId", + "PasswordResetProviderId" + ], "type": "object", "properties": { "IsAdministrator": { @@ -57685,6 +58791,21 @@ "type": "boolean", "description": "Gets or sets a value indicating whether this instance is hidden." }, + "EnableCollectionManagement": { + "type": "boolean", + "description": "Gets or sets a value indicating whether this instance can manage collections.", + "default": false + }, + "EnableSubtitleManagement": { + "type": "boolean", + "description": "Gets or sets a value indicating whether this instance can manage subtitles.", + "default": false + }, + "EnableLyricManagement": { + "type": "boolean", + "description": "Gets or sets a value indicating whether this user can manage lyrics.", + "default": false + }, "IsDisabled": { "type": "boolean", "description": "Gets or sets a value indicating whether this instance is disabled." @@ -57702,6 +58823,13 @@ }, "nullable": true }, + "AllowedTags": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, "EnableUserPreferenceAccess": { "type": "boolean" }, @@ -57837,24 +58965,94 @@ "format": "int32" }, "AuthenticationProviderId": { - "type": "string", - "nullable": true + "type": "string" }, "PasswordResetProviderId": { - "type": "string", - "nullable": true + "type": "string" }, "SyncPlayAccess": { + "enum": [ + "CreateAndJoinGroups", + "JoinGroups", + "None" + ], "allOf": [ { "$ref": "#/components/schemas/SyncPlayUserAccessType" } ], - "description": "Gets or sets a value indicating what SyncPlay features the user can access." + "description": "Enum SyncPlayUserAccessType." } }, "additionalProperties": false }, + "UserUpdatedMessage": { + "type": "object", + "properties": { + "Data": { + "allOf": [ + { + "$ref": "#/components/schemas/UserDto" + } + ], + "description": "Class UserDto.", + "nullable": true + }, + "MessageId": { + "type": "string", + "description": "Gets or sets the message id.", + "format": "uuid" + }, + "MessageType": { + "enum": [ + "ForceKeepAlive", + "GeneralCommand", + "UserDataChanged", + "Sessions", + "Play", + "SyncPlayCommand", + "SyncPlayGroupUpdate", + "Playstate", + "RestartRequired", + "ServerShuttingDown", + "ServerRestarting", + "LibraryChanged", + "UserDeleted", + "UserUpdated", + "SeriesTimerCreated", + "TimerCreated", + "SeriesTimerCancelled", + "TimerCancelled", + "RefreshProgress", + "ScheduledTaskEnded", + "PackageInstallationCancelled", + "PackageInstallationFailed", + "PackageInstallationCompleted", + "PackageInstalling", + "PackageUninstalled", + "ActivityLogEntry", + "ScheduledTasksInfo", + "ActivityLogEntryStart", + "ActivityLogEntryStop", + "SessionsStart", + "SessionsStop", + "ScheduledTasksInfoStart", + "ScheduledTasksInfoStop", + "KeepAlive" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SessionMessageType" + } + ], + "description": "The different kinds of messages that are used in the WebSocket api.", + "default": "UserUpdated", + "readOnly": true + } + }, + "additionalProperties": false, + "description": "User updated message." + }, "UtcTimeResponse": { "type": "object", "properties": { @@ -57952,6 +59150,30 @@ ], "type": "string" }, + "VideoRange": { + "enum": [ + "Unknown", + "SDR", + "HDR" + ], + "type": "string", + "description": "An enum representing video ranges." + }, + "VideoRangeType": { + "enum": [ + "Unknown", + "SDR", + "HDR10", + "HLG", + "DOVI", + "DOVIWithHDR10", + "DOVIWithHLG", + "DOVIWithSDR", + "HDR10Plus" + ], + "type": "string", + "description": "An enum representing types of video ranges." + }, "VideoType": { "enum": [ "VideoFile", @@ -57979,6 +59201,16 @@ "nullable": true }, "CollectionType": { + "enum": [ + "movies", + "tvshows", + "music", + "musicvideos", + "homevideos", + "boxsets", + "books", + "mixed" + ], "allOf": [ { "$ref": "#/components/schemas/CollectionTypeOptions" @@ -58035,6 +59267,18 @@ "additionalProperties": false, "description": "Provides the MAC address and port for wake-on-LAN functionality." }, + "WebSocketMessage": { + "type": "object", + "oneOf": [ + { + "$ref": "#/components/schemas/InboundWebSocketMessage" + }, + { + "$ref": "#/components/schemas/OutboundWebSocketMessage" + } + ], + "description": "Represents the possible websocket types" + }, "XbmcMetadataOptions": { "type": "object", "properties": { @@ -58056,23 +59300,6 @@ } }, "additionalProperties": false - }, - "XmlAttribute": { - "type": "object", - "properties": { - "Name": { - "type": "string", - "description": "Gets or sets the name of the attribute.", - "nullable": true - }, - "Value": { - "type": "string", - "description": "Gets or sets the value of the attribute.", - "nullable": true - } - }, - "additionalProperties": false, - "description": "Defines the MediaBrowser.Model.Dlna.XmlAttribute." } }, "securitySchemes": { diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/jellyfin-openapi-10.8.13.json b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/specifications/json/jellyfin-openapi-10.8.13.json similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/jellyfin-openapi-10.8.13.json rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/specifications/json/jellyfin-openapi-10.8.13.json index 2992207ced9..9b60e838b1d 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/jellyfin-openapi-10.8.13.json +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/specifications/json/jellyfin-openapi-10.8.13.json @@ -7,7 +7,7 @@ }, "servers": [ { - "url": "http://nuc.ehrendingen:8096" + "url": "http://localhost" } ], "paths": { @@ -575,6 +575,70 @@ ] } }, + "/Artists/{name}": { + "get": { + "tags": [ + "Artists" + ], + "summary": "Gets an artist by name.", + "operationId": "GetArtistByName", + "parameters": [ + { + "name": "name", + "in": "path", + "description": "Studio name.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "userId", + "in": "query", + "description": "Optional. Filter by user id, and attach user data.", + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Artist returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/Artists/AlbumArtists": { "get": { "tags": [ @@ -940,70 +1004,6 @@ ] } }, - "/Artists/{name}": { - "get": { - "tags": [ - "Artists" - ], - "summary": "Gets an artist by name.", - "operationId": "GetArtistByName", - "parameters": [ - { - "name": "name", - "in": "path", - "description": "Studio name.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "query", - "description": "Optional. Filter by user id, and attach user data.", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Artist returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Audio/{itemId}/stream": { "get": { "tags": [ @@ -3026,166 +3026,6 @@ ] } }, - "/Channels/Features": { - "get": { - "tags": [ - "Channels" - ], - "summary": "Get all channel features.", - "operationId": "GetAllChannelFeatures", - "responses": { - "200": { - "description": "All channel features returned.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ChannelFeatures" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ChannelFeatures" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ChannelFeatures" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Channels/Items/Latest": { - "get": { - "tags": [ - "Channels" - ], - "summary": "Gets latest channel items.", - "operationId": "GetLatestChannelItems", - "parameters": [ - { - "name": "userId", - "in": "query", - "description": "Optional. User Id.", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "startIndex", - "in": "query", - "description": "Optional. The record index to start at. All items with a lower index will be dropped from the results.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "limit", - "in": "query", - "description": "Optional. The maximum number of records to return.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "filters", - "in": "query", - "description": "Optional. Specify additional filters to apply.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemFilter" - } - } - }, - { - "name": "fields", - "in": "query", - "description": "Optional. Specify additional fields of information to return in the output.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemFields" - } - } - }, - { - "name": "channelIds", - "in": "query", - "description": "Optional. Specify one or more channel id's, comma delimited.", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - } - ], - "responses": { - "200": { - "description": "Latest channel items returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Channels/{channelId}/Features": { "get": { "tags": [ @@ -3378,6 +3218,166 @@ ] } }, + "/Channels/Features": { + "get": { + "tags": [ + "Channels" + ], + "summary": "Get all channel features.", + "operationId": "GetAllChannelFeatures", + "responses": { + "200": { + "description": "All channel features returned.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ChannelFeatures" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ChannelFeatures" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ChannelFeatures" + } + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Channels/Items/Latest": { + "get": { + "tags": [ + "Channels" + ], + "summary": "Gets latest channel items.", + "operationId": "GetLatestChannelItems", + "parameters": [ + { + "name": "userId", + "in": "query", + "description": "Optional. User Id.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "startIndex", + "in": "query", + "description": "Optional. The record index to start at. All items with a lower index will be dropped from the results.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "limit", + "in": "query", + "description": "Optional. The maximum number of records to return.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filters", + "in": "query", + "description": "Optional. Specify additional filters to apply.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemFilter" + } + } + }, + { + "name": "fields", + "in": "query", + "description": "Optional. Specify additional fields of information to return in the output.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemFields" + } + } + }, + { + "name": "channelIds", + "in": "query", + "description": "Optional. Specify one or more channel id's, comma delimited.", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + } + } + ], + "responses": { + "200": { + "description": "Latest channel items returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/ClientLog/Document": { "post": { "tags": [ @@ -3760,51 +3760,6 @@ ] } }, - "/System/Configuration/MetadataOptions/Default": { - "get": { - "tags": [ - "Configuration" - ], - "summary": "Gets a default MetadataOptions object.", - "operationId": "GetDefaultMetadataOptions", - "responses": { - "200": { - "description": "Metadata options returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MetadataOptions" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/MetadataOptions" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/MetadataOptions" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation", - "DefaultAuthorization" - ] - } - ] - } - }, "/System/Configuration/{key}": { "get": { "tags": [ @@ -3903,6 +3858,51 @@ ] } }, + "/System/Configuration/MetadataOptions/Default": { + "get": { + "tags": [ + "Configuration" + ], + "summary": "Gets a default MetadataOptions object.", + "operationId": "GetDefaultMetadataOptions", + "responses": { + "200": { + "description": "Metadata options returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MetadataOptions" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/MetadataOptions" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/MetadataOptions" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation", + "DefaultAuthorization" + ] + } + ] + } + }, "/System/MediaEncoder/Path": { "post": { "tags": [ @@ -4615,18 +4615,133 @@ ] } }, - "/Dlna/icons/{fileName}": { + "/Dlna/ProfileInfos": { "get": { "tags": [ - "DlnaServer" + "Dlna" ], - "summary": "Gets a server icon.", - "operationId": "GetIcon", + "summary": "Get profile infos.", + "operationId": "GetProfileInfos", + "responses": { + "200": { + "description": "Device profile infos returned.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DeviceProfileInfo" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DeviceProfileInfo" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DeviceProfileInfo" + } + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" + ] + } + ] + } + }, + "/Dlna/Profiles": { + "post": { + "tags": [ + "Dlna" + ], + "summary": "Creates a profile.", + "operationId": "CreateProfile", + "requestBody": { + "description": "Device profile.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/DeviceProfile" + } + ], + "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/DeviceProfile" + } + ], + "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/DeviceProfile" + } + ], + "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." + } + } + } + }, + "responses": { + "204": { + "description": "Device profile created." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" + ] + } + ] + } + }, + "/Dlna/Profiles/{profileId}": { + "get": { + "tags": [ + "Dlna" + ], + "summary": "Gets a single profile.", + "operationId": "GetProfile", "parameters": [ { - "name": "fileName", + "name": "profileId", "in": "path", - "description": "The icon filename.", + "description": "Profile Id.", "required": true, "schema": { "type": "string" @@ -4635,18 +4750,27 @@ ], "responses": { "200": { - "description": "Request processed.", + "description": "Device profile returned.", "content": { - "image/*": { + "application/json": { "schema": { - "type": "string", - "format": "binary" + "$ref": "#/components/schemas/DeviceProfile" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/DeviceProfile" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/DeviceProfile" } } } }, "404": { - "description": "Not Found.", + "description": "Device profile not found.", "content": { "application/json": { "schema": { @@ -4665,8 +4789,61 @@ } } }, - "503": { - "description": "DLNA is disabled." + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" + ] + } + ] + }, + "delete": { + "tags": [ + "Dlna" + ], + "summary": "Deletes a profile.", + "operationId": "DeleteProfile", + "parameters": [ + { + "name": "profileId", + "in": "path", + "description": "Profile id.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Device profile deleted." + }, + "404": { + "description": "Device profile not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } }, "401": { "description": "Unauthorized" @@ -4678,7 +4855,142 @@ "security": [ { "CustomAuthentication": [ - "AnonymousLanAccessPolicy" + "RequiresElevation" + ] + } + ] + }, + "post": { + "tags": [ + "Dlna" + ], + "summary": "Updates a profile.", + "operationId": "UpdateProfile", + "parameters": [ + { + "name": "profileId", + "in": "path", + "description": "Profile id.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "Device profile.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/DeviceProfile" + } + ], + "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/DeviceProfile" + } + ], + "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/DeviceProfile" + } + ], + "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." + } + } + } + }, + "responses": { + "204": { + "description": "Device profile updated." + }, + "404": { + "description": "Device profile not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" + ] + } + ] + } + }, + "/Dlna/Profiles/Default": { + "get": { + "tags": [ + "Dlna" + ], + "summary": "Gets the default profile.", + "operationId": "GetDefaultProfile", + "responses": { + "200": { + "description": "Default device profile returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeviceProfile" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/DeviceProfile" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/DeviceProfile" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" ] } ] @@ -5076,6 +5388,182 @@ ] } }, + "/Dlna/{serverId}/description": { + "get": { + "tags": [ + "DlnaServer" + ], + "summary": "Get Description Xml.", + "operationId": "GetDescriptionXml", + "parameters": [ + { + "name": "serverId", + "in": "path", + "description": "Server UUID.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Description xml returned.", + "content": { + "text/xml": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + }, + "503": { + "description": "DLNA is disabled." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "AnonymousLanAccessPolicy" + ] + } + ] + } + }, + "/Dlna/{serverId}/description.xml": { + "get": { + "tags": [ + "DlnaServer" + ], + "summary": "Get Description Xml.", + "operationId": "GetDescriptionXml_2", + "parameters": [ + { + "name": "serverId", + "in": "path", + "description": "Server UUID.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Description xml returned.", + "content": { + "text/xml": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + }, + "503": { + "description": "DLNA is disabled." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "AnonymousLanAccessPolicy" + ] + } + ] + } + }, + "/Dlna/{serverId}/icons/{fileName}": { + "get": { + "tags": [ + "DlnaServer" + ], + "summary": "Gets a server icon.", + "operationId": "GetIconId", + "parameters": [ + { + "name": "serverId", + "in": "path", + "description": "Server UUID.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "fileName", + "in": "path", + "description": "The icon filename.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Request processed.", + "content": { + "image/*": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + }, + "404": { + "description": "Not Found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "503": { + "description": "DLNA is disabled." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "AnonymousLanAccessPolicy" + ] + } + ] + } + }, "/Dlna/{serverId}/MediaReceiverRegistrar": { "get": { "tags": [ @@ -5272,121 +5760,14 @@ ] } }, - "/Dlna/{serverId}/description": { - "get": { - "tags": [ - "DlnaServer" - ], - "summary": "Get Description Xml.", - "operationId": "GetDescriptionXml", - "parameters": [ - { - "name": "serverId", - "in": "path", - "description": "Server UUID.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Description xml returned.", - "content": { - "text/xml": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "503": { - "description": "DLNA is disabled." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "AnonymousLanAccessPolicy" - ] - } - ] - } - }, - "/Dlna/{serverId}/description.xml": { - "get": { - "tags": [ - "DlnaServer" - ], - "summary": "Get Description Xml.", - "operationId": "GetDescriptionXml_2", - "parameters": [ - { - "name": "serverId", - "in": "path", - "description": "Server UUID.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Description xml returned.", - "content": { - "text/xml": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "503": { - "description": "DLNA is disabled." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "AnonymousLanAccessPolicy" - ] - } - ] - } - }, - "/Dlna/{serverId}/icons/{fileName}": { + "/Dlna/icons/{fileName}": { "get": { "tags": [ "DlnaServer" ], "summary": "Gets a server icon.", - "operationId": "GetIconId", + "operationId": "GetIcon", "parameters": [ - { - "name": "serverId", - "in": "path", - "description": "Server UUID.", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "fileName", "in": "path", @@ -5448,387 +5829,6 @@ ] } }, - "/Dlna/ProfileInfos": { - "get": { - "tags": [ - "Dlna" - ], - "summary": "Get profile infos.", - "operationId": "GetProfileInfos", - "responses": { - "200": { - "description": "Device profile infos returned.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceProfileInfo" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceProfileInfo" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceProfileInfo" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, - "/Dlna/Profiles": { - "post": { - "tags": [ - "Dlna" - ], - "summary": "Creates a profile.", - "operationId": "CreateProfile", - "requestBody": { - "description": "Device profile.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/DeviceProfile" - } - ], - "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/DeviceProfile" - } - ], - "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/DeviceProfile" - } - ], - "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - } - } - } - }, - "responses": { - "204": { - "description": "Device profile created." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, - "/Dlna/Profiles/Default": { - "get": { - "tags": [ - "Dlna" - ], - "summary": "Gets the default profile.", - "operationId": "GetDefaultProfile", - "responses": { - "200": { - "description": "Default device profile returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceProfile" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/DeviceProfile" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/DeviceProfile" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, - "/Dlna/Profiles/{profileId}": { - "get": { - "tags": [ - "Dlna" - ], - "summary": "Gets a single profile.", - "operationId": "GetProfile", - "parameters": [ - { - "name": "profileId", - "in": "path", - "description": "Profile Id.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Device profile returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceProfile" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/DeviceProfile" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/DeviceProfile" - } - } - } - }, - "404": { - "description": "Device profile not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - }, - "delete": { - "tags": [ - "Dlna" - ], - "summary": "Deletes a profile.", - "operationId": "DeleteProfile", - "parameters": [ - { - "name": "profileId", - "in": "path", - "description": "Profile id.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Device profile deleted." - }, - "404": { - "description": "Device profile not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - }, - "post": { - "tags": [ - "Dlna" - ], - "summary": "Updates a profile.", - "operationId": "UpdateProfile", - "parameters": [ - { - "name": "profileId", - "in": "path", - "description": "Profile id.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "description": "Device profile.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/DeviceProfile" - } - ], - "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/DeviceProfile" - } - ], - "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/DeviceProfile" - } - ], - "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - } - } - } - }, - "responses": { - "204": { - "description": "Device profile updated." - }, - "404": { - "description": "Device profile not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, "/Audio/{itemId}/hls1/{playlistId}/{segmentId}.{container}": { "get": { "tags": [ @@ -11186,108 +11186,6 @@ } } }, - "/Videos/ActiveEncodings": { - "delete": { - "tags": [ - "HlsSegment" - ], - "summary": "Stops an active encoding.", - "operationId": "StopEncodingProcess", - "parameters": [ - { - "name": "deviceId", - "in": "query", - "description": "The device id of the client requesting. Used to stop encoding processes when needed.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "playSessionId", - "in": "query", - "description": "The play session id.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Encoding stopped successfully." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Videos/{itemId}/hls/{playlistId}/stream.m3u8": { - "get": { - "tags": [ - "HlsSegment" - ], - "summary": "Gets a hls video playlist.", - "operationId": "GetHlsPlaylistLegacy", - "parameters": [ - { - "name": "itemId", - "in": "path", - "description": "The video id.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "playlistId", - "in": "path", - "description": "The playlist id.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Hls video playlist returned.", - "content": { - "application/x-mpegURL": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Videos/{itemId}/hls/{playlistId}/{segmentId}.{segmentContainer}": { "get": { "tags": [ @@ -11368,39 +11266,41 @@ } } }, - "/Images/General": { + "/Videos/{itemId}/hls/{playlistId}/stream.m3u8": { "get": { "tags": [ - "ImageByName" + "HlsSegment" + ], + "summary": "Gets a hls video playlist.", + "operationId": "GetHlsPlaylistLegacy", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "The video id.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "playlistId", + "in": "path", + "description": "The playlist id.", + "required": true, + "schema": { + "type": "string" + } + } ], - "summary": "Get all general images.", - "operationId": "GetGeneralImages", "responses": { "200": { - "description": "Retrieved list of images.", + "description": "Hls video playlist returned.", "content": { - "application/json": { + "application/x-mpegURL": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageByNameInfo" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageByNameInfo" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageByNameInfo" - } + "type": "string", + "format": "binary" } } } @@ -11421,27 +11321,27 @@ ] } }, - "/Images/General/{name}/{type}": { - "get": { + "/Videos/ActiveEncodings": { + "delete": { "tags": [ - "ImageByName" + "HlsSegment" ], - "summary": "Get General Image.", - "operationId": "GetGeneralImage", + "summary": "Stops an active encoding.", + "operationId": "StopEncodingProcess", "parameters": [ { - "name": "name", - "in": "path", - "description": "The name of the image.", + "name": "deviceId", + "in": "query", + "description": "The device id of the client requesting. Used to stop encoding processes when needed.", "required": true, "schema": { "type": "string" } }, { - "name": "type", - "in": "path", - "description": "Image Type (primary, backdrop, logo, etc).", + "name": "playSessionId", + "in": "query", + "description": "The play session id.", "required": true, "schema": { "type": "string" @@ -11449,81 +11349,8 @@ } ], "responses": { - "200": { - "description": "Image stream retrieved.", - "content": { - "image/*": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "404": { - "description": "Image not found.", - "content": { - "application/octet-stream": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/Images/MediaInfo": { - "get": { - "tags": [ - "ImageByName" - ], - "summary": "Get all media info images.", - "operationId": "GetMediaInfoImages", - "responses": { - "200": { - "description": "Image list retrieved.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageByNameInfo" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageByNameInfo" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageByNameInfo" - } - } - } - } + "204": { + "description": "Encoding stopped successfully." }, "401": { "description": "Unauthorized" @@ -11541,193 +11368,6 @@ ] } }, - "/Images/MediaInfo/{theme}/{name}": { - "get": { - "tags": [ - "ImageByName" - ], - "summary": "Get media info image.", - "operationId": "GetMediaInfoImage", - "parameters": [ - { - "name": "theme", - "in": "path", - "description": "The theme to get the image from.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "in": "path", - "description": "The name of the image.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Image stream retrieved.", - "content": { - "image/*": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "404": { - "description": "Image not found.", - "content": { - "application/octet-stream": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/Images/Ratings": { - "get": { - "tags": [ - "ImageByName" - ], - "summary": "Get all general images.", - "operationId": "GetRatingImages", - "responses": { - "200": { - "description": "Retrieved list of images.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageByNameInfo" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageByNameInfo" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageByNameInfo" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Images/Ratings/{theme}/{name}": { - "get": { - "tags": [ - "ImageByName" - ], - "summary": "Get rating image.", - "operationId": "GetRatingImage", - "parameters": [ - { - "name": "theme", - "in": "path", - "description": "The theme to get the image from.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "in": "path", - "description": "The name of the image.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Image stream retrieved.", - "content": { - "image/*": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "404": { - "description": "Image not found.", - "content": { - "application/octet-stream": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, "/Artists/{name}/Images/{imageType}/{imageIndex}": { "get": { "tags": [ @@ -14568,99 +14208,6 @@ } } }, - "/Items/{itemId}/Images/{imageType}/{imageIndex}/Index": { - "post": { - "tags": [ - "Image" - ], - "summary": "Updates the index for an item image.", - "operationId": "UpdateItemImageIndex", - "parameters": [ - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "imageType", - "in": "path", - "description": "Image type.", - "required": true, - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ImageType" - } - ], - "description": "Enum ImageType." - } - }, - { - "name": "imageIndex", - "in": "path", - "description": "Old image index.", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "newIndex", - "in": "query", - "description": "New image index.", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "responses": { - "204": { - "description": "Image index updated." - }, - "404": { - "description": "Item not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, "/Items/{itemId}/Images/{imageType}/{imageIndex}/{tag}/{format}/{maxWidth}/{maxHeight}/{percentPlayed}/{unplayedCount}": { "get": { "tags": [ @@ -15115,6 +14662,99 @@ } } }, + "/Items/{itemId}/Images/{imageType}/{imageIndex}/Index": { + "post": { + "tags": [ + "Image" + ], + "summary": "Updates the index for an item image.", + "operationId": "UpdateItemImageIndex", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "imageType", + "in": "path", + "description": "Image type.", + "required": true, + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ImageType" + } + ], + "description": "Enum ImageType." + } + }, + { + "name": "imageIndex", + "in": "path", + "description": "Old image index.", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "newIndex", + "in": "query", + "description": "New image index.", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "204": { + "description": "Image index updated." + }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" + ] + } + ] + } + }, "/MusicGenres/{name}/Images/{imageType}": { "get": { "tags": [ @@ -18947,6 +18587,366 @@ ] } }, + "/Images/General": { + "get": { + "tags": [ + "ImageByName" + ], + "summary": "Get all general images.", + "operationId": "GetGeneralImages", + "responses": { + "200": { + "description": "Retrieved list of images.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ImageByNameInfo" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ImageByNameInfo" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ImageByNameInfo" + } + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Images/General/{name}/{type}": { + "get": { + "tags": [ + "ImageByName" + ], + "summary": "Get General Image.", + "operationId": "GetGeneralImage", + "parameters": [ + { + "name": "name", + "in": "path", + "description": "The name of the image.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "path", + "description": "Image Type (primary, backdrop, logo, etc).", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Image stream retrieved.", + "content": { + "image/*": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + }, + "404": { + "description": "Image not found.", + "content": { + "application/octet-stream": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } + } + } + }, + "/Images/MediaInfo": { + "get": { + "tags": [ + "ImageByName" + ], + "summary": "Get all media info images.", + "operationId": "GetMediaInfoImages", + "responses": { + "200": { + "description": "Image list retrieved.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ImageByNameInfo" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ImageByNameInfo" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ImageByNameInfo" + } + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Images/MediaInfo/{theme}/{name}": { + "get": { + "tags": [ + "ImageByName" + ], + "summary": "Get media info image.", + "operationId": "GetMediaInfoImage", + "parameters": [ + { + "name": "theme", + "in": "path", + "description": "The theme to get the image from.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "in": "path", + "description": "The name of the image.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Image stream retrieved.", + "content": { + "image/*": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + }, + "404": { + "description": "Image not found.", + "content": { + "application/octet-stream": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } + } + } + }, + "/Images/Ratings": { + "get": { + "tags": [ + "ImageByName" + ], + "summary": "Get all general images.", + "operationId": "GetRatingImages", + "responses": { + "200": { + "description": "Retrieved list of images.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ImageByNameInfo" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ImageByNameInfo" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ImageByNameInfo" + } + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Images/Ratings/{theme}/{name}": { + "get": { + "tags": [ + "ImageByName" + ], + "summary": "Get rating image.", + "operationId": "GetRatingImage", + "parameters": [ + { + "name": "theme", + "in": "path", + "description": "The theme to get the image from.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "in": "path", + "description": "The name of the image.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Image stream retrieved.", + "content": { + "image/*": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + }, + "404": { + "description": "Image not found.", + "content": { + "application/octet-stream": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } + } + } + }, "/Albums/{id}/InstantMix": { "get": { "tags": [ @@ -19068,6 +19068,127 @@ ] } }, + "/Artists/{id}/InstantMix": { + "get": { + "tags": [ + "InstantMix" + ], + "summary": "Creates an instant playlist based on a given artist.", + "operationId": "GetInstantMixFromArtists", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "The item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "userId", + "in": "query", + "description": "Optional. Filter by user id, and attach user data.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "limit", + "in": "query", + "description": "Optional. The maximum number of records to return.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "fields", + "in": "query", + "description": "Optional. Specify additional fields of information to return in the output.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemFields" + } + } + }, + { + "name": "enableImages", + "in": "query", + "description": "Optional. Include image information in output.", + "schema": { + "type": "boolean" + } + }, + { + "name": "enableUserData", + "in": "query", + "description": "Optional. Include user data.", + "schema": { + "type": "boolean" + } + }, + { + "name": "imageTypeLimit", + "in": "query", + "description": "Optional. The max number of images to return, per image type.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "enableImageTypes", + "in": "query", + "description": "Optional. The image types to include in the output.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ImageType" + } + } + } + ], + "responses": { + "200": { + "description": "Instant playlist returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/Artists/InstantMix": { "get": { "tags": [ @@ -19190,127 +19311,6 @@ ] } }, - "/Artists/{id}/InstantMix": { - "get": { - "tags": [ - "InstantMix" - ], - "summary": "Creates an instant playlist based on a given artist.", - "operationId": "GetInstantMixFromArtists", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "The item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "userId", - "in": "query", - "description": "Optional. Filter by user id, and attach user data.", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "limit", - "in": "query", - "description": "Optional. The maximum number of records to return.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "fields", - "in": "query", - "description": "Optional. Specify additional fields of information to return in the output.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemFields" - } - } - }, - { - "name": "enableImages", - "in": "query", - "description": "Optional. Include image information in output.", - "schema": { - "type": "boolean" - } - }, - { - "name": "enableUserData", - "in": "query", - "description": "Optional. Include user data.", - "schema": { - "type": "boolean" - } - }, - { - "name": "imageTypeLimit", - "in": "query", - "description": "Optional. The max number of images to return, per image type.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "enableImageTypes", - "in": "query", - "description": "Optional. The image types to include in the output.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageType" - } - } - } - ], - "responses": { - "200": { - "description": "Instant playlist returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Items/{id}/InstantMix": { "get": { "tags": [ @@ -19432,127 +19432,6 @@ ] } }, - "/MusicGenres/InstantMix": { - "get": { - "tags": [ - "InstantMix" - ], - "summary": "Creates an instant playlist based on a given genre.", - "operationId": "GetInstantMixFromMusicGenreById", - "parameters": [ - { - "name": "id", - "in": "query", - "description": "The item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "userId", - "in": "query", - "description": "Optional. Filter by user id, and attach user data.", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "limit", - "in": "query", - "description": "Optional. The maximum number of records to return.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "fields", - "in": "query", - "description": "Optional. Specify additional fields of information to return in the output.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemFields" - } - } - }, - { - "name": "enableImages", - "in": "query", - "description": "Optional. Include image information in output.", - "schema": { - "type": "boolean" - } - }, - { - "name": "enableUserData", - "in": "query", - "description": "Optional. Include user data.", - "schema": { - "type": "boolean" - } - }, - { - "name": "imageTypeLimit", - "in": "query", - "description": "Optional. The max number of images to return, per image type.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "enableImageTypes", - "in": "query", - "description": "Optional. The image types to include in the output.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageType" - } - } - } - ], - "responses": { - "200": { - "description": "Instant playlist returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/MusicGenres/{name}/InstantMix": { "get": { "tags": [ @@ -19673,6 +19552,127 @@ ] } }, + "/MusicGenres/InstantMix": { + "get": { + "tags": [ + "InstantMix" + ], + "summary": "Creates an instant playlist based on a given genre.", + "operationId": "GetInstantMixFromMusicGenreById", + "parameters": [ + { + "name": "id", + "in": "query", + "description": "The item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "userId", + "in": "query", + "description": "Optional. Filter by user id, and attach user data.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "limit", + "in": "query", + "description": "Optional. The maximum number of records to return.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "fields", + "in": "query", + "description": "Optional. Specify additional fields of information to return in the output.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemFields" + } + } + }, + { + "name": "enableImages", + "in": "query", + "description": "Optional. Include image information in output.", + "schema": { + "type": "boolean" + } + }, + { + "name": "enableUserData", + "in": "query", + "description": "Optional. Include user data.", + "schema": { + "type": "boolean" + } + }, + { + "name": "imageTypeLimit", + "in": "query", + "description": "Optional. The max number of images to return, per image type.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "enableImageTypes", + "in": "query", + "description": "Optional. The image types to include in the output.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ImageType" + } + } + } + ], + "responses": { + "200": { + "description": "Instant playlist returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/Playlists/{id}/InstantMix": { "get": { "tags": [ @@ -19915,6 +19915,92 @@ ] } }, + "/Items/{itemId}/ExternalIdInfos": { + "get": { + "tags": [ + "ItemLookup" + ], + "summary": "Get the item's external id info.", + "operationId": "GetExternalIdInfos", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "External id info retrieved.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ExternalIdInfo" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ExternalIdInfo" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ExternalIdInfo" + } + } + } + } + }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation", + "DefaultAuthorization" + ] + } + ] + } + }, "/Items/RemoteSearch/Apply/{itemId}": { "post": { "tags": [ @@ -20772,92 +20858,6 @@ ] } }, - "/Items/{itemId}/ExternalIdInfos": { - "get": { - "tags": [ - "ItemLookup" - ], - "summary": "Get the item's external id info.", - "operationId": "GetExternalIdInfos", - "parameters": [ - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "External id info retrieved.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ExternalIdInfo" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ExternalIdInfo" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ExternalIdInfo" - } - } - } - } - }, - "404": { - "description": "Item not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation", - "DefaultAuthorization" - ] - } - ] - } - }, "/Items/{itemId}/Refresh": { "post": { "tags": [ @@ -20961,298 +20961,6 @@ ] } }, - "/Items/{itemId}": { - "post": { - "tags": [ - "ItemUpdate" - ], - "summary": "Updates an item.", - "operationId": "UpdateItem", - "parameters": [ - { - "name": "itemId", - "in": "path", - "description": "The item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "description": "The new item properties.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/BaseItemDto" - } - ], - "description": "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/BaseItemDto" - } - ], - "description": "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/BaseItemDto" - } - ], - "description": "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Item updated." - }, - "404": { - "description": "Item not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - }, - "delete": { - "tags": [ - "Library" - ], - "summary": "Deletes an item from the library and filesystem.", - "operationId": "DeleteItem", - "parameters": [ - { - "name": "itemId", - "in": "path", - "description": "The item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "Item deleted." - }, - "401": { - "description": "Unauthorized access.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Items/{itemId}/ContentType": { - "post": { - "tags": [ - "ItemUpdate" - ], - "summary": "Updates an item's content type.", - "operationId": "UpdateItemContentType", - "parameters": [ - { - "name": "itemId", - "in": "path", - "description": "The item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "contentType", - "in": "query", - "description": "The content type of the item.", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Item content type updated." - }, - "404": { - "description": "Item not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, - "/Items/{itemId}/MetadataEditor": { - "get": { - "tags": [ - "ItemUpdate" - ], - "summary": "Gets metadata editor info for an item.", - "operationId": "GetMetadataEditorInfo", - "parameters": [ - { - "name": "itemId", - "in": "path", - "description": "The item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Item metadata editor returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MetadataEditorInfo" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/MetadataEditorInfo" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/MetadataEditorInfo" - } - } - } - }, - "404": { - "description": "Item not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, "/Items": { "get": { "tags": [ @@ -23196,327 +22904,67 @@ ] } }, - "/Library/VirtualFolders": { - "get": { - "tags": [ - "LibraryStructure" - ], - "summary": "Gets all virtual folders.", - "operationId": "GetVirtualFolders", - "responses": { - "200": { - "description": "Virtual folders retrieved.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualFolderInfo" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualFolderInfo" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualFolderInfo" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "FirstTimeSetupOrElevated" - ] - } - ] - }, + "/Items/{itemId}": { "post": { "tags": [ - "LibraryStructure" + "ItemUpdate" ], - "summary": "Adds a virtual folder.", - "operationId": "AddVirtualFolder", + "summary": "Updates an item.", + "operationId": "UpdateItem", "parameters": [ { - "name": "name", - "in": "query", - "description": "The name of the virtual folder.", + "name": "itemId", + "in": "path", + "description": "The item id.", + "required": true, "schema": { - "type": "string" - } - }, - { - "name": "collectionType", - "in": "query", - "description": "The type of the collection.", - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CollectionTypeOptions" - } - ] - } - }, - { - "name": "paths", - "in": "query", - "description": "The paths of the virtual folder.", - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "refreshLibrary", - "in": "query", - "description": "Whether to refresh the library.", - "schema": { - "type": "boolean", - "default": false + "type": "string", + "format": "uuid" } } ], "requestBody": { - "description": "The library options.", + "description": "The new item properties.", "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "#/components/schemas/AddVirtualFolderDto" + "$ref": "#/components/schemas/BaseItemDto" } ], - "description": "Add virtual folder dto." + "description": "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." } }, "text/json": { "schema": { "allOf": [ { - "$ref": "#/components/schemas/AddVirtualFolderDto" + "$ref": "#/components/schemas/BaseItemDto" } ], - "description": "Add virtual folder dto." + "description": "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." } }, "application/*+json": { "schema": { "allOf": [ { - "$ref": "#/components/schemas/AddVirtualFolderDto" + "$ref": "#/components/schemas/BaseItemDto" } ], - "description": "Add virtual folder dto." + "description": "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." } } - } + }, + "required": true }, "responses": { "204": { - "description": "Folder added." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "FirstTimeSetupOrElevated" - ] - } - ] - }, - "delete": { - "tags": [ - "LibraryStructure" - ], - "summary": "Removes a virtual folder.", - "operationId": "RemoveVirtualFolder", - "parameters": [ - { - "name": "name", - "in": "query", - "description": "The name of the folder.", - "schema": { - "type": "string" - } - }, - { - "name": "refreshLibrary", - "in": "query", - "description": "Whether to refresh the library.", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "204": { - "description": "Folder removed." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "FirstTimeSetupOrElevated" - ] - } - ] - } - }, - "/Library/VirtualFolders/LibraryOptions": { - "post": { - "tags": [ - "LibraryStructure" - ], - "summary": "Update library options.", - "operationId": "UpdateLibraryOptions", - "requestBody": { - "description": "The library name and options.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateLibraryOptionsDto" - } - ], - "description": "Update library options dto." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateLibraryOptionsDto" - } - ], - "description": "Update library options dto." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateLibraryOptionsDto" - } - ], - "description": "Update library options dto." - } - } - } - }, - "responses": { - "204": { - "description": "Library updated." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "FirstTimeSetupOrElevated" - ] - } - ] - } - }, - "/Library/VirtualFolders/Name": { - "post": { - "tags": [ - "LibraryStructure" - ], - "summary": "Renames a virtual folder.", - "operationId": "RenameVirtualFolder", - "parameters": [ - { - "name": "name", - "in": "query", - "description": "The name of the virtual folder.", - "schema": { - "type": "string" - } - }, - { - "name": "newName", - "in": "query", - "description": "The new name.", - "schema": { - "type": "string" - } - }, - { - "name": "refreshLibrary", - "in": "query", - "description": "Whether to refresh the library.", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "204": { - "description": "Folder renamed." + "description": "Item updated." }, "404": { - "description": "Library doesn't exist.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Library already exists.", + "description": "Item not found.", "content": { "application/json": { "schema": { @@ -23545,124 +22993,52 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated" - ] - } - ] - } - }, - "/Library/VirtualFolders/Paths": { - "post": { - "tags": [ - "LibraryStructure" - ], - "summary": "Add a media path to a library.", - "operationId": "AddMediaPath", - "parameters": [ - { - "name": "refreshLibrary", - "in": "query", - "description": "Whether to refresh the library.", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "requestBody": { - "description": "The media path dto.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MediaPathDto" - } - ], - "description": "Media Path dto." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MediaPathDto" - } - ], - "description": "Media Path dto." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/MediaPathDto" - } - ], - "description": "Media Path dto." - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Media path added." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "FirstTimeSetupOrElevated" + "RequiresElevation" ] } ] }, "delete": { "tags": [ - "LibraryStructure" + "Library" ], - "summary": "Remove a media path.", - "operationId": "RemoveMediaPath", + "summary": "Deletes an item from the library and filesystem.", + "operationId": "DeleteItem", "parameters": [ { - "name": "name", - "in": "query", - "description": "The name of the library.", + "name": "itemId", + "in": "path", + "description": "The item id.", + "required": true, "schema": { - "type": "string" - } - }, - { - "name": "path", - "in": "query", - "description": "The path to remove.", - "schema": { - "type": "string" - } - }, - { - "name": "refreshLibrary", - "in": "query", - "description": "Whether to refresh the library.", - "schema": { - "type": "boolean", - "default": false + "type": "string", + "format": "uuid" } } ], "responses": { "204": { - "description": "Media path removed." + "description": "Item deleted." }, "401": { - "description": "Unauthorized" + "description": "Unauthorized access.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } }, "403": { "description": "Forbidden" @@ -23671,58 +23047,62 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated" + "DefaultAuthorization" ] } ] } }, - "/Library/VirtualFolders/Paths/Update": { + "/Items/{itemId}/ContentType": { "post": { "tags": [ - "LibraryStructure" + "ItemUpdate" ], - "summary": "Updates a media path.", - "operationId": "UpdateMediaPath", - "requestBody": { - "description": "The name of the library and path infos.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateMediaPathRequestDto" - } - ], - "description": "Update library options dto." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateMediaPathRequestDto" - } - ], - "description": "Update library options dto." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateMediaPathRequestDto" - } - ], - "description": "Update library options dto." - } + "summary": "Updates an item's content type.", + "operationId": "UpdateItemContentType", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "The item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" } }, - "required": true - }, + { + "name": "contentType", + "in": "query", + "description": "The content type of the item.", + "schema": { + "type": "string" + } + } + ], "responses": { "204": { - "description": "Media path updated." + "description": "Item content type updated." + }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } }, "401": { "description": "Unauthorized" @@ -23734,7 +23114,83 @@ "security": [ { "CustomAuthentication": [ - "FirstTimeSetupOrElevated" + "RequiresElevation" + ] + } + ] + } + }, + "/Items/{itemId}/MetadataEditor": { + "get": { + "tags": [ + "ItemUpdate" + ], + "summary": "Gets metadata editor info for an item.", + "operationId": "GetMetadataEditorInfo", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "The item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Item metadata editor returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MetadataEditorInfo" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/MetadataEditorInfo" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/MetadataEditorInfo" + } + } + } + }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" ] } ] @@ -23934,69 +23390,6 @@ ] } }, - "/Items/Counts": { - "get": { - "tags": [ - "Library" - ], - "summary": "Get item counts.", - "operationId": "GetItemCounts", - "parameters": [ - { - "name": "userId", - "in": "query", - "description": "Optional. Get counts from a specific user's library.", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "isFavorite", - "in": "query", - "description": "Optional. Get counts of favorite items.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "Item counts returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ItemCounts" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ItemCounts" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ItemCounts" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Items/{itemId}/Ancestors": { "get": { "tags": [ @@ -24654,6 +24047,69 @@ ] } }, + "/Items/Counts": { + "get": { + "tags": [ + "Library" + ], + "summary": "Get item counts.", + "operationId": "GetItemCounts", + "parameters": [ + { + "name": "userId", + "in": "query", + "description": "Optional. Get counts from a specific user's library.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "isFavorite", + "in": "query", + "description": "Optional. Get counts of favorite items.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "Item counts returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ItemCounts" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ItemCounts" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ItemCounts" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/Libraries/AvailableOptions": { "get": { "tags": [ @@ -25369,6 +24825,550 @@ ] } }, + "/Library/VirtualFolders": { + "get": { + "tags": [ + "LibraryStructure" + ], + "summary": "Gets all virtual folders.", + "operationId": "GetVirtualFolders", + "responses": { + "200": { + "description": "Virtual folders retrieved.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/VirtualFolderInfo" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/VirtualFolderInfo" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/VirtualFolderInfo" + } + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "FirstTimeSetupOrElevated" + ] + } + ] + }, + "post": { + "tags": [ + "LibraryStructure" + ], + "summary": "Adds a virtual folder.", + "operationId": "AddVirtualFolder", + "parameters": [ + { + "name": "name", + "in": "query", + "description": "The name of the virtual folder.", + "schema": { + "type": "string" + } + }, + { + "name": "collectionType", + "in": "query", + "description": "The type of the collection.", + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/CollectionTypeOptions" + } + ] + } + }, + { + "name": "paths", + "in": "query", + "description": "The paths of the virtual folder.", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "refreshLibrary", + "in": "query", + "description": "Whether to refresh the library.", + "schema": { + "type": "boolean", + "default": false + } + } + ], + "requestBody": { + "description": "The library options.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/AddVirtualFolderDto" + } + ], + "description": "Add virtual folder dto." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/AddVirtualFolderDto" + } + ], + "description": "Add virtual folder dto." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/AddVirtualFolderDto" + } + ], + "description": "Add virtual folder dto." + } + } + } + }, + "responses": { + "204": { + "description": "Folder added." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "FirstTimeSetupOrElevated" + ] + } + ] + }, + "delete": { + "tags": [ + "LibraryStructure" + ], + "summary": "Removes a virtual folder.", + "operationId": "RemoveVirtualFolder", + "parameters": [ + { + "name": "name", + "in": "query", + "description": "The name of the folder.", + "schema": { + "type": "string" + } + }, + { + "name": "refreshLibrary", + "in": "query", + "description": "Whether to refresh the library.", + "schema": { + "type": "boolean", + "default": false + } + } + ], + "responses": { + "204": { + "description": "Folder removed." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "FirstTimeSetupOrElevated" + ] + } + ] + } + }, + "/Library/VirtualFolders/LibraryOptions": { + "post": { + "tags": [ + "LibraryStructure" + ], + "summary": "Update library options.", + "operationId": "UpdateLibraryOptions", + "requestBody": { + "description": "The library name and options.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdateLibraryOptionsDto" + } + ], + "description": "Update library options dto." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdateLibraryOptionsDto" + } + ], + "description": "Update library options dto." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdateLibraryOptionsDto" + } + ], + "description": "Update library options dto." + } + } + } + }, + "responses": { + "204": { + "description": "Library updated." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "FirstTimeSetupOrElevated" + ] + } + ] + } + }, + "/Library/VirtualFolders/Name": { + "post": { + "tags": [ + "LibraryStructure" + ], + "summary": "Renames a virtual folder.", + "operationId": "RenameVirtualFolder", + "parameters": [ + { + "name": "name", + "in": "query", + "description": "The name of the virtual folder.", + "schema": { + "type": "string" + } + }, + { + "name": "newName", + "in": "query", + "description": "The new name.", + "schema": { + "type": "string" + } + }, + { + "name": "refreshLibrary", + "in": "query", + "description": "Whether to refresh the library.", + "schema": { + "type": "boolean", + "default": false + } + } + ], + "responses": { + "204": { + "description": "Folder renamed." + }, + "404": { + "description": "Library doesn't exist.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "409": { + "description": "Library already exists.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "FirstTimeSetupOrElevated" + ] + } + ] + } + }, + "/Library/VirtualFolders/Paths": { + "post": { + "tags": [ + "LibraryStructure" + ], + "summary": "Add a media path to a library.", + "operationId": "AddMediaPath", + "parameters": [ + { + "name": "refreshLibrary", + "in": "query", + "description": "Whether to refresh the library.", + "schema": { + "type": "boolean", + "default": false + } + } + ], + "requestBody": { + "description": "The media path dto.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/MediaPathDto" + } + ], + "description": "Media Path dto." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/MediaPathDto" + } + ], + "description": "Media Path dto." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/MediaPathDto" + } + ], + "description": "Media Path dto." + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Media path added." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "FirstTimeSetupOrElevated" + ] + } + ] + }, + "delete": { + "tags": [ + "LibraryStructure" + ], + "summary": "Remove a media path.", + "operationId": "RemoveMediaPath", + "parameters": [ + { + "name": "name", + "in": "query", + "description": "The name of the library.", + "schema": { + "type": "string" + } + }, + { + "name": "path", + "in": "query", + "description": "The path to remove.", + "schema": { + "type": "string" + } + }, + { + "name": "refreshLibrary", + "in": "query", + "description": "Whether to refresh the library.", + "schema": { + "type": "boolean", + "default": false + } + } + ], + "responses": { + "204": { + "description": "Media path removed." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "FirstTimeSetupOrElevated" + ] + } + ] + } + }, + "/Library/VirtualFolders/Paths/Update": { + "post": { + "tags": [ + "LibraryStructure" + ], + "summary": "Updates a media path.", + "operationId": "UpdateMediaPath", + "requestBody": { + "description": "The name of the library and path infos.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdateMediaPathRequestDto" + } + ], + "description": "Update library options dto." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdateMediaPathRequestDto" + } + ], + "description": "Update library options dto." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdateMediaPathRequestDto" + } + ], + "description": "Update library options dto." + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Media path updated." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "FirstTimeSetupOrElevated" + ] + } + ] + } + }, "/LiveTv/ChannelMappingOptions": { "get": { "tags": [ @@ -26685,6 +26685,70 @@ ] } }, + "/LiveTv/Programs/{programId}": { + "get": { + "tags": [ + "LiveTv" + ], + "summary": "Gets a live tv program.", + "operationId": "GetProgram", + "parameters": [ + { + "name": "programId", + "in": "path", + "description": "Program id.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "userId", + "in": "query", + "description": "Optional. Attach user data.", + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Program returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "LiveTvAccess" + ] + } + ] + } + }, "/LiveTv/Programs/Recommended": { "get": { "tags": [ @@ -26873,70 +26937,6 @@ ] } }, - "/LiveTv/Programs/{programId}": { - "get": { - "tags": [ - "LiveTv" - ], - "summary": "Gets a live tv program.", - "operationId": "GetProgram", - "parameters": [ - { - "name": "programId", - "in": "path", - "description": "Program id.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "query", - "description": "Optional. Attach user data.", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Program returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "LiveTvAccess" - ] - } - ] - } - }, "/LiveTv/Recordings": { "get": { "tags": [ @@ -27150,6 +27150,128 @@ ] } }, + "/LiveTv/Recordings/{recordingId}": { + "get": { + "tags": [ + "LiveTv" + ], + "summary": "Gets a live tv recording.", + "operationId": "GetRecording", + "parameters": [ + { + "name": "recordingId", + "in": "path", + "description": "Recording id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "userId", + "in": "query", + "description": "Optional. Attach user data.", + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Recording returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "LiveTvAccess" + ] + } + ] + }, + "delete": { + "tags": [ + "LiveTv" + ], + "summary": "Deletes a live tv recording.", + "operationId": "DeleteRecording", + "parameters": [ + { + "name": "recordingId", + "in": "path", + "description": "Recording id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "204": { + "description": "Recording deleted." + }, + "404": { + "description": "Item not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "LiveTvManagement" + ] + } + ] + } + }, "/LiveTv/Recordings/Folders": { "get": { "tags": [ @@ -27492,128 +27614,6 @@ ] } }, - "/LiveTv/Recordings/{recordingId}": { - "get": { - "tags": [ - "LiveTv" - ], - "summary": "Gets a live tv recording.", - "operationId": "GetRecording", - "parameters": [ - { - "name": "recordingId", - "in": "path", - "description": "Recording id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "userId", - "in": "query", - "description": "Optional. Attach user data.", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Recording returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "LiveTvAccess" - ] - } - ] - }, - "delete": { - "tags": [ - "LiveTv" - ], - "summary": "Deletes a live tv recording.", - "operationId": "DeleteRecording", - "parameters": [ - { - "name": "recordingId", - "in": "path", - "description": "Recording id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "Recording deleted." - }, - "404": { - "description": "Item not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "LiveTvManagement" - ] - } - ] - } - }, "/LiveTv/SeriesTimers": { "get": { "tags": [ @@ -28057,60 +28057,6 @@ ] } }, - "/LiveTv/Timers/Defaults": { - "get": { - "tags": [ - "LiveTv" - ], - "summary": "Gets the default values for a new timer.", - "operationId": "GetDefaultTimer", - "parameters": [ - { - "name": "programId", - "in": "query", - "description": "Optional. To attach default values based on a program.", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Default values returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SeriesTimerInfoDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/SeriesTimerInfoDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/SeriesTimerInfoDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "LiveTvAccess" - ] - } - ] - } - }, "/LiveTv/Timers/{timerId}": { "get": { "tags": [ @@ -28270,6 +28216,60 @@ ] } }, + "/LiveTv/Timers/Defaults": { + "get": { + "tags": [ + "LiveTv" + ], + "summary": "Gets the default values for a new timer.", + "operationId": "GetDefaultTimer", + "parameters": [ + { + "name": "programId", + "in": "query", + "description": "Optional. To attach default values based on a program.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Default values returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SeriesTimerInfoDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/SeriesTimerInfoDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/SeriesTimerInfoDto" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "LiveTvAccess" + ] + } + ] + } + }, "/LiveTv/TunerHosts": { "post": { "tags": [ @@ -28434,6 +28434,44 @@ ] } }, + "/LiveTv/Tuners/{tunerId}/Reset": { + "post": { + "tags": [ + "LiveTv" + ], + "summary": "Resets a tv tuner.", + "operationId": "ResetTuner", + "parameters": [ + { + "name": "tunerId", + "in": "path", + "description": "Tuner id.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Tuner reset." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "LiveTvManagement" + ] + } + ] + } + }, "/LiveTv/Tuners/Discover": { "get": { "tags": [ @@ -28562,44 +28600,6 @@ ] } }, - "/LiveTv/Tuners/{tunerId}/Reset": { - "post": { - "tags": [ - "LiveTv" - ], - "summary": "Resets a tv tuner.", - "operationId": "ResetTuner", - "parameters": [ - { - "name": "tunerId", - "in": "path", - "description": "Tuner id.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Tuner reset." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "LiveTvManagement" - ] - } - ] - } - }, "/Localization/Countries": { "get": { "tags": [ @@ -29747,175 +29747,6 @@ ] } }, - "/Notifications/Admin": { - "post": { - "tags": [ - "Notifications" - ], - "summary": "Sends a notification to all admins.", - "operationId": "CreateAdminNotification", - "requestBody": { - "description": "The notification request.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/AdminNotificationDto" - } - ], - "description": "The admin notification dto." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/AdminNotificationDto" - } - ], - "description": "The admin notification dto." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/AdminNotificationDto" - } - ], - "description": "The admin notification dto." - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Notification sent." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Notifications/Services": { - "get": { - "tags": [ - "Notifications" - ], - "summary": "Gets notification services.", - "operationId": "GetNotificationServices", - "responses": { - "200": { - "description": "All notification services returned.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NameIdPair" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NameIdPair" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NameIdPair" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Notifications/Types": { - "get": { - "tags": [ - "Notifications" - ], - "summary": "Gets notification types.", - "operationId": "GetNotificationTypes", - "responses": { - "200": { - "description": "All notification types returned.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationTypeInfo" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationTypeInfo" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationTypeInfo" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Notifications/{userId}": { "get": { "tags": [ @@ -30098,67 +29929,162 @@ ] } }, - "/Jellyfin.Plugin.OpenSubtitles/ValidateLoginInfo": { + "/Notifications/Admin": { "post": { "tags": [ - "OpenSubtitles" + "Notifications" ], - "operationId": "ValidateLoginInfo", + "summary": "Sends a notification to all admins.", + "operationId": "CreateAdminNotification", "requestBody": { + "description": "The notification request.", "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "#/components/schemas/LoginInfoInput" + "$ref": "#/components/schemas/AdminNotificationDto" } - ] + ], + "description": "The admin notification dto." } }, "text/json": { "schema": { "allOf": [ { - "$ref": "#/components/schemas/LoginInfoInput" + "$ref": "#/components/schemas/AdminNotificationDto" } - ] + ], + "description": "The admin notification dto." } }, "application/*+json": { "schema": { "allOf": [ { - "$ref": "#/components/schemas/LoginInfoInput" + "$ref": "#/components/schemas/AdminNotificationDto" } - ] + ], + "description": "The admin notification dto." } } - } + }, + "required": true }, "responses": { - "200": { - "description": "Success" + "204": { + "description": "Notification sent." }, - "400": { - "description": "Bad Request", + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Notifications/Services": { + "get": { + "tags": [ + "Notifications" + ], + "summary": "Gets notification services.", + "operationId": "GetNotificationServices", + "responses": { + "200": { + "description": "All notification services returned.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProblemDetails" + "type": "array", + "items": { + "$ref": "#/components/schemas/NameIdPair" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NameIdPair" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NameIdPair" + } } } } }, "401": { - "description": "Unauthorized", + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Notifications/Types": { + "get": { + "tags": [ + "Notifications" + ], + "summary": "Gets notification types.", + "operationId": "GetNotificationTypes", + "responses": { + "200": { + "description": "All notification types returned.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProblemDetails" + "type": "array", + "items": { + "$ref": "#/components/schemas/NotificationTypeInfo" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NotificationTypeInfo" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NotificationTypeInfo" + } } } } }, + "401": { + "description": "Unauthorized" + }, "403": { "description": "Forbidden" } @@ -30225,6 +30151,70 @@ ] } }, + "/Packages/{name}": { + "get": { + "tags": [ + "Package" + ], + "summary": "Gets a package by name or assembly GUID.", + "operationId": "GetPackageInfo", + "parameters": [ + { + "name": "name", + "in": "path", + "description": "The name of the package.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "assemblyGuid", + "in": "query", + "description": "The GUID of the associated assembly.", + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Package retrieved.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PackageInfo" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/PackageInfo" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/PackageInfo" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/Packages/Installed/{name}": { "post": { "tags": [ @@ -30349,70 +30339,6 @@ ] } }, - "/Packages/{name}": { - "get": { - "tags": [ - "Package" - ], - "summary": "Gets a package by name or assembly GUID.", - "operationId": "GetPackageInfo", - "parameters": [ - { - "name": "name", - "in": "path", - "description": "The name of the package.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "assemblyGuid", - "in": "query", - "description": "The GUID of the associated assembly.", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Package retrieved.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PackageInfo" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/PackageInfo" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/PackageInfo" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Repositories": { "get": { "tags": [ @@ -30776,772 +30702,6 @@ ] } }, - "/user_usage_stats/DurationHistogramReport": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetDurationHistogramReport", - "parameters": [ - { - "name": "days", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "endDate", - "in": "query", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "filter", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/GetTvShowsReport": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetTvShowsReport", - "parameters": [ - { - "name": "days", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "endDate", - "in": "query", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "timezoneOffset", - "in": "query", - "schema": { - "type": "number", - "format": "float" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/HourlyReport": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetHourlyReport", - "parameters": [ - { - "name": "days", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "endDate", - "in": "query", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "filter", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "timezoneOffset", - "in": "query", - "schema": { - "type": "number", - "format": "float" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/MoviesReport": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetMovieReport", - "parameters": [ - { - "name": "days", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "endDate", - "in": "query", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "timezoneOffset", - "in": "query", - "schema": { - "type": "number", - "format": "float" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/PlayActivity": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetUsageStats", - "parameters": [ - { - "name": "days", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "endDate", - "in": "query", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "filter", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "dataType", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "timezoneOffset", - "in": "query", - "schema": { - "type": "number", - "format": "float" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/load_backup": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "LoadBackup", - "parameters": [ - { - "name": "backupFilePath", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/save_backup": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "SaveBackup", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/submit_custom_query": { - "post": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "CustomQuery", - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomQueryData" - } - ] - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomQueryData" - } - ] - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomQueryData" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/type_filter_list": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetTypeFilterList", - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/user_activity": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetUserReport", - "parameters": [ - { - "name": "days", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "endDate", - "in": "query", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "timezoneOffset", - "in": "query", - "schema": { - "type": "number", - "format": "float" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/user_list": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetJellyfinUsers", - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/user_manage/add": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "IgnoreListAdd", - "parameters": [ - { - "name": "id", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "boolean" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/user_manage/prune": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "PruneUnknownUsers", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "boolean" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/user_manage/remove": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "IgnoreListRemove", - "parameters": [ - { - "name": "id", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "boolean" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/{breakdownType}/BreakdownReport": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetBreakdownReport", - "parameters": [ - { - "name": "breakdownType", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "days", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "endDate", - "in": "query", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "timezoneOffset", - "in": "query", - "schema": { - "type": "number", - "format": "float" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/user_usage_stats/{userId}/{date}/GetItems": { - "get": { - "tags": [ - "PlaybackReportingActivity" - ], - "operationId": "GetUserReportData", - "parameters": [ - { - "name": "userId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "date", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "filter", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "timezoneOffset", - "in": "query", - "schema": { - "type": "number", - "format": "float" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Playlists": { "post": { "tags": [ @@ -32789,199 +31949,6 @@ ] } }, - "/Plugins/{pluginId}/Configuration": { - "get": { - "tags": [ - "Plugins" - ], - "summary": "Gets plugin configuration.", - "operationId": "GetPluginConfiguration", - "parameters": [ - { - "name": "pluginId", - "in": "path", - "description": "Plugin id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Plugin configuration returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BasePluginConfiguration" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BasePluginConfiguration" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BasePluginConfiguration" - } - } - } - }, - "404": { - "description": "Plugin not found or plugin configuration not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - }, - "post": { - "tags": [ - "Plugins" - ], - "summary": "Updates plugin configuration.", - "description": "Accepts plugin configuration as JSON body.", - "operationId": "UpdatePluginConfiguration", - "parameters": [ - { - "name": "pluginId", - "in": "path", - "description": "Plugin id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "Plugin configuration updated." - }, - "404": { - "description": "Plugin not found or plugin does not have configuration.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Plugins/{pluginId}/Manifest": { - "post": { - "tags": [ - "Plugins" - ], - "summary": "Gets a plugin's manifest.", - "operationId": "GetPluginManifest", - "parameters": [ - { - "name": "pluginId", - "in": "path", - "description": "Plugin id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "Plugin manifest returned." - }, - "404": { - "description": "Plugin not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Plugins/{pluginId}/{version}": { "delete": { "tags": [ @@ -33265,6 +32232,199 @@ ] } }, + "/Plugins/{pluginId}/Configuration": { + "get": { + "tags": [ + "Plugins" + ], + "summary": "Gets plugin configuration.", + "operationId": "GetPluginConfiguration", + "parameters": [ + { + "name": "pluginId", + "in": "path", + "description": "Plugin id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Plugin configuration returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BasePluginConfiguration" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BasePluginConfiguration" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BasePluginConfiguration" + } + } + } + }, + "404": { + "description": "Plugin not found or plugin configuration not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + }, + "post": { + "tags": [ + "Plugins" + ], + "summary": "Updates plugin configuration.", + "description": "Accepts plugin configuration as JSON body.", + "operationId": "UpdatePluginConfiguration", + "parameters": [ + { + "name": "pluginId", + "in": "path", + "description": "Plugin id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "204": { + "description": "Plugin configuration updated." + }, + "404": { + "description": "Plugin not found or plugin does not have configuration.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Plugins/{pluginId}/Manifest": { + "post": { + "tags": [ + "Plugins" + ], + "summary": "Gets a plugin's manifest.", + "operationId": "GetPluginManifest", + "parameters": [ + { + "name": "pluginId", + "in": "path", + "description": "Plugin id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "204": { + "description": "Plugin manifest returned." + }, + "404": { + "description": "Plugin not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/QuickConnect/Authorize": { "post": { "tags": [ @@ -33753,1394 +32913,6 @@ ] } }, - "/Reports/Activities": { - "get": { - "tags": [ - "Reports" - ], - "operationId": "GetActivityLogs", - "parameters": [ - { - "name": "reportView", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "displayType", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "hasQueryLimit", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "groupBy", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "reportColumns", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "startIndex", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "minDate", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "includeItemTypes", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Reports/Headers": { - "get": { - "tags": [ - "Reports" - ], - "operationId": "GetReportHeaders", - "parameters": [ - { - "name": "reportView", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "includeItemTypes", - "in": "query", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Reports/Items": { - "get": { - "tags": [ - "Reports" - ], - "operationId": "GetItemReport", - "parameters": [ - { - "name": "hasThemeSong", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasThemeVideo", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasSubtitles", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasSpecialFeature", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasTrailer", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "adjacentTo", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "minIndexNumber", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "parentIndexNumber", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "hasParentalRating", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isHd", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "locationTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "excludeLocationTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isMissing", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isUnaried", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "minCommunityRating", - "in": "query", - "schema": { - "type": "number", - "format": "double" - } - }, - { - "name": "minCriticRating", - "in": "query", - "schema": { - "type": "number", - "format": "double" - } - }, - { - "name": "airedDuringSeason", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "minPremiereDate", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "minDateLastSaved", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "minDateLastSavedForUser", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "maxPremiereDate", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "hasOverview", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasImdbId", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasTmdbId", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasTvdbId", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isInBoxSet", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "excludeItemIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "enableTotalRecordCount", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "startIndex", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "recursive", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "sortOrder", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "parentId", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "fields", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "excludeItemTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "includeItemTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "filters", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isFavorite", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isNotFavorite", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "mediaTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "imageTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "sortBy", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isPlayed", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "genres", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "genreIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "officialRatings", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "tags", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "years", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "enableUserData", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "imageTypeLimit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "enableImageTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "person", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "personIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "personTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "studios", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "studioIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "artists", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "excludeArtistIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "artistIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "albums", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "albumIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "ids", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "videoTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "minOfficialRating", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isLocked", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isPlaceHolder", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasOfficialRating", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "collapseBoxSetItems", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "is3D", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "seriesStatus", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "nameStartsWithOrGreater", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "nameStartsWith", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "nameLessThan", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "reportView", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "displayType", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "hasQueryLimit", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "groupBy", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "reportColumns", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "enableImages", - "in": "query", - "schema": { - "type": "boolean", - "default": true - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReportResult" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Reports/Items/Download": { - "get": { - "tags": [ - "Reports" - ], - "operationId": "GetReportDownload", - "parameters": [ - { - "name": "hasThemeSong", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasThemeVideo", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasSubtitles", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasSpecialFeature", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasTrailer", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "adjacentTo", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "minIndexNumber", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "parentIndexNumber", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "hasParentalRating", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isHd", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "locationTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "excludeLocationTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isMissing", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isUnaried", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "minCommunityRating", - "in": "query", - "schema": { - "type": "number", - "format": "double" - } - }, - { - "name": "minCriticRating", - "in": "query", - "schema": { - "type": "number", - "format": "double" - } - }, - { - "name": "airedDuringSeason", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "minPremiereDate", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "minDateLastSaved", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "minDateLastSavedForUser", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "maxPremiereDate", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "hasOverview", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasImdbId", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasTmdbId", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasTvdbId", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isInBoxSet", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "excludeItemIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "enableTotalRecordCount", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "startIndex", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "limit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "recursive", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "sortOrder", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "parentId", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "fields", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "excludeItemTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "includeItemTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "filters", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isFavorite", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isNotFavorite", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "mediaTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "imageTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "sortBy", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isPlayed", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "genres", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "genreIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "officialRatings", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "tags", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "years", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "enableUserData", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "imageTypeLimit", - "in": "query", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "enableImageTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "person", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "personIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "personTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "studios", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "studioIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "artists", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "excludeArtistIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "artistIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "albums", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "albumIds", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "ids", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "videoTypes", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "minOfficialRating", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isLocked", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "isPlaceHolder", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "hasOfficialRating", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "collapseBoxSetItems", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "is3D", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "seriesStatus", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "nameStartsWithOrGreater", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "nameStartsWith", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "nameLessThan", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "reportView", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "displayType", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "hasQueryLimit", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "groupBy", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "reportColumns", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "minDate", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "exportType", - "in": "query", - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ReportExportType" - } - ], - "default": "CSV" - } - }, - { - "name": "enableImages", - "in": "query", - "schema": { - "type": "boolean", - "default": true - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReportResult" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Lastfm/Login": { - "post": { - "tags": [ - "RestApi" - ], - "operationId": "CreateMobileSession", - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/LastFMUser" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Success" - } - } - } - }, "/ScheduledTasks": { "get": { "tags": [ @@ -35212,120 +32984,6 @@ ] } }, - "/ScheduledTasks/Running/{taskId}": { - "post": { - "tags": [ - "ScheduledTasks" - ], - "summary": "Start specified task.", - "operationId": "StartTask", - "parameters": [ - { - "name": "taskId", - "in": "path", - "description": "Task Id.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Task started." - }, - "404": { - "description": "Task not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - }, - "delete": { - "tags": [ - "ScheduledTasks" - ], - "summary": "Stop specified task.", - "operationId": "StopTask", - "parameters": [ - { - "name": "taskId", - "in": "path", - "description": "Task Id.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Task stopped." - }, - "404": { - "description": "Task not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, "/ScheduledTasks/{taskId}": { "get": { "tags": [ @@ -35489,6 +33147,120 @@ ] } }, + "/ScheduledTasks/Running/{taskId}": { + "post": { + "tags": [ + "ScheduledTasks" + ], + "summary": "Start specified task.", + "operationId": "StartTask", + "parameters": [ + { + "name": "taskId", + "in": "path", + "description": "Task Id.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Task started." + }, + "404": { + "description": "Task not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" + ] + } + ] + }, + "delete": { + "tags": [ + "ScheduledTasks" + ], + "summary": "Stop specified task.", + "operationId": "StopTask", + "parameters": [ + { + "name": "taskId", + "in": "path", + "description": "Task Id.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Task stopped." + }, + "404": { + "description": "Task not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" + ] + } + ] + } + }, "/Search/Hints": { "get": { "tags": [ @@ -35885,238 +33657,6 @@ ] } }, - "/Sessions/Capabilities": { - "post": { - "tags": [ - "Session" - ], - "summary": "Updates capabilities for a device.", - "operationId": "PostCapabilities", - "parameters": [ - { - "name": "id", - "in": "query", - "description": "The session id.", - "schema": { - "type": "string" - } - }, - { - "name": "playableMediaTypes", - "in": "query", - "description": "A list of playable media types, comma delimited. Audio, Video, Book, Photo.", - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "supportedCommands", - "in": "query", - "description": "A list of supported remote control commands, comma delimited.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GeneralCommandType" - } - } - }, - { - "name": "supportsMediaControl", - "in": "query", - "description": "Determines whether media can be played remotely..", - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "supportsSync", - "in": "query", - "description": "Determines whether sync is supported.", - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "supportsPersistentIdentifier", - "in": "query", - "description": "Determines whether the device supports a unique identifier.", - "schema": { - "type": "boolean", - "default": true - } - } - ], - "responses": { - "204": { - "description": "Capabilities posted." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Sessions/Capabilities/Full": { - "post": { - "tags": [ - "Session" - ], - "summary": "Updates capabilities for a device.", - "operationId": "PostFullCapabilities", - "parameters": [ - { - "name": "id", - "in": "query", - "description": "The session id.", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "description": "The MediaBrowser.Model.Session.ClientCapabilities.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ClientCapabilitiesDto" - } - ], - "description": "Client capabilities dto." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ClientCapabilitiesDto" - } - ], - "description": "Client capabilities dto." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ClientCapabilitiesDto" - } - ], - "description": "Client capabilities dto." - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Capabilities updated." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Sessions/Logout": { - "post": { - "tags": [ - "Session" - ], - "summary": "Reports that a session has ended.", - "operationId": "ReportSessionEnded", - "responses": { - "204": { - "description": "Session end reported to server." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Sessions/Viewing": { - "post": { - "tags": [ - "Session" - ], - "summary": "Reports that a session is viewing an item.", - "operationId": "ReportViewing", - "parameters": [ - { - "name": "sessionId", - "in": "query", - "description": "The session id.", - "schema": { - "type": "string" - } - }, - { - "name": "itemId", - "in": "query", - "description": "The item id.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Session reported to server." - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Sessions/{sessionId}/Command": { "post": { "tags": [ @@ -36705,6 +34245,238 @@ ] } }, + "/Sessions/Capabilities": { + "post": { + "tags": [ + "Session" + ], + "summary": "Updates capabilities for a device.", + "operationId": "PostCapabilities", + "parameters": [ + { + "name": "id", + "in": "query", + "description": "The session id.", + "schema": { + "type": "string" + } + }, + { + "name": "playableMediaTypes", + "in": "query", + "description": "A list of playable media types, comma delimited. Audio, Video, Book, Photo.", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "supportedCommands", + "in": "query", + "description": "A list of supported remote control commands, comma delimited.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GeneralCommandType" + } + } + }, + { + "name": "supportsMediaControl", + "in": "query", + "description": "Determines whether media can be played remotely..", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "supportsSync", + "in": "query", + "description": "Determines whether sync is supported.", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "supportsPersistentIdentifier", + "in": "query", + "description": "Determines whether the device supports a unique identifier.", + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "204": { + "description": "Capabilities posted." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Sessions/Capabilities/Full": { + "post": { + "tags": [ + "Session" + ], + "summary": "Updates capabilities for a device.", + "operationId": "PostFullCapabilities", + "parameters": [ + { + "name": "id", + "in": "query", + "description": "The session id.", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The MediaBrowser.Model.Session.ClientCapabilities.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ClientCapabilitiesDto" + } + ], + "description": "Client capabilities dto." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ClientCapabilitiesDto" + } + ], + "description": "Client capabilities dto." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ClientCapabilitiesDto" + } + ], + "description": "Client capabilities dto." + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Capabilities updated." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Sessions/Logout": { + "post": { + "tags": [ + "Session" + ], + "summary": "Reports that a session has ended.", + "operationId": "ReportSessionEnded", + "responses": { + "204": { + "description": "Session end reported to server." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Sessions/Viewing": { + "post": { + "tags": [ + "Session" + ], + "summary": "Reports that a session is viewing an item.", + "operationId": "ReportViewing", + "parameters": [ + { + "name": "sessionId", + "in": "query", + "description": "The session id.", + "schema": { + "type": "string" + } + }, + { + "name": "itemId", + "in": "query", + "description": "The item id.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Session reported to server." + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/Startup/Complete": { "post": { "tags": [ @@ -37588,6 +35360,82 @@ ] } }, + "/Videos/{itemId}/{mediaSourceId}/Subtitles/{index}/subtitles.m3u8": { + "get": { + "tags": [ + "Subtitle" + ], + "summary": "Gets an HLS subtitle playlist.", + "operationId": "GetSubtitlePlaylist", + "parameters": [ + { + "name": "itemId", + "in": "path", + "description": "The item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "index", + "in": "path", + "description": "The subtitle stream index.", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "mediaSourceId", + "in": "path", + "description": "The media source id.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "segmentLength", + "in": "query", + "description": "The subtitle segment length.", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "Subtitle playlist retrieved.", + "content": { + "application/x-mpegURL": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/Videos/{itemId}/Subtitles": { "post": { "tags": [ @@ -37732,219 +35580,6 @@ ] } }, - "/Videos/{itemId}/{mediaSourceId}/Subtitles/{index}/subtitles.m3u8": { - "get": { - "tags": [ - "Subtitle" - ], - "summary": "Gets an HLS subtitle playlist.", - "operationId": "GetSubtitlePlaylist", - "parameters": [ - { - "name": "itemId", - "in": "path", - "description": "The item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "index", - "in": "path", - "description": "The subtitle stream index.", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "mediaSourceId", - "in": "path", - "description": "The media source id.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "segmentLength", - "in": "query", - "description": "The subtitle segment length.", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "responses": { - "200": { - "description": "Subtitle playlist retrieved.", - "content": { - "application/x-mpegURL": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/Stream.{routeFormat}": { - "get": { - "tags": [ - "Subtitle" - ], - "summary": "Gets subtitles in a specified format.", - "operationId": "GetSubtitle", - "parameters": [ - { - "name": "routeItemId", - "in": "path", - "description": "The (route) item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "routeMediaSourceId", - "in": "path", - "description": "The (route) media source id.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "routeIndex", - "in": "path", - "description": "The (route) subtitle stream index.", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "routeFormat", - "in": "path", - "description": "The (route) format of the returned subtitle.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "itemId", - "in": "query", - "description": "The item id.", - "deprecated": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "mediaSourceId", - "in": "query", - "description": "The media source id.", - "deprecated": true, - "schema": { - "type": "string" - } - }, - { - "name": "index", - "in": "query", - "description": "The subtitle stream index.", - "deprecated": true, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "format", - "in": "query", - "description": "The format of the returned subtitle.", - "deprecated": true, - "schema": { - "type": "string" - } - }, - { - "name": "endPositionTicks", - "in": "query", - "description": "Optional. The end position of the subtitle in ticks.", - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "copyTimestamps", - "in": "query", - "description": "Optional. Whether to copy the timestamps.", - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "addVttTimeMap", - "in": "query", - "description": "Optional. Whether to add a VTT time map.", - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "startPositionTicks", - "in": "query", - "description": "The start position of the subtitle in ticks.", - "schema": { - "type": "integer", - "format": "int64", - "default": 0 - } - } - ], - "responses": { - "200": { - "description": "File returned.", - "content": { - "text/*": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - } - } - } - }, "/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/{routeStartPositionTicks}/Stream.{routeFormat}": { "get": { "tags": [ @@ -38092,6 +35727,143 @@ } } }, + "/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/Stream.{routeFormat}": { + "get": { + "tags": [ + "Subtitle" + ], + "summary": "Gets subtitles in a specified format.", + "operationId": "GetSubtitle", + "parameters": [ + { + "name": "routeItemId", + "in": "path", + "description": "The (route) item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "routeMediaSourceId", + "in": "path", + "description": "The (route) media source id.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "routeIndex", + "in": "path", + "description": "The (route) subtitle stream index.", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "routeFormat", + "in": "path", + "description": "The (route) format of the returned subtitle.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "itemId", + "in": "query", + "description": "The item id.", + "deprecated": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "mediaSourceId", + "in": "query", + "description": "The media source id.", + "deprecated": true, + "schema": { + "type": "string" + } + }, + { + "name": "index", + "in": "query", + "description": "The subtitle stream index.", + "deprecated": true, + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "format", + "in": "query", + "description": "The format of the returned subtitle.", + "deprecated": true, + "schema": { + "type": "string" + } + }, + { + "name": "endPositionTicks", + "in": "query", + "description": "Optional. The end position of the subtitle in ticks.", + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "copyTimestamps", + "in": "query", + "description": "Optional. Whether to copy the timestamps.", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "addVttTimeMap", + "in": "query", + "description": "Optional. Whether to add a VTT time map.", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "startPositionTicks", + "in": "query", + "description": "The start position of the subtitle in ticks.", + "schema": { + "type": "integer", + "format": "int64", + "default": 0 + } + } + ], + "responses": { + "200": { + "description": "File returned.", + "content": { + "text/*": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + } + } + } + }, "/Users/{userId}/Suggestions": { "get": { "tags": [ @@ -40674,308 +38446,6 @@ ] } }, - "/Shows/NextUp": { - "get": { - "tags": [ - "TvShows" - ], - "summary": "Gets a list of next up episodes.", - "operationId": "GetNextUp", - "parameters": [ - { - "name": "userId", - "in": "query", - "description": "The user id of the user to get the next up episodes for.", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "startIndex", - "in": "query", - "description": "Optional. The record index to start at. All items with a lower index will be dropped from the results.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "limit", - "in": "query", - "description": "Optional. The maximum number of records to return.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "fields", - "in": "query", - "description": "Optional. Specify additional fields of information to return in the output.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemFields" - } - } - }, - { - "name": "seriesId", - "in": "query", - "description": "Optional. Filter by series id.", - "schema": { - "type": "string" - } - }, - { - "name": "parentId", - "in": "query", - "description": "Optional. Specify this to localize the search to a specific item or folder. Omit to use the root.", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "enableImages", - "in": "query", - "description": "Optional. Include image information in output.", - "schema": { - "type": "boolean" - } - }, - { - "name": "imageTypeLimit", - "in": "query", - "description": "Optional. The max number of images to return, per image type.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "enableImageTypes", - "in": "query", - "description": "Optional. The image types to include in the output.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageType" - } - } - }, - { - "name": "enableUserData", - "in": "query", - "description": "Optional. Include user data.", - "schema": { - "type": "boolean" - } - }, - { - "name": "nextUpDateCutoff", - "in": "query", - "description": "Optional. Starting date of shows to show in Next Up section.", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "enableTotalRecordCount", - "in": "query", - "description": "Whether to enable the total records count. Defaults to true.", - "schema": { - "type": "boolean", - "default": true - } - }, - { - "name": "disableFirstEpisode", - "in": "query", - "description": "Whether to disable sending the first episode in a series as next up.", - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "enableRewatching", - "in": "query", - "description": "Whether to include watched episode in next up results.", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Shows/Upcoming": { - "get": { - "tags": [ - "TvShows" - ], - "summary": "Gets a list of upcoming episodes.", - "operationId": "GetUpcomingEpisodes", - "parameters": [ - { - "name": "userId", - "in": "query", - "description": "The user id of the user to get the upcoming episodes for.", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "startIndex", - "in": "query", - "description": "Optional. The record index to start at. All items with a lower index will be dropped from the results.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "limit", - "in": "query", - "description": "Optional. The maximum number of records to return.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "fields", - "in": "query", - "description": "Optional. Specify additional fields of information to return in the output.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemFields" - } - } - }, - { - "name": "parentId", - "in": "query", - "description": "Optional. Specify this to localize the search to a specific item or folder. Omit to use the root.", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "enableImages", - "in": "query", - "description": "Optional. Include image information in output.", - "schema": { - "type": "boolean" - } - }, - { - "name": "imageTypeLimit", - "in": "query", - "description": "Optional. The max number of images to return, per image type.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "enableImageTypes", - "in": "query", - "description": "Optional. The image types to include in the output.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageType" - } - } - }, - { - "name": "enableUserData", - "in": "query", - "description": "Optional. Include user data.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Shows/{seriesId}/Episodes": { "get": { "tags": [ @@ -41333,6 +38803,308 @@ ] } }, + "/Shows/NextUp": { + "get": { + "tags": [ + "TvShows" + ], + "summary": "Gets a list of next up episodes.", + "operationId": "GetNextUp", + "parameters": [ + { + "name": "userId", + "in": "query", + "description": "The user id of the user to get the next up episodes for.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "startIndex", + "in": "query", + "description": "Optional. The record index to start at. All items with a lower index will be dropped from the results.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "limit", + "in": "query", + "description": "Optional. The maximum number of records to return.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "fields", + "in": "query", + "description": "Optional. Specify additional fields of information to return in the output.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemFields" + } + } + }, + { + "name": "seriesId", + "in": "query", + "description": "Optional. Filter by series id.", + "schema": { + "type": "string" + } + }, + { + "name": "parentId", + "in": "query", + "description": "Optional. Specify this to localize the search to a specific item or folder. Omit to use the root.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "enableImages", + "in": "query", + "description": "Optional. Include image information in output.", + "schema": { + "type": "boolean" + } + }, + { + "name": "imageTypeLimit", + "in": "query", + "description": "Optional. The max number of images to return, per image type.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "enableImageTypes", + "in": "query", + "description": "Optional. The image types to include in the output.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ImageType" + } + } + }, + { + "name": "enableUserData", + "in": "query", + "description": "Optional. Include user data.", + "schema": { + "type": "boolean" + } + }, + { + "name": "nextUpDateCutoff", + "in": "query", + "description": "Optional. Starting date of shows to show in Next Up section.", + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "name": "enableTotalRecordCount", + "in": "query", + "description": "Whether to enable the total records count. Defaults to true.", + "schema": { + "type": "boolean", + "default": true + } + }, + { + "name": "disableFirstEpisode", + "in": "query", + "description": "Whether to disable sending the first episode in a series as next up.", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "enableRewatching", + "in": "query", + "description": "Whether to include watched episode in next up results.", + "schema": { + "type": "boolean", + "default": false + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Shows/Upcoming": { + "get": { + "tags": [ + "TvShows" + ], + "summary": "Gets a list of upcoming episodes.", + "operationId": "GetUpcomingEpisodes", + "parameters": [ + { + "name": "userId", + "in": "query", + "description": "The user id of the user to get the upcoming episodes for.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "startIndex", + "in": "query", + "description": "Optional. The record index to start at. All items with a lower index will be dropped from the results.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "limit", + "in": "query", + "description": "Optional. The maximum number of records to return.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "fields", + "in": "query", + "description": "Optional. Specify additional fields of information to return in the output.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemFields" + } + } + }, + { + "name": "parentId", + "in": "query", + "description": "Optional. Specify this to localize the search to a specific item or folder. Omit to use the root.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "enableImages", + "in": "query", + "description": "Optional. Include image information in output.", + "schema": { + "type": "boolean" + } + }, + { + "name": "imageTypeLimit", + "in": "query", + "description": "Optional. The max number of images to return, per image type.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "enableImageTypes", + "in": "query", + "description": "Optional. The image types to include in the output.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ImageType" + } + } + }, + { + "name": "enableUserData", + "in": "query", + "description": "Optional. Include user data.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/Audio/{itemId}/universal": { "get": { "tags": [ @@ -41733,940 +39505,6 @@ ] } }, - "/Users/{userId}/FavoriteItems/{itemId}": { - "post": { - "tags": [ - "UserLibrary" - ], - "summary": "Marks an item as a favorite.", - "operationId": "MarkFavoriteItem", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Item marked as favorite.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - }, - "delete": { - "tags": [ - "UserLibrary" - ], - "summary": "Unmarks item as a favorite.", - "operationId": "UnmarkFavoriteItem", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Item unmarked as favorite.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/Items/Latest": { - "get": { - "tags": [ - "UserLibrary" - ], - "summary": "Gets latest media.", - "operationId": "GetLatestMedia", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "parentId", - "in": "query", - "description": "Specify this to localize the search to a specific item or folder. Omit to use the root.", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "fields", - "in": "query", - "description": "Optional. Specify additional fields of information to return in the output.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemFields" - } - } - }, - { - "name": "includeItemTypes", - "in": "query", - "description": "Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemKind" - } - } - }, - { - "name": "isPlayed", - "in": "query", - "description": "Filter by items that are played, or not.", - "schema": { - "type": "boolean" - } - }, - { - "name": "enableImages", - "in": "query", - "description": "Optional. include image information in output.", - "schema": { - "type": "boolean" - } - }, - { - "name": "imageTypeLimit", - "in": "query", - "description": "Optional. the max number of images to return, per image type.", - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "enableImageTypes", - "in": "query", - "description": "Optional. The image types to include in the output.", - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageType" - } - } - }, - { - "name": "enableUserData", - "in": "query", - "description": "Optional. include user data.", - "schema": { - "type": "boolean" - } - }, - { - "name": "limit", - "in": "query", - "description": "Return item limit.", - "schema": { - "type": "integer", - "format": "int32", - "default": 20 - } - }, - { - "name": "groupItems", - "in": "query", - "description": "Whether or not to group items into a parent container.", - "schema": { - "type": "boolean", - "default": true - } - } - ], - "responses": { - "200": { - "description": "Latest media returned.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/Items/Root": { - "get": { - "tags": [ - "UserLibrary" - ], - "summary": "Gets the root folder from a user's library.", - "operationId": "GetRootFolder", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Root folder returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/Items/{itemId}": { - "get": { - "tags": [ - "UserLibrary" - ], - "summary": "Gets an item from a user's library.", - "operationId": "GetItem", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Item returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/Items/{itemId}/Intros": { - "get": { - "tags": [ - "UserLibrary" - ], - "summary": "Gets intros to play before the main media item plays.", - "operationId": "GetIntros", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Intros returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/Items/{itemId}/LocalTrailers": { - "get": { - "tags": [ - "UserLibrary" - ], - "summary": "Gets local trailers for an item.", - "operationId": "GetLocalTrailers", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "An Microsoft.AspNetCore.Mvc.OkResult containing the item's local trailers.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/Items/{itemId}/Rating": { - "delete": { - "tags": [ - "UserLibrary" - ], - "summary": "Deletes a user's saved personal rating for an item.", - "operationId": "DeleteUserItemRating", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Personal rating removed.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - }, - "post": { - "tags": [ - "UserLibrary" - ], - "summary": "Updates a user's rating for an item.", - "operationId": "UpdateUserItemRating", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "likes", - "in": "query", - "description": "Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Guid,System.Guid,System.Nullable{System.Boolean}) is likes.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "Item rating updated.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/UserItemDataDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/Items/{itemId}/SpecialFeatures": { - "get": { - "tags": [ - "UserLibrary" - ], - "summary": "Gets special features for an item.", - "operationId": "GetSpecialFeatures", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "itemId", - "in": "path", - "description": "Item id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Special features returned.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BaseItemDto" - } - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/GroupingOptions": { - "get": { - "tags": [ - "UserViews" - ], - "summary": "Get user view grouping options.", - "operationId": "GetGroupingOptions", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "User view grouping options returned.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpecialViewOptionDto" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpecialViewOptionDto" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpecialViewOptionDto" - } - } - } - } - }, - "404": { - "description": "User not found.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/{userId}/Views": { - "get": { - "tags": [ - "UserViews" - ], - "summary": "Get user views.", - "operationId": "GetUserViews", - "parameters": [ - { - "name": "userId", - "in": "path", - "description": "User id.", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "includeExternalContent", - "in": "query", - "description": "Whether or not to include external views such as channels or live tv.", - "schema": { - "type": "boolean" - } - }, - { - "name": "presetViews", - "in": "query", - "description": "Preset views.", - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "includeHidden", - "in": "query", - "description": "Whether or not to include hidden content.", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "User views returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/BaseItemDtoQueryResult" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, "/Users": { "get": { "tags": [ @@ -42738,461 +39576,6 @@ ] } }, - "/Users/AuthenticateByName": { - "post": { - "tags": [ - "User" - ], - "summary": "Authenticates a user by name.", - "operationId": "AuthenticateUserByName", - "requestBody": { - "description": "The M:Jellyfin.Api.Controllers.UserController.AuthenticateUserByName(Jellyfin.Api.Models.UserDtos.AuthenticateUserByName) request.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/AuthenticateUserByName" - } - ], - "description": "The authenticate user by name request body." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/AuthenticateUserByName" - } - ], - "description": "The authenticate user by name request body." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/AuthenticateUserByName" - } - ], - "description": "The authenticate user by name request body." - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "User authenticated.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AuthenticationResult" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/AuthenticationResult" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/AuthenticationResult" - } - } - } - } - } - } - }, - "/Users/AuthenticateWithQuickConnect": { - "post": { - "tags": [ - "User" - ], - "summary": "Authenticates a user with quick connect.", - "operationId": "AuthenticateWithQuickConnect", - "requestBody": { - "description": "The Jellyfin.Api.Models.UserDtos.QuickConnectDto request.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/QuickConnectDto" - } - ], - "description": "The quick connect request body." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/QuickConnectDto" - } - ], - "description": "The quick connect request body." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/QuickConnectDto" - } - ], - "description": "The quick connect request body." - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "User authenticated.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AuthenticationResult" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/AuthenticationResult" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/AuthenticationResult" - } - } - } - }, - "400": { - "description": "Missing token." - } - } - } - }, - "/Users/ForgotPassword": { - "post": { - "tags": [ - "User" - ], - "summary": "Initiates the forgot password process for a local user.", - "operationId": "ForgotPassword", - "requestBody": { - "description": "The forgot password request containing the entered username.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ForgotPasswordDto" - } - ], - "description": "Forgot Password request body DTO." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ForgotPasswordDto" - } - ], - "description": "Forgot Password request body DTO." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ForgotPasswordDto" - } - ], - "description": "Forgot Password request body DTO." - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Password reset process started.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ForgotPasswordResult" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ForgotPasswordResult" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ForgotPasswordResult" - } - } - } - } - } - } - }, - "/Users/ForgotPassword/Pin": { - "post": { - "tags": [ - "User" - ], - "summary": "Redeems a forgot password pin.", - "operationId": "ForgotPasswordPin", - "requestBody": { - "description": "The forgot password pin request containing the entered pin.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ForgotPasswordPinDto" - } - ], - "description": "Forgot Password Pin enter request body DTO." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ForgotPasswordPinDto" - } - ], - "description": "Forgot Password Pin enter request body DTO." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ForgotPasswordPinDto" - } - ], - "description": "Forgot Password Pin enter request body DTO." - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Pin reset process started.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PinRedeemResult" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/PinRedeemResult" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/PinRedeemResult" - } - } - } - } - } - } - }, - "/Users/Me": { - "get": { - "tags": [ - "User" - ], - "summary": "Gets the user based on auth token.", - "operationId": "GetCurrentUser", - "responses": { - "200": { - "description": "User returned.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/UserDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/UserDto" - } - } - } - }, - "400": { - "description": "Token is not owned by a user.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "DefaultAuthorization" - ] - } - ] - } - }, - "/Users/New": { - "post": { - "tags": [ - "User" - ], - "summary": "Creates a user.", - "operationId": "CreateUserByName", - "requestBody": { - "description": "The create user by name request body.", - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CreateUserByName" - } - ], - "description": "The create user by name request body." - } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CreateUserByName" - } - ], - "description": "The create user by name request body." - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CreateUserByName" - } - ], - "description": "The create user by name request body." - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "User created.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserDto" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/UserDto" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/UserDto" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, - "/Users/Public": { - "get": { - "tags": [ - "User" - ], - "summary": "Gets a list of publicly visible users for display on a login screen.", - "operationId": "GetPublicUsers", - "responses": { - "200": { - "description": "Public users returned.", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserDto" - } - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserDto" - } - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserDto" - } - } - } - } - } - } - } - }, "/Users/{userId}": { "get": { "tags": [ @@ -43961,6 +40344,1395 @@ ] } }, + "/Users/AuthenticateByName": { + "post": { + "tags": [ + "User" + ], + "summary": "Authenticates a user by name.", + "operationId": "AuthenticateUserByName", + "requestBody": { + "description": "The M:Jellyfin.Api.Controllers.UserController.AuthenticateUserByName(Jellyfin.Api.Models.UserDtos.AuthenticateUserByName) request.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/AuthenticateUserByName" + } + ], + "description": "The authenticate user by name request body." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/AuthenticateUserByName" + } + ], + "description": "The authenticate user by name request body." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/AuthenticateUserByName" + } + ], + "description": "The authenticate user by name request body." + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "User authenticated.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthenticationResult" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/AuthenticationResult" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/AuthenticationResult" + } + } + } + } + } + } + }, + "/Users/AuthenticateWithQuickConnect": { + "post": { + "tags": [ + "User" + ], + "summary": "Authenticates a user with quick connect.", + "operationId": "AuthenticateWithQuickConnect", + "requestBody": { + "description": "The Jellyfin.Api.Models.UserDtos.QuickConnectDto request.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/QuickConnectDto" + } + ], + "description": "The quick connect request body." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/QuickConnectDto" + } + ], + "description": "The quick connect request body." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/QuickConnectDto" + } + ], + "description": "The quick connect request body." + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "User authenticated.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthenticationResult" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/AuthenticationResult" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/AuthenticationResult" + } + } + } + }, + "400": { + "description": "Missing token." + } + } + } + }, + "/Users/ForgotPassword": { + "post": { + "tags": [ + "User" + ], + "summary": "Initiates the forgot password process for a local user.", + "operationId": "ForgotPassword", + "requestBody": { + "description": "The forgot password request containing the entered username.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ForgotPasswordDto" + } + ], + "description": "Forgot Password request body DTO." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ForgotPasswordDto" + } + ], + "description": "Forgot Password request body DTO." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ForgotPasswordDto" + } + ], + "description": "Forgot Password request body DTO." + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Password reset process started.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ForgotPasswordResult" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ForgotPasswordResult" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ForgotPasswordResult" + } + } + } + } + } + } + }, + "/Users/ForgotPassword/Pin": { + "post": { + "tags": [ + "User" + ], + "summary": "Redeems a forgot password pin.", + "operationId": "ForgotPasswordPin", + "requestBody": { + "description": "The forgot password pin request containing the entered pin.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ForgotPasswordPinDto" + } + ], + "description": "Forgot Password Pin enter request body DTO." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ForgotPasswordPinDto" + } + ], + "description": "Forgot Password Pin enter request body DTO." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ForgotPasswordPinDto" + } + ], + "description": "Forgot Password Pin enter request body DTO." + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Pin reset process started.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PinRedeemResult" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/PinRedeemResult" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/PinRedeemResult" + } + } + } + } + } + } + }, + "/Users/Me": { + "get": { + "tags": [ + "User" + ], + "summary": "Gets the user based on auth token.", + "operationId": "GetCurrentUser", + "responses": { + "200": { + "description": "User returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/UserDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/UserDto" + } + } + } + }, + "400": { + "description": "Token is not owned by a user.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Users/New": { + "post": { + "tags": [ + "User" + ], + "summary": "Creates a user.", + "operationId": "CreateUserByName", + "requestBody": { + "description": "The create user by name request body.", + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/CreateUserByName" + } + ], + "description": "The create user by name request body." + } + }, + "text/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/CreateUserByName" + } + ], + "description": "The create user by name request body." + } + }, + "application/*+json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/CreateUserByName" + } + ], + "description": "The create user by name request body." + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "User created.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/UserDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/UserDto" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" + ] + } + ] + } + }, + "/Users/Public": { + "get": { + "tags": [ + "User" + ], + "summary": "Gets a list of publicly visible users for display on a login screen.", + "operationId": "GetPublicUsers", + "responses": { + "200": { + "description": "Public users returned.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserDto" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserDto" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserDto" + } + } + } + } + } + } + } + }, + "/Users/{userId}/FavoriteItems/{itemId}": { + "post": { + "tags": [ + "UserLibrary" + ], + "summary": "Marks an item as a favorite.", + "operationId": "MarkFavoriteItem", + "parameters": [ + { + "name": "userId", + "in": "path", + "description": "User id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Item marked as favorite.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + }, + "delete": { + "tags": [ + "UserLibrary" + ], + "summary": "Unmarks item as a favorite.", + "operationId": "UnmarkFavoriteItem", + "parameters": [ + { + "name": "userId", + "in": "path", + "description": "User id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Item unmarked as favorite.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Users/{userId}/Items/{itemId}": { + "get": { + "tags": [ + "UserLibrary" + ], + "summary": "Gets an item from a user's library.", + "operationId": "GetItem", + "parameters": [ + { + "name": "userId", + "in": "path", + "description": "User id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Item returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Users/{userId}/Items/{itemId}/Intros": { + "get": { + "tags": [ + "UserLibrary" + ], + "summary": "Gets intros to play before the main media item plays.", + "operationId": "GetIntros", + "parameters": [ + { + "name": "userId", + "in": "path", + "description": "User id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Intros returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Users/{userId}/Items/{itemId}/LocalTrailers": { + "get": { + "tags": [ + "UserLibrary" + ], + "summary": "Gets local trailers for an item.", + "operationId": "GetLocalTrailers", + "parameters": [ + { + "name": "userId", + "in": "path", + "description": "User id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "An Microsoft.AspNetCore.Mvc.OkResult containing the item's local trailers.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Users/{userId}/Items/{itemId}/Rating": { + "delete": { + "tags": [ + "UserLibrary" + ], + "summary": "Deletes a user's saved personal rating for an item.", + "operationId": "DeleteUserItemRating", + "parameters": [ + { + "name": "userId", + "in": "path", + "description": "User id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Personal rating removed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + }, + "post": { + "tags": [ + "UserLibrary" + ], + "summary": "Updates a user's rating for an item.", + "operationId": "UpdateUserItemRating", + "parameters": [ + { + "name": "userId", + "in": "path", + "description": "User id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "likes", + "in": "query", + "description": "Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Guid,System.Guid,System.Nullable{System.Boolean}) is likes.", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "Item rating updated.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/UserItemDataDto" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Users/{userId}/Items/{itemId}/SpecialFeatures": { + "get": { + "tags": [ + "UserLibrary" + ], + "summary": "Gets special features for an item.", + "operationId": "GetSpecialFeatures", + "parameters": [ + { + "name": "userId", + "in": "path", + "description": "User id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "itemId", + "in": "path", + "description": "Item id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Special features returned.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Users/{userId}/Items/Latest": { + "get": { + "tags": [ + "UserLibrary" + ], + "summary": "Gets latest media.", + "operationId": "GetLatestMedia", + "parameters": [ + { + "name": "userId", + "in": "path", + "description": "User id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "parentId", + "in": "query", + "description": "Specify this to localize the search to a specific item or folder. Omit to use the root.", + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "fields", + "in": "query", + "description": "Optional. Specify additional fields of information to return in the output.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemFields" + } + } + }, + { + "name": "includeItemTypes", + "in": "query", + "description": "Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemKind" + } + } + }, + { + "name": "isPlayed", + "in": "query", + "description": "Filter by items that are played, or not.", + "schema": { + "type": "boolean" + } + }, + { + "name": "enableImages", + "in": "query", + "description": "Optional. include image information in output.", + "schema": { + "type": "boolean" + } + }, + { + "name": "imageTypeLimit", + "in": "query", + "description": "Optional. the max number of images to return, per image type.", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "enableImageTypes", + "in": "query", + "description": "Optional. The image types to include in the output.", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ImageType" + } + } + }, + { + "name": "enableUserData", + "in": "query", + "description": "Optional. include user data.", + "schema": { + "type": "boolean" + } + }, + { + "name": "limit", + "in": "query", + "description": "Return item limit.", + "schema": { + "type": "integer", + "format": "int32", + "default": 20 + } + }, + { + "name": "groupItems", + "in": "query", + "description": "Whether or not to group items into a parent container.", + "schema": { + "type": "boolean", + "default": true + } + } + ], + "responses": { + "200": { + "description": "Latest media returned.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Users/{userId}/Items/Root": { + "get": { + "tags": [ + "UserLibrary" + ], + "summary": "Gets the root folder from a user's library.", + "operationId": "GetRootFolder", + "parameters": [ + { + "name": "userId", + "in": "path", + "description": "User id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "Root folder returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDto" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Users/{userId}/GroupingOptions": { + "get": { + "tags": [ + "UserViews" + ], + "summary": "Get user view grouping options.", + "operationId": "GetGroupingOptions", + "parameters": [ + { + "name": "userId", + "in": "path", + "description": "User id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "responses": { + "200": { + "description": "User view grouping options returned.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SpecialViewOptionDto" + } + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SpecialViewOptionDto" + } + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SpecialViewOptionDto" + } + } + } + } + }, + "404": { + "description": "User not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, + "/Users/{userId}/Views": { + "get": { + "tags": [ + "UserViews" + ], + "summary": "Get user views.", + "operationId": "GetUserViews", + "parameters": [ + { + "name": "userId", + "in": "path", + "description": "User id.", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "includeExternalContent", + "in": "query", + "description": "Whether or not to include external views such as channels or live tv.", + "schema": { + "type": "boolean" + } + }, + { + "name": "presetViews", + "in": "query", + "description": "Preset views.", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "includeHidden", + "in": "query", + "description": "Whether or not to include hidden content.", + "schema": { + "type": "boolean", + "default": false + } + } + ], + "responses": { + "200": { + "description": "User views returned.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/BaseItemDtoQueryResult" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "DefaultAuthorization" + ] + } + ] + } + }, "/Videos/{videoId}/{mediaSourceId}/Attachments/{index}": { "get": { "tags": [ @@ -44034,68 +41806,6 @@ } } }, - "/Videos/MergeVersions": { - "post": { - "tags": [ - "Videos" - ], - "summary": "Merges videos into a single record.", - "operationId": "MergeVersions", - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "Item id list. This allows multiple, comma delimited.", - "required": true, - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - } - ], - "responses": { - "204": { - "description": "Videos merged." - }, - "400": { - "description": "Supply at least 2 video ids.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"CamelCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - }, - "application/json; profile=\"PascalCase\"": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - } - }, - "security": [ - { - "CustomAuthentication": [ - "RequiresElevation" - ] - } - ] - } - }, "/Videos/{itemId}/AdditionalParts": { "get": { "tags": [ @@ -46108,6 +43818,68 @@ } } }, + "/Videos/MergeVersions": { + "post": { + "tags": [ + "Videos" + ], + "summary": "Merges videos into a single record.", + "operationId": "MergeVersions", + "parameters": [ + { + "name": "ids", + "in": "query", + "description": "Item id list. This allows multiple, comma delimited.", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + } + } + ], + "responses": { + "204": { + "description": "Videos merged." + }, + "400": { + "description": "Supply at least 2 video ids.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"CamelCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + }, + "application/json; profile=\"PascalCase\"": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "CustomAuthentication": [ + "RequiresElevation" + ] + } + ] + } + }, "/Years": { "get": { "tags": [ @@ -48671,7 +46443,7 @@ "$ref": "#/components/schemas/DeviceProfile" } ], - "description": "Gets or sets the device profile.", + "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't.", "nullable": true }, "AppStoreUrl": { @@ -48998,18 +46770,6 @@ "additionalProperties": false, "description": "Class CultureDto." }, - "CustomQueryData": { - "type": "object", - "properties": { - "CustomQueryString": { - "type": "string" - }, - "ReplaceUserId": { - "type": "boolean" - } - }, - "additionalProperties": false - }, "DayOfWeek": { "enum": [ "Sunday", @@ -50395,71 +48155,6 @@ ], "type": "string" }, - "HeaderMetadata": { - "enum": [ - "None", - "Path", - "Name", - "PremiereDate", - "DateAdded", - "ReleaseDate", - "Runtime", - "PlayCount", - "Season", - "SeasonNumber", - "Series", - "Network", - "Year", - "ParentalRating", - "CommunityRating", - "Trailers", - "Specials", - "AlbumArtist", - "Album", - "Disc", - "Track", - "Audio", - "EmbeddedImage", - "Video", - "Resolution", - "Subtitles", - "Genres", - "Countries", - "Status", - "Tracks", - "EpisodeSeries", - "EpisodeSeason", - "EpisodeNumber", - "AudioAlbumArtist", - "MusicArtist", - "AudioAlbum", - "Locked", - "ImagePrimary", - "ImageBackdrop", - "ImageLogo", - "Actor", - "Studios", - "Composer", - "Director", - "GuestStar", - "Producer", - "Writer", - "Artist", - "Years", - "ParentalRatings", - "CommunityRatings", - "Overview", - "ShortOverview", - "Type", - "Date", - "UserPrimaryImage", - "Severity", - "Item", - "User", - "UserId" - ], - "type": "string" - }, "HttpHeaderInfo": { "type": "object", "properties": { @@ -50481,54 +48176,6 @@ }, "additionalProperties": false }, - "IPlugin": { - "type": "object", - "properties": { - "Name": { - "type": "string", - "description": "Gets the name of the plugin.", - "nullable": true, - "readOnly": true - }, - "Description": { - "type": "string", - "description": "Gets the Description.", - "nullable": true, - "readOnly": true - }, - "Id": { - "type": "string", - "description": "Gets the unique id.", - "format": "uuid", - "readOnly": true - }, - "Version": { - "type": "string", - "description": "Gets the plugin version.", - "nullable": true, - "readOnly": true - }, - "AssemblyFilePath": { - "type": "string", - "description": "Gets the path to the assembly file.", - "nullable": true, - "readOnly": true - }, - "CanUninstall": { - "type": "boolean", - "description": "Gets a value indicating whether the plugin can be uninstalled.", - "readOnly": true - }, - "DataFolderPath": { - "type": "string", - "description": "Gets the full path to the data folder, where the plugin can store any miscellaneous files needed.", - "nullable": true, - "readOnly": true - } - }, - "additionalProperties": false, - "description": "Defines the MediaBrowser.Common.Plugins.IPlugin." - }, "IgnoreWaitRequestDto": { "type": "object", "properties": { @@ -50762,6 +48409,54 @@ "additionalProperties": false, "description": "Class InstallationInfo." }, + "IPlugin": { + "type": "object", + "properties": { + "Name": { + "type": "string", + "description": "Gets the name of the plugin.", + "nullable": true, + "readOnly": true + }, + "Description": { + "type": "string", + "description": "Gets the Description.", + "nullable": true, + "readOnly": true + }, + "Id": { + "type": "string", + "description": "Gets the unique id.", + "format": "uuid", + "readOnly": true + }, + "Version": { + "type": "string", + "description": "Gets the plugin version.", + "nullable": true, + "readOnly": true + }, + "AssemblyFilePath": { + "type": "string", + "description": "Gets the path to the assembly file.", + "nullable": true, + "readOnly": true + }, + "CanUninstall": { + "type": "boolean", + "description": "Gets a value indicating whether the plugin can be uninstalled.", + "readOnly": true + }, + "DataFolderPath": { + "type": "string", + "description": "Gets the full path to the data folder, where the plugin can store any miscellaneous files needed.", + "nullable": true, + "readOnly": true + } + }, + "additionalProperties": false, + "description": "Defines the MediaBrowser.Common.Plugins.IPlugin." + }, "IsoType": { "enum": [ "Dvd", @@ -50919,26 +48614,6 @@ "type": "string", "description": "Enum ItemFilter." }, - "ItemViewType": { - "enum": [ - "None", - "Detail", - "Edit", - "List", - "ItemByNameDetails", - "StatusImage", - "EmbeddedImage", - "SubtitleImage", - "TrailersImage", - "SpecialsImage", - "LockDataImage", - "TagsPrimaryImage", - "TagsBackdropImage", - "TagsLogoImage", - "UserPrimaryImage" - ], - "type": "string" - }, "JoinGroupRequestDto": { "type": "object", "properties": { @@ -50960,20 +48635,6 @@ ], "type": "string" }, - "LastFMUser": { - "type": "object", - "properties": { - "Username": { - "type": "string", - "nullable": true - }, - "Password": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, "LibraryOptionInfoDto": { "type": "object", "properties": { @@ -51559,25 +49220,6 @@ ], "type": "string" }, - "LoginInfoInput": { - "required": [ - "Password", - "Username" - ], - "type": "object", - "properties": { - "Username": { - "type": "string" - }, - "Password": { - "type": "string" - }, - "CustomApiKey": { - "type": "string" - } - }, - "additionalProperties": false - }, "MediaAttachment": { "type": "object", "properties": { @@ -52990,6 +50632,27 @@ "additionalProperties": false, "description": "A list of notifications with the total record count for pagination." }, + "NotificationsSummaryDto": { + "type": "object", + "properties": { + "UnreadCount": { + "type": "integer", + "description": "Gets or sets the number of unread notifications.", + "format": "int32" + }, + "MaxUnreadNotificationLevel": { + "allOf": [ + { + "$ref": "#/components/schemas/NotificationLevel" + } + ], + "description": "Gets or sets the maximum unread notification level.", + "nullable": true + } + }, + "additionalProperties": false, + "description": "The notification summary DTO." + }, "NotificationTypeInfo": { "type": "object", "properties": { @@ -53014,27 +50677,6 @@ }, "additionalProperties": false }, - "NotificationsSummaryDto": { - "type": "object", - "properties": { - "UnreadCount": { - "type": "integer", - "description": "Gets or sets the number of unread notifications.", - "format": "int32" - }, - "MaxUnreadNotificationLevel": { - "allOf": [ - { - "$ref": "#/components/schemas/NotificationLevel" - } - ], - "description": "Gets or sets the maximum unread notification level.", - "nullable": true - } - }, - "additionalProperties": false, - "description": "The notification summary DTO." - }, "ObjectGroupUpdate": { "type": "object", "properties": { @@ -53129,7 +50771,7 @@ "$ref": "#/components/schemas/DeviceProfile" } ], - "description": "Gets or sets the device profile.", + "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't.", "nullable": true }, "DirectPlayProtocols": { @@ -53310,6 +50952,18 @@ }, "additionalProperties": false }, + "PingRequestDto": { + "type": "object", + "properties": { + "Ping": { + "type": "integer", + "description": "Gets or sets the ping time.", + "format": "int64" + } + }, + "additionalProperties": false, + "description": "Class PingRequestDto." + }, "PinRedeemResult": { "type": "object", "properties": { @@ -53327,18 +50981,6 @@ }, "additionalProperties": false }, - "PingRequestDto": { - "type": "object", - "properties": { - "Ping": { - "type": "integer", - "description": "Gets or sets the ping time.", - "format": "int64" - } - }, - "additionalProperties": false, - "description": "Class PingRequestDto." - }, "PlayAccess": { "enum": [ "Full", @@ -53346,104 +50988,6 @@ ], "type": "string" }, - "PlayCommand": { - "enum": [ - "PlayNow", - "PlayNext", - "PlayLast", - "PlayInstantMix", - "PlayShuffle" - ], - "type": "string", - "description": "Enum PlayCommand." - }, - "PlayMethod": { - "enum": [ - "Transcode", - "DirectStream", - "DirectPlay" - ], - "type": "string" - }, - "PlayRequest": { - "type": "object", - "properties": { - "ItemIds": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "description": "Gets or sets the item ids.", - "nullable": true - }, - "StartPositionTicks": { - "type": "integer", - "description": "Gets or sets the start position ticks that the first item should be played at.", - "format": "int64", - "nullable": true - }, - "PlayCommand": { - "allOf": [ - { - "$ref": "#/components/schemas/PlayCommand" - } - ], - "description": "Gets or sets the play command." - }, - "ControllingUserId": { - "type": "string", - "description": "Gets or sets the controlling user identifier.", - "format": "uuid" - }, - "SubtitleStreamIndex": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "AudioStreamIndex": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "MediaSourceId": { - "type": "string", - "nullable": true - }, - "StartIndex": { - "type": "integer", - "format": "int32", - "nullable": true - } - }, - "additionalProperties": false, - "description": "Class PlayRequest." - }, - "PlayRequestDto": { - "type": "object", - "properties": { - "PlayingQueue": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - }, - "description": "Gets or sets the playing queue." - }, - "PlayingItemPosition": { - "type": "integer", - "description": "Gets or sets the position of the playing item in the queue.", - "format": "int32" - }, - "StartPositionTicks": { - "type": "integer", - "description": "Gets or sets the start position ticks.", - "format": "int64" - } - }, - "additionalProperties": false, - "description": "Class PlayRequestDto." - }, "PlaybackErrorCode": { "enum": [ "NotAllowed", @@ -53507,7 +51051,7 @@ "$ref": "#/components/schemas/DeviceProfile" } ], - "description": "Gets or sets the device profile.", + "description": "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't.", "nullable": true }, "EnableDirectPlay": { @@ -53874,6 +51418,17 @@ "additionalProperties": false, "description": "Class PlaybackStopInfo." }, + "PlayCommand": { + "enum": [ + "PlayNow", + "PlayNext", + "PlayLast", + "PlayInstantMix", + "PlayShuffle" + ], + "type": "string", + "description": "Enum PlayCommand." + }, "PlayerStateInfo": { "type": "object", "properties": { @@ -53952,6 +51507,93 @@ }, "additionalProperties": false }, + "PlayMethod": { + "enum": [ + "Transcode", + "DirectStream", + "DirectPlay" + ], + "type": "string" + }, + "PlayRequest": { + "type": "object", + "properties": { + "ItemIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "description": "Gets or sets the item ids.", + "nullable": true + }, + "StartPositionTicks": { + "type": "integer", + "description": "Gets or sets the start position ticks that the first item should be played at.", + "format": "int64", + "nullable": true + }, + "PlayCommand": { + "allOf": [ + { + "$ref": "#/components/schemas/PlayCommand" + } + ], + "description": "Gets or sets the play command." + }, + "ControllingUserId": { + "type": "string", + "description": "Gets or sets the controlling user identifier.", + "format": "uuid" + }, + "SubtitleStreamIndex": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "AudioStreamIndex": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "MediaSourceId": { + "type": "string", + "nullable": true + }, + "StartIndex": { + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "additionalProperties": false, + "description": "Class PlayRequest." + }, + "PlayRequestDto": { + "type": "object", + "properties": { + "PlayingQueue": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + }, + "description": "Gets or sets the playing queue." + }, + "PlayingItemPosition": { + "type": "integer", + "description": "Gets or sets the position of the playing item in the queue.", + "format": "int32" + }, + "StartPositionTicks": { + "type": "integer", + "description": "Gets or sets the start position ticks.", + "format": "int64" + } + }, + "additionalProperties": false, + "description": "Class PlayRequestDto." + }, "PlaystateCommand": { "enum": [ "Stop", @@ -54292,7 +51934,7 @@ "$ref": "#/components/schemas/GroupQueueMode" } ], - "description": "Gets or sets the mode in which to add the new items." + "description": "Enum GroupQueueMode." } }, "additionalProperties": false, @@ -54688,250 +52330,6 @@ ], "type": "string" }, - "ReportDisplayType": { - "enum": [ - "None", - "Screen", - "Export", - "ScreenExport" - ], - "type": "string" - }, - "ReportExportType": { - "enum": [ - "CSV", - "Excel" - ], - "type": "string" - }, - "ReportFieldType": { - "enum": [ - "String", - "Boolean", - "Date", - "Time", - "DateTime", - "Int", - "Image", - "Object", - "Minutes" - ], - "type": "string" - }, - "ReportGroup": { - "type": "object", - "properties": { - "Name": { - "type": "string" - }, - "Rows": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ReportRow" - } - } - }, - "additionalProperties": false - }, - "ReportHeader": { - "type": "object", - "properties": { - "HeaderFieldType": { - "allOf": [ - { - "$ref": "#/components/schemas/ReportFieldType" - } - ] - }, - "Name": { - "type": "string", - "nullable": true - }, - "FieldName": { - "allOf": [ - { - "$ref": "#/components/schemas/HeaderMetadata" - } - ] - }, - "SortField": { - "type": "string", - "nullable": true - }, - "Type": { - "type": "string", - "nullable": true - }, - "ItemViewType": { - "allOf": [ - { - "$ref": "#/components/schemas/ItemViewType" - } - ] - }, - "Visible": { - "type": "boolean" - }, - "DisplayType": { - "allOf": [ - { - "$ref": "#/components/schemas/ReportDisplayType" - } - ] - }, - "ShowHeaderLabel": { - "type": "boolean" - }, - "CanGroup": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "ReportIncludeItemTypes": { - "enum": [ - "MusicArtist", - "MusicAlbum", - "Book", - "BoxSet", - "Episode", - "Video", - "Movie", - "MusicVideo", - "Trailer", - "Season", - "Series", - "Audio", - "BaseItem", - "Artist" - ], - "type": "string" - }, - "ReportItem": { - "type": "object", - "properties": { - "Id": { - "type": "string", - "nullable": true - }, - "Name": { - "type": "string", - "nullable": true - }, - "Image": { - "type": "string", - "nullable": true - }, - "CustomTag": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "ReportPlaybackOptions": { - "type": "object", - "properties": { - "MaxDataAge": { - "type": "integer", - "format": "int32" - }, - "BackupPath": { - "type": "string" - }, - "MaxBackupFiles": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "ReportResult": { - "type": "object", - "properties": { - "Rows": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ReportRow" - }, - "nullable": true - }, - "Headers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ReportHeader" - }, - "nullable": true - }, - "Groups": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ReportGroup" - }, - "nullable": true - }, - "TotalRecordCount": { - "type": "integer", - "format": "int32" - }, - "IsGrouped": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "ReportRow": { - "type": "object", - "properties": { - "Id": { - "type": "string", - "nullable": true - }, - "HasImageTagsBackdrop": { - "type": "boolean" - }, - "HasImageTagsPrimary": { - "type": "boolean" - }, - "HasImageTagsLogo": { - "type": "boolean" - }, - "HasLocalTrailer": { - "type": "boolean" - }, - "HasLockData": { - "type": "boolean" - }, - "HasEmbeddedImage": { - "type": "boolean" - }, - "HasSubtitles": { - "type": "boolean" - }, - "HasSpecials": { - "type": "boolean" - }, - "Columns": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ReportItem" - }, - "nullable": true - }, - "RowType": { - "allOf": [ - { - "$ref": "#/components/schemas/ReportIncludeItemTypes" - } - ] - }, - "UserId": { - "type": "string", - "format": "uuid" - } - }, - "additionalProperties": false - }, "RepositoryInfo": { "type": "object", "properties": { @@ -55898,7 +53296,7 @@ "$ref": "#/components/schemas/BaseItemDto" } ], - "description": "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client.", + "description": "Gets or sets the now playing item.", "nullable": true }, "FullNowPlayingItem": { @@ -56094,7 +53492,7 @@ "$ref": "#/components/schemas/GroupRepeatMode" } ], - "description": "Gets or sets the repeat mode." + "description": "Enum GroupRepeatMode." } }, "additionalProperties": false, @@ -56109,7 +53507,7 @@ "$ref": "#/components/schemas/GroupShuffleMode" } ], - "description": "Gets or sets the shuffle mode." + "description": "Enum GroupShuffleMode." } }, "additionalProperties": false, diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/jellyfin-openapi-10.10.3.yaml b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/specifications/yaml/jellyfin-openapi-10.10.3.yaml similarity index 84% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/jellyfin-openapi-10.10.3.yaml rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/specifications/yaml/jellyfin-openapi-10.10.3.yaml index ded3a816c58..84e7ec828db 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/jellyfin-openapi-10.10.3.yaml +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/specifications/yaml/jellyfin-openapi-10.10.3.yaml @@ -1,10 +1,10 @@ openapi: 3.0.1 info: title: Jellyfin API - version: 10.8.13 - x-jellyfin-version: 10.8.13 + version: 10.10.3 + x-jellyfin-version: 10.10.3 servers: - - url: http://nuc.ehrendingen:8096 + - url: http://localhost paths: /System/ActivityLog/Entries: get: @@ -202,7 +202,7 @@ paths: schema: type: array items: - type: string + $ref: '#/components/schemas/MediaType' - name: genres in: query description: Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. @@ -320,7 +320,7 @@ paths: schema: type: array items: - type: string + $ref: '#/components/schemas/ItemSortBy' - name: sortOrder in: query description: Sort Order - Ascending,Descending. @@ -360,6 +360,45 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /Artists/{name}: + get: + tags: + - Artists + summary: Gets an artist by name. + operationId: GetArtistByName + parameters: + - name: name + in: path + description: Studio name. + required: true + schema: + type: string + - name: userId + in: query + description: Optional. Filter by user id, and attach user data. + schema: + type: string + format: uuid + responses: + "200": + description: Artist returned. + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization /Artists/AlbumArtists: get: tags: @@ -435,7 +474,7 @@ paths: schema: type: array items: - type: string + $ref: '#/components/schemas/MediaType' - name: genres in: query description: Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. @@ -553,7 +592,7 @@ paths: schema: type: array items: - type: string + $ref: '#/components/schemas/ItemSortBy' - name: sortOrder in: query description: Sort Order - Ascending,Descending. @@ -593,45 +632,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Artists/{name}: - get: - tags: - - Artists - summary: Gets an artist by name. - operationId: GetArtistByName - parameters: - - name: name - in: path - description: Studio name. - required: true - schema: - type: string - - name: userId - in: query - description: Optional. Filter by user id, and attach user data. - schema: - type: string - format: uuid - responses: - "200": - description: Artist returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Audio/{itemId}/stream: get: tags: @@ -670,6 +670,7 @@ paths: - name: deviceProfileId in: query description: Optional. The dlna device profile id to utilize. + deprecated: true schema: type: string - name: playSessionId @@ -707,7 +708,7 @@ paths: type: string - name: audioCodec in: query - description: 'Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url''s extension. Options: aac, mp3, vorbis, wma.' + description: Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -822,6 +823,12 @@ paths: in: query description: Optional. Specify the subtitle delivery method. schema: + enum: + - Encode + - Embed + - External + - Hls + - Drop allOf: - $ref: '#/components/schemas/SubtitleDeliveryMethod' - name: maxRefFrames @@ -875,7 +882,7 @@ paths: type: boolean - name: videoCodec in: query - description: 'Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url''s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.' + description: Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -906,6 +913,9 @@ paths: in: query description: Optional. The MediaBrowser.Model.Dlna.EncodingContext. schema: + enum: + - Streaming + - Static allOf: - $ref: '#/components/schemas/EncodingContext' - name: streamOptions @@ -916,6 +926,12 @@ paths: additionalProperties: type: string nullable: true + - name: enableAudioVbrEncoding + in: query + description: Optional. Whether to enable Audio Encoding. + schema: + type: boolean + default: true responses: "200": description: Audio stream returned. @@ -961,6 +977,7 @@ paths: - name: deviceProfileId in: query description: Optional. The dlna device profile id to utilize. + deprecated: true schema: type: string - name: playSessionId @@ -998,7 +1015,7 @@ paths: type: string - name: audioCodec in: query - description: 'Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url''s extension. Options: aac, mp3, vorbis, wma.' + description: Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -1113,6 +1130,12 @@ paths: in: query description: Optional. Specify the subtitle delivery method. schema: + enum: + - Encode + - Embed + - External + - Hls + - Drop allOf: - $ref: '#/components/schemas/SubtitleDeliveryMethod' - name: maxRefFrames @@ -1166,7 +1189,7 @@ paths: type: boolean - name: videoCodec in: query - description: 'Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url''s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.' + description: Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -1197,6 +1220,9 @@ paths: in: query description: Optional. The MediaBrowser.Model.Dlna.EncodingContext. schema: + enum: + - Streaming + - Static allOf: - $ref: '#/components/schemas/EncodingContext' - name: streamOptions @@ -1207,6 +1233,12 @@ paths: additionalProperties: type: string nullable: true + - name: enableAudioVbrEncoding + in: query + description: Optional. Whether to enable Audio Encoding. + schema: + type: boolean + default: true responses: "200": description: Audio stream returned. @@ -1253,6 +1285,7 @@ paths: - name: deviceProfileId in: query description: Optional. The dlna device profile id to utilize. + deprecated: true schema: type: string - name: playSessionId @@ -1268,7 +1301,7 @@ paths: type: string - name: segmentLength in: query - description: The segment lenght. + description: The segment length. schema: type: integer format: int32 @@ -1290,7 +1323,7 @@ paths: type: string - name: audioCodec in: query - description: 'Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url''s extension. Options: aac, mp3, vorbis, wma.' + description: Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -1405,6 +1438,12 @@ paths: in: query description: Optional. Specify the subtitle delivery method. schema: + enum: + - Encode + - Embed + - External + - Hls + - Drop allOf: - $ref: '#/components/schemas/SubtitleDeliveryMethod' - name: maxRefFrames @@ -1458,7 +1497,7 @@ paths: type: boolean - name: videoCodec in: query - description: 'Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url''s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.' + description: Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -1489,6 +1528,9 @@ paths: in: query description: Optional. The MediaBrowser.Model.Dlna.EncodingContext. schema: + enum: + - Streaming + - Static allOf: - $ref: '#/components/schemas/EncodingContext' - name: streamOptions @@ -1499,6 +1541,12 @@ paths: additionalProperties: type: string nullable: true + - name: enableAudioVbrEncoding + in: query + description: Optional. Whether to enable Audio Encoding. + schema: + type: boolean + default: true responses: "200": description: Audio stream returned. @@ -1544,6 +1592,7 @@ paths: - name: deviceProfileId in: query description: Optional. The dlna device profile id to utilize. + deprecated: true schema: type: string - name: playSessionId @@ -1559,7 +1608,7 @@ paths: type: string - name: segmentLength in: query - description: The segment lenght. + description: The segment length. schema: type: integer format: int32 @@ -1581,7 +1630,7 @@ paths: type: string - name: audioCodec in: query - description: 'Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url''s extension. Options: aac, mp3, vorbis, wma.' + description: Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -1696,6 +1745,12 @@ paths: in: query description: Optional. Specify the subtitle delivery method. schema: + enum: + - Encode + - Embed + - External + - Hls + - Drop allOf: - $ref: '#/components/schemas/SubtitleDeliveryMethod' - name: maxRefFrames @@ -1749,7 +1804,7 @@ paths: type: boolean - name: videoCodec in: query - description: 'Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url''s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.' + description: Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -1780,6 +1835,9 @@ paths: in: query description: Optional. The MediaBrowser.Model.Dlna.EncodingContext. schema: + enum: + - Streaming + - Static allOf: - $ref: '#/components/schemas/EncodingContext' - name: streamOptions @@ -1790,6 +1848,12 @@ paths: additionalProperties: type: string nullable: true + - name: enableAudioVbrEncoding + in: query + description: Optional. Whether to enable Audio Encoding. + schema: + type: boolean + default: true responses: "200": description: Audio stream returned. @@ -1925,105 +1989,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Channels/Features: - get: - tags: - - Channels - summary: Get all channel features. - operationId: GetAllChannelFeatures - responses: - "200": - description: All channel features returned. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ChannelFeatures' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/ChannelFeatures' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/ChannelFeatures' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Channels/Items/Latest: - get: - tags: - - Channels - summary: Gets latest channel items. - operationId: GetLatestChannelItems - parameters: - - name: userId - in: query - description: Optional. User Id. - schema: - type: string - format: uuid - - name: startIndex - in: query - description: Optional. The record index to start at. All items with a lower index will be dropped from the results. - schema: - type: integer - format: int32 - - name: limit - in: query - description: Optional. The maximum number of records to return. - schema: - type: integer - format: int32 - - name: filters - in: query - description: Optional. Specify additional filters to apply. - schema: - type: array - items: - $ref: '#/components/schemas/ItemFilter' - - name: fields - in: query - description: Optional. Specify additional fields of information to return in the output. - schema: - type: array - items: - $ref: '#/components/schemas/ItemFields' - - name: channelIds - in: query - description: Optional. Specify one or more channel id's, comma delimited. - schema: - type: array - items: - type: string - format: uuid - responses: - "200": - description: Latest channel items returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Channels/{channelId}/Features: get: tags: @@ -2116,7 +2081,7 @@ paths: schema: type: array items: - type: string + $ref: '#/components/schemas/ItemSortBy' - name: fields in: query description: Optional. Specify additional fields of information to return in the output. @@ -2144,6 +2109,105 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /Channels/Features: + get: + tags: + - Channels + summary: Get all channel features. + operationId: GetAllChannelFeatures + responses: + "200": + description: All channel features returned. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ChannelFeatures' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/ChannelFeatures' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/ChannelFeatures' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Channels/Items/Latest: + get: + tags: + - Channels + summary: Gets latest channel items. + operationId: GetLatestChannelItems + parameters: + - name: userId + in: query + description: Optional. User Id. + schema: + type: string + format: uuid + - name: startIndex + in: query + description: Optional. The record index to start at. All items with a lower index will be dropped from the results. + schema: + type: integer + format: int32 + - name: limit + in: query + description: Optional. The maximum number of records to return. + schema: + type: integer + format: int32 + - name: filters + in: query + description: Optional. Specify additional filters to apply. + schema: + type: array + items: + $ref: '#/components/schemas/ItemFilter' + - name: fields + in: query + description: Optional. Specify additional fields of information to return in the output. + schema: + type: array + items: + $ref: '#/components/schemas/ItemFields' + - name: channelIds + in: query + description: Optional. Specify one or more channel id's, comma delimited. + schema: + type: array + items: + type: string + format: uuid + responses: + "200": + description: Latest channel items returned. + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization /ClientLog/Document: post: tags: @@ -2248,6 +2312,7 @@ paths: description: Forbidden security: - CustomAuthentication: + - CollectionManagement - DefaultAuthorization /Collections/{collectionId}/Items: post: @@ -2281,6 +2346,7 @@ paths: description: Forbidden security: - CustomAuthentication: + - CollectionManagement - DefaultAuthorization delete: tags: @@ -2313,6 +2379,7 @@ paths: description: Forbidden security: - CustomAuthentication: + - CollectionManagement - DefaultAuthorization /System/Configuration: get: @@ -2375,33 +2442,6 @@ paths: - CustomAuthentication: - RequiresElevation - DefaultAuthorization - /System/Configuration/MetadataOptions/Default: - get: - tags: - - Configuration - summary: Gets a default MetadataOptions object. - operationId: GetDefaultMetadataOptions - responses: - "200": - description: Metadata options returned. - content: - application/json: - schema: - $ref: '#/components/schemas/MetadataOptions' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/MetadataOptions' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/MetadataOptions' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - - DefaultAuthorization /System/Configuration/{key}: get: tags: @@ -2463,42 +2503,32 @@ paths: - CustomAuthentication: - RequiresElevation - DefaultAuthorization - /System/MediaEncoder/Path: - post: + /System/Configuration/MetadataOptions/Default: + get: tags: - Configuration - summary: Updates the path to the media encoder. - operationId: UpdateMediaEncoderPath - requestBody: - description: Media encoder path form body. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/MediaEncoderPathDto' - description: Media Encoder Path Dto. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/MediaEncoderPathDto' - description: Media Encoder Path Dto. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/MediaEncoderPathDto' - description: Media Encoder Path Dto. - required: true + summary: Gets a default MetadataOptions object. + operationId: GetDefaultMetadataOptions responses: - "204": - description: Media encoder path updated. + "200": + description: Metadata options returned. + content: + application/json: + schema: + $ref: '#/components/schemas/MetadataOptions' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/MetadataOptions' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/MetadataOptions' "401": description: Unauthorized "403": description: Forbidden - deprecated: true security: - CustomAuthentication: - - FirstTimeSetupOrElevated + - RequiresElevation - DefaultAuthorization /web/ConfigurationPage: get: @@ -2585,7 +2615,7 @@ paths: description: Forbidden security: - CustomAuthentication: - - DefaultAuthorization + - RequiresElevation /Devices: get: tags: @@ -2593,11 +2623,6 @@ paths: summary: Get Devices. operationId: GetDevices parameters: - - name: supportsSync - in: query - description: Gets or sets a value indicating whether [supports synchronize]. - schema: - type: boolean - name: userId in: query description: Gets or sets the user identifier. @@ -2610,13 +2635,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceInfoQueryResult' + $ref: '#/components/schemas/DeviceInfoDtoQueryResult' application/json; profile="CamelCase": schema: - $ref: '#/components/schemas/DeviceInfoQueryResult' + $ref: '#/components/schemas/DeviceInfoDtoQueryResult' application/json; profile="PascalCase": schema: - $ref: '#/components/schemas/DeviceInfoQueryResult' + $ref: '#/components/schemas/DeviceInfoDtoQueryResult' "401": description: Unauthorized "403": @@ -2677,13 +2702,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceInfo' + $ref: '#/components/schemas/DeviceInfoDto' application/json; profile="CamelCase": schema: - $ref: '#/components/schemas/DeviceInfo' + $ref: '#/components/schemas/DeviceInfoDto' application/json; profile="PascalCase": schema: - $ref: '#/components/schemas/DeviceInfo' + $ref: '#/components/schemas/DeviceInfoDto' "404": description: Device not found. content: @@ -2722,13 +2747,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeviceOptions' + $ref: '#/components/schemas/DeviceOptionsDto' application/json; profile="CamelCase": schema: - $ref: '#/components/schemas/DeviceOptions' + $ref: '#/components/schemas/DeviceOptionsDto' application/json; profile="PascalCase": schema: - $ref: '#/components/schemas/DeviceOptions' + $ref: '#/components/schemas/DeviceOptionsDto' "404": description: Device not found. content: @@ -2805,7 +2830,6 @@ paths: - name: userId in: query description: User id. - required: true schema: type: string format: uuid @@ -2850,7 +2874,6 @@ paths: - name: userId in: query description: User Id. - required: true schema: type: string format: uuid @@ -2889,739 +2912,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Dlna/icons/{fileName}: - get: - tags: - - DlnaServer - summary: Gets a server icon. - operationId: GetIcon - parameters: - - name: fileName - in: path - description: The icon filename. - required: true - schema: - type: string - responses: - "200": - description: Request processed. - content: - image/*: - schema: - type: string - format: binary - "404": - description: Not Found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "503": - description: DLNA is disabled. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - AnonymousLanAccessPolicy - /Dlna/{serverId}/ConnectionManager: - get: - tags: - - DlnaServer - summary: Gets Dlna media receiver registrar xml. - operationId: GetConnectionManager - parameters: - - name: serverId - in: path - description: Server UUID. - required: true - schema: - type: string - responses: - "200": - description: Dlna media receiver registrar xml returned. - content: - text/xml: - schema: - type: string - format: binary - "503": - description: DLNA is disabled. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - AnonymousLanAccessPolicy - /Dlna/{serverId}/ConnectionManager/ConnectionManager: - get: - tags: - - DlnaServer - summary: Gets Dlna media receiver registrar xml. - operationId: GetConnectionManager_2 - parameters: - - name: serverId - in: path - description: Server UUID. - required: true - schema: - type: string - responses: - "200": - description: Dlna media receiver registrar xml returned. - content: - text/xml: - schema: - type: string - format: binary - "503": - description: DLNA is disabled. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - AnonymousLanAccessPolicy - /Dlna/{serverId}/ConnectionManager/ConnectionManager.xml: - get: - tags: - - DlnaServer - summary: Gets Dlna media receiver registrar xml. - operationId: GetConnectionManager_3 - parameters: - - name: serverId - in: path - description: Server UUID. - required: true - schema: - type: string - responses: - "200": - description: Dlna media receiver registrar xml returned. - content: - text/xml: - schema: - type: string - format: binary - "503": - description: DLNA is disabled. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - AnonymousLanAccessPolicy - /Dlna/{serverId}/ConnectionManager/Control: - post: - tags: - - DlnaServer - summary: Process a connection manager control request. - operationId: ProcessConnectionManagerControlRequest - parameters: - - name: serverId - in: path - description: Server UUID. - required: true - schema: - type: string - responses: - "200": - description: Request processed. - content: - text/xml: - schema: - type: string - format: binary - "503": - description: DLNA is disabled. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - AnonymousLanAccessPolicy - /Dlna/{serverId}/ContentDirectory: - get: - tags: - - DlnaServer - summary: Gets Dlna content directory xml. - operationId: GetContentDirectory - parameters: - - name: serverId - in: path - description: Server UUID. - required: true - schema: - type: string - responses: - "200": - description: Dlna content directory returned. - content: - text/xml: - schema: - type: string - format: binary - "503": - description: DLNA is disabled. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - AnonymousLanAccessPolicy - /Dlna/{serverId}/ContentDirectory/ContentDirectory: - get: - tags: - - DlnaServer - summary: Gets Dlna content directory xml. - operationId: GetContentDirectory_2 - parameters: - - name: serverId - in: path - description: Server UUID. - required: true - schema: - type: string - responses: - "200": - description: Dlna content directory returned. - content: - text/xml: - schema: - type: string - format: binary - "503": - description: DLNA is disabled. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - AnonymousLanAccessPolicy - /Dlna/{serverId}/ContentDirectory/ContentDirectory.xml: - get: - tags: - - DlnaServer - summary: Gets Dlna content directory xml. - operationId: GetContentDirectory_3 - parameters: - - name: serverId - in: path - description: Server UUID. - required: true - schema: - type: string - responses: - "200": - description: Dlna content directory returned. - content: - text/xml: - schema: - type: string - format: binary - "503": - description: DLNA is disabled. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - AnonymousLanAccessPolicy - /Dlna/{serverId}/ContentDirectory/Control: - post: - tags: - - DlnaServer - summary: Process a content directory control request. - operationId: ProcessContentDirectoryControlRequest - parameters: - - name: serverId - in: path - description: Server UUID. - required: true - schema: - type: string - responses: - "200": - description: Request processed. - content: - text/xml: - schema: - type: string - format: binary - "503": - description: DLNA is disabled. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - AnonymousLanAccessPolicy - /Dlna/{serverId}/MediaReceiverRegistrar: - get: - tags: - - DlnaServer - summary: Gets Dlna media receiver registrar xml. - operationId: GetMediaReceiverRegistrar - parameters: - - name: serverId - in: path - description: Server UUID. - required: true - schema: - type: string - responses: - "200": - description: Dlna media receiver registrar xml returned. - content: - text/xml: - schema: - type: string - format: binary - "503": - description: DLNA is disabled. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - AnonymousLanAccessPolicy - /Dlna/{serverId}/MediaReceiverRegistrar/Control: - post: - tags: - - DlnaServer - summary: Process a media receiver registrar control request. - operationId: ProcessMediaReceiverRegistrarControlRequest - parameters: - - name: serverId - in: path - description: Server UUID. - required: true - schema: - type: string - responses: - "200": - description: Request processed. - content: - text/xml: - schema: - type: string - format: binary - "503": - description: DLNA is disabled. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - AnonymousLanAccessPolicy - /Dlna/{serverId}/MediaReceiverRegistrar/MediaReceiverRegistrar: - get: - tags: - - DlnaServer - summary: Gets Dlna media receiver registrar xml. - operationId: GetMediaReceiverRegistrar_2 - parameters: - - name: serverId - in: path - description: Server UUID. - required: true - schema: - type: string - responses: - "200": - description: Dlna media receiver registrar xml returned. - content: - text/xml: - schema: - type: string - format: binary - "503": - description: DLNA is disabled. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - AnonymousLanAccessPolicy - /Dlna/{serverId}/MediaReceiverRegistrar/MediaReceiverRegistrar.xml: - get: - tags: - - DlnaServer - summary: Gets Dlna media receiver registrar xml. - operationId: GetMediaReceiverRegistrar_3 - parameters: - - name: serverId - in: path - description: Server UUID. - required: true - schema: - type: string - responses: - "200": - description: Dlna media receiver registrar xml returned. - content: - text/xml: - schema: - type: string - format: binary - "503": - description: DLNA is disabled. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - AnonymousLanAccessPolicy - /Dlna/{serverId}/description: - get: - tags: - - DlnaServer - summary: Get Description Xml. - operationId: GetDescriptionXml - parameters: - - name: serverId - in: path - description: Server UUID. - required: true - schema: - type: string - responses: - "200": - description: Description xml returned. - content: - text/xml: - schema: - type: string - format: binary - "503": - description: DLNA is disabled. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - AnonymousLanAccessPolicy - /Dlna/{serverId}/description.xml: - get: - tags: - - DlnaServer - summary: Get Description Xml. - operationId: GetDescriptionXml_2 - parameters: - - name: serverId - in: path - description: Server UUID. - required: true - schema: - type: string - responses: - "200": - description: Description xml returned. - content: - text/xml: - schema: - type: string - format: binary - "503": - description: DLNA is disabled. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - AnonymousLanAccessPolicy - /Dlna/{serverId}/icons/{fileName}: - get: - tags: - - DlnaServer - summary: Gets a server icon. - operationId: GetIconId - parameters: - - name: serverId - in: path - description: Server UUID. - required: true - schema: - type: string - - name: fileName - in: path - description: The icon filename. - required: true - schema: - type: string - responses: - "200": - description: Request processed. - content: - image/*: - schema: - type: string - format: binary - "404": - description: Not Found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "503": - description: DLNA is disabled. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - AnonymousLanAccessPolicy - /Dlna/ProfileInfos: - get: - tags: - - Dlna - summary: Get profile infos. - operationId: GetProfileInfos - responses: - "200": - description: Device profile infos returned. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/DeviceProfileInfo' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/DeviceProfileInfo' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/DeviceProfileInfo' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - /Dlna/Profiles: - post: - tags: - - Dlna - summary: Creates a profile. - operationId: CreateProfile - requestBody: - description: Device profile. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/DeviceProfile' - description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - text/json: - schema: - allOf: - - $ref: '#/components/schemas/DeviceProfile' - description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/DeviceProfile' - description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - responses: - "204": - description: Device profile created. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - /Dlna/Profiles/Default: - get: - tags: - - Dlna - summary: Gets the default profile. - operationId: GetDefaultProfile - responses: - "200": - description: Default device profile returned. - content: - application/json: - schema: - $ref: '#/components/schemas/DeviceProfile' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/DeviceProfile' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/DeviceProfile' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - /Dlna/Profiles/{profileId}: - get: - tags: - - Dlna - summary: Gets a single profile. - operationId: GetProfile - parameters: - - name: profileId - in: path - description: Profile Id. - required: true - schema: - type: string - responses: - "200": - description: Device profile returned. - content: - application/json: - schema: - $ref: '#/components/schemas/DeviceProfile' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/DeviceProfile' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/DeviceProfile' - "404": - description: Device profile not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - delete: - tags: - - Dlna - summary: Deletes a profile. - operationId: DeleteProfile - parameters: - - name: profileId - in: path - description: Profile id. - required: true - schema: - type: string - responses: - "204": - description: Device profile deleted. - "404": - description: Device profile not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - post: - tags: - - Dlna - summary: Updates a profile. - operationId: UpdateProfile - parameters: - - name: profileId - in: path - description: Profile id. - required: true - schema: - type: string - requestBody: - description: Device profile. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/DeviceProfile' - description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - text/json: - schema: - allOf: - - $ref: '#/components/schemas/DeviceProfile' - description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/DeviceProfile' - description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - responses: - "204": - description: Device profile updated. - "404": - description: Device profile not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation /Audio/{itemId}/hls1/{playlistId}/{segmentId}.{container}: get: tags: @@ -3687,6 +2977,7 @@ paths: - name: deviceProfileId in: query description: Optional. The dlna device profile id to utilize. + deprecated: true schema: type: string - name: playSessionId @@ -3724,7 +3015,7 @@ paths: type: string - name: audioCodec in: query - description: 'Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url''s extension. Options: aac, mp3, vorbis, wma.' + description: Optional. Specify an audio codec to encode to, e.g. mp3. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -3845,6 +3136,12 @@ paths: in: query description: Optional. Specify the subtitle delivery method. schema: + enum: + - Encode + - Embed + - External + - Hls + - Drop allOf: - $ref: '#/components/schemas/SubtitleDeliveryMethod' - name: maxRefFrames @@ -3898,7 +3195,7 @@ paths: type: boolean - name: videoCodec in: query - description: 'Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url''s extension. Options: h265, h264, mpeg4, theora, vpx, wmv.' + description: Optional. Specify a video codec to encode to, e.g. h264. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -3929,6 +3226,9 @@ paths: in: query description: Optional. The MediaBrowser.Model.Dlna.EncodingContext. schema: + enum: + - Streaming + - Static allOf: - $ref: '#/components/schemas/EncodingContext' - name: streamOptions @@ -3939,6 +3239,12 @@ paths: additionalProperties: type: string nullable: true + - name: enableAudioVbrEncoding + in: query + description: Optional. Whether to enable Audio Encoding. + schema: + type: boolean + default: true responses: "200": description: Video stream returned. @@ -3986,6 +3292,7 @@ paths: - name: deviceProfileId in: query description: Optional. The dlna device profile id to utilize. + deprecated: true schema: type: string - name: playSessionId @@ -4023,7 +3330,7 @@ paths: type: string - name: audioCodec in: query - description: 'Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url''s extension. Options: aac, mp3, vorbis, wma.' + description: Optional. Specify an audio codec to encode to, e.g. mp3. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -4144,6 +3451,12 @@ paths: in: query description: Optional. Specify the subtitle delivery method. schema: + enum: + - Encode + - Embed + - External + - Hls + - Drop allOf: - $ref: '#/components/schemas/SubtitleDeliveryMethod' - name: maxRefFrames @@ -4197,7 +3510,7 @@ paths: type: boolean - name: videoCodec in: query - description: 'Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url''s extension. Options: h265, h264, mpeg4, theora, vpx, wmv.' + description: Optional. Specify a video codec to encode to, e.g. h264. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -4228,6 +3541,9 @@ paths: in: query description: Optional. The MediaBrowser.Model.Dlna.EncodingContext. schema: + enum: + - Streaming + - Static allOf: - $ref: '#/components/schemas/EncodingContext' - name: streamOptions @@ -4238,6 +3554,12 @@ paths: additionalProperties: type: string nullable: true + - name: enableAudioVbrEncoding + in: query + description: Optional. Whether to enable Audio Encoding. + schema: + type: boolean + default: true responses: "200": description: Audio stream returned. @@ -4285,6 +3607,7 @@ paths: - name: deviceProfileId in: query description: Optional. The dlna device profile id to utilize. + deprecated: true schema: type: string - name: playSessionId @@ -4323,7 +3646,7 @@ paths: type: string - name: audioCodec in: query - description: 'Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url''s extension. Options: aac, mp3, vorbis, wma.' + description: Optional. Specify an audio codec to encode to, e.g. mp3. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -4444,6 +3767,12 @@ paths: in: query description: Optional. Specify the subtitle delivery method. schema: + enum: + - Encode + - Embed + - External + - Hls + - Drop allOf: - $ref: '#/components/schemas/SubtitleDeliveryMethod' - name: maxRefFrames @@ -4497,7 +3826,7 @@ paths: type: boolean - name: videoCodec in: query - description: 'Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url''s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.' + description: Optional. Specify a video codec to encode to, e.g. h264. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -4528,6 +3857,9 @@ paths: in: query description: Optional. The MediaBrowser.Model.Dlna.EncodingContext. schema: + enum: + - Streaming + - Static allOf: - $ref: '#/components/schemas/EncodingContext' - name: streamOptions @@ -4544,6 +3876,12 @@ paths: schema: type: boolean default: true + - name: enableAudioVbrEncoding + in: query + description: Optional. Whether to enable Audio Encoding. + schema: + type: boolean + default: true responses: "200": description: Audio stream returned. @@ -4590,6 +3928,7 @@ paths: - name: deviceProfileId in: query description: Optional. The dlna device profile id to utilize. + deprecated: true schema: type: string - name: playSessionId @@ -4628,7 +3967,7 @@ paths: type: string - name: audioCodec in: query - description: 'Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url''s extension. Options: aac, mp3, vorbis, wma.' + description: Optional. Specify an audio codec to encode to, e.g. mp3. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -4749,6 +4088,12 @@ paths: in: query description: Optional. Specify the subtitle delivery method. schema: + enum: + - Encode + - Embed + - External + - Hls + - Drop allOf: - $ref: '#/components/schemas/SubtitleDeliveryMethod' - name: maxRefFrames @@ -4802,7 +4147,7 @@ paths: type: boolean - name: videoCodec in: query - description: 'Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url''s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.' + description: Optional. Specify a video codec to encode to, e.g. h264. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -4833,6 +4178,9 @@ paths: in: query description: Optional. The MediaBrowser.Model.Dlna.EncodingContext. schema: + enum: + - Streaming + - Static allOf: - $ref: '#/components/schemas/EncodingContext' - name: streamOptions @@ -4849,6 +4197,12 @@ paths: schema: type: boolean default: true + - name: enableAudioVbrEncoding + in: query + description: Optional. Whether to enable Audio Encoding. + schema: + type: boolean + default: true responses: "200": description: Audio stream returned. @@ -4929,6 +4283,7 @@ paths: - name: deviceProfileId in: query description: Optional. The dlna device profile id to utilize. + deprecated: true schema: type: string - name: playSessionId @@ -4966,7 +4321,7 @@ paths: type: string - name: audioCodec in: query - description: 'Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url''s extension. Options: aac, mp3, vorbis, wma.' + description: Optional. Specify an audio codec to encode to, e.g. mp3. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -5093,6 +4448,12 @@ paths: in: query description: Optional. Specify the subtitle delivery method. schema: + enum: + - Encode + - Embed + - External + - Hls + - Drop allOf: - $ref: '#/components/schemas/SubtitleDeliveryMethod' - name: maxRefFrames @@ -5146,7 +4507,7 @@ paths: type: boolean - name: videoCodec in: query - description: 'Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url''s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.' + description: Optional. Specify a video codec to encode to, e.g. h264. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -5177,6 +4538,9 @@ paths: in: query description: Optional. The MediaBrowser.Model.Dlna.EncodingContext. schema: + enum: + - Streaming + - Static allOf: - $ref: '#/components/schemas/EncodingContext' - name: streamOptions @@ -5187,6 +4551,18 @@ paths: additionalProperties: type: string nullable: true + - name: enableAudioVbrEncoding + in: query + description: Optional. Whether to enable Audio Encoding. + schema: + type: boolean + default: true + - name: alwaysBurnInSubtitleWhenTranscoding + in: query + description: Whether to always burn in subtitles when transcoding. + schema: + type: boolean + default: false responses: "200": description: Video stream returned. @@ -5240,6 +4616,7 @@ paths: - name: deviceProfileId in: query description: Optional. The dlna device profile id to utilize. + deprecated: true schema: type: string - name: playSessionId @@ -5255,7 +4632,7 @@ paths: type: string - name: segmentLength in: query - description: The segment lenght. + description: The segment length. schema: type: integer format: int32 @@ -5277,7 +4654,7 @@ paths: type: string - name: audioCodec in: query - description: 'Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url''s extension. Options: aac, mp3, vorbis, wma.' + description: Optional. Specify an audio codec to encode to, e.g. mp3. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -5392,6 +4769,12 @@ paths: in: query description: Optional. Specify the subtitle delivery method. schema: + enum: + - Encode + - Embed + - External + - Hls + - Drop allOf: - $ref: '#/components/schemas/SubtitleDeliveryMethod' - name: maxRefFrames @@ -5445,7 +4828,7 @@ paths: type: boolean - name: videoCodec in: query - description: 'Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url''s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.' + description: Optional. Specify a video codec to encode to, e.g. h264. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -5476,6 +4859,9 @@ paths: in: query description: Optional. The MediaBrowser.Model.Dlna.EncodingContext. schema: + enum: + - Streaming + - Static allOf: - $ref: '#/components/schemas/EncodingContext' - name: streamOptions @@ -5503,6 +4889,18 @@ paths: description: Optional. Whether to enable subtitles in the manifest. schema: type: boolean + - name: enableAudioVbrEncoding + in: query + description: Optional. Whether to enable Audio Encoding. + schema: + type: boolean + default: true + - name: alwaysBurnInSubtitleWhenTranscoding + in: query + description: Whether to always burn in subtitles when transcoding. + schema: + type: boolean + default: false responses: "200": description: Hls live stream retrieved. @@ -5550,6 +4948,7 @@ paths: - name: deviceProfileId in: query description: Optional. The dlna device profile id to utilize. + deprecated: true schema: type: string - name: playSessionId @@ -5587,7 +4986,7 @@ paths: type: string - name: audioCodec in: query - description: 'Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url''s extension. Options: aac, mp3, vorbis, wma.' + description: Optional. Specify an audio codec to encode to, e.g. mp3. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -5714,6 +5113,12 @@ paths: in: query description: Optional. Specify the subtitle delivery method. schema: + enum: + - Encode + - Embed + - External + - Hls + - Drop allOf: - $ref: '#/components/schemas/SubtitleDeliveryMethod' - name: maxRefFrames @@ -5767,7 +5172,7 @@ paths: type: boolean - name: videoCodec in: query - description: 'Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url''s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.' + description: Optional. Specify a video codec to encode to, e.g. h264. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -5798,6 +5203,9 @@ paths: in: query description: Optional. The MediaBrowser.Model.Dlna.EncodingContext. schema: + enum: + - Streaming + - Static allOf: - $ref: '#/components/schemas/EncodingContext' - name: streamOptions @@ -5808,6 +5216,18 @@ paths: additionalProperties: type: string nullable: true + - name: enableAudioVbrEncoding + in: query + description: Optional. Whether to enable Audio Encoding. + schema: + type: boolean + default: true + - name: alwaysBurnInSubtitleWhenTranscoding + in: query + description: Whether to always burn in subtitles when transcoding. + schema: + type: boolean + default: false responses: "200": description: Video stream returned. @@ -5855,6 +5275,7 @@ paths: - name: deviceProfileId in: query description: Optional. The dlna device profile id to utilize. + deprecated: true schema: type: string - name: playSessionId @@ -5893,7 +5314,7 @@ paths: type: string - name: audioCodec in: query - description: 'Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url''s extension. Options: aac, mp3, vorbis, wma.' + description: Optional. Specify an audio codec to encode to, e.g. mp3. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -6020,6 +5441,12 @@ paths: in: query description: Optional. Specify the subtitle delivery method. schema: + enum: + - Encode + - Embed + - External + - Hls + - Drop allOf: - $ref: '#/components/schemas/SubtitleDeliveryMethod' - name: maxRefFrames @@ -6073,7 +5500,7 @@ paths: type: boolean - name: videoCodec in: query - description: 'Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url''s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.' + description: Optional. Specify a video codec to encode to, e.g. h264. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -6104,6 +5531,9 @@ paths: in: query description: Optional. The MediaBrowser.Model.Dlna.EncodingContext. schema: + enum: + - Streaming + - Static allOf: - $ref: '#/components/schemas/EncodingContext' - name: streamOptions @@ -6120,6 +5550,24 @@ paths: schema: type: boolean default: true + - name: enableTrickplay + in: query + description: Enable trickplay image playlists being added to master playlist. + schema: + type: boolean + default: true + - name: enableAudioVbrEncoding + in: query + description: Whether to enable Audio Encoding. + schema: + type: boolean + default: true + - name: alwaysBurnInSubtitleWhenTranscoding + in: query + description: Whether to always burn in subtitles when transcoding. + schema: + type: boolean + default: false responses: "200": description: Video stream returned. @@ -6166,6 +5614,7 @@ paths: - name: deviceProfileId in: query description: Optional. The dlna device profile id to utilize. + deprecated: true schema: type: string - name: playSessionId @@ -6204,7 +5653,7 @@ paths: type: string - name: audioCodec in: query - description: 'Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url''s extension. Options: aac, mp3, vorbis, wma.' + description: Optional. Specify an audio codec to encode to, e.g. mp3. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -6331,6 +5780,12 @@ paths: in: query description: Optional. Specify the subtitle delivery method. schema: + enum: + - Encode + - Embed + - External + - Hls + - Drop allOf: - $ref: '#/components/schemas/SubtitleDeliveryMethod' - name: maxRefFrames @@ -6384,7 +5839,7 @@ paths: type: boolean - name: videoCodec in: query - description: 'Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url''s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.' + description: Optional. Specify a video codec to encode to, e.g. h264. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -6415,6 +5870,9 @@ paths: in: query description: Optional. The MediaBrowser.Model.Dlna.EncodingContext. schema: + enum: + - Streaming + - Static allOf: - $ref: '#/components/schemas/EncodingContext' - name: streamOptions @@ -6431,6 +5889,24 @@ paths: schema: type: boolean default: true + - name: enableTrickplay + in: query + description: Enable trickplay image playlists being added to master playlist. + schema: + type: boolean + default: true + - name: enableAudioVbrEncoding + in: query + description: Whether to enable Audio Encoding. + schema: + type: boolean + default: true + - name: alwaysBurnInSubtitleWhenTranscoding + in: query + description: Whether to always burn in subtitles when transcoding. + schema: + type: boolean + default: false responses: "200": description: Video stream returned. @@ -6472,6 +5948,7 @@ paths: security: - CustomAuthentication: - FirstTimeSetupOrElevated + - DefaultAuthorization /Environment/DirectoryContents: get: tags: @@ -6523,6 +6000,7 @@ paths: security: - CustomAuthentication: - FirstTimeSetupOrElevated + - DefaultAuthorization /Environment/Drives: get: tags: @@ -6555,6 +6033,7 @@ paths: security: - CustomAuthentication: - FirstTimeSetupOrElevated + - DefaultAuthorization /Environment/NetworkShares: get: tags: @@ -6588,6 +6067,7 @@ paths: security: - CustomAuthentication: - FirstTimeSetupOrElevated + - DefaultAuthorization /Environment/ParentPath: get: tags: @@ -6621,6 +6101,7 @@ paths: security: - CustomAuthentication: - FirstTimeSetupOrElevated + - DefaultAuthorization /Environment/ValidatePath: post: tags: @@ -6668,6 +6149,7 @@ paths: security: - CustomAuthentication: - FirstTimeSetupOrElevated + - DefaultAuthorization /Items/Filters: get: tags: @@ -6700,7 +6182,7 @@ paths: schema: type: array items: - type: string + $ref: '#/components/schemas/MediaType' responses: "200": description: Legacy filters retrieved. @@ -6898,7 +6380,7 @@ paths: schema: type: array items: - type: string + $ref: '#/components/schemas/ItemSortBy' - name: sortOrder in: query description: Sort Order - Ascending,Descending. @@ -7031,69 +6513,6 @@ paths: schema: type: string format: binary - /Videos/ActiveEncodings: - delete: - tags: - - HlsSegment - summary: Stops an active encoding. - operationId: StopEncodingProcess - parameters: - - name: deviceId - in: query - description: The device id of the client requesting. Used to stop encoding processes when needed. - required: true - schema: - type: string - - name: playSessionId - in: query - description: The play session id. - required: true - schema: - type: string - responses: - "204": - description: Encoding stopped successfully. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Videos/{itemId}/hls/{playlistId}/stream.m3u8: - get: - tags: - - HlsSegment - summary: Gets a hls video playlist. - operationId: GetHlsPlaylistLegacy - parameters: - - name: itemId - in: path - description: The video id. - required: true - schema: - type: string - - name: playlistId - in: path - description: The playlist id. - required: true - schema: - type: string - responses: - "200": - description: Hls video playlist returned. - content: - application/x-mpegURL: - schema: - type: string - format: binary - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Videos/{itemId}/hls/{playlistId}/{segmentId}.{segmentContainer}: get: tags: @@ -7145,31 +6564,33 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/ProblemDetails' - /Images/General: + /Videos/{itemId}/hls/{playlistId}/stream.m3u8: get: tags: - - ImageByName - summary: Get all general images. - operationId: GetGeneralImages + - HlsSegment + summary: Gets a hls video playlist. + operationId: GetHlsPlaylistLegacy + parameters: + - name: itemId + in: path + description: The video id. + required: true + schema: + type: string + - name: playlistId + in: path + description: The playlist id. + required: true + schema: + type: string responses: "200": - description: Retrieved list of images. + description: Hls video playlist returned. content: - application/json: + application/x-mpegURL: schema: - type: array - items: - $ref: '#/components/schemas/ImageByNameInfo' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/ImageByNameInfo' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/ImageByNameInfo' + type: string + format: binary "401": description: Unauthorized "403": @@ -7177,73 +6598,28 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Images/General/{name}/{type}: - get: + /Videos/ActiveEncodings: + delete: tags: - - ImageByName - summary: Get General Image. - operationId: GetGeneralImage + - HlsSegment + summary: Stops an active encoding. + operationId: StopEncodingProcess parameters: - - name: name - in: path - description: The name of the image. + - name: deviceId + in: query + description: The device id of the client requesting. Used to stop encoding processes when needed. required: true schema: type: string - - name: type - in: path - description: Image Type (primary, backdrop, logo, etc). + - name: playSessionId + in: query + description: The play session id. required: true schema: type: string responses: - "200": - description: Image stream retrieved. - content: - image/*: - schema: - type: string - format: binary - "404": - description: Image not found. - content: - application/octet-stream: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - /Images/MediaInfo: - get: - tags: - - ImageByName - summary: Get all media info images. - operationId: GetMediaInfoImages - responses: - "200": - description: Image list retrieved. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ImageByNameInfo' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/ImageByNameInfo' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/ImageByNameInfo' + "204": + description: Encoding stopped successfully. "401": description: Unauthorized "403": @@ -7251,122 +6627,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Images/MediaInfo/{theme}/{name}: - get: - tags: - - ImageByName - summary: Get media info image. - operationId: GetMediaInfoImage - parameters: - - name: theme - in: path - description: The theme to get the image from. - required: true - schema: - type: string - - name: name - in: path - description: The name of the image. - required: true - schema: - type: string - responses: - "200": - description: Image stream retrieved. - content: - image/*: - schema: - type: string - format: binary - "404": - description: Image not found. - content: - application/octet-stream: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - /Images/Ratings: - get: - tags: - - ImageByName - summary: Get all general images. - operationId: GetRatingImages - responses: - "200": - description: Retrieved list of images. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ImageByNameInfo' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/ImageByNameInfo' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/ImageByNameInfo' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Images/Ratings/{theme}/{name}: - get: - tags: - - ImageByName - summary: Get rating image. - operationId: GetRatingImage - parameters: - - name: theme - in: path - description: The theme to get the image from. - required: true - schema: - type: string - - name: name - in: path - description: The name of the image. - required: true - schema: - type: string - responses: - "200": - description: Image stream retrieved. - content: - image/*: - schema: - type: string - format: binary - "404": - description: Image not found. - content: - application/octet-stream: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' /Artists/{name}/Images/{imageType}/{imageIndex}: get: tags: @@ -7385,6 +6645,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -7397,6 +6671,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -7453,17 +6734,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -7524,6 +6794,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -7536,6 +6820,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -7592,17 +6883,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -7662,6 +6942,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -7809,6 +7096,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -7821,6 +7122,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -7877,17 +7185,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -7947,6 +7244,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -7959,6 +7270,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -8015,17 +7333,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -8086,6 +7393,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -8105,6 +7426,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -8161,17 +7489,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -8225,6 +7542,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -8244,6 +7575,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -8300,17 +7638,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -8418,6 +7745,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -8467,6 +7808,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -8479,6 +7834,18 @@ paths: responses: "204": description: Image saved. + "400": + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "404": description: Item not found. content: @@ -8516,6 +7883,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -8566,23 +7947,19 @@ paths: description: Optional. Supply the cache tag from the item object to receive strong caching headers. schema: type: string - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - name: format in: query description: Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: percentPlayed in: query description: Optional. Percent to render for the percent played overlay. @@ -8655,6 +8032,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -8705,23 +8096,19 @@ paths: description: Optional. Supply the cache tag from the item object to receive strong caching headers. schema: type: string - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - name: format in: query description: Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: percentPlayed in: query description: Optional. Percent to render for the percent played overlay. @@ -8795,6 +8182,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -8845,6 +8246,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -8864,6 +8279,18 @@ paths: responses: "204": description: Image saved. + "400": + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "404": description: Item not found. content: @@ -8901,6 +8328,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -8958,23 +8399,19 @@ paths: description: Optional. Supply the cache tag from the item object to receive strong caching headers. schema: type: string - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - name: format in: query description: Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: percentPlayed in: query description: Optional. Percent to render for the percent played overlay. @@ -9041,6 +8478,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -9098,23 +8549,19 @@ paths: description: Optional. Supply the cache tag from the item object to receive strong caching headers. schema: type: string - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - name: format in: query description: Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: percentPlayed in: query description: Optional. Percent to render for the percent played overlay. @@ -9163,64 +8610,6 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/ProblemDetails' - /Items/{itemId}/Images/{imageType}/{imageIndex}/Index: - post: - tags: - - Image - summary: Updates the index for an item image. - operationId: UpdateItemImageIndex - parameters: - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - - name: imageType - in: path - description: Image type. - required: true - schema: - allOf: - - $ref: '#/components/schemas/ImageType' - description: Enum ImageType. - - name: imageIndex - in: path - description: Old image index. - required: true - schema: - type: integer - format: int32 - - name: newIndex - in: query - description: New image index. - required: true - schema: - type: integer - format: int32 - responses: - "204": - description: Image index updated. - "404": - description: Item not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation /Items/{itemId}/Images/{imageType}/{imageIndex}/{tag}/{format}/{maxWidth}/{maxHeight}/{percentPlayed}/{unplayedCount}: get: tags: @@ -9240,6 +8629,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -9293,25 +8696,21 @@ paths: required: true schema: type: string - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - name: format in: path description: Determines the output format of the image - original,gif,jpg,png. required: true schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' description: Enum ImageOutputFormat. - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: percentPlayed in: path description: Optional. Percent to render for the percent played overlay. @@ -9387,6 +8786,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -9440,25 +8853,21 @@ paths: required: true schema: type: string - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - name: format in: path description: Determines the output format of the image - original,gif,jpg,png. required: true schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' description: Enum ImageOutputFormat. - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: percentPlayed in: path description: Optional. Percent to render for the percent played overlay. @@ -9516,6 +8925,78 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/ProblemDetails' + /Items/{itemId}/Images/{imageType}/{imageIndex}/Index: + post: + tags: + - Image + summary: Updates the index for an item image. + operationId: UpdateItemImageIndex + parameters: + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + - name: imageType + in: path + description: Image type. + required: true + schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile + allOf: + - $ref: '#/components/schemas/ImageType' + description: Enum ImageType. + - name: imageIndex + in: path + description: Old image index. + required: true + schema: + type: integer + format: int32 + - name: newIndex + in: query + description: New image index. + required: true + schema: + type: integer + format: int32 + responses: + "204": + description: Image index updated. + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation /MusicGenres/{name}/Images/{imageType}: get: tags: @@ -9534,6 +9015,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -9546,6 +9041,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -9602,17 +9104,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -9672,6 +9163,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -9684,6 +9189,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -9740,17 +9252,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -9811,6 +9312,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -9830,6 +9345,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -9886,17 +9408,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -9950,6 +9461,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -9969,6 +9494,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -10025,17 +9557,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -10090,6 +9611,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -10102,6 +9637,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -10158,17 +9700,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -10228,6 +9759,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -10240,6 +9785,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -10296,17 +9848,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -10367,6 +9908,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -10386,6 +9941,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -10442,17 +10004,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -10506,6 +10057,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -10525,6 +10090,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -10581,17 +10153,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -10646,6 +10207,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -10658,6 +10233,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -10714,17 +10296,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -10784,6 +10355,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -10796,6 +10381,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -10852,17 +10444,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -10923,6 +10504,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -10942,6 +10537,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -10998,17 +10600,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -11062,6 +10653,20 @@ paths: description: Image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -11081,6 +10686,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -11137,17 +10749,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -11184,7 +10785,7 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/ProblemDetails' - /Users/{userId}/Images/{imageType}: + /UserImage: post: tags: - Image @@ -11192,26 +10793,11 @@ paths: operationId: PostUserImage parameters: - name: userId - in: path + in: query description: User Id. - required: true schema: type: string format: uuid - - name: imageType - in: path - description: (Unused) Image type. - required: true - schema: - allOf: - - $ref: '#/components/schemas/ImageType' - description: Enum ImageType. - - name: index - in: query - description: (Unused) Image index. - schema: - type: integer - format: int32 requestBody: content: image/*: @@ -11221,6 +10807,18 @@ paths: responses: "204": description: Image updated. + "400": + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "403": description: User does not have permission to delete the image. content: @@ -11233,6 +10831,18 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/ProblemDetails' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized security: @@ -11245,26 +10855,11 @@ paths: operationId: DeleteUserImage parameters: - name: userId - in: path + in: query description: User Id. - required: true schema: type: string format: uuid - - name: imageType - in: path - description: (Unused) Image type. - required: true - schema: - allOf: - - $ref: '#/components/schemas/ImageType' - description: Enum ImageType. - - name: index - in: query - description: (Unused) Image index. - schema: - type: integer - format: int32 responses: "204": description: Image deleted. @@ -11292,20 +10887,11 @@ paths: operationId: GetUserImage parameters: - name: userId - in: path + in: query description: User id. - required: true schema: type: string format: uuid - - name: imageType - in: path - description: Image type. - required: true - schema: - allOf: - - $ref: '#/components/schemas/ImageType' - description: Enum ImageType. - name: tag in: query description: Optional. Supply the cache tag from the item object to receive strong caching headers. @@ -11315,6 +10901,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -11371,17 +10964,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -11412,6 +10994,18 @@ paths: schema: type: string format: binary + "400": + description: User id not provided. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "404": description: Item not found. content: @@ -11431,20 +11025,11 @@ paths: operationId: HeadUserImage parameters: - name: userId - in: path + in: query description: User id. - required: true schema: type: string format: uuid - - name: imageType - in: path - description: Image type. - required: true - schema: - allOf: - - $ref: '#/components/schemas/ImageType' - description: Enum ImageType. - name: tag in: query description: Optional. Supply the cache tag from the item object to receive strong caching headers. @@ -11454,6 +11039,13 @@ paths: in: query description: Determines the output format of the image - original,gif,jpg,png. schema: + enum: + - Bmp + - Gif + - Jpg + - Png + - Webp + - Svg allOf: - $ref: '#/components/schemas/ImageFormat' - name: maxWidth @@ -11510,17 +11102,6 @@ paths: schema: type: integer format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - name: blur in: query description: Optional. Blur image. @@ -11551,6 +11132,18 @@ paths: schema: type: string format: binary + "400": + description: User id not provided. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "404": description: Item not found. content: @@ -11563,398 +11156,14 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/ProblemDetails' - /Users/{userId}/Images/{imageType}/{imageIndex}: - get: - tags: - - Image - summary: Get user profile image. - operationId: GetUserImageByIndex - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: imageType - in: path - description: Image type. - required: true - schema: - allOf: - - $ref: '#/components/schemas/ImageType' - description: Enum ImageType. - - name: imageIndex - in: path - description: Image index. - required: true - schema: - type: integer - format: int32 - - name: tag - in: query - description: Optional. Supply the cache tag from the item object to receive strong caching headers. - schema: - type: string - - name: format - in: query - description: Determines the output format of the image - original,gif,jpg,png. - schema: - allOf: - - $ref: '#/components/schemas/ImageFormat' - - name: maxWidth - in: query - description: The maximum image width to return. - schema: - type: integer - format: int32 - - name: maxHeight - in: query - description: The maximum image height to return. - schema: - type: integer - format: int32 - - name: percentPlayed - in: query - description: Optional. Percent to render for the percent played overlay. - schema: - type: number - format: double - - name: unplayedCount - in: query - description: Optional. Unplayed count overlay to render. - schema: - type: integer - format: int32 - - name: width - in: query - description: The fixed image width to return. - schema: - type: integer - format: int32 - - name: height - in: query - description: The fixed image height to return. - schema: - type: integer - format: int32 - - name: quality - in: query - description: Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - schema: - type: integer - format: int32 - - name: fillWidth - in: query - description: Width of box to fill. - schema: - type: integer - format: int32 - - name: fillHeight - in: query - description: Height of box to fill. - schema: - type: integer - format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - - name: blur - in: query - description: Optional. Blur image. - schema: - type: integer - format: int32 - - name: backgroundColor - in: query - description: Optional. Apply a background color for transparent images. - schema: - type: string - - name: foregroundLayer - in: query - description: Optional. Apply a foreground layer on top of the image. - schema: - type: string - responses: - "200": - description: Image stream returned. - content: - image/*: - schema: - type: string - format: binary - "404": - description: Item not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - head: - tags: - - Image - summary: Get user profile image. - operationId: HeadUserImageByIndex - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: imageType - in: path - description: Image type. - required: true - schema: - allOf: - - $ref: '#/components/schemas/ImageType' - description: Enum ImageType. - - name: imageIndex - in: path - description: Image index. - required: true - schema: - type: integer - format: int32 - - name: tag - in: query - description: Optional. Supply the cache tag from the item object to receive strong caching headers. - schema: - type: string - - name: format - in: query - description: Determines the output format of the image - original,gif,jpg,png. - schema: - allOf: - - $ref: '#/components/schemas/ImageFormat' - - name: maxWidth - in: query - description: The maximum image width to return. - schema: - type: integer - format: int32 - - name: maxHeight - in: query - description: The maximum image height to return. - schema: - type: integer - format: int32 - - name: percentPlayed - in: query - description: Optional. Percent to render for the percent played overlay. - schema: - type: number - format: double - - name: unplayedCount - in: query - description: Optional. Unplayed count overlay to render. - schema: - type: integer - format: int32 - - name: width - in: query - description: The fixed image width to return. - schema: - type: integer - format: int32 - - name: height - in: query - description: The fixed image height to return. - schema: - type: integer - format: int32 - - name: quality - in: query - description: Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - schema: - type: integer - format: int32 - - name: fillWidth - in: query - description: Width of box to fill. - schema: - type: integer - format: int32 - - name: fillHeight - in: query - description: Height of box to fill. - schema: - type: integer - format: int32 - - name: cropWhitespace - in: query - description: Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - deprecated: true - schema: - type: boolean - - name: addPlayedIndicator - in: query - description: Optional. Add a played indicator. - schema: - type: boolean - - name: blur - in: query - description: Optional. Blur image. - schema: - type: integer - format: int32 - - name: backgroundColor - in: query - description: Optional. Apply a background color for transparent images. - schema: - type: string - - name: foregroundLayer - in: query - description: Optional. Apply a foreground layer on top of the image. - schema: - type: string - responses: - "200": - description: Image stream returned. - content: - image/*: - schema: - type: string - format: binary - "404": - description: Item not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - /Users/{userId}/Images/{imageType}/{index}: - post: - tags: - - Image - summary: Sets the user image. - operationId: PostUserImageByIndex - parameters: - - name: userId - in: path - description: User Id. - required: true - schema: - type: string - format: uuid - - name: imageType - in: path - description: (Unused) Image type. - required: true - schema: - allOf: - - $ref: '#/components/schemas/ImageType' - description: Enum ImageType. - - name: index - in: path - description: (Unused) Image index. - required: true - schema: - type: integer - format: int32 - requestBody: - content: - image/*: - schema: - type: string - format: binary - responses: - "204": - description: Image updated. - "403": - description: User does not have permission to delete the image. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - security: - - CustomAuthentication: - - DefaultAuthorization - delete: - tags: - - Image - summary: Delete the user's image. - operationId: DeleteUserImageByIndex - parameters: - - name: userId - in: path - description: User Id. - required: true - schema: - type: string - format: uuid - - name: imageType - in: path - description: (Unused) Image type. - required: true - schema: - allOf: - - $ref: '#/components/schemas/ImageType' - description: Enum ImageType. - - name: index - in: path - description: (Unused) Image index. - required: true - schema: - type: integer - format: int32 - responses: - "204": - description: Image deleted. - "403": - description: User does not have permission to delete the image. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - security: - - CustomAuthentication: - - DefaultAuthorization - /Albums/{id}/InstantMix: + /Albums/{itemId}/InstantMix: get: tags: - InstantMix summary: Creates an instant playlist based on a given album. operationId: GetInstantMixFromAlbum parameters: - - name: id + - name: itemId in: path description: The item id. required: true @@ -12016,6 +11225,106 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/BaseItemDtoQueryResult' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Artists/{itemId}/InstantMix: + get: + tags: + - InstantMix + summary: Creates an instant playlist based on a given artist. + operationId: GetInstantMixFromArtists + parameters: + - name: itemId + in: path + description: The item id. + required: true + schema: + type: string + format: uuid + - name: userId + in: query + description: Optional. Filter by user id, and attach user data. + schema: + type: string + format: uuid + - name: limit + in: query + description: Optional. The maximum number of records to return. + schema: + type: integer + format: int32 + - name: fields + in: query + description: Optional. Specify additional fields of information to return in the output. + schema: + type: array + items: + $ref: '#/components/schemas/ItemFields' + - name: enableImages + in: query + description: Optional. Include image information in output. + schema: + type: boolean + - name: enableUserData + in: query + description: Optional. Include user data. + schema: + type: boolean + - name: imageTypeLimit + in: query + description: Optional. The max number of images to return, per image type. + schema: + type: integer + format: int32 + - name: enableImageTypes + in: query + description: Optional. The image types to include in the output. + schema: + type: array + items: + $ref: '#/components/schemas/ImageType' + responses: + "200": + description: Instant playlist returned. + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized "403": @@ -12092,6 +11401,18 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/BaseItemDtoQueryResult' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized "403": @@ -12100,14 +11421,14 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Artists/{id}/InstantMix: + /Items/{itemId}/InstantMix: get: tags: - InstantMix - summary: Creates an instant playlist based on a given artist. - operationId: GetInstantMixFromArtists + summary: Creates an instant playlist based on a given item. + operationId: GetInstantMixFromItem parameters: - - name: id + - name: itemId in: path description: The item id. required: true @@ -12169,6 +11490,18 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/BaseItemDtoQueryResult' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized "403": @@ -12176,20 +11509,19 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Items/{id}/InstantMix: + /MusicGenres/{name}/InstantMix: get: tags: - InstantMix - summary: Creates an instant playlist based on a given item. - operationId: GetInstantMixFromItem + summary: Creates an instant playlist based on a given genre. + operationId: GetInstantMixFromMusicGenreByName parameters: - - name: id + - name: name in: path - description: The item id. + description: The genre name. required: true schema: type: string - format: uuid - name: userId in: query description: Optional. Filter by user id, and attach user data. @@ -12321,81 +11653,18 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/BaseItemDtoQueryResult' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /MusicGenres/{name}/InstantMix: - get: - tags: - - InstantMix - summary: Creates an instant playlist based on a given genre. - operationId: GetInstantMixFromMusicGenreByName - parameters: - - name: name - in: path - description: The genre name. - required: true - schema: - type: string - - name: userId - in: query - description: Optional. Filter by user id, and attach user data. - schema: - type: string - format: uuid - - name: limit - in: query - description: Optional. The maximum number of records to return. - schema: - type: integer - format: int32 - - name: fields - in: query - description: Optional. Specify additional fields of information to return in the output. - schema: - type: array - items: - $ref: '#/components/schemas/ItemFields' - - name: enableImages - in: query - description: Optional. Include image information in output. - schema: - type: boolean - - name: enableUserData - in: query - description: Optional. Include user data. - schema: - type: boolean - - name: imageTypeLimit - in: query - description: Optional. The max number of images to return, per image type. - schema: - type: integer - format: int32 - - name: enableImageTypes - in: query - description: Optional. The image types to include in the output. - schema: - type: array - items: - $ref: '#/components/schemas/ImageType' - responses: - "200": - description: Instant playlist returned. + "404": + description: Item not found. content: application/json: schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' + $ref: '#/components/schemas/ProblemDetails' application/json; profile="CamelCase": schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' + $ref: '#/components/schemas/ProblemDetails' application/json; profile="PascalCase": schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized "403": @@ -12403,14 +11672,14 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Playlists/{id}/InstantMix: + /Playlists/{itemId}/InstantMix: get: tags: - InstantMix summary: Creates an instant playlist based on a given playlist. operationId: GetInstantMixFromPlaylist parameters: - - name: id + - name: itemId in: path description: The item id. required: true @@ -12472,6 +11741,18 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/BaseItemDtoQueryResult' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized "403": @@ -12479,14 +11760,14 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Songs/{id}/InstantMix: + /Songs/{itemId}/InstantMix: get: tags: - InstantMix summary: Creates an instant playlist based on a given song. operationId: GetInstantMixFromSong parameters: - - name: id + - name: itemId in: path description: The item id. required: true @@ -12548,6 +11829,18 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/BaseItemDtoQueryResult' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized "403": @@ -12555,6 +11848,59 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /Items/{itemId}/ExternalIdInfos: + get: + tags: + - ItemLookup + summary: Get the item's external id info. + operationId: GetExternalIdInfos + parameters: + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: External id info retrieved. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ExternalIdInfo' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/ExternalIdInfo' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/ExternalIdInfo' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation + - DefaultAuthorization /Items/RemoteSearch/Apply/{itemId}: post: tags: @@ -12594,6 +11940,18 @@ paths: responses: "204": description: Item metadata refreshed. + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized "403": @@ -13035,59 +12393,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Items/{itemId}/ExternalIdInfos: - get: - tags: - - ItemLookup - summary: Get the item's external id info. - operationId: GetExternalIdInfos - parameters: - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: External id info retrieved. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ExternalIdInfo' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/ExternalIdInfo' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/ExternalIdInfo' - "404": - description: Item not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - - DefaultAuthorization /Items/{itemId}/Refresh: post: tags: @@ -13106,6 +12411,11 @@ paths: in: query description: (Optional) Specifies the metadata refresh mode. schema: + enum: + - None + - ValidationOnly + - Default + - FullRefresh allOf: - $ref: '#/components/schemas/MetadataRefreshMode' default: None @@ -13113,6 +12423,11 @@ paths: in: query description: (Optional) Specifies the image refresh mode. schema: + enum: + - None + - ValidationOnly + - Default + - FullRefresh allOf: - $ref: '#/components/schemas/MetadataRefreshMode' default: None @@ -13128,6 +12443,12 @@ paths: schema: type: boolean default: false + - name: regenerateTrickplay + in: query + description: (Optional) Determines if trickplay images should be replaced. Only applicable if mode is FullRefresh. + schema: + type: boolean + default: false responses: "204": description: Item metadata refresh queued. @@ -13150,181 +12471,6 @@ paths: security: - CustomAuthentication: - RequiresElevation - /Items/{itemId}: - post: - tags: - - ItemUpdate - summary: Updates an item. - operationId: UpdateItem - parameters: - - name: itemId - in: path - description: The item id. - required: true - schema: - type: string - format: uuid - requestBody: - description: The new item properties. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/BaseItemDto' - description: "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." - text/json: - schema: - allOf: - - $ref: '#/components/schemas/BaseItemDto' - description: "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/BaseItemDto' - description: "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." - required: true - responses: - "204": - description: Item updated. - "404": - description: Item not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - delete: - tags: - - Library - summary: Deletes an item from the library and filesystem. - operationId: DeleteItem - parameters: - - name: itemId - in: path - description: The item id. - required: true - schema: - type: string - format: uuid - responses: - "204": - description: Item deleted. - "401": - description: Unauthorized access. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Items/{itemId}/ContentType: - post: - tags: - - ItemUpdate - summary: Updates an item's content type. - operationId: UpdateItemContentType - parameters: - - name: itemId - in: path - description: The item id. - required: true - schema: - type: string - format: uuid - - name: contentType - in: query - description: The content type of the item. - schema: - type: string - responses: - "204": - description: Item content type updated. - "404": - description: Item not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - /Items/{itemId}/MetadataEditor: - get: - tags: - - ItemUpdate - summary: Gets metadata editor info for an item. - operationId: GetMetadataEditorInfo - parameters: - - name: itemId - in: path - description: The item id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: Item metadata editor returned. - content: - application/json: - schema: - $ref: '#/components/schemas/MetadataEditorInfo' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/MetadataEditorInfo' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/MetadataEditorInfo' - "404": - description: Item not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation /Items: get: tags: @@ -13334,7 +12480,7 @@ paths: parameters: - name: userId in: query - description: The user id supplied as query parameter. + description: The user id supplied as query parameter; this is required when not using an API key. schema: type: string format: uuid @@ -13373,6 +12519,13 @@ paths: description: Optional. Return items that are siblings of a supplied item. schema: type: string + format: uuid + - name: indexNumber + in: query + description: Optional filter by index number. + schema: + type: integer + format: int32 - name: parentIndexNumber in: query description: Optional filter by parent index number. @@ -13461,17 +12614,17 @@ paths: type: boolean - name: hasImdbId in: query - description: Optional filter by items that have an imdb id or not. + description: Optional filter by items that have an IMDb id or not. schema: type: boolean - name: hasTmdbId in: query - description: Optional filter by items that have a tmdb id or not. + description: Optional filter by items that have a TMDb id or not. schema: type: boolean - name: hasTvdbId in: query - description: Optional filter by items that have a tvdb id or not. + description: Optional filter by items that have a TVDb id or not. schema: type: boolean - name: isMovie @@ -13531,7 +12684,7 @@ paths: type: string - name: sortOrder in: query - description: Sort Order - Ascending,Descending. + description: Sort Order - Ascending, Descending. schema: type: array items: @@ -13581,7 +12734,7 @@ paths: schema: type: array items: - type: string + $ref: '#/components/schemas/MediaType' - name: imageTypes in: query description: Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. @@ -13595,7 +12748,7 @@ paths: schema: type: array items: - type: string + $ref: '#/components/schemas/ItemSortBy' - name: isPlayed in: query description: Optional filter by items that are played, or not. @@ -13897,548 +13050,68 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/ProblemDetails' + "404": + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "403": description: Forbidden security: - CustomAuthentication: - DefaultAuthorization - /Users/{userId}/Items: + /UserItems/{itemId}/UserData: get: tags: - Items - summary: Gets items based on a query. - operationId: GetItemsByUserId + summary: Get Item User Data. + operationId: GetItemUserData parameters: - name: userId + in: query + description: The user id. + schema: + type: string + format: uuid + - name: itemId in: path - description: The user id supplied as query parameter. + description: The item id. required: true schema: type: string format: uuid - - name: maxOfficialRating - in: query - description: Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). - schema: - type: string - - name: hasThemeSong - in: query - description: Optional filter by items with theme songs. - schema: - type: boolean - - name: hasThemeVideo - in: query - description: Optional filter by items with theme videos. - schema: - type: boolean - - name: hasSubtitles - in: query - description: Optional filter by items with subtitles. - schema: - type: boolean - - name: hasSpecialFeature - in: query - description: Optional filter by items with special features. - schema: - type: boolean - - name: hasTrailer - in: query - description: Optional filter by items with trailers. - schema: - type: boolean - - name: adjacentTo - in: query - description: Optional. Return items that are siblings of a supplied item. - schema: - type: string - - name: parentIndexNumber - in: query - description: Optional filter by parent index number. - schema: - type: integer - format: int32 - - name: hasParentalRating - in: query - description: Optional filter by items that have or do not have a parental rating. - schema: - type: boolean - - name: isHd - in: query - description: Optional filter by items that are HD or not. - schema: - type: boolean - - name: is4K - in: query - description: Optional filter by items that are 4K or not. - schema: - type: boolean - - name: locationTypes - in: query - description: Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. - schema: - type: array - items: - $ref: '#/components/schemas/LocationType' - - name: excludeLocationTypes - in: query - description: Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. - schema: - type: array - items: - $ref: '#/components/schemas/LocationType' - - name: isMissing - in: query - description: Optional filter by items that are missing episodes or not. - schema: - type: boolean - - name: isUnaired - in: query - description: Optional filter by items that are unaired episodes or not. - schema: - type: boolean - - name: minCommunityRating - in: query - description: Optional filter by minimum community rating. - schema: - type: number - format: double - - name: minCriticRating - in: query - description: Optional filter by minimum critic rating. - schema: - type: number - format: double - - name: minPremiereDate - in: query - description: Optional. The minimum premiere date. Format = ISO. - schema: - type: string - format: date-time - - name: minDateLastSaved - in: query - description: Optional. The minimum last saved date. Format = ISO. - schema: - type: string - format: date-time - - name: minDateLastSavedForUser - in: query - description: Optional. The minimum last saved date for the current user. Format = ISO. - schema: - type: string - format: date-time - - name: maxPremiereDate - in: query - description: Optional. The maximum premiere date. Format = ISO. - schema: - type: string - format: date-time - - name: hasOverview - in: query - description: Optional filter by items that have an overview or not. - schema: - type: boolean - - name: hasImdbId - in: query - description: Optional filter by items that have an imdb id or not. - schema: - type: boolean - - name: hasTmdbId - in: query - description: Optional filter by items that have a tmdb id or not. - schema: - type: boolean - - name: hasTvdbId - in: query - description: Optional filter by items that have a tvdb id or not. - schema: - type: boolean - - name: isMovie - in: query - description: Optional filter for live tv movies. - schema: - type: boolean - - name: isSeries - in: query - description: Optional filter for live tv series. - schema: - type: boolean - - name: isNews - in: query - description: Optional filter for live tv news. - schema: - type: boolean - - name: isKids - in: query - description: Optional filter for live tv kids. - schema: - type: boolean - - name: isSports - in: query - description: Optional filter for live tv sports. - schema: - type: boolean - - name: excludeItemIds - in: query - description: Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. - schema: - type: array - items: - type: string - format: uuid - - name: startIndex - in: query - description: Optional. The record index to start at. All items with a lower index will be dropped from the results. - schema: - type: integer - format: int32 - - name: limit - in: query - description: Optional. The maximum number of records to return. - schema: - type: integer - format: int32 - - name: recursive - in: query - description: When searching within folders, this determines whether or not the search will be recursive. true/false. - schema: - type: boolean - - name: searchTerm - in: query - description: Optional. Filter based on a search term. - schema: - type: string - - name: sortOrder - in: query - description: Sort Order - Ascending,Descending. - schema: - type: array - items: - $ref: '#/components/schemas/SortOrder' - - name: parentId - in: query - description: Specify this to localize the search to a specific item or folder. Omit to use the root. - schema: - type: string - format: uuid - - name: fields - in: query - description: 'Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines.' - schema: - type: array - items: - $ref: '#/components/schemas/ItemFields' - - name: excludeItemTypes - in: query - description: Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemKind' - - name: includeItemTypes - in: query - description: Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemKind' - - name: filters - in: query - description: 'Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes.' - schema: - type: array - items: - $ref: '#/components/schemas/ItemFilter' - - name: isFavorite - in: query - description: Optional filter by items that are marked as favorite, or not. - schema: - type: boolean - - name: mediaTypes - in: query - description: Optional filter by MediaType. Allows multiple, comma delimited. - schema: - type: array - items: - type: string - - name: imageTypes - in: query - description: Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. - schema: - type: array - items: - $ref: '#/components/schemas/ImageType' - - name: sortBy - in: query - description: 'Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.' - schema: - type: array - items: - type: string - - name: isPlayed - in: query - description: Optional filter by items that are played, or not. - schema: - type: boolean - - name: genres - in: query - description: Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. - schema: - type: array - items: - type: string - - name: officialRatings - in: query - description: Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. - schema: - type: array - items: - type: string - - name: tags - in: query - description: Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. - schema: - type: array - items: - type: string - - name: years - in: query - description: Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. - schema: - type: array - items: - type: integer - format: int32 - - name: enableUserData - in: query - description: Optional, include user data. - schema: - type: boolean - - name: imageTypeLimit - in: query - description: Optional, the max number of images to return, per image type. - schema: - type: integer - format: int32 - - name: enableImageTypes - in: query - description: Optional. The image types to include in the output. - schema: - type: array - items: - $ref: '#/components/schemas/ImageType' - - name: person - in: query - description: Optional. If specified, results will be filtered to include only those containing the specified person. - schema: - type: string - - name: personIds - in: query - description: Optional. If specified, results will be filtered to include only those containing the specified person id. - schema: - type: array - items: - type: string - format: uuid - - name: personTypes - in: query - description: Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. - schema: - type: array - items: - type: string - - name: studios - in: query - description: Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. - schema: - type: array - items: - type: string - - name: artists - in: query - description: Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. - schema: - type: array - items: - type: string - - name: excludeArtistIds - in: query - description: Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. - schema: - type: array - items: - type: string - format: uuid - - name: artistIds - in: query - description: Optional. If specified, results will be filtered to include only those containing the specified artist id. - schema: - type: array - items: - type: string - format: uuid - - name: albumArtistIds - in: query - description: Optional. If specified, results will be filtered to include only those containing the specified album artist id. - schema: - type: array - items: - type: string - format: uuid - - name: contributingArtistIds - in: query - description: Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. - schema: - type: array - items: - type: string - format: uuid - - name: albums - in: query - description: Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. - schema: - type: array - items: - type: string - - name: albumIds - in: query - description: Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. - schema: - type: array - items: - type: string - format: uuid - - name: ids - in: query - description: Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. - schema: - type: array - items: - type: string - format: uuid - - name: videoTypes - in: query - description: Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. - schema: - type: array - items: - $ref: '#/components/schemas/VideoType' - - name: minOfficialRating - in: query - description: Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). - schema: - type: string - - name: isLocked - in: query - description: Optional filter by items that are locked. - schema: - type: boolean - - name: isPlaceHolder - in: query - description: Optional filter by items that are placeholders. - schema: - type: boolean - - name: hasOfficialRating - in: query - description: Optional filter by items that have official ratings. - schema: - type: boolean - - name: collapseBoxSetItems - in: query - description: Whether or not to hide items behind their boxsets. - schema: - type: boolean - - name: minWidth - in: query - description: Optional. Filter by the minimum width of the item. - schema: - type: integer - format: int32 - - name: minHeight - in: query - description: Optional. Filter by the minimum height of the item. - schema: - type: integer - format: int32 - - name: maxWidth - in: query - description: Optional. Filter by the maximum width of the item. - schema: - type: integer - format: int32 - - name: maxHeight - in: query - description: Optional. Filter by the maximum height of the item. - schema: - type: integer - format: int32 - - name: is3D - in: query - description: Optional filter by items that are 3D, or not. - schema: - type: boolean - - name: seriesStatus - in: query - description: Optional filter by Series Status. Allows multiple, comma delimited. - schema: - type: array - items: - $ref: '#/components/schemas/SeriesStatus' - - name: nameStartsWithOrGreater - in: query - description: Optional filter by items whose name is sorted equally or greater than a given input string. - schema: - type: string - - name: nameStartsWith - in: query - description: Optional filter by items whose name is sorted equally than a given input string. - schema: - type: string - - name: nameLessThan - in: query - description: Optional filter by items whose name is equally or lesser than a given input string. - schema: - type: string - - name: studioIds - in: query - description: Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. - schema: - type: array - items: - type: string - format: uuid - - name: genreIds - in: query - description: Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. - schema: - type: array - items: - type: string - format: uuid - - name: enableTotalRecordCount - in: query - description: Optional. Enable the total record count. - schema: - type: boolean - default: true - - name: enableImages - in: query - description: Optional, include image information in output. - schema: - type: boolean - default: true responses: "200": - description: Success + description: return item user data. content: application/json: schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' + $ref: '#/components/schemas/UserItemDataDto' application/json; profile="CamelCase": schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' + $ref: '#/components/schemas/UserItemDataDto' application/json; profile="PascalCase": schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' + $ref: '#/components/schemas/UserItemDataDto' + "404": + description: Item is not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized "403": @@ -14446,7 +13119,77 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Users/{userId}/Items/Resume: + post: + tags: + - Items + summary: Update Item User Data. + operationId: UpdateItemUserData + parameters: + - name: userId + in: query + description: The user id. + schema: + type: string + format: uuid + - name: itemId + in: path + description: The item id. + required: true + schema: + type: string + format: uuid + requestBody: + description: New user data object. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/UpdateUserItemDataDto' + description: This is used by the api to get information about a item user data. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/UpdateUserItemDataDto' + description: This is used by the api to get information about a item user data. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/UpdateUserItemDataDto' + description: This is used by the api to get information about a item user data. + required: true + responses: + "200": + description: return updated user item data. + content: + application/json: + schema: + $ref: '#/components/schemas/UserItemDataDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/UserItemDataDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/UserItemDataDto' + "404": + description: Item is not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /UserItems/Resume: get: tags: - Items @@ -14454,9 +13197,8 @@ paths: operationId: GetResumeItems parameters: - name: userId - in: path + in: query description: The user id. - required: true schema: type: string format: uuid @@ -14496,7 +13238,7 @@ paths: schema: type: array items: - type: string + $ref: '#/components/schemas/MediaType' - name: enableUserData in: query description: Optional. Include user data. @@ -14567,197 +13309,169 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Library/VirtualFolders: + /Items/{itemId}: + post: + tags: + - ItemUpdate + summary: Updates an item. + operationId: UpdateItem + parameters: + - name: itemId + in: path + description: The item id. + required: true + schema: + type: string + format: uuid + requestBody: + description: The new item properties. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/BaseItemDto' + description: "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." + text/json: + schema: + allOf: + - $ref: '#/components/schemas/BaseItemDto' + description: "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/BaseItemDto' + description: "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." + required: true + responses: + "204": + description: Item updated. + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation + delete: + tags: + - Library + summary: Deletes an item from the library and filesystem. + operationId: DeleteItem + parameters: + - name: itemId + in: path + description: The item id. + required: true + schema: + type: string + format: uuid + responses: + "204": + description: Item deleted. + "401": + description: Unauthorized access. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization get: tags: - - LibraryStructure - summary: Gets all virtual folders. - operationId: GetVirtualFolders + - UserLibrary + summary: Gets an item from a user's library. + operationId: GetItem + parameters: + - name: userId + in: query + description: User id. + schema: + type: string + format: uuid + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid responses: "200": - description: Virtual folders retrieved. + description: Item returned. content: application/json: schema: - type: array - items: - $ref: '#/components/schemas/VirtualFolderInfo' + $ref: '#/components/schemas/BaseItemDto' application/json; profile="CamelCase": schema: - type: array - items: - $ref: '#/components/schemas/VirtualFolderInfo' + $ref: '#/components/schemas/BaseItemDto' application/json; profile="PascalCase": schema: - type: array - items: - $ref: '#/components/schemas/VirtualFolderInfo' + $ref: '#/components/schemas/BaseItemDto' "401": description: Unauthorized "403": description: Forbidden security: - CustomAuthentication: - - FirstTimeSetupOrElevated + - DefaultAuthorization + /Items/{itemId}/ContentType: post: tags: - - LibraryStructure - summary: Adds a virtual folder. - operationId: AddVirtualFolder + - ItemUpdate + summary: Updates an item's content type. + operationId: UpdateItemContentType parameters: - - name: name - in: query - description: The name of the virtual folder. + - name: itemId + in: path + description: The item id. + required: true schema: type: string - - name: collectionType + format: uuid + - name: contentType in: query - description: The type of the collection. - schema: - allOf: - - $ref: '#/components/schemas/CollectionTypeOptions' - - name: paths - in: query - description: The paths of the virtual folder. - schema: - type: array - items: - type: string - - name: refreshLibrary - in: query - description: Whether to refresh the library. - schema: - type: boolean - default: false - requestBody: - description: The library options. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/AddVirtualFolderDto' - description: Add virtual folder dto. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/AddVirtualFolderDto' - description: Add virtual folder dto. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/AddVirtualFolderDto' - description: Add virtual folder dto. - responses: - "204": - description: Folder added. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - FirstTimeSetupOrElevated - delete: - tags: - - LibraryStructure - summary: Removes a virtual folder. - operationId: RemoveVirtualFolder - parameters: - - name: name - in: query - description: The name of the folder. + description: The content type of the item. schema: type: string - - name: refreshLibrary - in: query - description: Whether to refresh the library. - schema: - type: boolean - default: false responses: "204": - description: Folder removed. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - FirstTimeSetupOrElevated - /Library/VirtualFolders/LibraryOptions: - post: - tags: - - LibraryStructure - summary: Update library options. - operationId: UpdateLibraryOptions - requestBody: - description: The library name and options. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/UpdateLibraryOptionsDto' - description: Update library options dto. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/UpdateLibraryOptionsDto' - description: Update library options dto. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/UpdateLibraryOptionsDto' - description: Update library options dto. - responses: - "204": - description: Library updated. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - FirstTimeSetupOrElevated - /Library/VirtualFolders/Name: - post: - tags: - - LibraryStructure - summary: Renames a virtual folder. - operationId: RenameVirtualFolder - parameters: - - name: name - in: query - description: The name of the virtual folder. - schema: - type: string - - name: newName - in: query - description: The new name. - schema: - type: string - - name: refreshLibrary - in: query - description: Whether to refresh the library. - schema: - type: boolean - default: false - responses: - "204": - description: Folder renamed. + description: Item content type updated. "404": - description: Library doesn't exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "409": - description: Library already exists. + description: Item not found. content: application/json: schema: @@ -14774,116 +13488,53 @@ paths: description: Forbidden security: - CustomAuthentication: - - FirstTimeSetupOrElevated - /Library/VirtualFolders/Paths: - post: + - RequiresElevation + /Items/{itemId}/MetadataEditor: + get: tags: - - LibraryStructure - summary: Add a media path to a library. - operationId: AddMediaPath + - ItemUpdate + summary: Gets metadata editor info for an item. + operationId: GetMetadataEditorInfo parameters: - - name: refreshLibrary - in: query - description: Whether to refresh the library. - schema: - type: boolean - default: false - requestBody: - description: The media path dto. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/MediaPathDto' - description: Media Path dto. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/MediaPathDto' - description: Media Path dto. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/MediaPathDto' - description: Media Path dto. - required: true - responses: - "204": - description: Media path added. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - FirstTimeSetupOrElevated - delete: - tags: - - LibraryStructure - summary: Remove a media path. - operationId: RemoveMediaPath - parameters: - - name: name - in: query - description: The name of the library. + - name: itemId + in: path + description: The item id. + required: true schema: type: string - - name: path - in: query - description: The path to remove. - schema: - type: string - - name: refreshLibrary - in: query - description: Whether to refresh the library. - schema: - type: boolean - default: false + format: uuid responses: - "204": - description: Media path removed. + "200": + description: Item metadata editor returned. + content: + application/json: + schema: + $ref: '#/components/schemas/MetadataEditorInfo' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/MetadataEditorInfo' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/MetadataEditorInfo' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized "403": description: Forbidden security: - CustomAuthentication: - - FirstTimeSetupOrElevated - /Library/VirtualFolders/Paths/Update: - post: - tags: - - LibraryStructure - summary: Updates a media path. - operationId: UpdateMediaPath - requestBody: - description: The name of the library and path infos. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/UpdateMediaPathRequestDto' - description: Update library options dto. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/UpdateMediaPathRequestDto' - description: Update library options dto. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/UpdateMediaPathRequestDto' - description: Update library options dto. - required: true - responses: - "204": - description: Media path updated. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - FirstTimeSetupOrElevated + - RequiresElevation /Albums/{itemId}/Similar: get: tags: @@ -15006,44 +13657,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Items/Counts: - get: - tags: - - Library - summary: Get item counts. - operationId: GetItemCounts - parameters: - - name: userId - in: query - description: Optional. Get counts from a specific user's library. - schema: - type: string - format: uuid - - name: isFavorite - in: query - description: Optional. Get counts of favorite items. - schema: - type: boolean - responses: - "200": - description: Item counts returned. - content: - application/json: - schema: - $ref: '#/components/schemas/ItemCounts' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ItemCounts' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ItemCounts' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Items/{itemId}/Ancestors: get: tags: @@ -15180,6 +13793,7 @@ paths: security: - CustomAuthentication: - Download + - DefaultAuthorization /Items/{itemId}/File: get: tags: @@ -15312,6 +13926,20 @@ paths: schema: type: boolean default: false + - name: sortBy + in: query + description: 'Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.' + schema: + type: array + items: + $ref: '#/components/schemas/ItemSortBy' + - name: sortOrder + in: query + description: Optional. Sort Order - Ascending, Descending. + schema: + type: array + items: + $ref: '#/components/schemas/SortOrder' responses: "200": description: Theme songs and videos returned. @@ -15360,6 +13988,20 @@ paths: schema: type: boolean default: false + - name: sortBy + in: query + description: 'Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.' + schema: + type: array + items: + $ref: '#/components/schemas/ItemSortBy' + - name: sortOrder + in: query + description: Optional. Sort Order - Ascending, Descending. + schema: + type: array + items: + $ref: '#/components/schemas/SortOrder' responses: "200": description: Theme songs returned. @@ -15418,6 +14060,20 @@ paths: schema: type: boolean default: false + - name: sortBy + in: query + description: 'Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.' + schema: + type: array + items: + $ref: '#/components/schemas/ItemSortBy' + - name: sortOrder + in: query + description: Optional. Sort Order - Ascending, Descending. + schema: + type: array + items: + $ref: '#/components/schemas/SortOrder' responses: "200": description: Theme videos returned. @@ -15450,6 +14106,44 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /Items/Counts: + get: + tags: + - Library + summary: Get item counts. + operationId: GetItemCounts + parameters: + - name: userId + in: query + description: Optional. Get counts from a specific user's library. + schema: + type: string + format: uuid + - name: isFavorite + in: query + description: Optional. Get counts of favorite items. + schema: + type: boolean + responses: + "200": + description: Item counts returned. + content: + application/json: + schema: + $ref: '#/components/schemas/ItemCounts' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ItemCounts' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ItemCounts' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization /Libraries/AvailableOptions: get: tags: @@ -15461,7 +14155,22 @@ paths: in: query description: Library content type. schema: - type: string + enum: + - unknown + - movies + - tvshows + - music + - musicvideos + - trailers + - homevideos + - boxsets + - books + - photos + - livetv + - playlists + - folders + allOf: + - $ref: '#/components/schemas/CollectionType' - name: isNewLibrary in: query description: Whether this is a new library. @@ -15488,6 +14197,7 @@ paths: security: - CustomAuthentication: - FirstTimeSetupOrDefault + - DefaultAuthorization /Library/Media/Updated: post: tags: @@ -15884,6 +14594,352 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /Library/VirtualFolders: + get: + tags: + - LibraryStructure + summary: Gets all virtual folders. + operationId: GetVirtualFolders + responses: + "200": + description: Virtual folders retrieved. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VirtualFolderInfo' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/VirtualFolderInfo' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/VirtualFolderInfo' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - FirstTimeSetupOrElevated + - DefaultAuthorization + post: + tags: + - LibraryStructure + summary: Adds a virtual folder. + operationId: AddVirtualFolder + parameters: + - name: name + in: query + description: The name of the virtual folder. + schema: + type: string + - name: collectionType + in: query + description: The type of the collection. + schema: + enum: + - movies + - tvshows + - music + - musicvideos + - homevideos + - boxsets + - books + - mixed + allOf: + - $ref: '#/components/schemas/CollectionTypeOptions' + - name: paths + in: query + description: The paths of the virtual folder. + schema: + type: array + items: + type: string + - name: refreshLibrary + in: query + description: Whether to refresh the library. + schema: + type: boolean + default: false + requestBody: + description: The library options. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/AddVirtualFolderDto' + description: Add virtual folder dto. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/AddVirtualFolderDto' + description: Add virtual folder dto. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/AddVirtualFolderDto' + description: Add virtual folder dto. + responses: + "204": + description: Folder added. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - FirstTimeSetupOrElevated + - DefaultAuthorization + delete: + tags: + - LibraryStructure + summary: Removes a virtual folder. + operationId: RemoveVirtualFolder + parameters: + - name: name + in: query + description: The name of the folder. + schema: + type: string + - name: refreshLibrary + in: query + description: Whether to refresh the library. + schema: + type: boolean + default: false + responses: + "204": + description: Folder removed. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - FirstTimeSetupOrElevated + - DefaultAuthorization + /Library/VirtualFolders/LibraryOptions: + post: + tags: + - LibraryStructure + summary: Update library options. + operationId: UpdateLibraryOptions + requestBody: + description: The library name and options. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/UpdateLibraryOptionsDto' + description: Update library options dto. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/UpdateLibraryOptionsDto' + description: Update library options dto. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/UpdateLibraryOptionsDto' + description: Update library options dto. + responses: + "204": + description: Library updated. + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - FirstTimeSetupOrElevated + - DefaultAuthorization + /Library/VirtualFolders/Name: + post: + tags: + - LibraryStructure + summary: Renames a virtual folder. + operationId: RenameVirtualFolder + parameters: + - name: name + in: query + description: The name of the virtual folder. + schema: + type: string + - name: newName + in: query + description: The new name. + schema: + type: string + - name: refreshLibrary + in: query + description: Whether to refresh the library. + schema: + type: boolean + default: false + responses: + "204": + description: Folder renamed. + "404": + description: Library doesn't exist. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "409": + description: Library already exists. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - FirstTimeSetupOrElevated + - DefaultAuthorization + /Library/VirtualFolders/Paths: + post: + tags: + - LibraryStructure + summary: Add a media path to a library. + operationId: AddMediaPath + parameters: + - name: refreshLibrary + in: query + description: Whether to refresh the library. + schema: + type: boolean + default: false + requestBody: + description: The media path dto. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/MediaPathDto' + description: Media Path dto. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/MediaPathDto' + description: Media Path dto. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/MediaPathDto' + description: Media Path dto. + required: true + responses: + "204": + description: Media path added. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - FirstTimeSetupOrElevated + - DefaultAuthorization + delete: + tags: + - LibraryStructure + summary: Remove a media path. + operationId: RemoveMediaPath + parameters: + - name: name + in: query + description: The name of the library. + schema: + type: string + - name: path + in: query + description: The path to remove. + schema: + type: string + - name: refreshLibrary + in: query + description: Whether to refresh the library. + schema: + type: boolean + default: false + responses: + "204": + description: Media path removed. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - FirstTimeSetupOrElevated + - DefaultAuthorization + /Library/VirtualFolders/Paths/Update: + post: + tags: + - LibraryStructure + summary: Updates a media path. + operationId: UpdateMediaPath + requestBody: + description: The name of the library and path infos. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/UpdateMediaPathRequestDto' + description: Update library options dto. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/UpdateMediaPathRequestDto' + description: Update library options dto. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/UpdateMediaPathRequestDto' + description: Update library options dto. + required: true + responses: + "204": + description: Media path updated. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - FirstTimeSetupOrElevated + - DefaultAuthorization /LiveTv/ChannelMappingOptions: get: tags: @@ -15916,6 +14972,7 @@ paths: security: - CustomAuthentication: - LiveTvAccess + - DefaultAuthorization /LiveTv/ChannelMappings: post: tags: @@ -15961,6 +15018,7 @@ paths: security: - CustomAuthentication: - LiveTvManagement + - DefaultAuthorization /LiveTv/Channels: get: tags: @@ -15972,6 +15030,9 @@ paths: in: query description: Optional. Filter by channel type. schema: + enum: + - TV + - Radio allOf: - $ref: '#/components/schemas/ChannelType' - name: userId @@ -16068,11 +15129,14 @@ paths: schema: type: array items: - type: string + $ref: '#/components/schemas/ItemSortBy' - name: sortOrder in: query description: Optional. Sort order. schema: + enum: + - Ascending + - Descending allOf: - $ref: '#/components/schemas/SortOrder' - name: enableFavoriteSorting @@ -16107,6 +15171,7 @@ paths: security: - CustomAuthentication: - LiveTvAccess + - DefaultAuthorization /LiveTv/Channels/{channelId}: get: tags: @@ -16140,6 +15205,18 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/BaseItemDto' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized "403": @@ -16147,6 +15224,7 @@ paths: security: - CustomAuthentication: - LiveTvAccess + - DefaultAuthorization /LiveTv/GuideInfo: get: tags: @@ -16173,6 +15251,7 @@ paths: security: - CustomAuthentication: - LiveTvAccess + - DefaultAuthorization /LiveTv/Info: get: tags: @@ -16199,6 +15278,7 @@ paths: security: - CustomAuthentication: - LiveTvAccess + - DefaultAuthorization /LiveTv/ListingProviders: post: tags: @@ -16258,6 +15338,7 @@ paths: security: - CustomAuthentication: - LiveTvManagement + - DefaultAuthorization delete: tags: - LiveTv @@ -16279,6 +15360,7 @@ paths: security: - CustomAuthentication: - LiveTvManagement + - DefaultAuthorization /LiveTv/ListingProviders/Default: get: tags: @@ -16305,6 +15387,7 @@ paths: security: - CustomAuthentication: - LiveTvAccess + - DefaultAuthorization /LiveTv/ListingProviders/Lineups: get: tags: @@ -16358,6 +15441,7 @@ paths: security: - CustomAuthentication: - LiveTvAccess + - DefaultAuthorization /LiveTv/ListingProviders/SchedulesDirect/Countries: get: tags: @@ -16379,6 +15463,7 @@ paths: security: - CustomAuthentication: - LiveTvAccess + - DefaultAuthorization /LiveTv/LiveRecordings/{recordingId}/stream: get: tags: @@ -16549,7 +15634,7 @@ paths: schema: type: array items: - type: string + $ref: '#/components/schemas/ItemSortBy' - name: sortOrder in: query description: Sort Order - Ascending,Descending. @@ -16639,6 +15724,7 @@ paths: security: - CustomAuthentication: - LiveTvAccess + - DefaultAuthorization post: tags: - LiveTv @@ -16682,6 +15768,47 @@ paths: security: - CustomAuthentication: - LiveTvAccess + - DefaultAuthorization + /LiveTv/Programs/{programId}: + get: + tags: + - LiveTv + summary: Gets a live tv program. + operationId: GetProgram + parameters: + - name: programId + in: path + description: Program id. + required: true + schema: + type: string + - name: userId + in: query + description: Optional. Attach user data. + schema: + type: string + format: uuid + responses: + "200": + description: Program returned. + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - LiveTvAccess + - DefaultAuthorization /LiveTv/Programs/Recommended: get: tags: @@ -16800,45 +15927,7 @@ paths: security: - CustomAuthentication: - LiveTvAccess - /LiveTv/Programs/{programId}: - get: - tags: - - LiveTv - summary: Gets a live tv program. - operationId: GetProgram - parameters: - - name: programId - in: path - description: Program id. - required: true - schema: - type: string - - name: userId - in: query - description: Optional. Attach user data. - schema: - type: string - format: uuid - responses: - "200": - description: Program returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - LiveTvAccess + - DefaultAuthorization /LiveTv/Recordings: get: tags: @@ -16873,6 +15962,14 @@ paths: in: query description: Optional. Filter by recording status. schema: + enum: + - New + - InProgress + - Completed + - Cancelled + - ConflictedOk + - ConflictedNotOk + - Error allOf: - $ref: '#/components/schemas/RecordingStatus' - name: isInProgress @@ -16971,6 +16068,96 @@ paths: security: - CustomAuthentication: - LiveTvAccess + - DefaultAuthorization + /LiveTv/Recordings/{recordingId}: + get: + tags: + - LiveTv + summary: Gets a live tv recording. + operationId: GetRecording + parameters: + - name: recordingId + in: path + description: Recording id. + required: true + schema: + type: string + format: uuid + - name: userId + in: query + description: Optional. Attach user data. + schema: + type: string + format: uuid + responses: + "200": + description: Recording returned. + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDto' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - LiveTvAccess + - DefaultAuthorization + delete: + tags: + - LiveTv + summary: Deletes a live tv recording. + operationId: DeleteRecording + parameters: + - name: recordingId + in: path + description: Recording id. + required: true + schema: + type: string + format: uuid + responses: + "204": + description: Recording deleted. + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - LiveTvManagement + - DefaultAuthorization /LiveTv/Recordings/Folders: get: tags: @@ -17004,6 +16191,7 @@ paths: security: - CustomAuthentication: - LiveTvAccess + - DefaultAuthorization /LiveTv/Recordings/Groups: get: tags: @@ -17038,6 +16226,7 @@ paths: security: - CustomAuthentication: - LiveTvAccess + - DefaultAuthorization /LiveTv/Recordings/Groups/{groupId}: get: tags: @@ -17073,6 +16262,7 @@ paths: security: - CustomAuthentication: - LiveTvAccess + - DefaultAuthorization /LiveTv/Recordings/Series: get: tags: @@ -17112,6 +16302,14 @@ paths: in: query description: Optional. Filter by recording status. schema: + enum: + - New + - InProgress + - Completed + - Cancelled + - ConflictedOk + - ConflictedNotOk + - Error allOf: - $ref: '#/components/schemas/RecordingStatus' - name: isInProgress @@ -17181,81 +16379,7 @@ paths: security: - CustomAuthentication: - LiveTvAccess - /LiveTv/Recordings/{recordingId}: - get: - tags: - - LiveTv - summary: Gets a live tv recording. - operationId: GetRecording - parameters: - - name: recordingId - in: path - description: Recording id. - required: true - schema: - type: string - format: uuid - - name: userId - in: query - description: Optional. Attach user data. - schema: - type: string - format: uuid - responses: - "200": - description: Recording returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - LiveTvAccess - delete: - tags: - - LiveTv - summary: Deletes a live tv recording. - operationId: DeleteRecording - parameters: - - name: recordingId - in: path - description: Recording id. - required: true - schema: - type: string - format: uuid - responses: - "204": - description: Recording deleted. - "404": - description: Item not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - LiveTvManagement + - DefaultAuthorization /LiveTv/SeriesTimers: get: tags: @@ -17272,6 +16396,9 @@ paths: in: query description: Optional. Sort in Ascending or Descending order. schema: + enum: + - Ascending + - Descending allOf: - $ref: '#/components/schemas/SortOrder' responses: @@ -17294,6 +16421,7 @@ paths: security: - CustomAuthentication: - LiveTvAccess + - DefaultAuthorization post: tags: - LiveTv @@ -17327,6 +16455,7 @@ paths: security: - CustomAuthentication: - LiveTvManagement + - DefaultAuthorization /LiveTv/SeriesTimers/{timerId}: get: tags: @@ -17372,6 +16501,7 @@ paths: security: - CustomAuthentication: - LiveTvAccess + - DefaultAuthorization delete: tags: - LiveTv @@ -17394,6 +16524,7 @@ paths: security: - CustomAuthentication: - LiveTvManagement + - DefaultAuthorization post: tags: - LiveTv @@ -17434,6 +16565,7 @@ paths: security: - CustomAuthentication: - LiveTvManagement + - DefaultAuthorization /LiveTv/Timers: get: tags: @@ -17481,6 +16613,7 @@ paths: security: - CustomAuthentication: - LiveTvAccess + - DefaultAuthorization post: tags: - LiveTv @@ -17511,38 +16644,7 @@ paths: security: - CustomAuthentication: - LiveTvManagement - /LiveTv/Timers/Defaults: - get: - tags: - - LiveTv - summary: Gets the default values for a new timer. - operationId: GetDefaultTimer - parameters: - - name: programId - in: query - description: Optional. To attach default values based on a program. - schema: - type: string - responses: - "200": - description: Default values returned. - content: - application/json: - schema: - $ref: '#/components/schemas/SeriesTimerInfoDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/SeriesTimerInfoDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/SeriesTimerInfoDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - LiveTvAccess + - DefaultAuthorization /LiveTv/Timers/{timerId}: get: tags: @@ -17576,6 +16678,7 @@ paths: security: - CustomAuthentication: - LiveTvAccess + - DefaultAuthorization delete: tags: - LiveTv @@ -17598,6 +16701,7 @@ paths: security: - CustomAuthentication: - LiveTvManagement + - DefaultAuthorization post: tags: - LiveTv @@ -17635,6 +16739,40 @@ paths: security: - CustomAuthentication: - LiveTvManagement + - DefaultAuthorization + /LiveTv/Timers/Defaults: + get: + tags: + - LiveTv + summary: Gets the default values for a new timer. + operationId: GetDefaultTimer + parameters: + - name: programId + in: query + description: Optional. To attach default values based on a program. + schema: + type: string + responses: + "200": + description: Default values returned. + content: + application/json: + schema: + $ref: '#/components/schemas/SeriesTimerInfoDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/SeriesTimerInfoDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/SeriesTimerInfoDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - LiveTvAccess + - DefaultAuthorization /LiveTv/TunerHosts: post: tags: @@ -17676,6 +16814,7 @@ paths: security: - CustomAuthentication: - LiveTvManagement + - DefaultAuthorization delete: tags: - LiveTv @@ -17697,6 +16836,7 @@ paths: security: - CustomAuthentication: - LiveTvManagement + - DefaultAuthorization /LiveTv/TunerHosts/Types: get: tags: @@ -17729,6 +16869,31 @@ paths: security: - CustomAuthentication: - LiveTvAccess + - DefaultAuthorization + /LiveTv/Tuners/{tunerId}/Reset: + post: + tags: + - LiveTv + summary: Resets a tv tuner. + operationId: ResetTuner + parameters: + - name: tunerId + in: path + description: Tuner id. + required: true + schema: + type: string + responses: + "204": + description: Tuner reset. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - LiveTvManagement + - DefaultAuthorization /LiveTv/Tuners/Discover: get: tags: @@ -17768,6 +16933,7 @@ paths: security: - CustomAuthentication: - LiveTvManagement + - DefaultAuthorization /LiveTv/Tuners/Discvover: get: tags: @@ -17807,29 +16973,7 @@ paths: security: - CustomAuthentication: - LiveTvManagement - /LiveTv/Tuners/{tunerId}/Reset: - post: - tags: - - LiveTv - summary: Resets a tv tuner. - operationId: ResetTuner - parameters: - - name: tunerId - in: path - description: Tuner id. - required: true - schema: - type: string - responses: - "204": - description: Tuner reset. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - LiveTvManagement + - DefaultAuthorization /Localization/Countries: get: tags: @@ -17862,6 +17006,7 @@ paths: security: - CustomAuthentication: - FirstTimeSetupOrDefault + - DefaultAuthorization /Localization/Cultures: get: tags: @@ -17894,6 +17039,7 @@ paths: security: - CustomAuthentication: - FirstTimeSetupOrDefault + - DefaultAuthorization /Localization/Options: get: tags: @@ -17926,6 +17072,7 @@ paths: security: - CustomAuthentication: - FirstTimeSetupOrDefault + - DefaultAuthorization /Localization/ParentalRatings: get: tags: @@ -17958,6 +17105,311 @@ paths: security: - CustomAuthentication: - FirstTimeSetupOrDefault + - DefaultAuthorization + /Audio/{itemId}/Lyrics: + get: + tags: + - Lyrics + summary: Gets an item's lyrics. + operationId: GetLyrics + parameters: + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: Lyrics returned. + content: + application/json: + schema: + $ref: '#/components/schemas/LyricDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/LyricDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/LyricDto' + "404": + description: Something went wrong. No Lyrics will be returned. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + post: + tags: + - Lyrics + summary: Upload an external lyric file. + operationId: UploadLyrics + parameters: + - name: itemId + in: path + description: The item the lyric belongs to. + required: true + schema: + type: string + format: uuid + - name: fileName + in: query + description: Name of the file being uploaded. + required: true + schema: + type: string + requestBody: + content: + text/plain: + schema: + type: string + format: binary + responses: + "200": + description: Lyrics uploaded. + content: + application/json: + schema: + $ref: '#/components/schemas/LyricDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/LyricDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/LyricDto' + "400": + description: Error processing upload. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - LyricManagement + - DefaultAuthorization + delete: + tags: + - Lyrics + summary: Deletes an external lyric file. + operationId: DeleteLyrics + parameters: + - name: itemId + in: path + description: The item id. + required: true + schema: + type: string + format: uuid + responses: + "204": + description: Lyric deleted. + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - LyricManagement + - DefaultAuthorization + /Audio/{itemId}/RemoteSearch/Lyrics: + get: + tags: + - Lyrics + summary: Search remote lyrics. + operationId: SearchRemoteLyrics + parameters: + - name: itemId + in: path + description: The item id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: Lyrics retrieved. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/RemoteLyricInfoDto' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/RemoteLyricInfoDto' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/RemoteLyricInfoDto' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - LyricManagement + - DefaultAuthorization + /Audio/{itemId}/RemoteSearch/Lyrics/{lyricId}: + post: + tags: + - Lyrics + summary: Downloads a remote lyric. + operationId: DownloadRemoteLyrics + parameters: + - name: itemId + in: path + description: The item id. + required: true + schema: + type: string + format: uuid + - name: lyricId + in: path + description: The lyric id. + required: true + schema: + type: string + responses: + "200": + description: Lyric downloaded. + content: + application/json: + schema: + $ref: '#/components/schemas/LyricDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/LyricDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/LyricDto' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - LyricManagement + - DefaultAuthorization + /Providers/Lyrics/{lyricId}: + get: + tags: + - Lyrics + summary: Gets the remote lyrics. + operationId: GetRemoteLyrics + parameters: + - name: lyricId + in: path + description: The remote provider item id. + required: true + schema: + type: string + responses: + "200": + description: File returned. + content: + application/json: + schema: + $ref: '#/components/schemas/LyricDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/LyricDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/LyricDto' + "404": + description: Lyric not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - LyricManagement + - DefaultAuthorization /Items/{itemId}/PlaybackInfo: get: tags: @@ -17975,7 +17427,6 @@ paths: - name: userId in: query description: The user id. - required: true schema: type: string format: uuid @@ -17992,6 +17443,18 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/PlaybackInfoResponse' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized "403": @@ -18134,6 +17597,18 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/PlaybackInfoResponse' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized "403": @@ -18233,6 +17708,11 @@ paths: description: 'Whether to enable direct stream. Default: true.' schema: type: boolean + - name: alwaysBurnInSubtitleWhenTranscoding + in: query + description: Always burn-in subtitle when transcoding. + schema: + type: boolean requestBody: description: The open live stream dto. content: @@ -18302,6 +17782,59 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /MediaSegments/{itemId}: + get: + tags: + - MediaSegments + summary: Gets all media segments based on an itemId. + operationId: GetItemSegments + parameters: + - name: itemId + in: path + description: The ItemId. + required: true + schema: + type: string + format: uuid + - name: includeSegmentTypes + in: query + description: Optional filter of requested segment types. + schema: + type: array + items: + $ref: '#/components/schemas/MediaSegmentType' + responses: + "200": + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/MediaSegmentDtoQueryResult' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/MediaSegmentDtoQueryResult' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/MediaSegmentDtoQueryResult' + "404": + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization /Movies/Recommendations: get: tags: @@ -18464,7 +17997,7 @@ paths: schema: type: array items: - type: string + $ref: '#/components/schemas/ItemSortBy' - name: sortOrder in: query description: Sort Order - Ascending,Descending. @@ -18544,252 +18077,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Notifications/Admin: - post: - tags: - - Notifications - summary: Sends a notification to all admins. - operationId: CreateAdminNotification - requestBody: - description: The notification request. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/AdminNotificationDto' - description: The admin notification dto. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/AdminNotificationDto' - description: The admin notification dto. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/AdminNotificationDto' - description: The admin notification dto. - required: true - responses: - "204": - description: Notification sent. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Notifications/Services: - get: - tags: - - Notifications - summary: Gets notification services. - operationId: GetNotificationServices - responses: - "200": - description: All notification services returned. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/NameIdPair' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/NameIdPair' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/NameIdPair' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Notifications/Types: - get: - tags: - - Notifications - summary: Gets notification types. - operationId: GetNotificationTypes - responses: - "200": - description: All notification types returned. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/NotificationTypeInfo' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/NotificationTypeInfo' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/NotificationTypeInfo' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Notifications/{userId}: - get: - tags: - - Notifications - summary: Gets a user's notifications. - operationId: GetNotifications - parameters: - - name: userId - in: path - required: true - schema: - type: string - responses: - "200": - description: Notifications returned. - content: - application/json: - schema: - $ref: '#/components/schemas/NotificationResultDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/NotificationResultDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/NotificationResultDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Notifications/{userId}/Read: - post: - tags: - - Notifications - summary: Sets notifications as read. - operationId: SetRead - parameters: - - name: userId - in: path - required: true - schema: - type: string - responses: - "204": - description: Notifications set as read. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Notifications/{userId}/Summary: - get: - tags: - - Notifications - summary: Gets a user's notification summary. - operationId: GetNotificationsSummary - parameters: - - name: userId - in: path - required: true - schema: - type: string - responses: - "200": - description: Summary of user's notifications returned. - content: - application/json: - schema: - $ref: '#/components/schemas/NotificationsSummaryDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/NotificationsSummaryDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/NotificationsSummaryDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Notifications/{userId}/Unread: - post: - tags: - - Notifications - summary: Sets notifications as unread. - operationId: SetUnread - parameters: - - name: userId - in: path - required: true - schema: - type: string - responses: - "204": - description: Notifications set as unread. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Jellyfin.Plugin.OpenSubtitles/ValidateLoginInfo: - post: - tags: - - OpenSubtitles - operationId: ValidateLoginInfo - requestBody: - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/LoginInfoInput' - text/json: - schema: - allOf: - - $ref: '#/components/schemas/LoginInfoInput' - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/LoginInfoInput' - responses: - "200": - description: Success - "400": - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Packages: get: tags: @@ -18821,7 +18108,46 @@ paths: description: Forbidden security: - CustomAuthentication: - - DefaultAuthorization + - RequiresElevation + /Packages/{name}: + get: + tags: + - Package + summary: Gets a package by name or assembly GUID. + operationId: GetPackageInfo + parameters: + - name: name + in: path + description: The name of the package. + required: true + schema: + type: string + - name: assemblyGuid + in: query + description: The GUID of the associated assembly. + schema: + type: string + format: uuid + responses: + "200": + description: Package retrieved. + content: + application/json: + schema: + $ref: '#/components/schemas/PackageInfo' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/PackageInfo' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/PackageInfo' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation /Packages/Installed/{name}: post: tags: @@ -18873,7 +18199,6 @@ paths: security: - CustomAuthentication: - RequiresElevation - - DefaultAuthorization /Packages/Installing/{packageId}: delete: tags: @@ -18898,46 +18223,6 @@ paths: security: - CustomAuthentication: - RequiresElevation - - DefaultAuthorization - /Packages/{name}: - get: - tags: - - Package - summary: Gets a package by name or assembly GUID. - operationId: GetPackageInfo - parameters: - - name: name - in: path - description: The name of the package. - required: true - schema: - type: string - - name: assemblyGuid - in: query - description: The GUID of the associated assembly. - schema: - type: string - format: uuid - responses: - "200": - description: Package retrieved. - content: - application/json: - schema: - $ref: '#/components/schemas/PackageInfo' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/PackageInfo' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/PackageInfo' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Repositories: get: tags: @@ -18969,7 +18254,7 @@ paths: description: Forbidden security: - CustomAuthentication: - - DefaultAuthorization + - RequiresElevation post: tags: - Package @@ -19004,7 +18289,6 @@ paths: security: - CustomAuthentication: - RequiresElevation - - DefaultAuthorization /Persons: get: tags: @@ -19163,452 +18447,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /user_usage_stats/DurationHistogramReport: - get: - tags: - - PlaybackReportingActivity - operationId: GetDurationHistogramReport - parameters: - - name: days - in: query - schema: - type: integer - format: int32 - - name: endDate - in: query - schema: - type: string - format: date-time - - name: filter - in: query - schema: - type: string - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/GetTvShowsReport: - get: - tags: - - PlaybackReportingActivity - operationId: GetTvShowsReport - parameters: - - name: days - in: query - schema: - type: integer - format: int32 - - name: endDate - in: query - schema: - type: string - format: date-time - - name: timezoneOffset - in: query - schema: - type: number - format: float - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/HourlyReport: - get: - tags: - - PlaybackReportingActivity - operationId: GetHourlyReport - parameters: - - name: days - in: query - schema: - type: integer - format: int32 - - name: endDate - in: query - schema: - type: string - format: date-time - - name: filter - in: query - schema: - type: string - - name: timezoneOffset - in: query - schema: - type: number - format: float - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/MoviesReport: - get: - tags: - - PlaybackReportingActivity - operationId: GetMovieReport - parameters: - - name: days - in: query - schema: - type: integer - format: int32 - - name: endDate - in: query - schema: - type: string - format: date-time - - name: timezoneOffset - in: query - schema: - type: number - format: float - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/PlayActivity: - get: - tags: - - PlaybackReportingActivity - operationId: GetUsageStats - parameters: - - name: days - in: query - schema: - type: integer - format: int32 - - name: endDate - in: query - schema: - type: string - format: date-time - - name: filter - in: query - schema: - type: string - - name: dataType - in: query - schema: - type: string - - name: timezoneOffset - in: query - schema: - type: number - format: float - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/load_backup: - get: - tags: - - PlaybackReportingActivity - operationId: LoadBackup - parameters: - - name: backupFilePath - in: query - schema: - type: string - responses: - "200": - description: Success - content: - application/json: - schema: - type: array - items: - type: string - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/save_backup: - get: - tags: - - PlaybackReportingActivity - operationId: SaveBackup - responses: - "200": - description: Success - content: - application/json: - schema: - type: array - items: - type: string - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/submit_custom_query: - post: - tags: - - PlaybackReportingActivity - operationId: CustomQuery - requestBody: - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/CustomQueryData' - text/json: - schema: - allOf: - - $ref: '#/components/schemas/CustomQueryData' - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/CustomQueryData' - responses: - "200": - description: Success - content: - application/json: - schema: - type: object - additionalProperties: {} - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/type_filter_list: - get: - tags: - - PlaybackReportingActivity - operationId: GetTypeFilterList - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/user_activity: - get: - tags: - - PlaybackReportingActivity - operationId: GetUserReport - parameters: - - name: days - in: query - schema: - type: integer - format: int32 - - name: endDate - in: query - schema: - type: string - format: date-time - - name: timezoneOffset - in: query - schema: - type: number - format: float - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/user_list: - get: - tags: - - PlaybackReportingActivity - operationId: GetJellyfinUsers - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/user_manage/add: - get: - tags: - - PlaybackReportingActivity - operationId: IgnoreListAdd - parameters: - - name: id - in: query - schema: - type: string - responses: - "200": - description: Success - content: - application/json: - schema: - type: boolean - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/user_manage/prune: - get: - tags: - - PlaybackReportingActivity - operationId: PruneUnknownUsers - responses: - "200": - description: Success - content: - application/json: - schema: - type: boolean - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/user_manage/remove: - get: - tags: - - PlaybackReportingActivity - operationId: IgnoreListRemove - parameters: - - name: id - in: query - schema: - type: string - responses: - "200": - description: Success - content: - application/json: - schema: - type: boolean - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/{breakdownType}/BreakdownReport: - get: - tags: - - PlaybackReportingActivity - operationId: GetBreakdownReport - parameters: - - name: breakdownType - in: path - required: true - schema: - type: string - - name: days - in: query - schema: - type: integer - format: int32 - - name: endDate - in: query - schema: - type: string - format: date-time - - name: timezoneOffset - in: query - schema: - type: number - format: float - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/{userId}/{date}/GetItems: - get: - tags: - - PlaybackReportingActivity - operationId: GetUserReportData - parameters: - - name: userId - in: path - required: true - schema: - type: string - - name: date - in: path - required: true - schema: - type: string - - name: filter - in: query - schema: - type: string - - name: timezoneOffset - in: query - schema: - type: number - format: float - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Playlists: post: tags: @@ -19644,7 +18482,14 @@ paths: description: The media type. deprecated: true schema: - type: string + enum: + - Unknown + - Video + - Audio + - Photo + - Book + allOf: + - $ref: '#/components/schemas/MediaType' requestBody: description: The create playlist payload. content: @@ -19665,7 +18510,7 @@ paths: description: Create new playlist dto. responses: "200": - description: Success + description: Playlist created. content: application/json: schema: @@ -19683,12 +18528,122 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /Playlists/{playlistId}: + post: + tags: + - Playlists + summary: Updates a playlist. + operationId: UpdatePlaylist + parameters: + - name: playlistId + in: path + description: The playlist id. + required: true + schema: + type: string + format: uuid + requestBody: + description: The Jellyfin.Api.Models.PlaylistDtos.UpdatePlaylistDto id. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/UpdatePlaylistDto' + description: Update existing playlist dto. Fields set to `null` will not be updated and keep their current values. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/UpdatePlaylistDto' + description: Update existing playlist dto. Fields set to `null` will not be updated and keep their current values. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/UpdatePlaylistDto' + description: Update existing playlist dto. Fields set to `null` will not be updated and keep their current values. + required: true + responses: + "204": + description: Playlist updated. + "403": + description: Access forbidden. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: Playlist not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + security: + - CustomAuthentication: + - DefaultAuthorization + get: + tags: + - Playlists + summary: Get a playlist. + operationId: GetPlaylist + parameters: + - name: playlistId + in: path + description: The playlist id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: The playlist. + content: + application/json: + schema: + $ref: '#/components/schemas/PlaylistDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/PlaylistDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/PlaylistDto' + "404": + description: Playlist not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization /Playlists/{playlistId}/Items: post: tags: - Playlists summary: Adds items to a playlist. - operationId: AddToPlaylist + operationId: AddItemToPlaylist parameters: - name: playlistId in: path @@ -19714,10 +18669,32 @@ paths: responses: "204": description: Items added to playlist. + "403": + description: Access forbidden. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: Playlist not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized - "403": - description: Forbidden security: - CustomAuthentication: - DefaultAuthorization @@ -19725,7 +18702,7 @@ paths: tags: - Playlists summary: Removes items from a playlist. - operationId: RemoveFromPlaylist + operationId: RemoveItemFromPlaylist parameters: - name: playlistId in: path @@ -19743,10 +18720,32 @@ paths: responses: "204": description: Items removed. + "403": + description: Access forbidden. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: Playlist not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized - "403": - description: Forbidden security: - CustomAuthentication: - DefaultAuthorization @@ -19766,7 +18765,6 @@ paths: - name: userId in: query description: User id. - required: true schema: type: string format: uuid @@ -19825,12 +18823,32 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/BaseItemDtoQueryResult' - "404": - description: Playlist not found. - "401": - description: Unauthorized "403": description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: Playlist not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized security: - CustomAuthentication: - DefaultAuthorization @@ -19863,6 +18881,487 @@ paths: responses: "204": description: Item moved to new index. + "403": + description: Access forbidden. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: Playlist not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + security: + - CustomAuthentication: + - DefaultAuthorization + /Playlists/{playlistId}/Users: + get: + tags: + - Playlists + summary: Get a playlist's users. + operationId: GetPlaylistUsers + parameters: + - name: playlistId + in: path + description: The playlist id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: Found shares. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/PlaylistUserPermissions' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/PlaylistUserPermissions' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/PlaylistUserPermissions' + "403": + description: Access forbidden. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: Playlist not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + security: + - CustomAuthentication: + - DefaultAuthorization + /Playlists/{playlistId}/Users/{userId}: + get: + tags: + - Playlists + summary: Get a playlist user. + operationId: GetPlaylistUser + parameters: + - name: playlistId + in: path + description: The playlist id. + required: true + schema: + type: string + format: uuid + - name: userId + in: path + description: The user id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: User permission found. + content: + application/json: + schema: + $ref: '#/components/schemas/PlaylistUserPermissions' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/PlaylistUserPermissions' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/PlaylistUserPermissions' + "403": + description: Access forbidden. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: Playlist not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + security: + - CustomAuthentication: + - DefaultAuthorization + post: + tags: + - Playlists + summary: Modify a user of a playlist's users. + operationId: UpdatePlaylistUser + parameters: + - name: playlistId + in: path + description: The playlist id. + required: true + schema: + type: string + format: uuid + - name: userId + in: path + description: The user id. + required: true + schema: + type: string + format: uuid + requestBody: + description: The Jellyfin.Api.Models.PlaylistDtos.UpdatePlaylistUserDto. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/UpdatePlaylistUserDto' + description: Update existing playlist user dto. Fields set to `null` will not be updated and keep their current values. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/UpdatePlaylistUserDto' + description: Update existing playlist user dto. Fields set to `null` will not be updated and keep their current values. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/UpdatePlaylistUserDto' + description: Update existing playlist user dto. Fields set to `null` will not be updated and keep their current values. + required: true + responses: + "204": + description: User's permissions modified. + "403": + description: Access forbidden. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: Playlist not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + security: + - CustomAuthentication: + - DefaultAuthorization + delete: + tags: + - Playlists + summary: Remove a user from a playlist's users. + operationId: RemoveUserFromPlaylist + parameters: + - name: playlistId + in: path + description: The playlist id. + required: true + schema: + type: string + format: uuid + - name: userId + in: path + description: The user id. + required: true + schema: + type: string + format: uuid + responses: + "204": + description: User permissions removed from playlist. + "403": + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: No playlist or user permissions found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized access. + security: + - CustomAuthentication: + - DefaultAuthorization + /PlayingItems/{itemId}: + post: + tags: + - Playstate + summary: Reports that a session has begun playing an item. + operationId: OnPlaybackStart + parameters: + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + - name: mediaSourceId + in: query + description: The id of the MediaSource. + schema: + type: string + - name: audioStreamIndex + in: query + description: The audio stream index. + schema: + type: integer + format: int32 + - name: subtitleStreamIndex + in: query + description: The subtitle stream index. + schema: + type: integer + format: int32 + - name: playMethod + in: query + description: The play method. + schema: + enum: + - Transcode + - DirectStream + - DirectPlay + allOf: + - $ref: '#/components/schemas/PlayMethod' + - name: liveStreamId + in: query + description: The live stream id. + schema: + type: string + - name: playSessionId + in: query + description: The play session id. + schema: + type: string + - name: canSeek + in: query + description: Indicates if the client can seek. + schema: + type: boolean + default: false + responses: + "204": + description: Play start recorded. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + delete: + tags: + - Playstate + summary: Reports that a session has stopped playing an item. + operationId: OnPlaybackStopped + parameters: + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + - name: mediaSourceId + in: query + description: The id of the MediaSource. + schema: + type: string + - name: nextMediaType + in: query + description: The next media type that will play. + schema: + type: string + - name: positionTicks + in: query + description: Optional. The position, in ticks, where playback stopped. 1 tick = 10000 ms. + schema: + type: integer + format: int64 + - name: liveStreamId + in: query + description: The live stream id. + schema: + type: string + - name: playSessionId + in: query + description: The play session id. + schema: + type: string + responses: + "204": + description: Playback stop recorded. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /PlayingItems/{itemId}/Progress: + post: + tags: + - Playstate + summary: Reports a session's playback progress. + operationId: OnPlaybackProgress + parameters: + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + - name: mediaSourceId + in: query + description: The id of the MediaSource. + schema: + type: string + - name: positionTicks + in: query + description: Optional. The current position, in ticks. 1 tick = 10000 ms. + schema: + type: integer + format: int64 + - name: audioStreamIndex + in: query + description: The audio stream index. + schema: + type: integer + format: int32 + - name: subtitleStreamIndex + in: query + description: The subtitle stream index. + schema: + type: integer + format: int32 + - name: volumeLevel + in: query + description: Scale of 0-100. + schema: + type: integer + format: int32 + - name: playMethod + in: query + description: The play method. + schema: + enum: + - Transcode + - DirectStream + - DirectPlay + allOf: + - $ref: '#/components/schemas/PlayMethod' + - name: liveStreamId + in: query + description: The live stream id. + schema: + type: string + - name: playSessionId + in: query + description: The play session id. + schema: + type: string + - name: repeatMode + in: query + description: The repeat mode. + schema: + enum: + - RepeatNone + - RepeatAll + - RepeatOne + allOf: + - $ref: '#/components/schemas/RepeatMode' + - name: isPaused + in: query + description: Indicates if the player is paused. + schema: + type: boolean + default: false + - name: isMuted + in: query + description: Indicates if the player is muted. + schema: + type: boolean + default: false + responses: + "204": + description: Play progress recorded. "401": description: Unauthorized "403": @@ -19995,7 +19494,7 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Users/{userId}/PlayedItems/{itemId}: + /UserPlayedItems/{itemId}: post: tags: - Playstate @@ -20003,9 +19502,8 @@ paths: operationId: MarkPlayedItem parameters: - name: userId - in: path + in: query description: User id. - required: true schema: type: string format: uuid @@ -20035,6 +19533,18 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/UserItemDataDto' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized "403": @@ -20049,9 +19559,8 @@ paths: operationId: MarkUnplayedItem parameters: - name: userId - in: path + in: query description: User id. - required: true schema: type: string format: uuid @@ -20075,226 +19584,18 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/UserItemDataDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/PlayingItems/{itemId}: - post: - tags: - - Playstate - summary: Reports that a user has begun playing an item. - operationId: OnPlaybackStart - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - - name: mediaSourceId - in: query - description: The id of the MediaSource. - schema: - type: string - - name: audioStreamIndex - in: query - description: The audio stream index. - schema: - type: integer - format: int32 - - name: subtitleStreamIndex - in: query - description: The subtitle stream index. - schema: - type: integer - format: int32 - - name: playMethod - in: query - description: The play method. - schema: - allOf: - - $ref: '#/components/schemas/PlayMethod' - - name: liveStreamId - in: query - description: The live stream id. - schema: - type: string - - name: playSessionId - in: query - description: The play session id. - schema: - type: string - - name: canSeek - in: query - description: Indicates if the client can seek. - schema: - type: boolean - default: false - responses: - "204": - description: Play start recorded. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - delete: - tags: - - Playstate - summary: Reports that a user has stopped playing an item. - operationId: OnPlaybackStopped - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - - name: mediaSourceId - in: query - description: The id of the MediaSource. - schema: - type: string - - name: nextMediaType - in: query - description: The next media type that will play. - schema: - type: string - - name: positionTicks - in: query - description: Optional. The position, in ticks, where playback stopped. 1 tick = 10000 ms. - schema: - type: integer - format: int64 - - name: liveStreamId - in: query - description: The live stream id. - schema: - type: string - - name: playSessionId - in: query - description: The play session id. - schema: - type: string - responses: - "204": - description: Playback stop recorded. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/PlayingItems/{itemId}/Progress: - post: - tags: - - Playstate - summary: Reports a user's playback progress. - operationId: OnPlaybackProgress - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - - name: mediaSourceId - in: query - description: The id of the MediaSource. - schema: - type: string - - name: positionTicks - in: query - description: Optional. The current position, in ticks. 1 tick = 10000 ms. - schema: - type: integer - format: int64 - - name: audioStreamIndex - in: query - description: The audio stream index. - schema: - type: integer - format: int32 - - name: subtitleStreamIndex - in: query - description: The subtitle stream index. - schema: - type: integer - format: int32 - - name: volumeLevel - in: query - description: Scale of 0-100. - schema: - type: integer - format: int32 - - name: playMethod - in: query - description: The play method. - schema: - allOf: - - $ref: '#/components/schemas/PlayMethod' - - name: liveStreamId - in: query - description: The live stream id. - schema: - type: string - - name: playSessionId - in: query - description: The play session id. - schema: - type: string - - name: repeatMode - in: query - description: The repeat mode. - schema: - allOf: - - $ref: '#/components/schemas/RepeatMode' - - name: isPaused - in: query - description: Indicates if the player is paused. - schema: - type: boolean - default: false - - name: isMuted - in: query - description: Indicates if the player is muted. - schema: - type: boolean - default: false - responses: - "204": - description: Play progress recorded. + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized "403": @@ -20333,7 +19634,7 @@ paths: description: Forbidden security: - CustomAuthentication: - - DefaultAuthorization + - RequiresElevation /Plugins/{pluginId}: delete: tags: @@ -20371,125 +19672,6 @@ paths: security: - CustomAuthentication: - RequiresElevation - - DefaultAuthorization - /Plugins/{pluginId}/Configuration: - get: - tags: - - Plugins - summary: Gets plugin configuration. - operationId: GetPluginConfiguration - parameters: - - name: pluginId - in: path - description: Plugin id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: Plugin configuration returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BasePluginConfiguration' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BasePluginConfiguration' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BasePluginConfiguration' - "404": - description: Plugin not found or plugin configuration not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - post: - tags: - - Plugins - summary: Updates plugin configuration. - description: Accepts plugin configuration as JSON body. - operationId: UpdatePluginConfiguration - parameters: - - name: pluginId - in: path - description: Plugin id. - required: true - schema: - type: string - format: uuid - responses: - "204": - description: Plugin configuration updated. - "404": - description: Plugin not found or plugin does not have configuration. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Plugins/{pluginId}/Manifest: - post: - tags: - - Plugins - summary: Gets a plugin's manifest. - operationId: GetPluginManifest - parameters: - - name: pluginId - in: path - description: Plugin id. - required: true - schema: - type: string - format: uuid - responses: - "204": - description: Plugin manifest returned. - "404": - description: Plugin not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Plugins/{pluginId}/{version}: delete: tags: @@ -20532,7 +19714,6 @@ paths: security: - CustomAuthentication: - RequiresElevation - - DefaultAuthorization /Plugins/{pluginId}/{version}/Disable: post: tags: @@ -20575,7 +19756,6 @@ paths: security: - CustomAuthentication: - RequiresElevation - - DefaultAuthorization /Plugins/{pluginId}/{version}/Enable: post: tags: @@ -20618,7 +19798,6 @@ paths: security: - CustomAuthentication: - RequiresElevation - - DefaultAuthorization /Plugins/{pluginId}/{version}/Image: get: tags: @@ -20665,13 +19844,131 @@ paths: description: Forbidden security: - CustomAuthentication: - - DefaultAuthorization + - RequiresElevation + /Plugins/{pluginId}/Configuration: + get: + tags: + - Plugins + summary: Gets plugin configuration. + operationId: GetPluginConfiguration + parameters: + - name: pluginId + in: path + description: Plugin id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: Plugin configuration returned. + content: + application/json: + schema: + $ref: '#/components/schemas/BasePluginConfiguration' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BasePluginConfiguration' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BasePluginConfiguration' + "404": + description: Plugin not found or plugin configuration not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation + post: + tags: + - Plugins + summary: Updates plugin configuration. + description: Accepts plugin configuration as JSON body. + operationId: UpdatePluginConfiguration + parameters: + - name: pluginId + in: path + description: Plugin id. + required: true + schema: + type: string + format: uuid + responses: + "204": + description: Plugin configuration updated. + "404": + description: Plugin not found or plugin does not have configuration. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation + /Plugins/{pluginId}/Manifest: + post: + tags: + - Plugins + summary: Gets a plugin's manifest. + operationId: GetPluginManifest + parameters: + - name: pluginId + in: path + description: Plugin id. + required: true + schema: + type: string + format: uuid + responses: + "204": + description: Plugin manifest returned. + "404": + description: Plugin not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation /QuickConnect/Authorize: post: tags: - QuickConnect summary: Authorizes a pending quick connect request. - operationId: Authorize + operationId: AuthorizeQuickConnect parameters: - name: code in: query @@ -20679,6 +19976,12 @@ paths: required: true schema: type: string + - name: userId + in: query + description: The user the authorize. Access to the requested user is required. + schema: + type: string + format: uuid responses: "200": description: Quick connect result authorized successfully. @@ -20714,7 +20017,7 @@ paths: tags: - QuickConnect summary: Attempts to retrieve authentication information. - operationId: Connect + operationId: GetQuickConnectState parameters: - name: secret in: query @@ -20752,7 +20055,7 @@ paths: tags: - QuickConnect summary: Gets the current quick connect state. - operationId: GetEnabled + operationId: GetQuickConnectEnabled responses: "200": description: Quick connect state returned. @@ -20767,11 +20070,11 @@ paths: schema: type: boolean /QuickConnect/Initiate: - get: + post: tags: - QuickConnect summary: Initiate a new quick connect request. - operationId: Initiate + operationId: InitiateQuickConnect responses: "200": description: Quick connect request successfully created. @@ -20805,6 +20108,20 @@ paths: in: query description: The image type. schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' - name: startIndex @@ -20881,6 +20198,20 @@ paths: description: The image type. required: true schema: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Enum ImageType. @@ -20963,806 +20294,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Reports/Activities: - get: - tags: - - Reports - operationId: GetActivityLogs - parameters: - - name: reportView - in: query - schema: - type: string - - name: displayType - in: query - schema: - type: string - - name: hasQueryLimit - in: query - schema: - type: boolean - - name: groupBy - in: query - schema: - type: string - - name: reportColumns - in: query - schema: - type: string - - name: startIndex - in: query - schema: - type: integer - format: int32 - - name: limit - in: query - schema: - type: integer - format: int32 - - name: minDate - in: query - schema: - type: string - - name: includeItemTypes - in: query - schema: - type: string - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Reports/Headers: - get: - tags: - - Reports - operationId: GetReportHeaders - parameters: - - name: reportView - in: query - schema: - type: string - - name: includeItemTypes - in: query - schema: - type: string - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Reports/Items: - get: - tags: - - Reports - operationId: GetItemReport - parameters: - - name: hasThemeSong - in: query - schema: - type: boolean - - name: hasThemeVideo - in: query - schema: - type: boolean - - name: hasSubtitles - in: query - schema: - type: boolean - - name: hasSpecialFeature - in: query - schema: - type: boolean - - name: hasTrailer - in: query - schema: - type: boolean - - name: adjacentTo - in: query - schema: - type: string - - name: minIndexNumber - in: query - schema: - type: integer - format: int32 - - name: parentIndexNumber - in: query - schema: - type: integer - format: int32 - - name: hasParentalRating - in: query - schema: - type: boolean - - name: isHd - in: query - schema: - type: boolean - - name: locationTypes - in: query - schema: - type: string - - name: excludeLocationTypes - in: query - schema: - type: string - - name: isMissing - in: query - schema: - type: boolean - - name: isUnaried - in: query - schema: - type: boolean - - name: minCommunityRating - in: query - schema: - type: number - format: double - - name: minCriticRating - in: query - schema: - type: number - format: double - - name: airedDuringSeason - in: query - schema: - type: integer - format: int32 - - name: minPremiereDate - in: query - schema: - type: string - - name: minDateLastSaved - in: query - schema: - type: string - - name: minDateLastSavedForUser - in: query - schema: - type: string - - name: maxPremiereDate - in: query - schema: - type: string - - name: hasOverview - in: query - schema: - type: boolean - - name: hasImdbId - in: query - schema: - type: boolean - - name: hasTmdbId - in: query - schema: - type: boolean - - name: hasTvdbId - in: query - schema: - type: boolean - - name: isInBoxSet - in: query - schema: - type: boolean - - name: excludeItemIds - in: query - schema: - type: string - - name: enableTotalRecordCount - in: query - schema: - type: boolean - - name: startIndex - in: query - schema: - type: integer - format: int32 - - name: limit - in: query - schema: - type: integer - format: int32 - - name: recursive - in: query - schema: - type: boolean - - name: sortOrder - in: query - schema: - type: string - - name: parentId - in: query - schema: - type: string - - name: fields - in: query - schema: - type: string - - name: excludeItemTypes - in: query - schema: - type: string - - name: includeItemTypes - in: query - schema: - type: string - - name: filters - in: query - schema: - type: string - - name: isFavorite - in: query - schema: - type: boolean - - name: isNotFavorite - in: query - schema: - type: boolean - - name: mediaTypes - in: query - schema: - type: string - - name: imageTypes - in: query - schema: - type: string - - name: sortBy - in: query - schema: - type: string - - name: isPlayed - in: query - schema: - type: boolean - - name: genres - in: query - schema: - type: string - - name: genreIds - in: query - schema: - type: string - - name: officialRatings - in: query - schema: - type: string - - name: tags - in: query - schema: - type: string - - name: years - in: query - schema: - type: string - - name: enableUserData - in: query - schema: - type: boolean - - name: imageTypeLimit - in: query - schema: - type: integer - format: int32 - - name: enableImageTypes - in: query - schema: - type: string - - name: person - in: query - schema: - type: string - - name: personIds - in: query - schema: - type: string - - name: personTypes - in: query - schema: - type: string - - name: studios - in: query - schema: - type: string - - name: studioIds - in: query - schema: - type: string - - name: artists - in: query - schema: - type: string - - name: excludeArtistIds - in: query - schema: - type: string - - name: artistIds - in: query - schema: - type: string - - name: albums - in: query - schema: - type: string - - name: albumIds - in: query - schema: - type: string - - name: ids - in: query - schema: - type: string - - name: videoTypes - in: query - schema: - type: string - - name: userId - in: query - schema: - type: string - - name: minOfficialRating - in: query - schema: - type: string - - name: isLocked - in: query - schema: - type: boolean - - name: isPlaceHolder - in: query - schema: - type: boolean - - name: hasOfficialRating - in: query - schema: - type: boolean - - name: collapseBoxSetItems - in: query - schema: - type: boolean - - name: is3D - in: query - schema: - type: boolean - - name: seriesStatus - in: query - schema: - type: string - - name: nameStartsWithOrGreater - in: query - schema: - type: string - - name: nameStartsWith - in: query - schema: - type: string - - name: nameLessThan - in: query - schema: - type: string - - name: reportView - in: query - schema: - type: string - - name: displayType - in: query - schema: - type: string - - name: hasQueryLimit - in: query - schema: - type: boolean - - name: groupBy - in: query - schema: - type: string - - name: reportColumns - in: query - schema: - type: string - - name: enableImages - in: query - schema: - type: boolean - default: true - responses: - "200": - description: Success - content: - application/json: - schema: - $ref: '#/components/schemas/ReportResult' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Reports/Items/Download: - get: - tags: - - Reports - operationId: GetReportDownload - parameters: - - name: hasThemeSong - in: query - schema: - type: boolean - - name: hasThemeVideo - in: query - schema: - type: boolean - - name: hasSubtitles - in: query - schema: - type: boolean - - name: hasSpecialFeature - in: query - schema: - type: boolean - - name: hasTrailer - in: query - schema: - type: boolean - - name: adjacentTo - in: query - schema: - type: string - - name: minIndexNumber - in: query - schema: - type: integer - format: int32 - - name: parentIndexNumber - in: query - schema: - type: integer - format: int32 - - name: hasParentalRating - in: query - schema: - type: boolean - - name: isHd - in: query - schema: - type: boolean - - name: locationTypes - in: query - schema: - type: string - - name: excludeLocationTypes - in: query - schema: - type: string - - name: isMissing - in: query - schema: - type: boolean - - name: isUnaried - in: query - schema: - type: boolean - - name: minCommunityRating - in: query - schema: - type: number - format: double - - name: minCriticRating - in: query - schema: - type: number - format: double - - name: airedDuringSeason - in: query - schema: - type: integer - format: int32 - - name: minPremiereDate - in: query - schema: - type: string - - name: minDateLastSaved - in: query - schema: - type: string - - name: minDateLastSavedForUser - in: query - schema: - type: string - - name: maxPremiereDate - in: query - schema: - type: string - - name: hasOverview - in: query - schema: - type: boolean - - name: hasImdbId - in: query - schema: - type: boolean - - name: hasTmdbId - in: query - schema: - type: boolean - - name: hasTvdbId - in: query - schema: - type: boolean - - name: isInBoxSet - in: query - schema: - type: boolean - - name: excludeItemIds - in: query - schema: - type: string - - name: enableTotalRecordCount - in: query - schema: - type: boolean - - name: startIndex - in: query - schema: - type: integer - format: int32 - - name: limit - in: query - schema: - type: integer - format: int32 - - name: recursive - in: query - schema: - type: boolean - - name: sortOrder - in: query - schema: - type: string - - name: parentId - in: query - schema: - type: string - - name: fields - in: query - schema: - type: string - - name: excludeItemTypes - in: query - schema: - type: string - - name: includeItemTypes - in: query - schema: - type: string - - name: filters - in: query - schema: - type: string - - name: isFavorite - in: query - schema: - type: boolean - - name: isNotFavorite - in: query - schema: - type: boolean - - name: mediaTypes - in: query - schema: - type: string - - name: imageTypes - in: query - schema: - type: string - - name: sortBy - in: query - schema: - type: string - - name: isPlayed - in: query - schema: - type: boolean - - name: genres - in: query - schema: - type: string - - name: genreIds - in: query - schema: - type: string - - name: officialRatings - in: query - schema: - type: string - - name: tags - in: query - schema: - type: string - - name: years - in: query - schema: - type: string - - name: enableUserData - in: query - schema: - type: boolean - - name: imageTypeLimit - in: query - schema: - type: integer - format: int32 - - name: enableImageTypes - in: query - schema: - type: string - - name: person - in: query - schema: - type: string - - name: personIds - in: query - schema: - type: string - - name: personTypes - in: query - schema: - type: string - - name: studios - in: query - schema: - type: string - - name: studioIds - in: query - schema: - type: string - - name: artists - in: query - schema: - type: string - - name: excludeArtistIds - in: query - schema: - type: string - - name: artistIds - in: query - schema: - type: string - - name: albums - in: query - schema: - type: string - - name: albumIds - in: query - schema: - type: string - - name: ids - in: query - schema: - type: string - - name: videoTypes - in: query - schema: - type: string - - name: userId - in: query - schema: - type: string - - name: minOfficialRating - in: query - schema: - type: string - - name: isLocked - in: query - schema: - type: boolean - - name: isPlaceHolder - in: query - schema: - type: boolean - - name: hasOfficialRating - in: query - schema: - type: boolean - - name: collapseBoxSetItems - in: query - schema: - type: boolean - - name: is3D - in: query - schema: - type: boolean - - name: seriesStatus - in: query - schema: - type: string - - name: nameStartsWithOrGreater - in: query - schema: - type: string - - name: nameStartsWith - in: query - schema: - type: string - - name: nameLessThan - in: query - schema: - type: string - - name: reportView - in: query - schema: - type: string - - name: displayType - in: query - schema: - type: string - - name: hasQueryLimit - in: query - schema: - type: boolean - - name: groupBy - in: query - schema: - type: string - - name: reportColumns - in: query - schema: - type: string - - name: minDate - in: query - schema: - type: string - - name: exportType - in: query - schema: - allOf: - - $ref: '#/components/schemas/ReportExportType' - default: CSV - - name: enableImages - in: query - schema: - type: boolean - default: true - responses: - "200": - description: Success - content: - application/json: - schema: - $ref: '#/components/schemas/ReportResult' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Lastfm/Login: - post: - tags: - - RestApi - operationId: CreateMobileSession - requestBody: - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/LastFMUser' - responses: - "200": - description: Success /ScheduledTasks: get: tags: @@ -21806,75 +20337,6 @@ paths: security: - CustomAuthentication: - RequiresElevation - /ScheduledTasks/Running/{taskId}: - post: - tags: - - ScheduledTasks - summary: Start specified task. - operationId: StartTask - parameters: - - name: taskId - in: path - description: Task Id. - required: true - schema: - type: string - responses: - "204": - description: Task started. - "404": - description: Task not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - delete: - tags: - - ScheduledTasks - summary: Stop specified task. - operationId: StopTask - parameters: - - name: taskId - in: path - description: Task Id. - required: true - schema: - type: string - responses: - "204": - description: Task stopped. - "404": - description: Task not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation /ScheduledTasks/{taskId}: get: tags: @@ -21974,12 +20436,81 @@ paths: security: - CustomAuthentication: - RequiresElevation + /ScheduledTasks/Running/{taskId}: + post: + tags: + - ScheduledTasks + summary: Start specified task. + operationId: StartTask + parameters: + - name: taskId + in: path + description: Task Id. + required: true + schema: + type: string + responses: + "204": + description: Task started. + "404": + description: Task not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation + delete: + tags: + - ScheduledTasks + summary: Stop specified task. + operationId: StopTask + parameters: + - name: taskId + in: path + description: Task Id. + required: true + schema: + type: string + responses: + "204": + description: Task stopped. + "404": + description: Task not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation /Search/Hints: get: tags: - Search summary: Gets the search hint result. - operationId: Get + operationId: GetSearchHints parameters: - name: startIndex in: query @@ -22007,25 +20538,25 @@ paths: type: string - name: includeItemTypes in: query - description: If specified, only results with the specified item types are returned. This allows multiple, comma delimeted. + description: If specified, only results with the specified item types are returned. This allows multiple, comma delimited. schema: type: array items: $ref: '#/components/schemas/BaseItemKind' - name: excludeItemTypes in: query - description: If specified, results with these item types are filtered out. This allows multiple, comma delimeted. + description: If specified, results with these item types are filtered out. This allows multiple, comma delimited. schema: type: array items: $ref: '#/components/schemas/BaseItemKind' - name: mediaTypes in: query - description: If specified, only results with the specified media types are returned. This allows multiple, comma delimeted. + description: If specified, only results with the specified media types are returned. This allows multiple, comma delimited. schema: type: array items: - type: string + $ref: '#/components/schemas/MediaType' - name: parentId in: query description: If specified, only children of the parent are returned. @@ -22203,17 +20734,512 @@ paths: schema: type: array items: - $ref: '#/components/schemas/SessionInfo' + $ref: '#/components/schemas/SessionInfoDto' application/json; profile="CamelCase": schema: type: array items: - $ref: '#/components/schemas/SessionInfo' + $ref: '#/components/schemas/SessionInfoDto' application/json; profile="PascalCase": schema: type: array items: - $ref: '#/components/schemas/SessionInfo' + $ref: '#/components/schemas/SessionInfoDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Sessions/{sessionId}/Command: + post: + tags: + - Session + summary: Issues a full general command to a client. + operationId: SendFullGeneralCommand + parameters: + - name: sessionId + in: path + description: The session id. + required: true + schema: + type: string + requestBody: + description: The MediaBrowser.Model.Session.GeneralCommand. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/GeneralCommand' + text/json: + schema: + allOf: + - $ref: '#/components/schemas/GeneralCommand' + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/GeneralCommand' + required: true + responses: + "204": + description: Full general command sent to session. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Sessions/{sessionId}/Command/{command}: + post: + tags: + - Session + summary: Issues a general command to a client. + operationId: SendGeneralCommand + parameters: + - name: sessionId + in: path + description: The session id. + required: true + schema: + type: string + - name: command + in: path + description: The command to send. + required: true + schema: + enum: + - MoveUp + - MoveDown + - MoveLeft + - MoveRight + - PageUp + - PageDown + - PreviousLetter + - NextLetter + - ToggleOsd + - ToggleContextMenu + - Select + - Back + - TakeScreenshot + - SendKey + - SendString + - GoHome + - GoToSettings + - VolumeUp + - VolumeDown + - Mute + - Unmute + - ToggleMute + - SetVolume + - SetAudioStreamIndex + - SetSubtitleStreamIndex + - ToggleFullscreen + - DisplayContent + - GoToSearch + - DisplayMessage + - SetRepeatMode + - ChannelUp + - ChannelDown + - Guide + - ToggleStats + - PlayMediaSource + - PlayTrailers + - SetShuffleQueue + - PlayState + - PlayNext + - ToggleOsdMenu + - Play + - SetMaxStreamingBitrate + - SetPlaybackOrder + allOf: + - $ref: '#/components/schemas/GeneralCommandType' + description: This exists simply to identify a set of known commands. + responses: + "204": + description: General command sent to session. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Sessions/{sessionId}/Message: + post: + tags: + - Session + summary: Issues a command to a client to display a message to the user. + operationId: SendMessageCommand + parameters: + - name: sessionId + in: path + description: The session id. + required: true + schema: + type: string + requestBody: + description: The MediaBrowser.Model.Session.MessageCommand object containing Header, Message Text, and TimeoutMs. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/MessageCommand' + text/json: + schema: + allOf: + - $ref: '#/components/schemas/MessageCommand' + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/MessageCommand' + required: true + responses: + "204": + description: Message sent. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Sessions/{sessionId}/Playing: + post: + tags: + - Session + summary: Instructs a session to play an item. + operationId: Play + parameters: + - name: sessionId + in: path + description: The session id. + required: true + schema: + type: string + - name: playCommand + in: query + description: The type of play command to issue (PlayNow, PlayNext, PlayLast). Clients who have not yet implemented play next and play last may play now. + required: true + schema: + enum: + - PlayNow + - PlayNext + - PlayLast + - PlayInstantMix + - PlayShuffle + allOf: + - $ref: '#/components/schemas/PlayCommand' + description: Enum PlayCommand. + - name: itemIds + in: query + description: The ids of the items to play, comma delimited. + required: true + schema: + type: array + items: + type: string + format: uuid + - name: startPositionTicks + in: query + description: The starting position of the first item. + schema: + type: integer + format: int64 + - name: mediaSourceId + in: query + description: Optional. The media source id. + schema: + type: string + - name: audioStreamIndex + in: query + description: Optional. The index of the audio stream to play. + schema: + type: integer + format: int32 + - name: subtitleStreamIndex + in: query + description: Optional. The index of the subtitle stream to play. + schema: + type: integer + format: int32 + - name: startIndex + in: query + description: Optional. The start index. + schema: + type: integer + format: int32 + responses: + "204": + description: Instruction sent to session. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Sessions/{sessionId}/Playing/{command}: + post: + tags: + - Session + summary: Issues a playstate command to a client. + operationId: SendPlaystateCommand + parameters: + - name: sessionId + in: path + description: The session id. + required: true + schema: + type: string + - name: command + in: path + description: The MediaBrowser.Model.Session.PlaystateCommand. + required: true + schema: + enum: + - Stop + - Pause + - Unpause + - NextTrack + - PreviousTrack + - Seek + - Rewind + - FastForward + - PlayPause + allOf: + - $ref: '#/components/schemas/PlaystateCommand' + description: Enum PlaystateCommand. + - name: seekPositionTicks + in: query + description: The optional position ticks. + schema: + type: integer + format: int64 + - name: controllingUserId + in: query + description: The optional controlling user id. + schema: + type: string + responses: + "204": + description: Playstate command sent to session. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Sessions/{sessionId}/System/{command}: + post: + tags: + - Session + summary: Issues a system command to a client. + operationId: SendSystemCommand + parameters: + - name: sessionId + in: path + description: The session id. + required: true + schema: + type: string + - name: command + in: path + description: The command to send. + required: true + schema: + enum: + - MoveUp + - MoveDown + - MoveLeft + - MoveRight + - PageUp + - PageDown + - PreviousLetter + - NextLetter + - ToggleOsd + - ToggleContextMenu + - Select + - Back + - TakeScreenshot + - SendKey + - SendString + - GoHome + - GoToSettings + - VolumeUp + - VolumeDown + - Mute + - Unmute + - ToggleMute + - SetVolume + - SetAudioStreamIndex + - SetSubtitleStreamIndex + - ToggleFullscreen + - DisplayContent + - GoToSearch + - DisplayMessage + - SetRepeatMode + - ChannelUp + - ChannelDown + - Guide + - ToggleStats + - PlayMediaSource + - PlayTrailers + - SetShuffleQueue + - PlayState + - PlayNext + - ToggleOsdMenu + - Play + - SetMaxStreamingBitrate + - SetPlaybackOrder + allOf: + - $ref: '#/components/schemas/GeneralCommandType' + description: This exists simply to identify a set of known commands. + responses: + "204": + description: System command sent to session. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Sessions/{sessionId}/User/{userId}: + post: + tags: + - Session + summary: Adds an additional user to a session. + operationId: AddUserToSession + parameters: + - name: sessionId + in: path + description: The session id. + required: true + schema: + type: string + - name: userId + in: path + description: The user id. + required: true + schema: + type: string + format: uuid + responses: + "204": + description: User added to session. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + delete: + tags: + - Session + summary: Removes an additional user from a session. + operationId: RemoveUserFromSession + parameters: + - name: sessionId + in: path + description: The session id. + required: true + schema: + type: string + - name: userId + in: path + description: The user id. + required: true + schema: + type: string + format: uuid + responses: + "204": + description: User removed from session. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Sessions/{sessionId}/Viewing: + post: + tags: + - Session + summary: Instructs a session to browse to an item or view. + operationId: DisplayContent + parameters: + - name: sessionId + in: path + description: The session Id. + required: true + schema: + type: string + - name: itemType + in: query + description: The type of item to browse to. + required: true + schema: + enum: + - AggregateFolder + - Audio + - AudioBook + - BasePluginFolder + - Book + - BoxSet + - Channel + - ChannelFolderItem + - CollectionFolder + - Episode + - Folder + - Genre + - ManualPlaylistsFolder + - Movie + - LiveTvChannel + - LiveTvProgram + - MusicAlbum + - MusicArtist + - MusicGenre + - MusicVideo + - Person + - Photo + - PhotoAlbum + - Playlist + - PlaylistsFolder + - Program + - Recording + - Season + - Series + - Studio + - Trailer + - TvChannel + - TvProgram + - UserRootFolder + - UserView + - Video + - Year + allOf: + - $ref: '#/components/schemas/BaseItemKind' + description: The base item kind. + - name: itemId + in: query + description: The Id of the item. + required: true + schema: + type: string + - name: itemName + in: query + description: The name of the item. + required: true + schema: + type: string + responses: + "204": + description: Instruction sent to session. "401": description: Unauthorized "403": @@ -22239,7 +21265,7 @@ paths: schema: type: array items: - type: string + $ref: '#/components/schemas/MediaType' - name: supportedCommands in: query description: A list of supported remote control commands, comma delimited. @@ -22253,12 +21279,6 @@ paths: schema: type: boolean default: false - - name: supportsSync - in: query - description: Determines whether sync is supported. - schema: - type: boolean - default: false - name: supportsPersistentIdentifier in: query description: Determines whether the device supports a unique identifier. @@ -22360,359 +21380,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Sessions/{sessionId}/Command: - post: - tags: - - Session - summary: Issues a full general command to a client. - operationId: SendFullGeneralCommand - parameters: - - name: sessionId - in: path - description: The session id. - required: true - schema: - type: string - requestBody: - description: The MediaBrowser.Model.Session.GeneralCommand. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/GeneralCommand' - text/json: - schema: - allOf: - - $ref: '#/components/schemas/GeneralCommand' - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/GeneralCommand' - required: true - responses: - "204": - description: Full general command sent to session. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Sessions/{sessionId}/Command/{command}: - post: - tags: - - Session - summary: Issues a general command to a client. - operationId: SendGeneralCommand - parameters: - - name: sessionId - in: path - description: The session id. - required: true - schema: - type: string - - name: command - in: path - description: The command to send. - required: true - schema: - allOf: - - $ref: '#/components/schemas/GeneralCommandType' - description: This exists simply to identify a set of known commands. - responses: - "204": - description: General command sent to session. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Sessions/{sessionId}/Message: - post: - tags: - - Session - summary: Issues a command to a client to display a message to the user. - operationId: SendMessageCommand - parameters: - - name: sessionId - in: path - description: The session id. - required: true - schema: - type: string - requestBody: - description: The MediaBrowser.Model.Session.MessageCommand object containing Header, Message Text, and TimeoutMs. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/MessageCommand' - text/json: - schema: - allOf: - - $ref: '#/components/schemas/MessageCommand' - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/MessageCommand' - required: true - responses: - "204": - description: Message sent. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Sessions/{sessionId}/Playing: - post: - tags: - - Session - summary: Instructs a session to play an item. - operationId: Play - parameters: - - name: sessionId - in: path - description: The session id. - required: true - schema: - type: string - - name: playCommand - in: query - description: The type of play command to issue (PlayNow, PlayNext, PlayLast). Clients who have not yet implemented play next and play last may play now. - required: true - schema: - allOf: - - $ref: '#/components/schemas/PlayCommand' - description: Enum PlayCommand. - - name: itemIds - in: query - description: The ids of the items to play, comma delimited. - required: true - schema: - type: array - items: - type: string - format: uuid - - name: startPositionTicks - in: query - description: The starting position of the first item. - schema: - type: integer - format: int64 - - name: mediaSourceId - in: query - description: Optional. The media source id. - schema: - type: string - - name: audioStreamIndex - in: query - description: Optional. The index of the audio stream to play. - schema: - type: integer - format: int32 - - name: subtitleStreamIndex - in: query - description: Optional. The index of the subtitle stream to play. - schema: - type: integer - format: int32 - - name: startIndex - in: query - description: Optional. The start index. - schema: - type: integer - format: int32 - responses: - "204": - description: Instruction sent to session. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Sessions/{sessionId}/Playing/{command}: - post: - tags: - - Session - summary: Issues a playstate command to a client. - operationId: SendPlaystateCommand - parameters: - - name: sessionId - in: path - description: The session id. - required: true - schema: - type: string - - name: command - in: path - description: The MediaBrowser.Model.Session.PlaystateCommand. - required: true - schema: - allOf: - - $ref: '#/components/schemas/PlaystateCommand' - description: Enum PlaystateCommand. - - name: seekPositionTicks - in: query - description: The optional position ticks. - schema: - type: integer - format: int64 - - name: controllingUserId - in: query - description: The optional controlling user id. - schema: - type: string - responses: - "204": - description: Playstate command sent to session. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Sessions/{sessionId}/System/{command}: - post: - tags: - - Session - summary: Issues a system command to a client. - operationId: SendSystemCommand - parameters: - - name: sessionId - in: path - description: The session id. - required: true - schema: - type: string - - name: command - in: path - description: The command to send. - required: true - schema: - allOf: - - $ref: '#/components/schemas/GeneralCommandType' - description: This exists simply to identify a set of known commands. - responses: - "204": - description: System command sent to session. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Sessions/{sessionId}/User/{userId}: - post: - tags: - - Session - summary: Adds an additional user to a session. - operationId: AddUserToSession - parameters: - - name: sessionId - in: path - description: The session id. - required: true - schema: - type: string - - name: userId - in: path - description: The user id. - required: true - schema: - type: string - format: uuid - responses: - "204": - description: User added to session. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - delete: - tags: - - Session - summary: Removes an additional user from a session. - operationId: RemoveUserFromSession - parameters: - - name: sessionId - in: path - description: The session id. - required: true - schema: - type: string - - name: userId - in: path - description: The user id. - required: true - schema: - type: string - format: uuid - responses: - "204": - description: User removed from session. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Sessions/{sessionId}/Viewing: - post: - tags: - - Session - summary: Instructs a session to browse to an item or view. - operationId: DisplayContent - parameters: - - name: sessionId - in: path - description: The session Id. - required: true - schema: - type: string - - name: itemType - in: query - description: The type of item to browse to. - required: true - schema: - allOf: - - $ref: '#/components/schemas/BaseItemKind' - description: The base item kind. - - name: itemId - in: query - description: The Id of the item. - required: true - schema: - type: string - - name: itemName - in: query - description: The name of the item. - required: true - schema: - type: string - responses: - "204": - description: Instruction sent to session. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Startup/Complete: post: tags: @@ -22729,6 +21396,7 @@ paths: security: - CustomAuthentication: - FirstTimeSetupOrElevated + - DefaultAuthorization /Startup/Configuration: get: tags: @@ -22755,6 +21423,7 @@ paths: security: - CustomAuthentication: - FirstTimeSetupOrElevated + - DefaultAuthorization post: tags: - Startup @@ -22789,6 +21458,7 @@ paths: security: - CustomAuthentication: - FirstTimeSetupOrElevated + - DefaultAuthorization /Startup/FirstUser: get: tags: @@ -22815,6 +21485,7 @@ paths: security: - CustomAuthentication: - FirstTimeSetupOrElevated + - DefaultAuthorization /Startup/RemoteAccess: post: tags: @@ -22850,6 +21521,7 @@ paths: security: - CustomAuthentication: - FirstTimeSetupOrElevated + - DefaultAuthorization /Startup/User: get: tags: @@ -22876,6 +21548,7 @@ paths: security: - CustomAuthentication: - FirstTimeSetupOrElevated + - DefaultAuthorization post: tags: - Startup @@ -22909,6 +21582,7 @@ paths: security: - CustomAuthentication: - FirstTimeSetupOrElevated + - DefaultAuthorization /Studios: get: tags: @@ -23179,12 +21853,25 @@ paths: type: array items: $ref: '#/components/schemas/RemoteSubtitleInfo' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized "403": description: Forbidden security: - CustomAuthentication: + - SubtitleManagement - DefaultAuthorization /Items/{itemId}/RemoteSearch/Subtitles/{subtitleId}: post: @@ -23209,21 +21896,34 @@ paths: responses: "204": description: Subtitle downloaded. + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized "403": description: Forbidden security: - CustomAuthentication: + - SubtitleManagement - DefaultAuthorization - /Providers/Subtitles/Subtitles/{id}: + /Providers/Subtitles/Subtitles/{subtitleId}: get: tags: - Subtitle summary: Gets the remote subtitles. operationId: GetRemoteSubtitles parameters: - - name: id + - name: subtitleId in: path description: The item id. required: true @@ -23241,6 +21941,68 @@ paths: description: Unauthorized "403": description: Forbidden + security: + - CustomAuthentication: + - SubtitleManagement + - DefaultAuthorization + /Videos/{itemId}/{mediaSourceId}/Subtitles/{index}/subtitles.m3u8: + get: + tags: + - Subtitle + summary: Gets an HLS subtitle playlist. + operationId: GetSubtitlePlaylist + parameters: + - name: itemId + in: path + description: The item id. + required: true + schema: + type: string + format: uuid + - name: index + in: path + description: The subtitle stream index. + required: true + schema: + type: integer + format: int32 + - name: mediaSourceId + in: path + description: The media source id. + required: true + schema: + type: string + - name: segmentLength + in: query + description: The subtitle segment length. + required: true + schema: + type: integer + format: int32 + responses: + "200": + description: Subtitle playlist retrieved. + content: + application/x-mpegURL: + schema: + type: string + format: binary + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden security: - CustomAuthentication: - DefaultAuthorization @@ -23280,13 +22042,26 @@ paths: responses: "204": description: Subtitle uploaded. + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized "403": description: Forbidden security: - CustomAuthentication: - - RequiresElevation + - SubtitleManagement + - DefaultAuthorization /Videos/{itemId}/Subtitles/{index}: delete: tags: @@ -23330,147 +22105,6 @@ paths: security: - CustomAuthentication: - RequiresElevation - /Videos/{itemId}/{mediaSourceId}/Subtitles/{index}/subtitles.m3u8: - get: - tags: - - Subtitle - summary: Gets an HLS subtitle playlist. - operationId: GetSubtitlePlaylist - parameters: - - name: itemId - in: path - description: The item id. - required: true - schema: - type: string - format: uuid - - name: index - in: path - description: The subtitle stream index. - required: true - schema: - type: integer - format: int32 - - name: mediaSourceId - in: path - description: The media source id. - required: true - schema: - type: string - - name: segmentLength - in: query - description: The subtitle segment length. - required: true - schema: - type: integer - format: int32 - responses: - "200": - description: Subtitle playlist retrieved. - content: - application/x-mpegURL: - schema: - type: string - format: binary - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/Stream.{routeFormat}: - get: - tags: - - Subtitle - summary: Gets subtitles in a specified format. - operationId: GetSubtitle - parameters: - - name: routeItemId - in: path - description: The (route) item id. - required: true - schema: - type: string - format: uuid - - name: routeMediaSourceId - in: path - description: The (route) media source id. - required: true - schema: - type: string - - name: routeIndex - in: path - description: The (route) subtitle stream index. - required: true - schema: - type: integer - format: int32 - - name: routeFormat - in: path - description: The (route) format of the returned subtitle. - required: true - schema: - type: string - - name: itemId - in: query - description: The item id. - deprecated: true - schema: - type: string - format: uuid - - name: mediaSourceId - in: query - description: The media source id. - deprecated: true - schema: - type: string - - name: index - in: query - description: The subtitle stream index. - deprecated: true - schema: - type: integer - format: int32 - - name: format - in: query - description: The format of the returned subtitle. - deprecated: true - schema: - type: string - - name: endPositionTicks - in: query - description: Optional. The end position of the subtitle in ticks. - schema: - type: integer - format: int64 - - name: copyTimestamps - in: query - description: Optional. Whether to copy the timestamps. - schema: - type: boolean - default: false - - name: addVttTimeMap - in: query - description: Optional. Whether to add a VTT time map. - schema: - type: boolean - default: false - - name: startPositionTicks - in: query - description: The start position of the subtitle in ticks. - schema: - type: integer - format: int64 - default: 0 - responses: - "200": - description: File returned. - content: - text/*: - schema: - type: string - format: binary /Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/{routeStartPositionTicks}/Stream.{routeFormat}: get: tags: @@ -23570,7 +22204,99 @@ paths: schema: type: string format: binary - /Users/{userId}/Suggestions: + /Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/Stream.{routeFormat}: + get: + tags: + - Subtitle + summary: Gets subtitles in a specified format. + operationId: GetSubtitle + parameters: + - name: routeItemId + in: path + description: The (route) item id. + required: true + schema: + type: string + format: uuid + - name: routeMediaSourceId + in: path + description: The (route) media source id. + required: true + schema: + type: string + - name: routeIndex + in: path + description: The (route) subtitle stream index. + required: true + schema: + type: integer + format: int32 + - name: routeFormat + in: path + description: The (route) format of the returned subtitle. + required: true + schema: + type: string + - name: itemId + in: query + description: The item id. + deprecated: true + schema: + type: string + format: uuid + - name: mediaSourceId + in: query + description: The media source id. + deprecated: true + schema: + type: string + - name: index + in: query + description: The subtitle stream index. + deprecated: true + schema: + type: integer + format: int32 + - name: format + in: query + description: The format of the returned subtitle. + deprecated: true + schema: + type: string + - name: endPositionTicks + in: query + description: Optional. The end position of the subtitle in ticks. + schema: + type: integer + format: int64 + - name: copyTimestamps + in: query + description: Optional. Whether to copy the timestamps. + schema: + type: boolean + default: false + - name: addVttTimeMap + in: query + description: Optional. Whether to add a VTT time map. + schema: + type: boolean + default: false + - name: startPositionTicks + in: query + description: The start position of the subtitle in ticks. + schema: + type: integer + format: int64 + default: 0 + responses: + "200": + description: File returned. + content: + text/*: + schema: + type: string + format: binary + /Items/Suggestions: get: tags: - Suggestions @@ -23578,9 +22304,8 @@ paths: operationId: GetSuggestions parameters: - name: userId - in: path + in: query description: The user id. - required: true schema: type: string format: uuid @@ -23590,7 +22315,7 @@ paths: schema: type: array items: - type: string + $ref: '#/components/schemas/MediaType' - name: type in: query description: The type. @@ -23672,6 +22397,7 @@ paths: - CustomAuthentication: - SyncPlayIsInGroup - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/Join: post: tags: @@ -23708,6 +22434,7 @@ paths: - CustomAuthentication: - SyncPlayJoinGroup - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/Leave: post: tags: @@ -23725,6 +22452,7 @@ paths: - CustomAuthentication: - SyncPlayIsInGroup - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/List: get: tags: @@ -23758,6 +22486,7 @@ paths: - CustomAuthentication: - SyncPlayJoinGroup - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/MovePlaylistItem: post: tags: @@ -23794,6 +22523,7 @@ paths: - CustomAuthentication: - SyncPlayIsInGroup - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/New: post: tags: @@ -23830,6 +22560,7 @@ paths: - CustomAuthentication: - SyncPlayCreateGroup - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/NextItem: post: tags: @@ -23866,6 +22597,7 @@ paths: - CustomAuthentication: - SyncPlayIsInGroup - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/Pause: post: tags: @@ -23883,6 +22615,7 @@ paths: - CustomAuthentication: - SyncPlayIsInGroup - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/Ping: post: tags: @@ -23918,6 +22651,7 @@ paths: security: - CustomAuthentication: - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/PreviousItem: post: tags: @@ -23954,6 +22688,7 @@ paths: - CustomAuthentication: - SyncPlayIsInGroup - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/Queue: post: tags: @@ -23990,6 +22725,7 @@ paths: - CustomAuthentication: - SyncPlayIsInGroup - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/Ready: post: tags: @@ -24026,6 +22762,7 @@ paths: - CustomAuthentication: - SyncPlayIsInGroup - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/RemoveFromPlaylist: post: tags: @@ -24062,6 +22799,7 @@ paths: - CustomAuthentication: - SyncPlayIsInGroup - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/Seek: post: tags: @@ -24098,6 +22836,7 @@ paths: - CustomAuthentication: - SyncPlayIsInGroup - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/SetIgnoreWait: post: tags: @@ -24134,6 +22873,7 @@ paths: - CustomAuthentication: - SyncPlayIsInGroup - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/SetNewQueue: post: tags: @@ -24170,6 +22910,7 @@ paths: - CustomAuthentication: - SyncPlayIsInGroup - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/SetPlaylistItem: post: tags: @@ -24206,6 +22947,7 @@ paths: - CustomAuthentication: - SyncPlayIsInGroup - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/SetRepeatMode: post: tags: @@ -24242,6 +22984,7 @@ paths: - CustomAuthentication: - SyncPlayIsInGroup - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/SetShuffleMode: post: tags: @@ -24278,6 +23021,7 @@ paths: - CustomAuthentication: - SyncPlayIsInGroup - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/Stop: post: tags: @@ -24295,6 +23039,7 @@ paths: - CustomAuthentication: - SyncPlayIsInGroup - SyncPlayHasAccess + - DefaultAuthorization /SyncPlay/Unpause: post: tags: @@ -24312,6 +23057,7 @@ paths: - CustomAuthentication: - SyncPlayIsInGroup - SyncPlayHasAccess + - DefaultAuthorization /System/Endpoint: get: tags: @@ -24331,10 +23077,20 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/EndPointInfo' + "403": + description: User does not have permission to get endpoint information. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized - "403": - description: Forbidden security: - CustomAuthentication: - DefaultAuthorization @@ -24357,13 +23113,24 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/SystemInfo' + "403": + description: User does not have permission to retrieve information. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized - "403": - description: Forbidden security: - CustomAuthentication: - FirstTimeSetupOrIgnoreParentalControl + - DefaultAuthorization /System/Info/Public: get: tags: @@ -24408,10 +23175,20 @@ paths: type: array items: $ref: '#/components/schemas/LogFile' + "403": + description: User does not have permission to get server logs. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized - "403": - description: Forbidden security: - CustomAuthentication: - RequiresElevation @@ -24436,10 +23213,32 @@ paths: schema: type: string format: binary + "403": + description: User does not have permission to get log files. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: Could not find a log file with the name. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized - "403": - description: Forbidden security: - CustomAuthentication: - RequiresElevation @@ -24489,10 +23288,20 @@ paths: responses: "204": description: Server restarted. + "403": + description: User does not have permission to restart server. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized - "403": - description: Forbidden security: - CustomAuthentication: - LocalAccessOrRequiresElevation @@ -24505,10 +23314,20 @@ paths: responses: "204": description: Server shut down. + "403": + description: User does not have permission to shutdown server. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized - "403": - description: Forbidden security: - CustomAuthentication: - RequiresElevation @@ -24593,7 +23412,7 @@ paths: parameters: - name: userId in: query - description: The user id. + description: The user id supplied as query parameter; this is required when not using an API key. schema: type: string format: uuid @@ -24632,6 +23451,7 @@ paths: description: Optional. Return items that are siblings of a supplied item. schema: type: string + format: uuid - name: parentIndexNumber in: query description: Optional filter by parent index number. @@ -24720,17 +23540,17 @@ paths: type: boolean - name: hasImdbId in: query - description: Optional filter by items that have an imdb id or not. + description: Optional filter by items that have an IMDb id or not. schema: type: boolean - name: hasTmdbId in: query - description: Optional filter by items that have a tmdb id or not. + description: Optional filter by items that have a TMDb id or not. schema: type: boolean - name: hasTvdbId in: query - description: Optional filter by items that have a tvdb id or not. + description: Optional filter by items that have a TVDb id or not. schema: type: boolean - name: isMovie @@ -24790,7 +23610,7 @@ paths: type: string - name: sortOrder in: query - description: Sort Order - Ascending,Descending. + description: Sort Order - Ascending, Descending. schema: type: array items: @@ -24833,7 +23653,7 @@ paths: schema: type: array items: - type: string + $ref: '#/components/schemas/MediaType' - name: imageTypes in: query description: Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. @@ -24847,7 +23667,7 @@ paths: schema: type: array items: - type: string + $ref: '#/components/schemas/ItemSortBy' - name: isPlayed in: query description: Optional filter by items that are played, or not. @@ -25120,6 +23940,381 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /Videos/{itemId}/Trickplay/{width}/{index}.jpg: + get: + tags: + - Trickplay + summary: Gets a trickplay tile image. + operationId: GetTrickplayTileImage + parameters: + - name: itemId + in: path + description: The item id. + required: true + schema: + type: string + format: uuid + - name: width + in: path + description: The width of a single tile. + required: true + schema: + type: integer + format: int32 + - name: index + in: path + description: The index of the desired tile. + required: true + schema: + type: integer + format: int32 + - name: mediaSourceId + in: query + description: The media version id, if using an alternate version. + schema: + type: string + format: uuid + responses: + "200": + description: Tile image not found at specified index. + content: + image/*: + schema: + type: string + format: binary + "404": + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Videos/{itemId}/Trickplay/{width}/tiles.m3u8: + get: + tags: + - Trickplay + summary: Gets an image tiles playlist for trickplay. + operationId: GetTrickplayHlsPlaylist + parameters: + - name: itemId + in: path + description: The item id. + required: true + schema: + type: string + format: uuid + - name: width + in: path + description: The width of a single tile. + required: true + schema: + type: integer + format: int32 + - name: mediaSourceId + in: query + description: The media version id, if using an alternate version. + schema: + type: string + format: uuid + responses: + "200": + description: Tiles playlist returned. + content: + application/x-mpegURL: + schema: + type: string + format: binary + "404": + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Shows/{seriesId}/Episodes: + get: + tags: + - TvShows + summary: Gets episodes for a tv season. + operationId: GetEpisodes + parameters: + - name: seriesId + in: path + description: The series id. + required: true + schema: + type: string + format: uuid + - name: userId + in: query + description: The user id. + schema: + type: string + format: uuid + - name: fields + in: query + description: 'Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls.' + schema: + type: array + items: + $ref: '#/components/schemas/ItemFields' + - name: season + in: query + description: Optional filter by season number. + schema: + type: integer + format: int32 + - name: seasonId + in: query + description: Optional. Filter by season id. + schema: + type: string + format: uuid + - name: isMissing + in: query + description: Optional. Filter by items that are missing episodes or not. + schema: + type: boolean + - name: adjacentTo + in: query + description: Optional. Return items that are siblings of a supplied item. + schema: + type: string + format: uuid + - name: startItemId + in: query + description: Optional. Skip through the list until a given item is found. + schema: + type: string + format: uuid + - name: startIndex + in: query + description: Optional. The record index to start at. All items with a lower index will be dropped from the results. + schema: + type: integer + format: int32 + - name: limit + in: query + description: Optional. The maximum number of records to return. + schema: + type: integer + format: int32 + - name: enableImages + in: query + description: Optional, include image information in output. + schema: + type: boolean + - name: imageTypeLimit + in: query + description: Optional, the max number of images to return, per image type. + schema: + type: integer + format: int32 + - name: enableImageTypes + in: query + description: Optional. The image types to include in the output. + schema: + type: array + items: + $ref: '#/components/schemas/ImageType' + - name: enableUserData + in: query + description: Optional. Include user data. + schema: + type: boolean + - name: sortBy + in: query + description: 'Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.' + schema: + enum: + - Default + - AiredEpisodeOrder + - Album + - AlbumArtist + - Artist + - DateCreated + - OfficialRating + - DatePlayed + - PremiereDate + - StartDate + - SortName + - Name + - Random + - Runtime + - CommunityRating + - ProductionYear + - PlayCount + - CriticRating + - IsFolder + - IsUnplayed + - IsPlayed + - SeriesSortName + - VideoBitRate + - AirTime + - Studio + - IsFavoriteOrLiked + - DateLastContentAdded + - SeriesDatePlayed + - ParentIndexNumber + - IndexNumber + - SimilarityScore + - SearchScore + allOf: + - $ref: '#/components/schemas/ItemSortBy' + responses: + "200": + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + "404": + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Shows/{seriesId}/Seasons: + get: + tags: + - TvShows + summary: Gets seasons for a tv series. + operationId: GetSeasons + parameters: + - name: seriesId + in: path + description: The series id. + required: true + schema: + type: string + format: uuid + - name: userId + in: query + description: The user id. + schema: + type: string + format: uuid + - name: fields + in: query + description: 'Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls.' + schema: + type: array + items: + $ref: '#/components/schemas/ItemFields' + - name: isSpecialSeason + in: query + description: Optional. Filter by special season. + schema: + type: boolean + - name: isMissing + in: query + description: Optional. Filter by items that are missing episodes or not. + schema: + type: boolean + - name: adjacentTo + in: query + description: Optional. Return items that are siblings of a supplied item. + schema: + type: string + format: uuid + - name: enableImages + in: query + description: Optional. Include image information in output. + schema: + type: boolean + - name: imageTypeLimit + in: query + description: Optional. The max number of images to return, per image type. + schema: + type: integer + format: int32 + - name: enableImageTypes + in: query + description: Optional. The image types to include in the output. + schema: + type: array + items: + $ref: '#/components/schemas/ImageType' + - name: enableUserData + in: query + description: Optional. Include user data. + schema: + type: boolean + responses: + "200": + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + "404": + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization /Shows/NextUp: get: tags: @@ -25157,6 +24352,7 @@ paths: description: Optional. Filter by series id. schema: type: string + format: uuid - name: parentId in: query description: Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. @@ -25204,9 +24400,15 @@ paths: schema: type: boolean default: false + - name: enableResumable + in: query + description: Whether to include resumable episodes in next up results. + schema: + type: boolean + default: true - name: enableRewatching in: query - description: Whether to include watched episode in next up results. + description: Whether to include watched episodes in next up results. schema: type: boolean default: false @@ -25311,230 +24513,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Shows/{seriesId}/Episodes: - get: - tags: - - TvShows - summary: Gets episodes for a tv season. - operationId: GetEpisodes - parameters: - - name: seriesId - in: path - description: The series id. - required: true - schema: - type: string - format: uuid - - name: userId - in: query - description: The user id. - schema: - type: string - format: uuid - - name: fields - in: query - description: 'Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls.' - schema: - type: array - items: - $ref: '#/components/schemas/ItemFields' - - name: season - in: query - description: Optional filter by season number. - schema: - type: integer - format: int32 - - name: seasonId - in: query - description: Optional. Filter by season id. - schema: - type: string - format: uuid - - name: isMissing - in: query - description: Optional. Filter by items that are missing episodes or not. - schema: - type: boolean - - name: adjacentTo - in: query - description: Optional. Return items that are siblings of a supplied item. - schema: - type: string - - name: startItemId - in: query - description: Optional. Skip through the list until a given item is found. - schema: - type: string - format: uuid - - name: startIndex - in: query - description: Optional. The record index to start at. All items with a lower index will be dropped from the results. - schema: - type: integer - format: int32 - - name: limit - in: query - description: Optional. The maximum number of records to return. - schema: - type: integer - format: int32 - - name: enableImages - in: query - description: Optional, include image information in output. - schema: - type: boolean - - name: imageTypeLimit - in: query - description: Optional, the max number of images to return, per image type. - schema: - type: integer - format: int32 - - name: enableImageTypes - in: query - description: Optional. The image types to include in the output. - schema: - type: array - items: - $ref: '#/components/schemas/ImageType' - - name: enableUserData - in: query - description: Optional. Include user data. - schema: - type: boolean - - name: sortBy - in: query - description: 'Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.' - schema: - type: string - responses: - "200": - description: Success - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - "404": - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Shows/{seriesId}/Seasons: - get: - tags: - - TvShows - summary: Gets seasons for a tv series. - operationId: GetSeasons - parameters: - - name: seriesId - in: path - description: The series id. - required: true - schema: - type: string - format: uuid - - name: userId - in: query - description: The user id. - schema: - type: string - format: uuid - - name: fields - in: query - description: 'Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls.' - schema: - type: array - items: - $ref: '#/components/schemas/ItemFields' - - name: isSpecialSeason - in: query - description: Optional. Filter by special season. - schema: - type: boolean - - name: isMissing - in: query - description: Optional. Filter by items that are missing episodes or not. - schema: - type: boolean - - name: adjacentTo - in: query - description: Optional. Return items that are siblings of a supplied item. - schema: - type: string - - name: enableImages - in: query - description: Optional. Include image information in output. - schema: - type: boolean - - name: imageTypeLimit - in: query - description: Optional. The max number of images to return, per image type. - schema: - type: integer - format: int32 - - name: enableImageTypes - in: query - description: Optional. The image types to include in the output. - schema: - type: array - items: - $ref: '#/components/schemas/ImageType' - - name: enableUserData - in: query - description: Optional. Include user data. - schema: - type: boolean - responses: - "200": - description: Success - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - "404": - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Audio/{itemId}/universal: get: tags: @@ -25618,7 +24596,11 @@ paths: in: query description: Optional. The transcoding protocol. schema: - type: string + enum: + - http + - hls + allOf: + - $ref: '#/components/schemas/MediaStreamProtocol' - name: maxAudioSampleRate in: query description: Optional. The maximum audio sample rate. @@ -25636,6 +24618,12 @@ paths: description: Optional. Whether to enable remote media. schema: type: boolean + - name: enableAudioVbrEncoding + in: query + description: Optional. Whether to enable Audio Encoding. + schema: + type: boolean + default: true - name: breakOnNonKeyFrames in: query description: Optional. Whether to break on non key frames. @@ -25658,6 +24646,18 @@ paths: format: binary "302": description: Redirected to remote audio stream. + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' "401": description: Unauthorized "403": @@ -25747,7 +24747,11 @@ paths: in: query description: Optional. The transcoding protocol. schema: - type: string + enum: + - http + - hls + allOf: + - $ref: '#/components/schemas/MediaStreamProtocol' - name: maxAudioSampleRate in: query description: Optional. The maximum audio sample rate. @@ -25765,6 +24769,12 @@ paths: description: Optional. Whether to enable remote media. schema: type: boolean + - name: enableAudioVbrEncoding + in: query + description: Optional. Whether to enable Audio Encoding. + schema: + type: boolean + default: true - name: breakOnNonKeyFrames in: query description: Optional. Whether to break on non key frames. @@ -25787,526 +24797,8 @@ paths: format: binary "302": description: Redirected to remote audio stream. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/FavoriteItems/{itemId}: - post: - tags: - - UserLibrary - summary: Marks an item as a favorite. - operationId: MarkFavoriteItem - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: Item marked as favorite. - content: - application/json: - schema: - $ref: '#/components/schemas/UserItemDataDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/UserItemDataDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/UserItemDataDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - delete: - tags: - - UserLibrary - summary: Unmarks item as a favorite. - operationId: UnmarkFavoriteItem - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: Item unmarked as favorite. - content: - application/json: - schema: - $ref: '#/components/schemas/UserItemDataDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/UserItemDataDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/UserItemDataDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/Items/Latest: - get: - tags: - - UserLibrary - summary: Gets latest media. - operationId: GetLatestMedia - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: parentId - in: query - description: Specify this to localize the search to a specific item or folder. Omit to use the root. - schema: - type: string - format: uuid - - name: fields - in: query - description: Optional. Specify additional fields of information to return in the output. - schema: - type: array - items: - $ref: '#/components/schemas/ItemFields' - - name: includeItemTypes - in: query - description: Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemKind' - - name: isPlayed - in: query - description: Filter by items that are played, or not. - schema: - type: boolean - - name: enableImages - in: query - description: Optional. include image information in output. - schema: - type: boolean - - name: imageTypeLimit - in: query - description: Optional. the max number of images to return, per image type. - schema: - type: integer - format: int32 - - name: enableImageTypes - in: query - description: Optional. The image types to include in the output. - schema: - type: array - items: - $ref: '#/components/schemas/ImageType' - - name: enableUserData - in: query - description: Optional. include user data. - schema: - type: boolean - - name: limit - in: query - description: Return item limit. - schema: - type: integer - format: int32 - default: 20 - - name: groupItems - in: query - description: Whether or not to group items into a parent container. - schema: - type: boolean - default: true - responses: - "200": - description: Latest media returned. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/Items/Root: - get: - tags: - - UserLibrary - summary: Gets the root folder from a user's library. - operationId: GetRootFolder - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: Root folder returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/Items/{itemId}: - get: - tags: - - UserLibrary - summary: Gets an item from a user's library. - operationId: GetItem - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: Item returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/Items/{itemId}/Intros: - get: - tags: - - UserLibrary - summary: Gets intros to play before the main media item plays. - operationId: GetIntros - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: Intros returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/Items/{itemId}/LocalTrailers: - get: - tags: - - UserLibrary - summary: Gets local trailers for an item. - operationId: GetLocalTrailers - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: An Microsoft.AspNetCore.Mvc.OkResult containing the item's local trailers. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/Items/{itemId}/Rating: - delete: - tags: - - UserLibrary - summary: Deletes a user's saved personal rating for an item. - operationId: DeleteUserItemRating - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: Personal rating removed. - content: - application/json: - schema: - $ref: '#/components/schemas/UserItemDataDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/UserItemDataDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/UserItemDataDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - post: - tags: - - UserLibrary - summary: Updates a user's rating for an item. - operationId: UpdateUserItemRating - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - - name: likes - in: query - description: Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Guid,System.Guid,System.Nullable{System.Boolean}) is likes. - schema: - type: boolean - responses: - "200": - description: Item rating updated. - content: - application/json: - schema: - $ref: '#/components/schemas/UserItemDataDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/UserItemDataDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/UserItemDataDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/Items/{itemId}/SpecialFeatures: - get: - tags: - - UserLibrary - summary: Gets special features for an item. - operationId: GetSpecialFeatures - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: Special features returned. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/GroupingOptions: - get: - tags: - - UserViews - summary: Get user view grouping options. - operationId: GetGroupingOptions - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: User view grouping options returned. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/SpecialViewOptionDto' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/SpecialViewOptionDto' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/SpecialViewOptionDto' "404": - description: User not found. + description: Item not found. content: application/json: schema: @@ -26324,58 +24816,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Users/{userId}/Views: - get: - tags: - - UserViews - summary: Get user views. - operationId: GetUserViews - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: includeExternalContent - in: query - description: Whether or not to include external views such as channels or live tv. - schema: - type: boolean - - name: presetViews - in: query - description: Preset views. - schema: - type: array - items: - type: string - - name: includeHidden - in: query - description: Whether or not to include hidden content. - schema: - type: boolean - default: false - responses: - "200": - description: User views returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Users: get: tags: @@ -26419,6 +24859,213 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + post: + tags: + - User + summary: Updates a user. + operationId: UpdateUser + parameters: + - name: userId + in: query + description: The user id. + schema: + type: string + format: uuid + requestBody: + description: The updated user model. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/UserDto' + description: Class UserDto. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/UserDto' + description: Class UserDto. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/UserDto' + description: Class UserDto. + required: true + responses: + "204": + description: User updated. + "400": + description: User information was not supplied. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: User update forbidden. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + security: + - CustomAuthentication: + - DefaultAuthorization + /Users/{userId}: + get: + tags: + - User + summary: Gets a user by Id. + operationId: GetUserById + parameters: + - name: userId + in: path + description: The user id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: User returned. + content: + application/json: + schema: + $ref: '#/components/schemas/UserDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/UserDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/UserDto' + "404": + description: User not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - IgnoreParentalControl + - DefaultAuthorization + delete: + tags: + - User + summary: Deletes a user. + operationId: DeleteUser + parameters: + - name: userId + in: path + description: The user id. + required: true + schema: + type: string + format: uuid + responses: + "204": + description: User deleted. + "404": + description: User not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation + /Users/{userId}/Policy: + post: + tags: + - User + summary: Updates a user policy. + operationId: UpdateUserPolicy + parameters: + - name: userId + in: path + description: The user id. + required: true + schema: + type: string + format: uuid + requestBody: + description: The new user policy. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/UserPolicy' + text/json: + schema: + allOf: + - $ref: '#/components/schemas/UserPolicy' + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/UserPolicy' + required: true + responses: + "204": + description: User policy updated. + "400": + description: User policy was not supplied. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: User policy update forbidden. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + security: + - CustomAuthentication: + - RequiresElevation /Users/AuthenticateByName: post: tags: @@ -26497,6 +25144,58 @@ paths: $ref: '#/components/schemas/AuthenticationResult' "400": description: Missing token. + /Users/Configuration: + post: + tags: + - User + summary: Updates a user configuration. + operationId: UpdateUserConfiguration + parameters: + - name: userId + in: query + description: The user id. + schema: + type: string + format: uuid + requestBody: + description: The new user configuration. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/UserConfiguration' + description: Class UserConfiguration. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/UserConfiguration' + description: Class UserConfiguration. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/UserConfiguration' + description: Class UserConfiguration. + required: true + responses: + "204": + description: User configuration updated. + "403": + description: User configuration update forbidden. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + security: + - CustomAuthentication: + - DefaultAuthorization /Users/ForgotPassword: post: tags: @@ -26656,6 +25355,70 @@ paths: security: - CustomAuthentication: - RequiresElevation + /Users/Password: + post: + tags: + - User + summary: Updates a user's password. + operationId: UpdateUserPassword + parameters: + - name: userId + in: query + description: The user id. + schema: + type: string + format: uuid + requestBody: + description: The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Nullable{System.Guid},Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/UpdateUserPassword' + description: The update user password request body. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/UpdateUserPassword' + description: The update user password request body. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/UpdateUserPassword' + description: The update user password request body. + required: true + responses: + "204": + description: Password successfully reset. + "403": + description: User is not allowed to update the password. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: User not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + security: + - CustomAuthentication: + - DefaultAuthorization /Users/Public: get: tags: @@ -26681,68 +25444,517 @@ paths: type: array items: $ref: '#/components/schemas/UserDto' - /Users/{userId}: + /Items/{itemId}/Intros: get: tags: - - User - summary: Gets a user by Id. - operationId: GetUserById + - UserLibrary + summary: Gets intros to play before the main media item plays. + operationId: GetIntros parameters: - name: userId + in: query + description: User id. + schema: + type: string + format: uuid + - name: itemId in: path - description: The user id. + description: Item id. required: true schema: type: string format: uuid responses: "200": - description: User returned. + description: Intros returned. content: application/json: schema: - $ref: '#/components/schemas/UserDto' + $ref: '#/components/schemas/BaseItemDtoQueryResult' application/json; profile="CamelCase": schema: - $ref: '#/components/schemas/UserDto' + $ref: '#/components/schemas/BaseItemDtoQueryResult' application/json; profile="PascalCase": schema: - $ref: '#/components/schemas/UserDto' - "404": - description: User not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: '#/components/schemas/BaseItemDtoQueryResult' "401": description: Unauthorized "403": description: Forbidden security: - CustomAuthentication: - - IgnoreParentalControl + - DefaultAuthorization + /Items/{itemId}/LocalTrailers: + get: + tags: + - UserLibrary + summary: Gets local trailers for an item. + operationId: GetLocalTrailers + parameters: + - name: userId + in: query + description: User id. + schema: + type: string + format: uuid + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: An Microsoft.AspNetCore.Mvc.OkResult containing the item's local trailers. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Items/{itemId}/SpecialFeatures: + get: + tags: + - UserLibrary + summary: Gets special features for an item. + operationId: GetSpecialFeatures + parameters: + - name: userId + in: query + description: User id. + schema: + type: string + format: uuid + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: Special features returned. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Items/Latest: + get: + tags: + - UserLibrary + summary: Gets latest media. + operationId: GetLatestMedia + parameters: + - name: userId + in: query + description: User id. + schema: + type: string + format: uuid + - name: parentId + in: query + description: Specify this to localize the search to a specific item or folder. Omit to use the root. + schema: + type: string + format: uuid + - name: fields + in: query + description: Optional. Specify additional fields of information to return in the output. + schema: + type: array + items: + $ref: '#/components/schemas/ItemFields' + - name: includeItemTypes + in: query + description: Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemKind' + - name: isPlayed + in: query + description: Filter by items that are played, or not. + schema: + type: boolean + - name: enableImages + in: query + description: Optional. include image information in output. + schema: + type: boolean + - name: imageTypeLimit + in: query + description: Optional. the max number of images to return, per image type. + schema: + type: integer + format: int32 + - name: enableImageTypes + in: query + description: Optional. The image types to include in the output. + schema: + type: array + items: + $ref: '#/components/schemas/ImageType' + - name: enableUserData + in: query + description: Optional. include user data. + schema: + type: boolean + - name: limit + in: query + description: Return item limit. + schema: + type: integer + format: int32 + default: 20 + - name: groupItems + in: query + description: Whether or not to group items into a parent container. + schema: + type: boolean + default: true + responses: + "200": + description: Latest media returned. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Items/Root: + get: + tags: + - UserLibrary + summary: Gets the root folder from a user's library. + operationId: GetRootFolder + parameters: + - name: userId + in: query + description: User id. + schema: + type: string + format: uuid + responses: + "200": + description: Root folder returned. + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /UserFavoriteItems/{itemId}: + post: + tags: + - UserLibrary + summary: Marks an item as a favorite. + operationId: MarkFavoriteItem + parameters: + - name: userId + in: query + description: User id. + schema: + type: string + format: uuid + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: Item marked as favorite. + content: + application/json: + schema: + $ref: '#/components/schemas/UserItemDataDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/UserItemDataDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/UserItemDataDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization delete: tags: - - User - summary: Deletes a user. - operationId: DeleteUser + - UserLibrary + summary: Unmarks item as a favorite. + operationId: UnmarkFavoriteItem parameters: - name: userId + in: query + description: User id. + schema: + type: string + format: uuid + - name: itemId in: path - description: The user id. + description: Item id. required: true schema: type: string format: uuid responses: - "204": - description: User deleted. + "200": + description: Item unmarked as favorite. + content: + application/json: + schema: + $ref: '#/components/schemas/UserItemDataDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/UserItemDataDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/UserItemDataDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /UserItems/{itemId}/Rating: + delete: + tags: + - UserLibrary + summary: Deletes a user's saved personal rating for an item. + operationId: DeleteUserItemRating + parameters: + - name: userId + in: query + description: User id. + schema: + type: string + format: uuid + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: Personal rating removed. + content: + application/json: + schema: + $ref: '#/components/schemas/UserItemDataDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/UserItemDataDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/UserItemDataDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + post: + tags: + - UserLibrary + summary: Updates a user's rating for an item. + operationId: UpdateUserItemRating + parameters: + - name: userId + in: query + description: User id. + schema: + type: string + format: uuid + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + - name: likes + in: query + description: Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Nullable{System.Guid},System.Guid,System.Nullable{System.Boolean}) is likes. + schema: + type: boolean + responses: + "200": + description: Item rating updated. + content: + application/json: + schema: + $ref: '#/components/schemas/UserItemDataDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/UserItemDataDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/UserItemDataDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /UserViews: + get: + tags: + - UserViews + summary: Get user views. + operationId: GetUserViews + parameters: + - name: userId + in: query + description: User id. + schema: + type: string + format: uuid + - name: includeExternalContent + in: query + description: Whether or not to include external views such as channels or live tv. + schema: + type: boolean + - name: presetViews + in: query + description: Preset views. + schema: + type: array + items: + $ref: '#/components/schemas/CollectionType' + - name: includeHidden + in: query + description: Whether or not to include hidden content. + schema: + type: boolean + default: false + responses: + "200": + description: User views returned. + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /UserViews/GroupingOptions: + get: + tags: + - UserViews + summary: Get user view grouping options. + operationId: GetGroupingOptions + parameters: + - name: userId + in: query + description: User id. + schema: + type: string + format: uuid + responses: + "200": + description: User view grouping options returned. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/SpecialViewOptionDto' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/SpecialViewOptionDto' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/SpecialViewOptionDto' "404": description: User not found. content: @@ -26759,380 +25971,9 @@ paths: description: Unauthorized "403": description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - post: - tags: - - User - summary: Updates a user. - operationId: UpdateUser - parameters: - - name: userId - in: path - description: The user id. - required: true - schema: - type: string - format: uuid - requestBody: - description: The updated user model. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/UserDto' - description: Class UserDto. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/UserDto' - description: Class UserDto. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/UserDto' - description: Class UserDto. - required: true - responses: - "204": - description: User updated. - "400": - description: User information was not supplied. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: User update forbidden. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized security: - CustomAuthentication: - DefaultAuthorization - /Users/{userId}/Authenticate: - post: - tags: - - User - summary: Authenticates a user. - operationId: AuthenticateUser - parameters: - - name: userId - in: path - description: The user id. - required: true - schema: - type: string - format: uuid - - name: pw - in: query - description: The password as plain text. - required: true - schema: - type: string - - name: password - in: query - description: The password sha1-hash. - schema: - type: string - responses: - "200": - description: User authenticated. - content: - application/json: - schema: - $ref: '#/components/schemas/AuthenticationResult' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/AuthenticationResult' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/AuthenticationResult' - "403": - description: Sha1-hashed password only is not allowed. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: User not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - /Users/{userId}/Configuration: - post: - tags: - - User - summary: Updates a user configuration. - operationId: UpdateUserConfiguration - parameters: - - name: userId - in: path - description: The user id. - required: true - schema: - type: string - format: uuid - requestBody: - description: The new user configuration. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/UserConfiguration' - description: Class UserConfiguration. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/UserConfiguration' - description: Class UserConfiguration. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/UserConfiguration' - description: Class UserConfiguration. - required: true - responses: - "204": - description: User configuration updated. - "403": - description: User configuration update forbidden. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/EasyPassword: - post: - tags: - - User - summary: Updates a user's easy password. - operationId: UpdateUserEasyPassword - parameters: - - name: userId - in: path - description: The user id. - required: true - schema: - type: string - format: uuid - requestBody: - description: The M:Jellyfin.Api.Controllers.UserController.UpdateUserEasyPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserEasyPassword) request. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/UpdateUserEasyPassword' - description: The update user easy password request body. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/UpdateUserEasyPassword' - description: The update user easy password request body. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/UpdateUserEasyPassword' - description: The update user easy password request body. - required: true - responses: - "204": - description: Password successfully reset. - "403": - description: User is not allowed to update the password. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: User not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/Password: - post: - tags: - - User - summary: Updates a user's password. - operationId: UpdateUserPassword - parameters: - - name: userId - in: path - description: The user id. - required: true - schema: - type: string - format: uuid - requestBody: - description: The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/UpdateUserPassword' - description: The update user password request body. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/UpdateUserPassword' - description: The update user password request body. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/UpdateUserPassword' - description: The update user password request body. - required: true - responses: - "204": - description: Password successfully reset. - "403": - description: User is not allowed to update the password. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: User not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/Policy: - post: - tags: - - User - summary: Updates a user policy. - operationId: UpdateUserPolicy - parameters: - - name: userId - in: path - description: The user id. - required: true - schema: - type: string - format: uuid - requestBody: - description: The new user policy. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/UserPolicy' - text/json: - schema: - allOf: - - $ref: '#/components/schemas/UserPolicy' - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/UserPolicy' - required: true - responses: - "204": - description: User policy updated. - "400": - description: User policy was not supplied. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: User policy update forbidden. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - security: - - CustomAuthentication: - - RequiresElevation /Videos/{videoId}/{mediaSourceId}/Attachments/{index}: get: tags: @@ -27180,44 +26021,6 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/ProblemDetails' - /Videos/MergeVersions: - post: - tags: - - Videos - summary: Merges videos into a single record. - operationId: MergeVersions - parameters: - - name: ids - in: query - description: Item id list. This allows multiple, comma delimited. - required: true - schema: - type: array - items: - type: string - format: uuid - responses: - "204": - description: Videos merged. - "400": - description: Supply at least 2 video ids. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation /Videos/{itemId}/AdditionalParts: get: tags: @@ -27332,6 +26135,7 @@ paths: - name: deviceProfileId in: query description: Optional. The dlna device profile id to utilize. + deprecated: true schema: type: string - name: playSessionId @@ -27369,7 +26173,7 @@ paths: type: string - name: audioCodec in: query - description: 'Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url''s extension. Options: aac, mp3, vorbis, wma.' + description: Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -27496,6 +26300,12 @@ paths: in: query description: Optional. Specify the subtitle delivery method. schema: + enum: + - Encode + - Embed + - External + - Hls + - Drop allOf: - $ref: '#/components/schemas/SubtitleDeliveryMethod' - name: maxRefFrames @@ -27549,7 +26359,7 @@ paths: type: boolean - name: videoCodec in: query - description: 'Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url''s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.' + description: Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -27580,6 +26390,9 @@ paths: in: query description: Optional. The MediaBrowser.Model.Dlna.EncodingContext. schema: + enum: + - Streaming + - Static allOf: - $ref: '#/components/schemas/EncodingContext' - name: streamOptions @@ -27590,6 +26403,12 @@ paths: additionalProperties: type: string nullable: true + - name: enableAudioVbrEncoding + in: query + description: Optional. Whether to enable Audio Encoding. + schema: + type: boolean + default: true responses: "200": description: Video stream returned. @@ -27635,6 +26454,7 @@ paths: - name: deviceProfileId in: query description: Optional. The dlna device profile id to utilize. + deprecated: true schema: type: string - name: playSessionId @@ -27672,7 +26492,7 @@ paths: type: string - name: audioCodec in: query - description: 'Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url''s extension. Options: aac, mp3, vorbis, wma.' + description: Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -27799,6 +26619,12 @@ paths: in: query description: Optional. Specify the subtitle delivery method. schema: + enum: + - Encode + - Embed + - External + - Hls + - Drop allOf: - $ref: '#/components/schemas/SubtitleDeliveryMethod' - name: maxRefFrames @@ -27852,7 +26678,7 @@ paths: type: boolean - name: videoCodec in: query - description: 'Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url''s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.' + description: Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -27883,6 +26709,9 @@ paths: in: query description: Optional. The MediaBrowser.Model.Dlna.EncodingContext. schema: + enum: + - Streaming + - Static allOf: - $ref: '#/components/schemas/EncodingContext' - name: streamOptions @@ -27893,6 +26722,12 @@ paths: additionalProperties: type: string nullable: true + - name: enableAudioVbrEncoding + in: query + description: Optional. Whether to enable Audio Encoding. + schema: + type: boolean + default: true responses: "200": description: Video stream returned. @@ -27976,7 +26811,7 @@ paths: type: string - name: audioCodec in: query - description: 'Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url''s extension. Options: aac, mp3, vorbis, wma.' + description: Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -28103,6 +26938,12 @@ paths: in: query description: Optional. Specify the subtitle delivery method. schema: + enum: + - Encode + - Embed + - External + - Hls + - Drop allOf: - $ref: '#/components/schemas/SubtitleDeliveryMethod' - name: maxRefFrames @@ -28156,7 +26997,7 @@ paths: type: boolean - name: videoCodec in: query - description: 'Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url''s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.' + description: Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -28187,6 +27028,9 @@ paths: in: query description: Optional. The MediaBrowser.Model.Dlna.EncodingContext. schema: + enum: + - Streaming + - Static allOf: - $ref: '#/components/schemas/EncodingContext' - name: streamOptions @@ -28197,6 +27041,12 @@ paths: additionalProperties: type: string nullable: true + - name: enableAudioVbrEncoding + in: query + description: Optional. Whether to enable Audio Encoding. + schema: + type: boolean + default: true responses: "200": description: Video stream returned. @@ -28279,7 +27129,7 @@ paths: type: string - name: audioCodec in: query - description: 'Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url''s extension. Options: aac, mp3, vorbis, wma.' + description: Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -28406,6 +27256,12 @@ paths: in: query description: Optional. Specify the subtitle delivery method. schema: + enum: + - Encode + - Embed + - External + - Hls + - Drop allOf: - $ref: '#/components/schemas/SubtitleDeliveryMethod' - name: maxRefFrames @@ -28459,7 +27315,7 @@ paths: type: boolean - name: videoCodec in: query - description: 'Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url''s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.' + description: Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. schema: pattern: ^[a-zA-Z0-9\-\._,|]{0,40}$ type: string @@ -28490,6 +27346,9 @@ paths: in: query description: Optional. The MediaBrowser.Model.Dlna.EncodingContext. schema: + enum: + - Streaming + - Static allOf: - $ref: '#/components/schemas/EncodingContext' - name: streamOptions @@ -28500,6 +27359,12 @@ paths: additionalProperties: type: string nullable: true + - name: enableAudioVbrEncoding + in: query + description: Optional. Whether to enable Audio Encoding. + schema: + type: boolean + default: true responses: "200": description: Video stream returned. @@ -28508,6 +27373,44 @@ paths: schema: type: string format: binary + /Videos/MergeVersions: + post: + tags: + - Videos + summary: Merges videos into a single record. + operationId: MergeVersions + parameters: + - name: ids + in: query + description: Item id list. This allows multiple, comma delimited. + required: true + schema: + type: array + items: + type: string + format: uuid + responses: + "204": + description: Videos merged. + "400": + description: Supply at least 2 video ids. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation /Years: get: tags: @@ -28567,14 +27470,14 @@ paths: schema: type: array items: - type: string + $ref: '#/components/schemas/MediaType' - name: sortBy in: query description: 'Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.' schema: type: array items: - type: string + $ref: '#/components/schemas/ItemSortBy' - name: enableUserData in: query description: Optional. Include user data. @@ -28698,6 +27601,17 @@ components: description: Gets the id of the associated user. format: uuid DayOfWeek: + enum: + - Sunday + - Monday + - Tuesday + - Wednesday + - Thursday + - Friday + - Saturday + - Everyday + - Weekday + - Weekend allOf: - $ref: '#/components/schemas/DynamicDayOfWeek' description: Gets or sets the day of week. @@ -28750,11 +27664,75 @@ components: nullable: true deprecated: true Severity: + enum: + - Trace + - Debug + - Information + - Warning + - Error + - Critical + - None allOf: - $ref: '#/components/schemas/LogLevel' description: Gets or sets the log severity. additionalProperties: false description: An activity log entry. + ActivityLogEntryMessage: + type: object + properties: + Data: + type: array + items: + $ref: '#/components/schemas/ActivityLogEntry' + description: Gets or sets the data. + nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: ActivityLogEntry + readOnly: true + additionalProperties: false + description: Activity log created message. ActivityLogEntryQueryResult: type: object properties: @@ -28763,7 +27741,6 @@ components: items: $ref: '#/components/schemas/ActivityLogEntry' description: Gets or sets the items. - nullable: true TotalRecordCount: type: integer description: Gets or sets the total number of records available. @@ -28773,6 +27750,103 @@ components: description: Gets or sets the index of the first record in Items. format: int32 additionalProperties: false + description: Query result container. + ActivityLogEntryStartMessage: + type: object + properties: + Data: + type: string + description: Gets or sets the data. + nullable: true + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: ActivityLogEntryStart + readOnly: true + additionalProperties: false + description: "Activity log entry start message.\r\nData is the timing data encoded as \"$initialDelay,$interval\" in ms." + ActivityLogEntryStopMessage: + type: object + properties: + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: ActivityLogEntryStop + readOnly: true + additionalProperties: false + description: Activity log entry stop message. AddVirtualFolderDto: type: object properties: @@ -28783,28 +27857,6 @@ components: nullable: true additionalProperties: false description: Add virtual folder dto. - AdminNotificationDto: - type: object - properties: - Name: - type: string - description: Gets or sets the notification name. - nullable: true - Description: - type: string - description: Gets or sets the notification description. - nullable: true - NotificationLevel: - allOf: - - $ref: '#/components/schemas/NotificationLevel' - description: Gets or sets the notification level. - nullable: true - Url: - type: string - description: Gets or sets the notification url. - nullable: true - additionalProperties: false - description: The admin notification dto. AlbumInfo: type: object properties: @@ -28907,15 +27959,6 @@ components: description: Class ThemeMediaResult. nullable: true additionalProperties: false - Architecture: - enum: - - X86 - - X64 - - Arm - - Arm64 - - Wasm - - S390x - type: string ArtistInfo: type: object properties: @@ -28988,6 +28031,13 @@ components: type: boolean description: Gets or sets a value indicating whether disabled providers should be included. additionalProperties: false + AudioSpatialFormat: + enum: + - None + - DolbyAtmos + - DTSX + type: string + description: An enum representing formats of spatial audio. AuthenticateUserByName: type: object properties: @@ -28999,11 +28049,6 @@ components: type: string description: Gets or sets the plain text password. nullable: true - Password: - type: string - description: Gets or sets the sha1-hashed password. - nullable: true - deprecated: true additionalProperties: false description: The authenticate user by name request body. AuthenticationInfo: @@ -29064,7 +28109,6 @@ components: items: $ref: '#/components/schemas/AuthenticationInfo' description: Gets or sets the items. - nullable: true TotalRecordCount: type: integer description: Gets or sets the total number of records available. @@ -29074,6 +28118,7 @@ components: description: Gets or sets the index of the first record in Items. format: int32 additionalProperties: false + description: Query result container. AuthenticationResult: type: object properties: @@ -29084,60 +28129,19 @@ components: nullable: true SessionInfo: allOf: - - $ref: '#/components/schemas/SessionInfo' - description: Class SessionInfo. + - $ref: '#/components/schemas/SessionInfoDto' + description: Session info DTO. nullable: true AccessToken: type: string + description: Gets or sets the access token. nullable: true ServerId: type: string + description: Gets or sets the server id. nullable: true additionalProperties: false - BaseItem: - type: object - properties: - Size: - type: integer - format: int64 - nullable: true - Container: - type: string - nullable: true - IsHD: - type: boolean - readOnly: true - IsShortcut: - type: boolean - ShortcutPath: - type: string - nullable: true - Width: - type: integer - format: int32 - Height: - type: integer - format: int32 - ExtraIds: - type: array - items: - type: string - format: uuid - nullable: true - DateLastSaved: - type: string - format: date-time - RemoteTrailers: - type: array - items: - $ref: '#/components/schemas/MediaUrl' - description: Gets or sets the remote trailers. - nullable: true - SupportsExternalTransfer: - type: boolean - readOnly: true - additionalProperties: false - description: Class BaseItem. + description: A class representing an authentication result. BaseItemDto: type: object properties: @@ -29178,7 +28182,21 @@ components: format: date-time nullable: true ExtraType: - type: string + enum: + - Unknown + - Clip + - Trailer + - BehindTheScenes + - DeletedScene + - Interview + - Scene + - Sample + - ThemeSong + - ThemeVideo + - Featurette + - Short + allOf: + - $ref: '#/components/schemas/ExtraType' nullable: true AirsBeforeSeasonNumber: type: integer @@ -29198,6 +28216,9 @@ components: CanDownload: type: boolean nullable: true + HasLyrics: + type: boolean + nullable: true HasSubtitles: type: boolean nullable: true @@ -29207,10 +28228,6 @@ components: PreferredMetadataCountryCode: type: string nullable: true - SupportsSync: - type: boolean - description: Gets or sets a value indicating whether [supports synchronize]. - nullable: true Container: type: string nullable: true @@ -29222,6 +28239,12 @@ components: type: string nullable: true Video3DFormat: + enum: + - HalfSideBySide + - FullSideBySide + - FullTopAndBottom + - HalfTopAndBottom + - MVC allOf: - $ref: '#/components/schemas/Video3DFormat' description: Gets or sets the video3 D format. @@ -29308,6 +28331,9 @@ components: format: int64 nullable: true PlayAccess: + enum: + - Full + - None allOf: - $ref: '#/components/schemas/PlayAccess' description: Gets or sets the play access. @@ -29374,9 +28400,47 @@ components: format: uuid nullable: true Type: + enum: + - AggregateFolder + - Audio + - AudioBook + - BasePluginFolder + - Book + - BoxSet + - Channel + - ChannelFolderItem + - CollectionFolder + - Episode + - Folder + - Genre + - ManualPlaylistsFolder + - Movie + - LiveTvChannel + - LiveTvProgram + - MusicAlbum + - MusicArtist + - MusicGenre + - MusicVideo + - Person + - Photo + - PhotoAlbum + - Playlist + - PlaylistsFolder + - Program + - Recording + - Season + - Series + - Studio + - Trailer + - TvChannel + - TvProgram + - UserRootFolder + - UserView + - Video + - Year allOf: - $ref: '#/components/schemas/BaseItemKind' - description: Gets or sets the type. + description: The base item kind. People: type: array items: @@ -29396,12 +28460,12 @@ components: nullable: true ParentLogoItemId: type: string - description: Gets or sets wether the item has a logo, this will hold the Id of the Parent that has one. + description: Gets or sets whether the item has a logo, this will hold the Id of the Parent that has one. format: uuid nullable: true ParentBackdropItemId: type: string - description: Gets or sets wether the item has any backdrops, this will hold the Id of the Parent that has one. + description: Gets or sets whether the item has any backdrops, this will hold the Id of the Parent that has one. format: uuid nullable: true ParentBackdropImageTags: @@ -29495,7 +28559,22 @@ components: description: Gets or sets the album. nullable: true CollectionType: - type: string + enum: + - unknown + - movies + - tvshows + - music + - musicvideos + - trailers + - homevideos + - boxsets + - books + - photos + - livetv + - playlists + - folders + allOf: + - $ref: '#/components/schemas/CollectionType' description: Gets or sets the type of the collection. nullable: true DisplayOrder: @@ -29536,6 +28615,11 @@ components: description: Gets or sets the media streams. nullable: true VideoType: + enum: + - VideoFile + - Iso + - Dvd + - BluRay allOf: - $ref: '#/components/schemas/VideoType' description: Gets or sets the type of the video. @@ -29573,7 +28657,7 @@ components: nullable: true ParentArtItemId: type: string - description: Gets or sets wether the item has fan art, this will hold the Id of the Parent that has one. + description: Gets or sets whether the item has fan art, this will hold the Id of the Parent that has one. format: uuid nullable: true ParentArtImageTag: @@ -29668,20 +28752,42 @@ components: $ref: '#/components/schemas/ChapterInfo' description: Gets or sets the chapters. nullable: true + Trickplay: + type: object + additionalProperties: + type: object + additionalProperties: + $ref: '#/components/schemas/TrickplayInfo' + description: Gets or sets the trickplay manifest. + nullable: true LocationType: + enum: + - FileSystem + - Remote + - Virtual + - Offline allOf: - $ref: '#/components/schemas/LocationType' description: Gets or sets the type of the location. nullable: true IsoType: + enum: + - Dvd + - BluRay allOf: - $ref: '#/components/schemas/IsoType' description: Gets or sets the type of the iso. nullable: true MediaType: - type: string - description: Gets or sets the type of the media. - nullable: true + enum: + - Unknown + - Video + - Audio + - Photo + - Book + allOf: + - $ref: '#/components/schemas/MediaType' + description: Media types. EndDate: type: string description: Gets or sets the end date. @@ -29766,6 +28872,15 @@ components: format: double nullable: true ImageOrientation: + enum: + - TopLeft + - TopRight + - BottomRight + - BottomLeft + - LeftTop + - RightTop + - RightBottom + - LeftBottom allOf: - $ref: '#/components/schemas/ImageOrientation' nullable: true @@ -29824,11 +28939,21 @@ components: description: Gets or sets the episode title. nullable: true ChannelType: + enum: + - TV + - Radio allOf: - $ref: '#/components/schemas/ChannelType' description: Gets or sets the type of the channel. nullable: true Audio: + enum: + - Mono + - Stereo + - Dolby + - DolbyDigital + - Thx + - Atmos allOf: - $ref: '#/components/schemas/ProgramAudio' description: Gets or sets the audio. @@ -29865,6 +28990,11 @@ components: type: string description: Gets or sets the timer identifier. nullable: true + NormalizationGain: + type: number + description: Gets or sets the gain required for audio normalization. + format: float + nullable: true CurrentProgram: allOf: - $ref: '#/components/schemas/BaseItemDto' @@ -29880,7 +29010,6 @@ components: items: $ref: '#/components/schemas/BaseItemDto' description: Gets or sets the items. - nullable: true TotalRecordCount: type: integer description: Gets or sets the total number of records available. @@ -29890,6 +29019,7 @@ components: description: Gets or sets the index of the first record in Items. format: int32 additionalProperties: false + description: Query result container. BaseItemKind: enum: - AggregateFolder @@ -29947,9 +29077,35 @@ components: description: Gets or sets the role. nullable: true Type: - type: string - description: Gets or sets the type. - nullable: true + enum: + - Unknown + - Actor + - Director + - Composer + - Writer + - GuestStar + - Producer + - Conductor + - Lyricist + - Arranger + - Engineer + - Mixer + - Remixer + - Creator + - Artist + - AlbumArtist + - Author + - Illustrator + - Penciller + - Inker + - Colorist + - Letterer + - CoverArtist + - Editor + - Translator + allOf: + - $ref: '#/components/schemas/PersonKind' + description: The person kind. PrimaryImageTag: type: string description: Gets or sets the primary image tag. @@ -30192,6 +29348,17 @@ components: format: uuid additionalProperties: false description: Class BufferRequestDto. + CastReceiverApplication: + type: object + properties: + Id: + type: string + description: Gets or sets the cast receiver application id. + Name: + type: string + description: Gets or sets the cast receiver application name. + additionalProperties: false + description: The cast receiver application model. ChannelFeatures: type: object properties: @@ -30323,49 +29490,13 @@ components: nullable: true additionalProperties: false description: Class ChapterInfo. - ClientCapabilities: - type: object - properties: - PlayableMediaTypes: - type: array - items: - type: string - nullable: true - SupportedCommands: - type: array - items: - $ref: '#/components/schemas/GeneralCommandType' - nullable: true - SupportsMediaControl: - type: boolean - SupportsContentUploading: - type: boolean - MessageCallbackUrl: - type: string - nullable: true - SupportsPersistentIdentifier: - type: boolean - SupportsSync: - type: boolean - DeviceProfile: - allOf: - - $ref: '#/components/schemas/DeviceProfile' - description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - nullable: true - AppStoreUrl: - type: string - nullable: true - IconUrl: - type: string - nullable: true - additionalProperties: false ClientCapabilitiesDto: type: object properties: PlayableMediaTypes: type: array items: - type: string + $ref: '#/components/schemas/MediaType' description: Gets or sets the list of playable media types. SupportedCommands: type: array @@ -30375,19 +29506,9 @@ components: SupportsMediaControl: type: boolean description: Gets or sets a value indicating whether session supports media control. - SupportsContentUploading: - type: boolean - description: Gets or sets a value indicating whether session supports content uploading. - MessageCallbackUrl: - type: string - description: Gets or sets the message callback url. - nullable: true SupportsPersistentIdentifier: type: boolean description: Gets or sets a value indicating whether session supports a persistent identifier. - SupportsSync: - type: boolean - description: Gets or sets a value indicating whether session supports sync. DeviceProfile: allOf: - $ref: '#/components/schemas/DeviceProfile' @@ -30415,25 +29536,37 @@ components: type: object properties: Type: + enum: + - Video + - VideoAudio + - Audio allOf: - $ref: '#/components/schemas/CodecType' + description: Gets or sets the MediaBrowser.Model.Dlna.CodecType which this container must meet. Conditions: type: array items: $ref: '#/components/schemas/ProfileCondition' - nullable: true + description: Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this profile must meet. ApplyConditions: type: array items: $ref: '#/components/schemas/ProfileCondition' - nullable: true + description: Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition to apply if this profile is met. Codec: type: string + description: Gets or sets the codec(s) that this profile applies to. nullable: true Container: type: string + description: Gets or sets the container(s) which this profile will be applied to. + nullable: true + SubContainer: + type: string + description: Gets or sets the sub-container(s) which this profile will be applied to. nullable: true additionalProperties: false + description: Defines the MediaBrowser.Model.Dlna.CodecProfile. CodecType: enum: - Video @@ -30447,17 +29580,35 @@ components: type: string format: uuid additionalProperties: false + CollectionType: + enum: + - unknown + - movies + - tvshows + - music + - musicvideos + - trailers + - homevideos + - boxsets + - books + - photos + - livetv + - playlists + - folders + type: string + description: Collection type. CollectionTypeOptions: enum: - - Movies - - TvShows - - Music - - MusicVideos - - HomeVideos - - BoxSets - - Books - - Mixed + - movies + - tvshows + - music + - musicvideos + - homevideos + - boxsets + - books + - mixed type: string + description: The collection type options. ConfigImageTypes: type: object properties: @@ -30525,29 +29676,30 @@ components: type: object properties: Type: + enum: + - Audio + - Video + - Photo + - Subtitle + - Lyric allOf: - $ref: '#/components/schemas/DlnaProfileType' + description: Gets or sets the MediaBrowser.Model.Dlna.DlnaProfileType which this container must meet. Conditions: type: array items: $ref: '#/components/schemas/ProfileCondition' - nullable: true + description: Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this container will be applied to. Container: type: string - additionalProperties: false - ControlResponse: - type: object - properties: - Headers: - type: object - additionalProperties: - type: string - readOnly: true - Xml: + description: Gets or sets the container(s) which this container must meet. + nullable: true + SubContainer: type: string - IsSuccessful: - type: boolean + description: Gets or sets the sub container(s) which this container must meet. + nullable: true additionalProperties: false + description: Defines the MediaBrowser.Model.Dlna.ContainerProfile. CountryInfo: type: object properties: @@ -30575,7 +29727,6 @@ components: Name: type: string description: Gets or sets the name of the new playlist. - nullable: true Ids: type: array items: @@ -30588,18 +29739,34 @@ components: format: uuid nullable: true MediaType: - type: string + enum: + - Unknown + - Video + - Audio + - Photo + - Book + allOf: + - $ref: '#/components/schemas/MediaType' description: Gets or sets the media type. nullable: true + Users: + type: array + items: + $ref: '#/components/schemas/PlaylistUserPermissions' + description: Gets or sets the playlist users. + IsPublic: + type: boolean + description: Gets or sets a value indicating whether the playlist is public. additionalProperties: false description: Create new playlist dto. CreateUserByName: + required: + - Name type: object properties: Name: type: string description: Gets or sets the username. - nullable: true Password: type: string description: Gets or sets the password. @@ -30629,14 +29796,6 @@ components: type: string additionalProperties: false description: Class CultureDto. - CustomQueryData: - type: object - properties: - CustomQueryString: - type: string - ReplaceUserId: - type: boolean - additionalProperties: false DayOfWeek: enum: - Sunday @@ -30662,44 +29821,22 @@ components: nullable: true additionalProperties: false description: Default directory browser info. - DeviceIdentification: - type: object - properties: - FriendlyName: - type: string - description: Gets or sets the name of the friendly. - ModelNumber: - type: string - description: Gets or sets the model number. - SerialNumber: - type: string - description: Gets or sets the serial number. - ModelName: - type: string - description: Gets or sets the name of the model. - ModelDescription: - type: string - description: Gets or sets the model description. - ModelUrl: - type: string - description: Gets or sets the model URL. - Manufacturer: - type: string - description: Gets or sets the manufacturer. - ManufacturerUrl: - type: string - description: Gets or sets the manufacturer URL. - Headers: - type: array - items: - $ref: '#/components/schemas/HttpHeaderInfo' - description: Gets or sets the headers. - additionalProperties: false - DeviceInfo: + DeinterlaceMethod: + enum: + - yadif + - bwdif + type: string + description: Enum containing deinterlace methods. + DeviceInfoDto: type: object properties: Name: type: string + description: Gets or sets the name. + nullable: true + CustomName: + type: string + description: Gets or sets the custom name. nullable: true AccessToken: type: string @@ -30725,28 +29862,30 @@ components: type: string description: Gets or sets the last user identifier. format: uuid + nullable: true DateLastActivity: type: string description: Gets or sets the date last modified. format: date-time + nullable: true Capabilities: allOf: - - $ref: '#/components/schemas/ClientCapabilities' + - $ref: '#/components/schemas/ClientCapabilitiesDto' description: Gets or sets the capabilities. - nullable: true IconUrl: type: string + description: Gets or sets the icon URL. nullable: true additionalProperties: false - DeviceInfoQueryResult: + description: A DTO representing device information. + DeviceInfoDtoQueryResult: type: object properties: Items: type: array items: - $ref: '#/components/schemas/DeviceInfo' + $ref: '#/components/schemas/DeviceInfoDto' description: Gets or sets the items. - nullable: true TotalRecordCount: type: integer description: Gets or sets the total number of records available. @@ -30756,23 +29895,7 @@ components: description: Gets or sets the index of the first record in Items. format: int32 additionalProperties: false - DeviceOptions: - type: object - properties: - Id: - type: integer - description: Gets the id. - format: int32 - readOnly: true - DeviceId: - type: string - description: Gets the device id. - CustomName: - type: string - description: Gets or sets the custom name. - nullable: true - additionalProperties: false - description: An entity representing custom options for a device. + description: Query result container. DeviceOptionsDto: type: object properties: @@ -30795,91 +29918,12 @@ components: properties: Name: type: string - description: Gets or sets the name of this device profile. + description: Gets or sets the name of this device profile. User profiles must have a unique name. nullable: true Id: type: string - description: Gets or sets the Id. - nullable: true - Identification: - allOf: - - $ref: '#/components/schemas/DeviceIdentification' - description: Gets or sets the Identification. - nullable: true - FriendlyName: - type: string - description: Gets or sets the friendly name of the device profile, which can be shown to users. - nullable: true - Manufacturer: - type: string - description: Gets or sets the manufacturer of the device which this profile represents. - nullable: true - ManufacturerUrl: - type: string - description: Gets or sets an url for the manufacturer of the device which this profile represents. - nullable: true - ModelName: - type: string - description: Gets or sets the model name of the device which this profile represents. - nullable: true - ModelDescription: - type: string - description: Gets or sets the model description of the device which this profile represents. - nullable: true - ModelNumber: - type: string - description: Gets or sets the model number of the device which this profile represents. - nullable: true - ModelUrl: - type: string - description: Gets or sets the ModelUrl. - nullable: true - SerialNumber: - type: string - description: Gets or sets the serial number of the device which this profile represents. - nullable: true - EnableAlbumArtInDidl: - type: boolean - description: Gets or sets a value indicating whether EnableAlbumArtInDidl. - default: false - EnableSingleAlbumArtLimit: - type: boolean - description: Gets or sets a value indicating whether EnableSingleAlbumArtLimit. - default: false - EnableSingleSubtitleLimit: - type: boolean - description: Gets or sets a value indicating whether EnableSingleSubtitleLimit. - default: false - SupportedMediaTypes: - type: string - description: Gets or sets the SupportedMediaTypes. - UserId: - type: string - description: Gets or sets the UserId. - nullable: true - AlbumArtPn: - type: string - description: Gets or sets the AlbumArtPn. - nullable: true - MaxAlbumArtWidth: - type: integer - description: Gets or sets the MaxAlbumArtWidth. - format: int32 - nullable: true - MaxAlbumArtHeight: - type: integer - description: Gets or sets the MaxAlbumArtHeight. - format: int32 - nullable: true - MaxIconWidth: - type: integer - description: Gets or sets the maximum allowed width of embedded icons. - format: int32 - nullable: true - MaxIconHeight: - type: integer - description: Gets or sets the maximum allowed height of embedded icons. - format: int32 + description: Gets or sets the unique internal identifier. + format: uuid nullable: true MaxStreamingBitrate: type: integer @@ -30901,40 +29945,6 @@ components: description: Gets or sets the maximum allowed bitrate for statically streamed (= direct played) music files. format: int32 nullable: true - SonyAggregationFlags: - type: string - description: Gets or sets the content of the aggregationFlags element in the urn:schemas-sonycom:av namespace. - nullable: true - ProtocolInfo: - type: string - description: Gets or sets the ProtocolInfo. - nullable: true - TimelineOffsetSeconds: - type: integer - description: Gets or sets the TimelineOffsetSeconds. - format: int32 - default: 0 - RequiresPlainVideoItems: - type: boolean - description: Gets or sets a value indicating whether RequiresPlainVideoItems. - default: false - RequiresPlainFolders: - type: boolean - description: Gets or sets a value indicating whether RequiresPlainFolders. - default: false - EnableMSMediaReceiverRegistrar: - type: boolean - description: Gets or sets a value indicating whether EnableMSMediaReceiverRegistrar. - default: false - IgnoreTranscodeByteRangeRequests: - type: boolean - description: Gets or sets a value indicating whether IgnoreTranscodeByteRangeRequests. - default: false - XmlRootAttributes: - type: array - items: - $ref: '#/components/schemas/XmlAttribute' - description: Gets or sets the XmlRootAttributes. DirectPlayProfiles: type: array items: @@ -30949,17 +29959,12 @@ components: type: array items: $ref: '#/components/schemas/ContainerProfile' - description: Gets or sets the container profiles. + description: Gets or sets the container profiles. Failing to meet these optional conditions causes transcoding to occur. CodecProfiles: type: array items: $ref: '#/components/schemas/CodecProfile' description: Gets or sets the codec profiles. - ResponseProfiles: - type: array - items: - $ref: '#/components/schemas/ResponseProfile' - description: Gets or sets the ResponseProfiles. SubtitleProfiles: type: array items: @@ -30967,43 +29972,32 @@ components: description: Gets or sets the subtitle profiles. additionalProperties: false description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - DeviceProfileInfo: - type: object - properties: - Id: - type: string - description: Gets or sets the identifier. - nullable: true - Name: - type: string - description: Gets or sets the name. - nullable: true - Type: - allOf: - - $ref: '#/components/schemas/DeviceProfileType' - description: Gets or sets the type. - additionalProperties: false - DeviceProfileType: - enum: - - System - - User - type: string DirectPlayProfile: type: object properties: Container: type: string - nullable: true + description: Gets or sets the container. AudioCodec: type: string + description: Gets or sets the audio codec. nullable: true VideoCodec: type: string + description: Gets or sets the video codec. nullable: true Type: + enum: + - Audio + - Video + - Photo + - Subtitle + - Lyric allOf: - $ref: '#/components/schemas/DlnaProfileType' + description: Gets or sets the Dlna profile type. additionalProperties: false + description: Defines the MediaBrowser.Model.Dlna.DirectPlayProfile. DisplayPreferencesDto: type: object properties: @@ -31041,9 +30035,12 @@ components: nullable: true description: Gets or sets the custom prefs. ScrollDirection: + enum: + - Horizontal + - Vertical allOf: - $ref: '#/components/schemas/ScrollDirection' - description: Gets or sets the scroll direction. + description: An enum representing the axis that should be scrolled. ShowBackdrop: type: boolean description: Gets or sets a value indicating whether to show backdrops on this item. @@ -31051,9 +30048,12 @@ components: type: boolean description: Gets or sets a value indicating whether [remember sorting]. SortOrder: + enum: + - Ascending + - Descending allOf: - $ref: '#/components/schemas/SortOrder' - description: Gets or sets the sort order. + description: An enum representing the sorting order. ShowSidebar: type: boolean description: Gets or sets a value indicating whether [show sidebar]. @@ -31063,55 +30063,23 @@ components: nullable: true additionalProperties: false description: Defines the display preferences for any item that supports them (usually Folders). - DlnaOptions: - type: object - properties: - EnablePlayTo: - type: boolean - description: Gets or sets a value indicating whether gets or sets a value to indicate the status of the dlna playTo subsystem. - EnableServer: - type: boolean - description: Gets or sets a value indicating whether gets or sets a value to indicate the status of the dlna server subsystem. - EnableDebugLog: - type: boolean - description: "Gets or sets a value indicating whether detailed dlna server logs are sent to the console/log.\r\nIf the setting \"Emby.Dlna\": \"Debug\" msut be set in logging.default.json for this property to work." - EnablePlayToTracing: - type: boolean - description: "Gets or sets a value indicating whether whether detailed playTo debug logs are sent to the console/log.\r\nIf the setting \"Emby.Dlna.PlayTo\": \"Debug\" msut be set in logging.default.json for this property to work." - ClientDiscoveryIntervalSeconds: - type: integer - description: "Gets or sets the ssdp client discovery interval time (in seconds).\r\nThis is the time after which the server will send a ssdp search request." - format: int32 - AliveMessageIntervalSeconds: - type: integer - description: Gets or sets the frequency at which ssdp alive notifications are transmitted. - format: int32 - BlastAliveMessageIntervalSeconds: - type: integer - description: Gets or sets the frequency at which ssdp alive notifications are transmitted. MIGRATING - TO BE REMOVED ONCE WEB HAS BEEN ALTERED. - format: int32 - DefaultUserId: - type: string - description: Gets or sets the default user account that the dlna server uses. - nullable: true - AutoCreatePlayToProfiles: - type: boolean - description: Gets or sets a value indicating whether playTo device profiles should be created. - BlastAliveMessages: - type: boolean - description: Gets or sets a value indicating whether to blast alive messages. - SendOnlyMatchedHost: - type: boolean - description: gets or sets a value indicating whether to send only matched host. - additionalProperties: false - description: The DlnaOptions class contains the user definable parameters for the dlna subsystems. DlnaProfileType: enum: - Audio - Video - Photo - Subtitle + - Lyric type: string + DownMixStereoAlgorithms: + enum: + - None + - Dave750 + - NightmodeDialogue + - Rfc7845 + - Ac4 + type: string + description: An enum representing an algorithm to downmix surround sound to stereo. DynamicDayOfWeek: enum: - Sunday @@ -31134,6 +30102,21 @@ components: - AllowNone type: string description: An enum representing the options to disable embedded subs. + EncoderPreset: + enum: + - auto + - placebo + - veryslow + - slower + - slow + - medium + - fast + - faster + - veryfast + - superfast + - ultrafast + type: string + description: Enum containing encoder presets. EncodingContext: enum: - Streaming @@ -31144,29 +30127,67 @@ components: properties: EncodingThreadCount: type: integer + description: Gets or sets the thread count used for encoding. format: int32 TranscodingTempPath: type: string + description: Gets or sets the temporary transcoding path. nullable: true FallbackFontPath: type: string + description: Gets or sets the path to the fallback font. nullable: true EnableFallbackFont: type: boolean + description: Gets or sets a value indicating whether to use the fallback font. + EnableAudioVbr: + type: boolean + description: Gets or sets a value indicating whether audio VBR is enabled. DownMixAudioBoost: type: number + description: Gets or sets the audio boost applied when downmixing audio. format: double + DownMixStereoAlgorithm: + enum: + - None + - Dave750 + - NightmodeDialogue + - Rfc7845 + - Ac4 + allOf: + - $ref: '#/components/schemas/DownMixStereoAlgorithms' + description: Gets or sets the algorithm used for downmixing audio to stereo. MaxMuxingQueueSize: type: integer + description: Gets or sets the maximum size of the muxing queue. format: int32 EnableThrottling: type: boolean + description: Gets or sets a value indicating whether throttling is enabled. ThrottleDelaySeconds: type: integer + description: Gets or sets the delay after which throttling happens. + format: int32 + EnableSegmentDeletion: + type: boolean + description: Gets or sets a value indicating whether segment deletion is enabled. + SegmentKeepSeconds: + type: integer + description: Gets or sets seconds for which segments should be kept before being deleted. format: int32 HardwareAccelerationType: - type: string - nullable: true + enum: + - none + - amf + - qsv + - nvenc + - v4l2m2m + - vaapi + - videotoolbox + - rkmpp + allOf: + - $ref: '#/components/schemas/HardwareAccelerationType' + description: Gets or sets the hardware acceleration type. EncoderAppPath: type: string description: Gets or sets the FFmpeg path as set by the user via the UI. @@ -31177,78 +30198,157 @@ components: nullable: true VaapiDevice: type: string + description: Gets or sets the VA-API device. + nullable: true + QsvDevice: + type: string + description: Gets or sets the QSV device. nullable: true EnableTonemapping: type: boolean + description: Gets or sets a value indicating whether tonemapping is enabled. EnableVppTonemapping: type: boolean + description: Gets or sets a value indicating whether VPP tonemapping is enabled. + EnableVideoToolboxTonemapping: + type: boolean + description: Gets or sets a value indicating whether videotoolbox tonemapping is enabled. TonemappingAlgorithm: - type: string - nullable: true + enum: + - none + - clip + - linear + - gamma + - reinhard + - hable + - mobius + - bt2390 + allOf: + - $ref: '#/components/schemas/TonemappingAlgorithm' + description: Gets or sets the tone-mapping algorithm. TonemappingMode: - type: string - nullable: true + enum: + - auto + - max + - rgb + - lum + - itp + allOf: + - $ref: '#/components/schemas/TonemappingMode' + description: Gets or sets the tone-mapping mode. TonemappingRange: - type: string - nullable: true + enum: + - auto + - tv + - pc + allOf: + - $ref: '#/components/schemas/TonemappingRange' + description: Gets or sets the tone-mapping range. TonemappingDesat: type: number + description: Gets or sets the tone-mapping desaturation. format: double TonemappingPeak: type: number + description: Gets or sets the tone-mapping peak. format: double TonemappingParam: type: number + description: Gets or sets the tone-mapping parameters. format: double VppTonemappingBrightness: type: number + description: Gets or sets the VPP tone-mapping brightness. format: double VppTonemappingContrast: type: number + description: Gets or sets the VPP tone-mapping contrast. format: double H264Crf: type: integer + description: Gets or sets the H264 CRF. format: int32 H265Crf: type: integer + description: Gets or sets the H265 CRF. format: int32 EncoderPreset: - type: string + enum: + - auto + - placebo + - veryslow + - slower + - slow + - medium + - fast + - faster + - veryfast + - superfast + - ultrafast + allOf: + - $ref: '#/components/schemas/EncoderPreset' + description: Gets or sets the encoder preset. nullable: true DeinterlaceDoubleRate: type: boolean + description: Gets or sets a value indicating whether the framerate is doubled when deinterlacing. DeinterlaceMethod: - type: string - nullable: true + enum: + - yadif + - bwdif + allOf: + - $ref: '#/components/schemas/DeinterlaceMethod' + description: Gets or sets the deinterlace method. EnableDecodingColorDepth10Hevc: type: boolean + description: Gets or sets a value indicating whether 10bit HEVC decoding is enabled. EnableDecodingColorDepth10Vp9: type: boolean + description: Gets or sets a value indicating whether 10bit VP9 decoding is enabled. + EnableDecodingColorDepth10HevcRext: + type: boolean + description: Gets or sets a value indicating whether 8/10bit HEVC RExt decoding is enabled. + EnableDecodingColorDepth12HevcRext: + type: boolean + description: Gets or sets a value indicating whether 12bit HEVC RExt decoding is enabled. EnableEnhancedNvdecDecoder: type: boolean + description: Gets or sets a value indicating whether the enhanced NVDEC is enabled. PreferSystemNativeHwDecoder: type: boolean + description: Gets or sets a value indicating whether the system native hardware decoder should be used. EnableIntelLowPowerH264HwEncoder: type: boolean + description: Gets or sets a value indicating whether the Intel H264 low-power hardware encoder should be used. EnableIntelLowPowerHevcHwEncoder: type: boolean + description: Gets or sets a value indicating whether the Intel HEVC low-power hardware encoder should be used. EnableHardwareEncoding: type: boolean + description: Gets or sets a value indicating whether hardware encoding is enabled. AllowHevcEncoding: type: boolean + description: Gets or sets a value indicating whether HEVC encoding is enabled. + AllowAv1Encoding: + type: boolean + description: Gets or sets a value indicating whether AV1 encoding is enabled. EnableSubtitleExtraction: type: boolean + description: Gets or sets a value indicating whether subtitle extraction is enabled. HardwareDecodingCodecs: type: array items: type: string + description: Gets or sets the codecs hardware encoding is used for. nullable: true AllowOnDemandMetadataBasedKeyframeExtractionForExtensions: type: array items: type: string + description: Gets or sets the file extensions on-demand metadata based keyframe extraction is enabled for. nullable: true additionalProperties: false + description: Class EncodingOptions. EndPointInfo: type: object properties: @@ -31267,6 +30367,20 @@ components: type: string description: Gets or sets the unique key for this id. This key should be unique across all providers. Type: + enum: + - Album + - AlbumArtist + - Artist + - BoxSet + - Episode + - Movie + - OtherArtist + - Person + - ReleaseGroup + - Season + - Series + - Track + - Book allOf: - $ref: '#/components/schemas/ExternalIdMediaType' description: "Gets or sets the specific media type for this id. This is used to distinguish between the different\r\nexternal id types for providers with multiple ids.\r\nA null value indicates there is no specific media type associated with the external id, or this is the\r\ndefault id for the external provider so there is no need to specify a type." @@ -31275,6 +30389,7 @@ components: type: string description: Gets or sets the URL format string. nullable: true + deprecated: true additionalProperties: false description: Represents the external id information for serialization to the client. ExternalIdMediaType: @@ -31291,6 +30406,7 @@ components: - Season - Series - Track + - Book type: string description: The specific media type of an MediaBrowser.Model.Providers.ExternalIdInfo. ExternalUrl: @@ -31305,14 +30421,21 @@ components: description: Gets or sets the type of the item. nullable: true additionalProperties: false - FFmpegLocation: + ExtraType: enum: - - NotFound - - SetByArgument - - Custom - - System + - Unknown + - Clip + - Trailer + - BehindTheScenes + - DeletedScene + - Interview + - Scene + - Sample + - ThemeSong + - ThemeVideo + - Featurette + - Short type: string - description: Enum describing the location of the FFmpeg tool. FileSystemEntryInfo: type: object properties: @@ -31323,6 +30446,11 @@ components: type: string description: Gets the path. Type: + enum: + - File + - Directory + - NetworkComputer + - NetworkShare allOf: - $ref: '#/components/schemas/FileSystemEntryType' description: Gets the type. @@ -31357,6 +30485,60 @@ components: format: date-time additionalProperties: false description: Class FontFile. + ForceKeepAliveMessage: + type: object + properties: + Data: + type: integer + description: Gets or sets the data. + format: int32 + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: ForceKeepAlive + readOnly: true + additionalProperties: false + description: Force keep alive websocket messages. ForgotPasswordAction: enum: - ContactAdmin @@ -31387,6 +30569,10 @@ components: type: object properties: Action: + enum: + - ContactAdmin + - PinCode + - InNetworkRequired allOf: - $ref: '#/components/schemas/ForgotPasswordAction' description: Gets or sets the action. @@ -31404,6 +30590,50 @@ components: type: object properties: Name: + enum: + - MoveUp + - MoveDown + - MoveLeft + - MoveRight + - PageUp + - PageDown + - PreviousLetter + - NextLetter + - ToggleOsd + - ToggleContextMenu + - Select + - Back + - TakeScreenshot + - SendKey + - SendString + - GoHome + - GoToSettings + - VolumeUp + - VolumeDown + - Mute + - Unmute + - ToggleMute + - SetVolume + - SetAudioStreamIndex + - SetSubtitleStreamIndex + - ToggleFullscreen + - DisplayContent + - GoToSearch + - DisplayMessage + - SetRepeatMode + - ChannelUp + - ChannelDown + - Guide + - ToggleStats + - PlayMediaSource + - PlayTrailers + - SetShuffleQueue + - PlayState + - PlayNext + - ToggleOsdMenu + - Play + - SetMaxStreamingBitrate + - SetPlaybackOrder allOf: - $ref: '#/components/schemas/GeneralCommandType' description: This exists simply to identify a set of known commands. @@ -31416,6 +30646,61 @@ components: type: string nullable: true additionalProperties: false + GeneralCommandMessage: + type: object + properties: + Data: + allOf: + - $ref: '#/components/schemas/GeneralCommand' + description: Gets or sets the data. + nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: GeneralCommand + readOnly: true + additionalProperties: false + description: General command websocket message. GeneralCommandType: enum: - MoveUp @@ -31460,6 +30745,7 @@ components: - ToggleOsdMenu - Play - SetMaxStreamingBitrate + - SetPlaybackOrder type: string description: This exists simply to identify a set of known commands. GetProgramsDto: @@ -31471,123 +30757,133 @@ components: type: string format: uuid description: Gets or sets the channels to return guide information for. + nullable: true UserId: type: string description: Gets or sets optional. Filter by user id. format: uuid + nullable: true MinStartDate: type: string - description: "Gets or sets the minimum premiere start date.\r\nOptional." + description: Gets or sets the minimum premiere start date. format: date-time nullable: true HasAired: type: boolean - description: "Gets or sets filter by programs that have completed airing, or not.\r\nOptional." + description: Gets or sets filter by programs that have completed airing, or not. nullable: true IsAiring: type: boolean - description: "Gets or sets filter by programs that are currently airing, or not.\r\nOptional." + description: Gets or sets filter by programs that are currently airing, or not. nullable: true MaxStartDate: type: string - description: "Gets or sets the maximum premiere start date.\r\nOptional." + description: Gets or sets the maximum premiere start date. format: date-time nullable: true MinEndDate: type: string - description: "Gets or sets the minimum premiere end date.\r\nOptional." + description: Gets or sets the minimum premiere end date. format: date-time nullable: true MaxEndDate: type: string - description: "Gets or sets the maximum premiere end date.\r\nOptional." + description: Gets or sets the maximum premiere end date. format: date-time nullable: true IsMovie: type: boolean - description: "Gets or sets filter for movies.\r\nOptional." + description: Gets or sets filter for movies. nullable: true IsSeries: type: boolean - description: "Gets or sets filter for series.\r\nOptional." + description: Gets or sets filter for series. nullable: true IsNews: type: boolean - description: "Gets or sets filter for news.\r\nOptional." + description: Gets or sets filter for news. nullable: true IsKids: type: boolean - description: "Gets or sets filter for kids.\r\nOptional." + description: Gets or sets filter for kids. nullable: true IsSports: type: boolean - description: "Gets or sets filter for sports.\r\nOptional." + description: Gets or sets filter for sports. nullable: true StartIndex: type: integer - description: "Gets or sets the record index to start at. All items with a lower index will be dropped from the results.\r\nOptional." + description: Gets or sets the record index to start at. All items with a lower index will be dropped from the results. format: int32 nullable: true Limit: type: integer - description: "Gets or sets the maximum number of records to return.\r\nOptional." + description: Gets or sets the maximum number of records to return. format: int32 nullable: true SortBy: type: array items: - type: string - description: "Gets or sets specify one or more sort orders, comma delimited. Options: Name, StartDate.\r\nOptional." + $ref: '#/components/schemas/ItemSortBy' + description: 'Gets or sets specify one or more sort orders, comma delimited. Options: Name, StartDate.' + nullable: true SortOrder: type: array items: $ref: '#/components/schemas/SortOrder' - description: Gets or sets sort Order - Ascending,Descending. + description: Gets or sets sort order. + nullable: true Genres: type: array items: type: string description: Gets or sets the genres to return guide information for. + nullable: true GenreIds: type: array items: type: string format: uuid description: Gets or sets the genre ids to return guide information for. + nullable: true EnableImages: type: boolean - description: "Gets or sets include image information in output.\r\nOptional." + description: Gets or sets include image information in output. nullable: true EnableTotalRecordCount: type: boolean description: Gets or sets a value indicating whether retrieve total record count. + default: true ImageTypeLimit: type: integer - description: "Gets or sets the max number of images to return, per image type.\r\nOptional." + description: Gets or sets the max number of images to return, per image type. format: int32 nullable: true EnableImageTypes: type: array items: $ref: '#/components/schemas/ImageType' - description: "Gets or sets the image types to include in the output.\r\nOptional." + description: Gets or sets the image types to include in the output. + nullable: true EnableUserData: type: boolean - description: "Gets or sets include user data.\r\nOptional." + description: Gets or sets include user data. nullable: true SeriesTimerId: type: string - description: "Gets or sets filter by series timer id.\r\nOptional." + description: Gets or sets filter by series timer id. nullable: true LibrarySeriesId: type: string - description: "Gets or sets filter by library series id.\r\nOptional." + description: Gets or sets filter by library series id. format: uuid + nullable: true Fields: type: array items: $ref: '#/components/schemas/ItemFields' - description: "Gets or sets specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines.\r\nOptional." + description: Gets or sets specify additional fields of information to return in the output. + nullable: true additionalProperties: false description: Get programs dto. GroupInfoDto: @@ -31601,6 +30897,11 @@ components: type: string description: Gets the group name. State: + enum: + - Idle + - Waiting + - Paused + - Playing allOf: - $ref: '#/components/schemas/GroupStateType' description: Gets the group state. @@ -31615,6 +30916,36 @@ components: format: date-time additionalProperties: false description: Class GroupInfoDto. + GroupInfoDtoGroupUpdate: + type: object + properties: + GroupId: + type: string + description: Gets the group identifier. + format: uuid + readOnly: true + Type: + enum: + - UserJoined + - UserLeft + - GroupJoined + - GroupLeft + - StateUpdate + - PlayQueue + - NotInGroup + - GroupDoesNotExist + - CreateGroupDenied + - JoinGroupDenied + - LibraryAccessDenied + allOf: + - $ref: '#/components/schemas/GroupUpdateType' + description: Gets the update type. + Data: + allOf: + - $ref: '#/components/schemas/GroupInfoDto' + description: Gets the update data. + additionalProperties: false + description: Class GroupUpdate. GroupQueueMode: enum: - Queue @@ -31642,6 +30973,115 @@ components: - Playing type: string description: Enum GroupState. + GroupStateUpdate: + type: object + properties: + State: + enum: + - Idle + - Waiting + - Paused + - Playing + allOf: + - $ref: '#/components/schemas/GroupStateType' + description: Gets the state of the group. + Reason: + enum: + - Play + - SetPlaylistItem + - RemoveFromPlaylist + - MovePlaylistItem + - Queue + - Unpause + - Pause + - Stop + - Seek + - Buffer + - Ready + - NextItem + - PreviousItem + - SetRepeatMode + - SetShuffleMode + - Ping + - IgnoreWait + allOf: + - $ref: '#/components/schemas/PlaybackRequestType' + description: Gets the reason of the state change. + additionalProperties: false + description: Class GroupStateUpdate. + GroupStateUpdateGroupUpdate: + type: object + properties: + GroupId: + type: string + description: Gets the group identifier. + format: uuid + readOnly: true + Type: + enum: + - UserJoined + - UserLeft + - GroupJoined + - GroupLeft + - StateUpdate + - PlayQueue + - NotInGroup + - GroupDoesNotExist + - CreateGroupDenied + - JoinGroupDenied + - LibraryAccessDenied + allOf: + - $ref: '#/components/schemas/GroupUpdateType' + description: Gets the update type. + Data: + allOf: + - $ref: '#/components/schemas/GroupStateUpdate' + description: Gets the update data. + additionalProperties: false + description: Class GroupUpdate. + GroupUpdate: + type: object + oneOf: + - $ref: '#/components/schemas/GroupInfoDtoGroupUpdate' + - $ref: '#/components/schemas/GroupStateUpdateGroupUpdate' + - $ref: '#/components/schemas/StringGroupUpdate' + - $ref: '#/components/schemas/PlayQueueUpdateGroupUpdate' + properties: + GroupId: + type: string + description: Gets the group identifier. + format: uuid + readOnly: true + Type: + enum: + - UserJoined + - UserLeft + - GroupJoined + - GroupLeft + - StateUpdate + - PlayQueue + - NotInGroup + - GroupDoesNotExist + - CreateGroupDenied + - JoinGroupDenied + - LibraryAccessDenied + allOf: + - $ref: '#/components/schemas/GroupUpdateType' + description: Gets the update type. + additionalProperties: false + description: Group update without data. + discriminator: + propertyName: Type + mapping: + UserJoined: '#/components/schemas/StringGroupUpdate' + UserLeft: '#/components/schemas/StringGroupUpdate' + GroupJoined: '#/components/schemas/GroupInfoDtoGroupUpdate' + GroupLeft: '#/components/schemas/StringGroupUpdate' + StateUpdate: '#/components/schemas/GroupStateUpdateGroupUpdate' + PlayQueue: '#/components/schemas/PlayQueueUpdateGroupUpdate' + NotInGroup: '#/components/schemas/StringGroupUpdate' + GroupDoesNotExist: '#/components/schemas/StringGroupUpdate' + LibraryAccessDenied: '#/components/schemas/StringGroupUpdate' GroupUpdateType: enum: - UserJoined @@ -31669,137 +31109,18 @@ components: description: Gets or sets the end date. format: date-time additionalProperties: false - HardwareEncodingType: + HardwareAccelerationType: enum: - - AMF - - QSV - - NVENC - - V4L2M2M - - VAAPI - - VideoToolBox + - none + - amf + - qsv + - nvenc + - v4l2m2m + - vaapi + - videotoolbox + - rkmpp type: string - description: Enum HardwareEncodingType. - HeaderMatchType: - enum: - - Equals - - Regex - - Substring - type: string - HeaderMetadata: - enum: - - None - - Path - - Name - - PremiereDate - - DateAdded - - ReleaseDate - - Runtime - - PlayCount - - Season - - SeasonNumber - - Series - - Network - - Year - - ParentalRating - - CommunityRating - - Trailers - - Specials - - AlbumArtist - - Album - - Disc - - Track - - Audio - - EmbeddedImage - - Video - - Resolution - - Subtitles - - Genres - - Countries - - Status - - Tracks - - EpisodeSeries - - EpisodeSeason - - EpisodeNumber - - AudioAlbumArtist - - MusicArtist - - AudioAlbum - - Locked - - ImagePrimary - - ImageBackdrop - - ImageLogo - - Actor - - Studios - - Composer - - Director - - GuestStar - - Producer - - Writer - - Artist - - Years - - ParentalRatings - - CommunityRatings - - Overview - - ShortOverview - - Type - - Date - - UserPrimaryImage - - Severity - - Item - - User - - UserId - type: string - HttpHeaderInfo: - type: object - properties: - Name: - type: string - nullable: true - Value: - type: string - nullable: true - Match: - allOf: - - $ref: '#/components/schemas/HeaderMatchType' - additionalProperties: false - IPlugin: - type: object - properties: - Name: - type: string - description: Gets the name of the plugin. - nullable: true - readOnly: true - Description: - type: string - description: Gets the Description. - nullable: true - readOnly: true - Id: - type: string - description: Gets the unique id. - format: uuid - readOnly: true - Version: - type: string - description: Gets the plugin version. - nullable: true - readOnly: true - AssemblyFilePath: - type: string - description: Gets the path to the assembly file. - nullable: true - readOnly: true - CanUninstall: - type: boolean - description: Gets a value indicating whether the plugin can be uninstalled. - readOnly: true - DataFolderPath: - type: string - description: Gets the full path to the data folder, where the plugin can store any miscellaneous files needed. - nullable: true - readOnly: true - additionalProperties: false - description: Defines the MediaBrowser.Common.Plugins.IPlugin. + description: Enum containing hardware acceleration types. IgnoreWaitRequestDto: type: object properties: @@ -31808,30 +31129,6 @@ components: description: Gets or sets a value indicating whether the client should be ignored. additionalProperties: false description: Class IgnoreWaitRequestDto. - ImageByNameInfo: - type: object - properties: - Name: - type: string - description: Gets or sets the name. - nullable: true - Theme: - type: string - description: Gets or sets the theme. - nullable: true - Context: - type: string - description: Gets or sets the context. - nullable: true - FileLength: - type: integer - description: Gets or sets the length of the file. - format: int64 - Format: - type: string - description: Gets or sets the format. - nullable: true - additionalProperties: false ImageFormat: enum: - Bmp @@ -31839,12 +31136,27 @@ components: - Jpg - Png - Webp + - Svg type: string description: Enum ImageOutputFormat. ImageInfo: type: object properties: ImageType: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Gets or sets the type of the image. @@ -31885,6 +31197,20 @@ components: type: object properties: Type: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Gets or sets the type. @@ -31921,6 +31247,19 @@ components: description: Gets the supported image types. additionalProperties: false description: Class ImageProviderInfo. + ImageResolution: + enum: + - MatchSource + - P144 + - P240 + - P360 + - P480 + - P720 + - P1080 + - P1440 + - P2160 + type: string + description: Enum ImageResolution. ImageSavingConvention: enum: - Legacy @@ -31943,6 +31282,73 @@ components: - Profile type: string description: Enum ImageType. + InboundKeepAliveMessage: + type: object + properties: + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: KeepAlive + readOnly: true + additionalProperties: false + description: Keep alive websocket messages. + InboundWebSocketMessage: + type: object + oneOf: + - $ref: '#/components/schemas/ActivityLogEntryStartMessage' + - $ref: '#/components/schemas/ActivityLogEntryStopMessage' + - $ref: '#/components/schemas/InboundKeepAliveMessage' + - $ref: '#/components/schemas/ScheduledTasksInfoStartMessage' + - $ref: '#/components/schemas/ScheduledTasksInfoStopMessage' + - $ref: '#/components/schemas/SessionsStartMessage' + - $ref: '#/components/schemas/SessionsStopMessage' + description: Represents the list of possible inbound websocket types + discriminator: + propertyName: MessageType + mapping: + ActivityLogEntryStart: '#/components/schemas/ActivityLogEntryStartMessage' + ActivityLogEntryStop: '#/components/schemas/ActivityLogEntryStopMessage' + KeepAlive: '#/components/schemas/InboundKeepAliveMessage' + ScheduledTasksInfoStart: '#/components/schemas/ScheduledTasksInfoStartMessage' + ScheduledTasksInfoStop: '#/components/schemas/ScheduledTasksInfoStopMessage' + SessionsStart: '#/components/schemas/SessionsStartMessage' + SessionsStop: '#/components/schemas/SessionsStopMessage' InstallationInfo: type: object properties: @@ -31977,6 +31383,45 @@ components: nullable: true additionalProperties: false description: Class InstallationInfo. + IPlugin: + type: object + properties: + Name: + type: string + description: Gets the name of the plugin. + nullable: true + readOnly: true + Description: + type: string + description: Gets the Description. + nullable: true + readOnly: true + Id: + type: string + description: Gets the unique id. + format: uuid + readOnly: true + Version: + type: string + description: Gets the plugin version. + nullable: true + readOnly: true + AssemblyFilePath: + type: string + description: Gets the path to the assembly file. + nullable: true + readOnly: true + CanUninstall: + type: boolean + description: Gets a value indicating whether the plugin can be uninstalled. + readOnly: true + DataFolderPath: + type: string + description: Gets the full path to the data folder, where the plugin can store any miscellaneous files needed. + nullable: true + readOnly: true + additionalProperties: false + description: Defines the MediaBrowser.Common.Plugins.IPlugin. IsoType: enum: - Dvd @@ -32043,6 +31488,7 @@ components: - CanDownload - ChannelInfo - Chapters + - Trickplay - ChildCount - CumulativeRunTimeTicks - CustomRating @@ -32073,8 +31519,6 @@ components: - SortName - SpecialEpisodeNumbers - Studios - - BasicSyncInfo - - SyncInfo - Taglines - Tags - RemoteTrailers @@ -32114,24 +31558,42 @@ components: - IsFavoriteOrLikes type: string description: Enum ItemFilter. - ItemViewType: + ItemSortBy: enum: - - None - - Detail - - Edit - - List - - ItemByNameDetails - - StatusImage - - EmbeddedImage - - SubtitleImage - - TrailersImage - - SpecialsImage - - LockDataImage - - TagsPrimaryImage - - TagsBackdropImage - - TagsLogoImage - - UserPrimaryImage + - Default + - AiredEpisodeOrder + - Album + - AlbumArtist + - Artist + - DateCreated + - OfficialRating + - DatePlayed + - PremiereDate + - StartDate + - SortName + - Name + - Random + - Runtime + - CommunityRating + - ProductionYear + - PlayCount + - CriticRating + - IsFolder + - IsUnplayed + - IsPlayed + - SeriesSortName + - VideoBitRate + - AirTime + - Studio + - IsFavoriteOrLiked + - DateLastContentAdded + - SeriesDatePlayed + - ParentIndexNumber + - IndexNumber + - SimilarityScore + - SearchScore type: string + description: These represent sort orders. JoinGroupRequestDto: type: object properties: @@ -32148,16 +31610,61 @@ components: - UntilWatched - UntilDate type: string - LastFMUser: + LibraryChangedMessage: type: object properties: - Username: - type: string + Data: + allOf: + - $ref: '#/components/schemas/LibraryUpdateInfo' + description: Class LibraryUpdateInfo. nullable: true - Password: + MessageId: type: string - nullable: true + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: LibraryChanged + readOnly: true additionalProperties: false + description: Library changed message. LibraryOptionInfoDto: type: object properties: @@ -32173,14 +31680,22 @@ components: LibraryOptions: type: object properties: + Enabled: + type: boolean EnablePhotos: type: boolean EnableRealtimeMonitor: type: boolean + EnableLUFSScan: + type: boolean EnableChapterImageExtraction: type: boolean ExtractChapterImagesDuringLibraryScan: type: boolean + EnableTrickplayImageExtraction: + type: boolean + ExtractTrickplayImagesDuringLibraryScan: + type: boolean PathInfos: type: array items: @@ -32194,6 +31709,8 @@ components: type: boolean EnableEmbeddedTitles: type: boolean + EnableEmbeddedExtrasTitles: + type: boolean EnableEmbeddedEpisodeInfos: type: boolean AutomaticRefreshIntervalDays: @@ -32231,6 +31748,14 @@ components: type: array items: type: string + DisabledMediaSegmentProviders: + type: array + items: + type: string + MediaSegmentProvideOrder: + type: array + items: + type: string SkipSubtitlesIfEmbeddedSubtitlesPresent: type: boolean SkipSubtitlesIfAudioTrackMatches: @@ -32244,9 +31769,42 @@ components: type: boolean SaveSubtitlesWithMedia: type: boolean + SaveLyricsWithMedia: + type: boolean + default: false + SaveTrickplayWithMedia: + type: boolean + default: false + DisabledLyricFetchers: + type: array + items: + type: string + LyricFetcherOrder: + type: array + items: + type: string + PreferNonstandardArtistsTag: + type: boolean + default: false + UseCustomTagDelimiters: + type: boolean + default: false + CustomTagDelimiters: + type: array + items: + type: string + DelimiterWhitelist: + type: array + items: + type: string AutomaticallyAddToCollection: type: boolean AllowEmbeddedSubtitles: + enum: + - AllowAll + - AllowText + - AllowImage + - AllowNone allOf: - $ref: '#/components/schemas/EmbeddedSubtitleOptions' description: An enum representing the options to disable embedded subs. @@ -32273,6 +31831,11 @@ components: items: $ref: '#/components/schemas/LibraryOptionInfoDto' description: Gets or sets the subtitle fetchers. + LyricFetchers: + type: array + items: + $ref: '#/components/schemas/LibraryOptionInfoDto' + description: Gets or sets the list of lyric fetchers. TypeOptions: type: array items: @@ -32486,6 +32049,10 @@ components: RecordingPostProcessorArguments: type: string nullable: true + SaveRecordingNFO: + type: boolean + SaveRecordingImages: + type: boolean additionalProperties: false LiveTvServiceInfo: type: object @@ -32499,6 +32066,9 @@ components: description: Gets or sets the home page URL. nullable: true Status: + enum: + - Ok + - Unavailable allOf: - $ref: '#/components/schemas/LiveTvServiceStatus' description: Gets or sets the status. @@ -32564,7 +32134,6 @@ components: Name: type: string description: Gets or sets the name. - nullable: true additionalProperties: false LogLevel: enum: @@ -32576,19 +32145,80 @@ components: - Critical - None type: string - LoginInfoInput: - required: - - Password - - Username + LyricDto: type: object properties: - Username: - type: string - Password: - type: string - CustomApiKey: - type: string + Metadata: + allOf: + - $ref: '#/components/schemas/LyricMetadata' + description: Gets or sets Metadata for the lyrics. + Lyrics: + type: array + items: + $ref: '#/components/schemas/LyricLine' + description: Gets or sets a collection of individual lyric lines. additionalProperties: false + description: LyricResponse model. + LyricLine: + type: object + properties: + Text: + type: string + description: Gets the text of this lyric line. + Start: + type: integer + description: Gets the start time in ticks. + format: int64 + nullable: true + additionalProperties: false + description: Lyric model. + LyricMetadata: + type: object + properties: + Artist: + type: string + description: Gets or sets the song artist. + nullable: true + Album: + type: string + description: Gets or sets the album this song is on. + nullable: true + Title: + type: string + description: Gets or sets the title of the song. + nullable: true + Author: + type: string + description: Gets or sets the author of the lyric data. + nullable: true + Length: + type: integer + description: Gets or sets the length of the song in ticks. + format: int64 + nullable: true + By: + type: string + description: Gets or sets who the LRC file was created by. + nullable: true + Offset: + type: integer + description: Gets or sets the lyric offset compared to audio in ticks. + format: int64 + nullable: true + Creator: + type: string + description: Gets or sets the software used to create the LRC file. + nullable: true + Version: + type: string + description: Gets or sets the version of the creator used. + nullable: true + IsSynced: + type: boolean + description: Gets or sets a value indicating whether this lyric is synced. + nullable: true + additionalProperties: false + description: LyricMetadata model. MediaAttachment: type: object properties: @@ -32622,17 +32252,6 @@ components: nullable: true additionalProperties: false description: Class MediaAttachment. - MediaEncoderPathDto: - type: object - properties: - Path: - type: string - description: Gets or sets media encoder path. - PathType: - type: string - description: Gets or sets media encoder path type. - additionalProperties: false - description: Media Encoder Path Dto. MediaPathDto: required: - Name @@ -32657,9 +32276,6 @@ components: properties: Path: type: string - NetworkPath: - type: string - nullable: true additionalProperties: false MediaProtocol: enum: @@ -32671,10 +32287,78 @@ components: - Rtp - Ftp type: string + MediaSegmentDto: + type: object + properties: + Id: + type: string + description: Gets or sets the id of the media segment. + format: uuid + ItemId: + type: string + description: Gets or sets the id of the associated item. + format: uuid + Type: + enum: + - Unknown + - Commercial + - Preview + - Recap + - Outro + - Intro + allOf: + - $ref: '#/components/schemas/MediaSegmentType' + description: Defines the types of content an individual Jellyfin.Data.Entities.MediaSegment represents. + StartTicks: + type: integer + description: Gets or sets the start of the segment. + format: int64 + EndTicks: + type: integer + description: Gets or sets the end of the segment. + format: int64 + additionalProperties: false + description: Api model for MediaSegment's. + MediaSegmentDtoQueryResult: + type: object + properties: + Items: + type: array + items: + $ref: '#/components/schemas/MediaSegmentDto' + description: Gets or sets the items. + TotalRecordCount: + type: integer + description: Gets or sets the total number of records available. + format: int32 + StartIndex: + type: integer + description: Gets or sets the index of the first record in Items. + format: int32 + additionalProperties: false + description: Query result container. + MediaSegmentType: + enum: + - Unknown + - Commercial + - Preview + - Recap + - Outro + - Intro + type: string + description: Defines the types of content an individual Jellyfin.Data.Entities.MediaSegment represents. MediaSourceInfo: type: object properties: Protocol: + enum: + - File + - Http + - Rtmp + - Rtsp + - Udp + - Rtp + - Ftp allOf: - $ref: '#/components/schemas/MediaProtocol' Id: @@ -32687,10 +32371,22 @@ components: type: string nullable: true EncoderProtocol: + enum: + - File + - Http + - Rtmp + - Rtsp + - Udp + - Rtp + - Ftp allOf: - $ref: '#/components/schemas/MediaProtocol' nullable: true Type: + enum: + - Default + - Grouping + - Placeholder allOf: - $ref: '#/components/schemas/MediaSourceType' Container: @@ -32729,6 +32425,9 @@ components: type: boolean IsInfiniteStream: type: boolean + UseMostCompatibleTranscodingProfile: + type: boolean + default: false RequiresOpening: type: boolean OpenToken: @@ -32748,14 +32447,28 @@ components: SupportsProbing: type: boolean VideoType: + enum: + - VideoFile + - Iso + - Dvd + - BluRay allOf: - $ref: '#/components/schemas/VideoType' nullable: true IsoType: + enum: + - Dvd + - BluRay allOf: - $ref: '#/components/schemas/IsoType' nullable: true Video3DFormat: + enum: + - HalfSideBySide + - FullSideBySide + - FullTopAndBottom + - HalfTopAndBottom + - MVC allOf: - $ref: '#/components/schemas/Video3DFormat' nullable: true @@ -32778,7 +32491,15 @@ components: type: integer format: int32 nullable: true + FallbackMaxStreamingBitrate: + type: integer + format: int32 + nullable: true Timestamp: + enum: + - None + - Zero + - Valid allOf: - $ref: '#/components/schemas/TransportStreamTimestamp' nullable: true @@ -32792,8 +32513,12 @@ components: type: string nullable: true TranscodingSubProtocol: - type: string - nullable: true + enum: + - http + - hls + allOf: + - $ref: '#/components/schemas/MediaStreamProtocol' + description: "Media streaming protocol.\r\nLowercase for backwards compatibility." TranscodingContainer: type: string nullable: true @@ -32809,6 +32534,8 @@ components: type: integer format: int32 nullable: true + HasSegments: + type: boolean additionalProperties: false MediaSourceType: enum: @@ -32887,6 +32614,11 @@ components: description: Gets or sets the Dolby Vision bl signal compatibility id. format: int32 nullable: true + Rotation: + type: integer + description: Gets or sets the Rotation in degrees. + format: int32 + nullable: true Comment: type: string description: Gets or sets the comment. @@ -32904,20 +32636,44 @@ components: description: Gets or sets the title. nullable: true VideoRange: - type: string - description: Gets the video range. - nullable: true + enum: + - Unknown + - SDR + - HDR + allOf: + - $ref: '#/components/schemas/VideoRange' + description: An enum representing video ranges. readOnly: true VideoRangeType: - type: string - description: Gets the video range type. - nullable: true + enum: + - Unknown + - SDR + - HDR10 + - HLG + - DOVI + - DOVIWithHDR10 + - DOVIWithHLG + - DOVIWithSDR + - HDR10Plus + allOf: + - $ref: '#/components/schemas/VideoRangeType' + description: An enum representing types of video ranges. readOnly: true VideoDoViTitle: type: string description: Gets the video dovi title. nullable: true readOnly: true + AudioSpatialFormat: + enum: + - None + - DolbyAtmos + - DTSX + allOf: + - $ref: '#/components/schemas/AudioSpatialFormat' + description: An enum representing formats of spatial audio. + default: None + readOnly: true LocalizedUndefined: type: string nullable: true @@ -32930,6 +32686,9 @@ components: LocalizedExternal: type: string nullable: true + LocalizedHearingImpaired: + type: string + nullable: true DisplayTitle: type: string nullable: true @@ -32983,6 +32742,9 @@ components: IsForced: type: boolean description: Gets or sets a value indicating whether this instance is forced. + IsHearingImpaired: + type: boolean + description: Gets or sets a value indicating whether this instance is for the hearing impaired. Height: type: integer description: Gets or sets the height. @@ -33003,11 +32765,24 @@ components: description: Gets or sets the real frame rate. format: float nullable: true + ReferenceFrameRate: + type: number + description: "Gets the framerate used as reference.\r\nPrefer AverageFrameRate, if that is null or an unrealistic value\r\nthen fallback to RealFrameRate." + format: float + nullable: true + readOnly: true Profile: type: string description: Gets or sets the profile. nullable: true Type: + enum: + - Audio + - Video + - Subtitle + - EmbeddedImage + - Data + - Lyric allOf: - $ref: '#/components/schemas/MediaStreamType' description: Gets or sets the type. @@ -33028,6 +32803,12 @@ components: type: boolean description: Gets or sets a value indicating whether this instance is external. DeliveryMethod: + enum: + - Encode + - Embed + - External + - Hls + - Drop allOf: - $ref: '#/components/schemas/SubtitleDeliveryMethod' description: Gets or sets the method. @@ -33065,6 +32846,12 @@ components: nullable: true additionalProperties: false description: Class MediaStream. + MediaStreamProtocol: + enum: + - http + - hls + type: string + description: "Media streaming protocol.\r\nLowercase for backwards compatibility." MediaStreamType: enum: - Audio @@ -33072,8 +32859,18 @@ components: - Subtitle - EmbeddedImage - Data + - Lyric type: string description: Enum MediaStreamType. + MediaType: + enum: + - Unknown + - Video + - Audio + - Photo + - Book + type: string + description: Media types. MediaUpdateInfoDto: type: object properties: @@ -33148,7 +32945,22 @@ components: items: $ref: '#/components/schemas/ExternalIdInfo' ContentType: - type: string + enum: + - unknown + - movies + - tvshows + - music + - musicvideos + - trailers + - homevideos + - boxsets + - books + - photos + - livetv + - playlists + - folders + allOf: + - $ref: '#/components/schemas/CollectionType' nullable: true ContentTypeOptions: type: array @@ -33404,6 +33216,12 @@ components: NetworkConfiguration: type: object properties: + BaseUrl: + type: string + description: Gets or sets a value used to specify the URL prefix that your Jellyfin instance can be accessed at. + EnableHttps: + type: boolean + description: Gets or sets a value indicating whether to use HTTPS. RequireHttps: type: boolean description: Gets or sets a value indicating whether the server should force connections over HTTPS. @@ -33412,100 +33230,38 @@ components: description: Gets or sets the filesystem path of an X.509 certificate to use for SSL. CertificatePassword: type: string - description: Gets or sets the password required to access the X.509 certificate data in the file specified by Jellyfin.Networking.Configuration.NetworkConfiguration.CertificatePath. - BaseUrl: - type: string - description: Gets or sets a value used to specify the URL prefix that your Jellyfin instance can be accessed at. + description: Gets or sets the password required to access the X.509 certificate data in the file specified by MediaBrowser.Common.Net.NetworkConfiguration.CertificatePath. + InternalHttpPort: + type: integer + description: Gets or sets the internal HTTP server port. + format: int32 + InternalHttpsPort: + type: integer + description: Gets or sets the internal HTTPS server port. + format: int32 + PublicHttpPort: + type: integer + description: Gets or sets the public HTTP port. + format: int32 PublicHttpsPort: type: integer description: Gets or sets the public HTTPS port. format: int32 - HttpServerPortNumber: - type: integer - description: Gets or sets the HTTP server port number. - format: int32 - HttpsPortNumber: - type: integer - description: Gets or sets the HTTPS server port number. - format: int32 - EnableHttps: - type: boolean - description: Gets or sets a value indicating whether to use HTTPS. - PublicPort: - type: integer - description: Gets or sets the public mapped port. - format: int32 - UPnPCreateHttpPortMap: - type: boolean - description: Gets or sets a value indicating whether the http port should be mapped as part of UPnP automatic port forwarding. - UDPPortRange: - type: string - description: Gets or sets the UDPPortRange. - EnableIPV6: - type: boolean - description: Gets or sets a value indicating whether gets or sets IPV6 capability. - EnableIPV4: - type: boolean - description: Gets or sets a value indicating whether gets or sets IPV4 capability. - EnableSSDPTracing: - type: boolean - description: "Gets or sets a value indicating whether detailed SSDP logs are sent to the console/log.\r\n\"Emby.Dlna\": \"Debug\" must be set in logging.default.json for this property to have any effect." - SSDPTracingFilter: - type: string - description: "Gets or sets the SSDPTracingFilter\r\nGets or sets a value indicating whether an IP address is to be used to filter the detailed ssdp logs that are being sent to the console/log.\r\nIf the setting \"Emby.Dlna\": \"Debug\" msut be set in logging.default.json for this property to work." - UDPSendCount: - type: integer - description: Gets or sets the number of times SSDP UDP messages are sent. - format: int32 - UDPSendDelay: - type: integer - description: Gets or sets the delay between each groups of SSDP messages (in ms). - format: int32 - IgnoreVirtualInterfaces: - type: boolean - description: Gets or sets a value indicating whether address names that match Jellyfin.Networking.Configuration.NetworkConfiguration.VirtualInterfaceNames should be Ignore for the purposes of binding. - VirtualInterfaceNames: - type: string - description: Gets or sets a value indicating the interfaces that should be ignored. The list can be comma separated. . - GatewayMonitorPeriod: - type: integer - description: Gets or sets the time (in seconds) between the pings of SSDP gateway monitor. - format: int32 - EnableMultiSocketBinding: - type: boolean - description: Gets a value indicating whether multi-socket binding is available. - readOnly: true - TrustAllIP6Interfaces: - type: boolean - description: "Gets or sets a value indicating whether all IPv6 interfaces should be treated as on the internal network.\r\nDepending on the address range implemented ULA ranges might not be used." - HDHomerunPortRange: - type: string - description: Gets or sets the ports that HDHomerun uses. - PublishedServerUriBySubnet: - type: array - items: - type: string - description: "Gets or sets the PublishedServerUriBySubnet\r\nGets or sets PublishedServerUri to advertise for specific subnets." - AutoDiscoveryTracing: - type: boolean - description: Gets or sets a value indicating whether Autodiscovery tracing is enabled. AutoDiscovery: type: boolean description: Gets or sets a value indicating whether Autodiscovery is enabled. - RemoteIPFilter: - type: array - items: - type: string - description: Gets or sets the filter for remote IP connectivity. Used in conjuntion with . - IsRemoteIPFilterBlacklist: - type: boolean - description: Gets or sets a value indicating whether contains a blacklist or a whitelist. Default is a whitelist. EnableUPnP: type: boolean description: Gets or sets a value indicating whether to enable automatic port forwarding. + EnableIPv4: + type: boolean + description: Gets or sets a value indicating whether IPv6 is enabled. + EnableIPv6: + type: boolean + description: Gets or sets a value indicating whether IPv6 is enabled. EnableRemoteAccess: type: boolean - description: Gets or sets a value indicating whether access outside of the LAN is permitted. + description: Gets or sets a value indicating whether access from outside of the LAN is permitted. LocalNetworkSubnets: type: array items: @@ -33520,12 +33276,33 @@ components: type: array items: type: string - description: Gets or sets the known proxies. If the proxy is a network, it's added to the KnownNetworks. + description: Gets or sets the known proxies. + IgnoreVirtualInterfaces: + type: boolean + description: Gets or sets a value indicating whether address names that match MediaBrowser.Common.Net.NetworkConfiguration.VirtualInterfaceNames should be ignored for the purposes of binding. + VirtualInterfaceNames: + type: array + items: + type: string + description: Gets or sets a value indicating the interface name prefixes that should be ignored. The list can be comma separated and values are case-insensitive. . EnablePublishedServerUriByRequest: type: boolean description: Gets or sets a value indicating whether the published server uri is based on information in HTTP requests. + PublishedServerUriBySubnet: + type: array + items: + type: string + description: "Gets or sets the PublishedServerUriBySubnet\r\nGets or sets PublishedServerUri to advertise for specific subnets." + RemoteIPFilter: + type: array + items: + type: string + description: Gets or sets the filter for remote IP connectivity. Used in conjunction with . + IsRemoteIPFilterBlacklist: + type: boolean + description: Gets or sets a value indicating whether contains a blacklist or a whitelist. Default is a whitelist. additionalProperties: false - description: Defines the Jellyfin.Networking.Configuration.NetworkConfiguration. + description: Defines the MediaBrowser.Common.Net.NetworkConfiguration. NewGroupRequestDto: type: object properties: @@ -33543,141 +33320,6 @@ components: format: uuid additionalProperties: false description: Class NextItemRequestDto. - NotificationDto: - type: object - properties: - Id: - type: string - description: Gets or sets the notification ID. Defaults to an empty string. - UserId: - type: string - description: Gets or sets the notification's user ID. Defaults to an empty string. - Date: - type: string - description: Gets or sets the notification date. - format: date-time - IsRead: - type: boolean - description: Gets or sets a value indicating whether the notification has been read. Defaults to false. - Name: - type: string - description: Gets or sets the notification's name. Defaults to an empty string. - Description: - type: string - description: Gets or sets the notification's description. Defaults to an empty string. - Url: - type: string - description: Gets or sets the notification's URL. Defaults to an empty string. - Level: - allOf: - - $ref: '#/components/schemas/NotificationLevel' - description: Gets or sets the notification level. - additionalProperties: false - description: The notification DTO. - NotificationLevel: - enum: - - Normal - - Warning - - Error - type: string - NotificationOption: - type: object - properties: - Type: - type: string - nullable: true - DisabledMonitorUsers: - type: array - items: - type: string - description: Gets or sets user Ids to not monitor (it's opt out). - SendToUsers: - type: array - items: - type: string - description: Gets or sets user Ids to send to (if SendToUserMode == Custom). - Enabled: - type: boolean - description: Gets or sets a value indicating whether this MediaBrowser.Model.Notifications.NotificationOption is enabled. - DisabledServices: - type: array - items: - type: string - description: Gets or sets the disabled services. - SendToUserMode: - allOf: - - $ref: '#/components/schemas/SendToUserType' - description: Gets or sets the send to user mode. - additionalProperties: false - NotificationOptions: - type: object - properties: - Options: - type: array - items: - $ref: '#/components/schemas/NotificationOption' - nullable: true - additionalProperties: false - NotificationResultDto: - type: object - properties: - Notifications: - type: array - items: - $ref: '#/components/schemas/NotificationDto' - description: Gets or sets the current page of notifications. - TotalRecordCount: - type: integer - description: Gets or sets the total number of notifications. - format: int32 - additionalProperties: false - description: A list of notifications with the total record count for pagination. - NotificationTypeInfo: - type: object - properties: - Type: - type: string - nullable: true - Name: - type: string - nullable: true - Enabled: - type: boolean - Category: - type: string - nullable: true - IsBasedOnUserEvent: - type: boolean - additionalProperties: false - NotificationsSummaryDto: - type: object - properties: - UnreadCount: - type: integer - description: Gets or sets the number of unread notifications. - format: int32 - MaxUnreadNotificationLevel: - allOf: - - $ref: '#/components/schemas/NotificationLevel' - description: Gets or sets the maximum unread notification level. - nullable: true - additionalProperties: false - description: The notification summary DTO. - ObjectGroupUpdate: - type: object - properties: - GroupId: - type: string - description: Gets the group identifier. - format: uuid - Type: - allOf: - - $ref: '#/components/schemas/GroupUpdateType' - description: Gets the update type. - Data: - description: Gets the update data. - additionalProperties: false - description: Class GroupUpdate. OpenLiveStreamDto: type: object properties: @@ -33732,6 +33374,10 @@ components: type: boolean description: Gets or sets a value indicating whether to enale direct stream. nullable: true + AlwaysBurnInSubtitleWhenTranscoding: + type: boolean + description: Gets or sets a value indicating whether always burn in subtitles when transcoding. + nullable: true DeviceProfile: allOf: - $ref: '#/components/schemas/DeviceProfile' @@ -33744,6 +33390,119 @@ components: description: Gets or sets the device play protocols. additionalProperties: false description: Open live stream dto. + OutboundKeepAliveMessage: + type: object + properties: + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: KeepAlive + readOnly: true + additionalProperties: false + description: Keep alive websocket messages. + OutboundWebSocketMessage: + type: object + oneOf: + - $ref: '#/components/schemas/ActivityLogEntryMessage' + - $ref: '#/components/schemas/ForceKeepAliveMessage' + - $ref: '#/components/schemas/GeneralCommandMessage' + - $ref: '#/components/schemas/LibraryChangedMessage' + - $ref: '#/components/schemas/OutboundKeepAliveMessage' + - $ref: '#/components/schemas/PlayMessage' + - $ref: '#/components/schemas/PlaystateMessage' + - $ref: '#/components/schemas/PluginInstallationCancelledMessage' + - $ref: '#/components/schemas/PluginInstallationCompletedMessage' + - $ref: '#/components/schemas/PluginInstallationFailedMessage' + - $ref: '#/components/schemas/PluginInstallingMessage' + - $ref: '#/components/schemas/PluginUninstalledMessage' + - $ref: '#/components/schemas/RefreshProgressMessage' + - $ref: '#/components/schemas/RestartRequiredMessage' + - $ref: '#/components/schemas/ScheduledTaskEndedMessage' + - $ref: '#/components/schemas/ScheduledTasksInfoMessage' + - $ref: '#/components/schemas/SeriesTimerCancelledMessage' + - $ref: '#/components/schemas/SeriesTimerCreatedMessage' + - $ref: '#/components/schemas/ServerRestartingMessage' + - $ref: '#/components/schemas/ServerShuttingDownMessage' + - $ref: '#/components/schemas/SessionsMessage' + - $ref: '#/components/schemas/SyncPlayCommandMessage' + - $ref: '#/components/schemas/SyncPlayGroupUpdateCommandMessage' + - $ref: '#/components/schemas/TimerCancelledMessage' + - $ref: '#/components/schemas/TimerCreatedMessage' + - $ref: '#/components/schemas/UserDataChangedMessage' + - $ref: '#/components/schemas/UserDeletedMessage' + - $ref: '#/components/schemas/UserUpdatedMessage' + description: Represents the list of possible outbound websocket types + discriminator: + propertyName: MessageType + mapping: + ActivityLogEntry: '#/components/schemas/ActivityLogEntryMessage' + ForceKeepAlive: '#/components/schemas/ForceKeepAliveMessage' + GeneralCommand: '#/components/schemas/GeneralCommandMessage' + LibraryChanged: '#/components/schemas/LibraryChangedMessage' + KeepAlive: '#/components/schemas/OutboundKeepAliveMessage' + Play: '#/components/schemas/PlayMessage' + Playstate: '#/components/schemas/PlaystateMessage' + PackageInstallationCancelled: '#/components/schemas/PluginInstallationCancelledMessage' + PackageInstallationCompleted: '#/components/schemas/PluginInstallationCompletedMessage' + PackageInstallationFailed: '#/components/schemas/PluginInstallationFailedMessage' + PackageInstalling: '#/components/schemas/PluginInstallingMessage' + PackageUninstalled: '#/components/schemas/PluginUninstalledMessage' + RefreshProgress: '#/components/schemas/RefreshProgressMessage' + RestartRequired: '#/components/schemas/RestartRequiredMessage' + ScheduledTaskEnded: '#/components/schemas/ScheduledTaskEndedMessage' + ScheduledTasksInfo: '#/components/schemas/ScheduledTasksInfoMessage' + SeriesTimerCancelled: '#/components/schemas/SeriesTimerCancelledMessage' + SeriesTimerCreated: '#/components/schemas/SeriesTimerCreatedMessage' + ServerRestarting: '#/components/schemas/ServerRestartingMessage' + ServerShuttingDown: '#/components/schemas/ServerShuttingDownMessage' + Sessions: '#/components/schemas/SessionsMessage' + SyncPlayCommand: '#/components/schemas/SyncPlayCommandMessage' + SyncPlayGroupUpdate: '#/components/schemas/SyncPlayGroupUpdateCommandMessage' + TimerCancelled: '#/components/schemas/TimerCancelledMessage' + TimerCreated: '#/components/schemas/TimerCreatedMessage' + UserDataChanged: '#/components/schemas/UserDataChangedMessage' + UserDeleted: '#/components/schemas/UserDeletedMessage' + UserUpdated: '#/components/schemas/UserUpdatedMessage' PackageInfo: type: object properties: @@ -33788,6 +33547,7 @@ components: type: integer description: Gets or sets the value. format: int32 + nullable: true additionalProperties: false description: Class ParentalRating. PathSubstitution: @@ -33801,6 +33561,35 @@ components: description: Gets or sets the value to substitution with. additionalProperties: false description: Defines the MediaBrowser.Model.Configuration.PathSubstitution. + PersonKind: + enum: + - Unknown + - Actor + - Director + - Composer + - Writer + - GuestStar + - Producer + - Conductor + - Lyricist + - Arranger + - Engineer + - Mixer + - Remixer + - Creator + - Artist + - AlbumArtist + - Author + - Illustrator + - Penciller + - Inker + - Colorist + - Letterer + - CoverArtist + - Editor + - Translator + type: string + description: The person kind. PersonLookupInfo: type: object properties: @@ -33869,6 +33658,15 @@ components: type: boolean description: Gets or sets a value indicating whether disabled providers should be included. additionalProperties: false + PingRequestDto: + type: object + properties: + Ping: + type: integer + description: Gets or sets the ping time. + format: int64 + additionalProperties: false + description: Class PingRequestDto. PinRedeemResult: type: object properties: @@ -33881,94 +33679,11 @@ components: type: string description: Gets or sets the users reset. additionalProperties: false - PingRequestDto: - type: object - properties: - Ping: - type: integer - description: Gets or sets the ping time. - format: int64 - additionalProperties: false - description: Class PingRequestDto. PlayAccess: enum: - Full - None type: string - PlayCommand: - enum: - - PlayNow - - PlayNext - - PlayLast - - PlayInstantMix - - PlayShuffle - type: string - description: Enum PlayCommand. - PlayMethod: - enum: - - Transcode - - DirectStream - - DirectPlay - type: string - PlayRequest: - type: object - properties: - ItemIds: - type: array - items: - type: string - format: uuid - description: Gets or sets the item ids. - nullable: true - StartPositionTicks: - type: integer - description: Gets or sets the start position ticks that the first item should be played at. - format: int64 - nullable: true - PlayCommand: - allOf: - - $ref: '#/components/schemas/PlayCommand' - description: Gets or sets the play command. - ControllingUserId: - type: string - description: Gets or sets the controlling user identifier. - format: uuid - SubtitleStreamIndex: - type: integer - format: int32 - nullable: true - AudioStreamIndex: - type: integer - format: int32 - nullable: true - MediaSourceId: - type: string - nullable: true - StartIndex: - type: integer - format: int32 - nullable: true - additionalProperties: false - description: Class PlayRequest. - PlayRequestDto: - type: object - properties: - PlayingQueue: - type: array - items: - type: string - format: uuid - description: Gets or sets the playing queue. - PlayingItemPosition: - type: integer - description: Gets or sets the position of the playing item in the queue. - format: int32 - StartPositionTicks: - type: integer - description: Gets or sets the start position ticks. - format: int64 - additionalProperties: false - description: Class PlayRequestDto. PlaybackErrorCode: enum: - NotAllowed @@ -34045,6 +33760,10 @@ components: type: boolean description: Gets or sets a value indicating whether to auto open the live stream. nullable: true + AlwaysBurnInSubtitleWhenTranscoding: + type: boolean + description: Gets or sets a value indicating whether always burn in subtitles when transcoding. + nullable: true additionalProperties: false description: Plabyback info dto. PlaybackInfoResponse: @@ -34060,12 +33779,22 @@ components: description: Gets or sets the play session identifier. nullable: true ErrorCode: + enum: + - NotAllowed + - NoCompatibleStream + - RateLimitExceeded allOf: - $ref: '#/components/schemas/PlaybackErrorCode' description: Gets or sets the error code. nullable: true additionalProperties: false description: Class PlaybackInfoResponse. + PlaybackOrder: + enum: + - Default + - Shuffle + type: string + description: Enum PlaybackOrder. PlaybackProgressInfo: type: object properties: @@ -34127,6 +33856,10 @@ components: type: string nullable: true PlayMethod: + enum: + - Transcode + - DirectStream + - DirectPlay allOf: - $ref: '#/components/schemas/PlayMethod' description: Gets or sets the play method. @@ -34139,9 +33872,20 @@ components: description: Gets or sets the play session identifier. nullable: true RepeatMode: + enum: + - RepeatNone + - RepeatAll + - RepeatOne allOf: - $ref: '#/components/schemas/RepeatMode' description: Gets or sets the repeat mode. + PlaybackOrder: + enum: + - Default + - Shuffle + allOf: + - $ref: '#/components/schemas/PlaybackOrder' + description: Gets or sets the playback order. NowPlayingQueue: type: array items: @@ -34152,6 +33896,27 @@ components: nullable: true additionalProperties: false description: Class PlaybackProgressInfo. + PlaybackRequestType: + enum: + - Play + - SetPlaylistItem + - RemoveFromPlaylist + - MovePlaylistItem + - Queue + - Unpause + - Pause + - Stop + - Seek + - Buffer + - Ready + - NextItem + - PreviousItem + - SetRepeatMode + - SetShuffleMode + - Ping + - IgnoreWait + type: string + description: Enum PlaybackRequestType. PlaybackStartInfo: type: object properties: @@ -34213,6 +33978,10 @@ components: type: string nullable: true PlayMethod: + enum: + - Transcode + - DirectStream + - DirectPlay allOf: - $ref: '#/components/schemas/PlayMethod' description: Gets or sets the play method. @@ -34225,9 +33994,20 @@ components: description: Gets or sets the play session identifier. nullable: true RepeatMode: + enum: + - RepeatNone + - RepeatAll + - RepeatOne allOf: - $ref: '#/components/schemas/RepeatMode' description: Gets or sets the repeat mode. + PlaybackOrder: + enum: + - Default + - Shuffle + allOf: + - $ref: '#/components/schemas/PlaybackOrder' + description: Gets or sets the playback order. NowPlayingQueue: type: array items: @@ -34287,6 +34067,15 @@ components: nullable: true additionalProperties: false description: Class PlaybackStopInfo. + PlayCommand: + enum: + - PlayNow + - PlayNext + - PlayLast + - PlayInstantMix + - PlayShuffle + type: string + description: Enum PlayCommand. PlayerStateInfo: type: object properties: @@ -34324,14 +34113,29 @@ components: description: Gets or sets the now playing media version identifier. nullable: true PlayMethod: + enum: + - Transcode + - DirectStream + - DirectPlay allOf: - $ref: '#/components/schemas/PlayMethod' description: Gets or sets the play method. nullable: true RepeatMode: + enum: + - RepeatNone + - RepeatAll + - RepeatOne allOf: - $ref: '#/components/schemas/RepeatMode' description: Gets or sets the repeat mode. + PlaybackOrder: + enum: + - Default + - Shuffle + allOf: + - $ref: '#/components/schemas/PlaybackOrder' + description: Gets or sets the playback order. LiveStreamId: type: string description: Gets or sets the now playing live stream identifier. @@ -34343,6 +34147,262 @@ components: Id: type: string additionalProperties: false + PlaylistDto: + type: object + properties: + OpenAccess: + type: boolean + description: Gets or sets a value indicating whether the playlist is publicly readable. + Shares: + type: array + items: + $ref: '#/components/schemas/PlaylistUserPermissions' + description: Gets or sets the share permissions. + ItemIds: + type: array + items: + type: string + format: uuid + description: Gets or sets the item ids. + additionalProperties: false + description: DTO for playlists. + PlaylistUserPermissions: + type: object + properties: + UserId: + type: string + description: Gets or sets the user id. + format: uuid + CanEdit: + type: boolean + description: Gets or sets a value indicating whether the user has edit permissions. + additionalProperties: false + description: Class to hold data on user permissions for playlists. + PlayMessage: + type: object + properties: + Data: + allOf: + - $ref: '#/components/schemas/PlayRequest' + description: Class PlayRequest. + nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: Play + readOnly: true + additionalProperties: false + description: Play command websocket message. + PlayMethod: + enum: + - Transcode + - DirectStream + - DirectPlay + type: string + PlayQueueUpdate: + type: object + properties: + Reason: + enum: + - NewPlaylist + - SetCurrentItem + - RemoveItems + - MoveItem + - Queue + - QueueNext + - NextItem + - PreviousItem + - RepeatMode + - ShuffleMode + allOf: + - $ref: '#/components/schemas/PlayQueueUpdateReason' + description: Gets the request type that originated this update. + LastUpdate: + type: string + description: Gets the UTC time of the last change to the playing queue. + format: date-time + Playlist: + type: array + items: + $ref: '#/components/schemas/SyncPlayQueueItem' + description: Gets the playlist. + PlayingItemIndex: + type: integer + description: Gets the playing item index in the playlist. + format: int32 + StartPositionTicks: + type: integer + description: Gets the start position ticks. + format: int64 + IsPlaying: + type: boolean + description: Gets a value indicating whether the current item is playing. + ShuffleMode: + enum: + - Sorted + - Shuffle + allOf: + - $ref: '#/components/schemas/GroupShuffleMode' + description: Gets the shuffle mode. + RepeatMode: + enum: + - RepeatOne + - RepeatAll + - RepeatNone + allOf: + - $ref: '#/components/schemas/GroupRepeatMode' + description: Gets the repeat mode. + additionalProperties: false + description: Class PlayQueueUpdate. + PlayQueueUpdateGroupUpdate: + type: object + properties: + GroupId: + type: string + description: Gets the group identifier. + format: uuid + readOnly: true + Type: + enum: + - UserJoined + - UserLeft + - GroupJoined + - GroupLeft + - StateUpdate + - PlayQueue + - NotInGroup + - GroupDoesNotExist + - CreateGroupDenied + - JoinGroupDenied + - LibraryAccessDenied + allOf: + - $ref: '#/components/schemas/GroupUpdateType' + description: Gets the update type. + Data: + allOf: + - $ref: '#/components/schemas/PlayQueueUpdate' + description: Gets the update data. + additionalProperties: false + description: Class GroupUpdate. + PlayQueueUpdateReason: + enum: + - NewPlaylist + - SetCurrentItem + - RemoveItems + - MoveItem + - Queue + - QueueNext + - NextItem + - PreviousItem + - RepeatMode + - ShuffleMode + type: string + description: Enum PlayQueueUpdateReason. + PlayRequest: + type: object + properties: + ItemIds: + type: array + items: + type: string + format: uuid + description: Gets or sets the item ids. + nullable: true + StartPositionTicks: + type: integer + description: Gets or sets the start position ticks that the first item should be played at. + format: int64 + nullable: true + PlayCommand: + enum: + - PlayNow + - PlayNext + - PlayLast + - PlayInstantMix + - PlayShuffle + allOf: + - $ref: '#/components/schemas/PlayCommand' + description: Gets or sets the play command. + ControllingUserId: + type: string + description: Gets or sets the controlling user identifier. + format: uuid + SubtitleStreamIndex: + type: integer + format: int32 + nullable: true + AudioStreamIndex: + type: integer + format: int32 + nullable: true + MediaSourceId: + type: string + nullable: true + StartIndex: + type: integer + format: int32 + nullable: true + additionalProperties: false + description: Class PlayRequest. + PlayRequestDto: + type: object + properties: + PlayingQueue: + type: array + items: + type: string + format: uuid + description: Gets or sets the playing queue. + PlayingItemPosition: + type: integer + description: Gets or sets the position of the playing item in the queue. + format: int32 + StartPositionTicks: + type: integer + description: Gets or sets the start position ticks. + format: int64 + additionalProperties: false + description: Class PlayRequestDto. PlaystateCommand: enum: - Stop @@ -34356,10 +34416,75 @@ components: - PlayPause type: string description: Enum PlaystateCommand. + PlaystateMessage: + type: object + properties: + Data: + allOf: + - $ref: '#/components/schemas/PlaystateRequest' + description: Gets or sets the data. + nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: Playstate + readOnly: true + additionalProperties: false + description: Playstate message. PlaystateRequest: type: object properties: Command: + enum: + - Stop + - Pause + - Unpause + - NextTrack + - PreviousTrack + - Seek + - Rewind + - FastForward + - PlayPause allOf: - $ref: '#/components/schemas/PlaystateCommand' description: Enum PlaystateCommand. @@ -34399,11 +34524,239 @@ components: type: boolean description: Gets or sets a value indicating whether this plugin has a valid image. Status: + enum: + - Active + - Restart + - Deleted + - Superceded + - Malfunctioned + - NotSupported + - Disabled allOf: - $ref: '#/components/schemas/PluginStatus' description: Gets or sets a value indicating the status of the plugin. additionalProperties: false description: This is a serializable stub class that is used by the api to provide information about installed plugins. + PluginInstallationCancelledMessage: + type: object + properties: + Data: + allOf: + - $ref: '#/components/schemas/InstallationInfo' + description: Class InstallationInfo. + nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: PackageInstallationCancelled + readOnly: true + additionalProperties: false + description: Plugin installation cancelled message. + PluginInstallationCompletedMessage: + type: object + properties: + Data: + allOf: + - $ref: '#/components/schemas/InstallationInfo' + description: Class InstallationInfo. + nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: PackageInstallationCompleted + readOnly: true + additionalProperties: false + description: Plugin installation completed message. + PluginInstallationFailedMessage: + type: object + properties: + Data: + allOf: + - $ref: '#/components/schemas/InstallationInfo' + description: Class InstallationInfo. + nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: PackageInstallationFailed + readOnly: true + additionalProperties: false + description: Plugin installation failed message. + PluginInstallingMessage: + type: object + properties: + Data: + allOf: + - $ref: '#/components/schemas/InstallationInfo' + description: Class InstallationInfo. + nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: PackageInstalling + readOnly: true + additionalProperties: false + description: Package installing message. PluginStatus: enum: - Active @@ -34415,6 +34768,61 @@ components: - Disabled type: string description: Plugin load status. + PluginUninstalledMessage: + type: object + properties: + Data: + allOf: + - $ref: '#/components/schemas/PluginInfo' + description: This is a serializable stub class that is used by the api to provide information about installed plugins. + nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: PackageUninstalled + readOnly: true + additionalProperties: false + description: Plugin uninstalled message. PreviousItemRequestDto: type: object properties: @@ -34444,13 +34852,53 @@ components: type: string nullable: true additionalProperties: {} + ProcessPriorityClass: + enum: + - Normal + - Idle + - High + - RealTime + - BelowNormal + - AboveNormal + type: string ProfileCondition: type: object properties: Condition: + enum: + - Equals + - NotEquals + - LessThanEqual + - GreaterThanEqual + - EqualsAny allOf: - $ref: '#/components/schemas/ProfileConditionType' Property: + enum: + - AudioChannels + - AudioBitrate + - AudioProfile + - Width + - Height + - Has64BitOffsets + - PacketLength + - VideoBitDepth + - VideoBitrate + - VideoFramerate + - VideoLevel + - VideoProfile + - VideoTimestamp + - IsAnamorphic + - RefFrames + - NumAudioStreams + - NumVideoStreams + - IsSecondaryAudio + - VideoCodecTag + - IsAvc + - IsInterlaced + - AudioSampleRate + - AudioBitDepth + - VideoRangeType allOf: - $ref: '#/components/schemas/ProfileConditionValue' Value: @@ -34526,6 +34974,7 @@ components: type: string description: Gets or sets the operating system. nullable: true + deprecated: true Id: type: string description: Gets or sets the id. @@ -34594,6 +35043,9 @@ components: format: uuid description: Gets or sets the items to enqueue. Mode: + enum: + - Queue + - QueueNext allOf: - $ref: '#/components/schemas/GroupQueueMode' description: Gets or sets the mode in which to add the new items. @@ -34673,6 +35125,13 @@ components: $ref: '#/components/schemas/BaseItemDto' nullable: true RecommendationType: + enum: + - SimilarToRecentlyPlayed + - SimilarToLikedItem + - HasDirectorFromRecentlyPlayed + - HasActorFromRecentlyPlayed + - HasLikedDirector + - HasLikedActor allOf: - $ref: '#/components/schemas/RecommendationType' BaselineItemName: @@ -34701,6 +35160,63 @@ components: - ConflictedNotOk - Error type: string + RefreshProgressMessage: + type: object + properties: + Data: + type: object + additionalProperties: + type: string + nullable: true + description: Gets or sets the data. + nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: RefreshProgress + readOnly: true + additionalProperties: false + description: Refresh progress message. RemoteImageInfo: type: object properties: @@ -34741,10 +35257,27 @@ components: description: Gets or sets the language. nullable: true Type: + enum: + - Primary + - Art + - Backdrop + - Banner + - Logo + - Thumb + - Disc + - Box + - Screenshot + - Menu + - Chapter + - BoxRear + - Profile allOf: - $ref: '#/components/schemas/ImageType' description: Gets or sets the type. RatingType: + enum: + - Score + - Likes allOf: - $ref: '#/components/schemas/RatingType' description: Gets or sets the type of the rating. @@ -34771,6 +35304,21 @@ components: nullable: true additionalProperties: false description: Class RemoteImageResult. + RemoteLyricInfoDto: + type: object + properties: + Id: + type: string + description: Gets or sets the id for the lyric. + ProviderName: + type: string + description: Gets the provider name. + Lyrics: + allOf: + - $ref: '#/components/schemas/LyricDto' + description: Gets the lyrics. + additionalProperties: false + description: The remote lyric info dto. RemoteSearchResult: type: object properties: @@ -34857,6 +35405,10 @@ components: type: number format: float nullable: true + FrameRate: + type: number + format: float + nullable: true DownloadCount: type: integer format: int32 @@ -34864,6 +35416,18 @@ components: IsHashMatch: type: boolean nullable: true + AiTranslated: + type: boolean + nullable: true + MachineTranslated: + type: boolean + nullable: true + Forced: + type: boolean + nullable: true + HearingImpaired: + type: boolean + nullable: true additionalProperties: false RemoveFromPlaylistRequestDto: type: object @@ -34873,7 +35437,7 @@ components: items: type: string format: uuid - description: Gets or sets the playlist identifiers ot the items. Ignored when clearing the playlist. + description: Gets or sets the playlist identifiers of the items. Ignored when clearing the playlist. ClearPlaylist: type: boolean description: Gets or sets a value indicating whether the entire playlist should be cleared. @@ -34888,174 +35452,6 @@ components: - RepeatAll - RepeatOne type: string - ReportDisplayType: - enum: - - None - - Screen - - Export - - ScreenExport - type: string - ReportExportType: - enum: - - CSV - - Excel - type: string - ReportFieldType: - enum: - - String - - Boolean - - Date - - Time - - DateTime - - Int - - Image - - Object - - Minutes - type: string - ReportGroup: - type: object - properties: - Name: - type: string - Rows: - type: array - items: - $ref: '#/components/schemas/ReportRow' - additionalProperties: false - ReportHeader: - type: object - properties: - HeaderFieldType: - allOf: - - $ref: '#/components/schemas/ReportFieldType' - Name: - type: string - nullable: true - FieldName: - allOf: - - $ref: '#/components/schemas/HeaderMetadata' - SortField: - type: string - nullable: true - Type: - type: string - nullable: true - ItemViewType: - allOf: - - $ref: '#/components/schemas/ItemViewType' - Visible: - type: boolean - DisplayType: - allOf: - - $ref: '#/components/schemas/ReportDisplayType' - ShowHeaderLabel: - type: boolean - CanGroup: - type: boolean - additionalProperties: false - ReportIncludeItemTypes: - enum: - - MusicArtist - - MusicAlbum - - Book - - BoxSet - - Episode - - Video - - Movie - - MusicVideo - - Trailer - - Season - - Series - - Audio - - BaseItem - - Artist - type: string - ReportItem: - type: object - properties: - Id: - type: string - nullable: true - Name: - type: string - nullable: true - Image: - type: string - nullable: true - CustomTag: - type: string - nullable: true - additionalProperties: false - ReportPlaybackOptions: - type: object - properties: - MaxDataAge: - type: integer - format: int32 - BackupPath: - type: string - MaxBackupFiles: - type: integer - format: int32 - additionalProperties: false - ReportResult: - type: object - properties: - Rows: - type: array - items: - $ref: '#/components/schemas/ReportRow' - nullable: true - Headers: - type: array - items: - $ref: '#/components/schemas/ReportHeader' - nullable: true - Groups: - type: array - items: - $ref: '#/components/schemas/ReportGroup' - nullable: true - TotalRecordCount: - type: integer - format: int32 - IsGrouped: - type: boolean - additionalProperties: false - ReportRow: - type: object - properties: - Id: - type: string - nullable: true - HasImageTagsBackdrop: - type: boolean - HasImageTagsPrimary: - type: boolean - HasImageTagsLogo: - type: boolean - HasLocalTrailer: - type: boolean - HasLockData: - type: boolean - HasEmbeddedImage: - type: boolean - HasSubtitles: - type: boolean - HasSpecials: - type: boolean - Columns: - type: array - items: - $ref: '#/components/schemas/ReportItem' - nullable: true - RowType: - allOf: - - $ref: '#/components/schemas/ReportIncludeItemTypes' - UserId: - type: string - format: uuid - additionalProperties: false RepositoryInfo: type: object properties: @@ -35072,33 +35468,263 @@ components: description: Gets or sets a value indicating whether the repository is enabled. additionalProperties: false description: Class RepositoryInfo. - ResponseProfile: + RestartRequiredMessage: type: object properties: - Container: + MessageId: type: string - nullable: true - AudioCodec: - type: string - nullable: true - VideoCodec: - type: string - nullable: true - Type: + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive allOf: - - $ref: '#/components/schemas/DlnaProfileType' - OrgPn: - type: string + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: RestartRequired + readOnly: true + additionalProperties: false + description: Restart required. + ScheduledTaskEndedMessage: + type: object + properties: + Data: + allOf: + - $ref: '#/components/schemas/TaskResult' + description: Class TaskExecutionInfo. nullable: true - MimeType: + MessageId: type: string - nullable: true - Conditions: + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: ScheduledTaskEnded + readOnly: true + additionalProperties: false + description: Scheduled task ended message. + ScheduledTasksInfoMessage: + type: object + properties: + Data: type: array items: - $ref: '#/components/schemas/ProfileCondition' + $ref: '#/components/schemas/TaskInfo' + description: Gets or sets the data. nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: ScheduledTasksInfo + readOnly: true additionalProperties: false + description: Scheduled tasks info message. + ScheduledTasksInfoStartMessage: + type: object + properties: + Data: + type: string + description: Gets or sets the data. + nullable: true + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: ScheduledTasksInfoStart + readOnly: true + additionalProperties: false + description: "Scheduled tasks info start message.\r\nData is the timing data encoded as \"$initialDelay,$interval\" in ms." + ScheduledTasksInfoStopMessage: + type: object + properties: + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: ScheduledTasksInfoStop + readOnly: true + additionalProperties: false + description: Scheduled tasks info stop message. ScrollDirection: enum: - Horizontal @@ -35112,13 +35738,14 @@ components: type: string description: Gets or sets the item id. format: uuid + deprecated: true Id: type: string + description: Gets or sets the item id. format: uuid Name: type: string description: Gets or sets the name. - nullable: true MatchedTerm: type: string description: Gets or sets the matched term. @@ -35159,11 +35786,50 @@ components: description: Gets or sets the backdrop image item identifier. nullable: true Type: - type: string - description: Gets or sets the type. - nullable: true + enum: + - AggregateFolder + - Audio + - AudioBook + - BasePluginFolder + - Book + - BoxSet + - Channel + - ChannelFolderItem + - CollectionFolder + - Episode + - Folder + - Genre + - ManualPlaylistsFolder + - Movie + - LiveTvChannel + - LiveTvProgram + - MusicAlbum + - MusicArtist + - MusicGenre + - MusicVideo + - Person + - Photo + - PhotoAlbum + - Playlist + - PlaylistsFolder + - Program + - Recording + - Season + - Series + - Studio + - Trailer + - TvChannel + - TvProgram + - UserRootFolder + - UserView + - Video + - Year + allOf: + - $ref: '#/components/schemas/BaseItemKind' + description: The base item kind. IsFolder: type: boolean + description: Gets or sets a value indicating whether this instance is folder. nullable: true RunTimeTicks: type: integer @@ -35171,15 +35837,23 @@ components: format: int64 nullable: true MediaType: - type: string - description: Gets or sets the type of the media. - nullable: true + enum: + - Unknown + - Video + - Audio + - Photo + - Book + allOf: + - $ref: '#/components/schemas/MediaType' + description: Media types. StartDate: type: string + description: Gets or sets the start date. format: date-time nullable: true EndDate: type: string + description: Gets or sets the end date. format: date-time nullable: true Series: @@ -35188,6 +35862,7 @@ components: nullable: true Status: type: string + description: Gets or sets the status. nullable: true Album: type: string @@ -35195,7 +35870,9 @@ components: nullable: true AlbumId: type: string + description: Gets or sets the album id. format: uuid + nullable: true AlbumArtist: type: string description: Gets or sets the album artist. @@ -35205,7 +35882,6 @@ components: items: type: string description: Gets or sets the artists. - nullable: true SongCount: type: integer description: Gets or sets the song count. @@ -35220,6 +35896,7 @@ components: type: string description: Gets or sets the channel identifier. format: uuid + nullable: true ChannelName: type: string description: Gets or sets the name of the channel. @@ -35275,6 +35952,11 @@ components: format: int64 nullable: true Command: + enum: + - Unpause + - Pause + - Stop + - Seek allOf: - $ref: '#/components/schemas/SendCommandType' description: Gets the command. @@ -35292,12 +35974,6 @@ components: - Seek type: string description: Enum SendCommandType. - SendToUserType: - enum: - - All - - Admins - - Custom - type: string SeriesInfo: type: object properties: @@ -35370,8 +36046,119 @@ components: enum: - Continuing - Ended + - Unreleased type: string - description: Enum SeriesStatus. + description: The status of a series. + SeriesTimerCancelledMessage: + type: object + properties: + Data: + allOf: + - $ref: '#/components/schemas/TimerEventInfo' + description: Gets or sets the data. + nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: SeriesTimerCancelled + readOnly: true + additionalProperties: false + description: Series timer cancelled message. + SeriesTimerCreatedMessage: + type: object + properties: + Data: + allOf: + - $ref: '#/components/schemas/TimerEventInfo' + description: Gets or sets the data. + nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: SeriesTimerCreated + readOnly: true + additionalProperties: false + description: Series timer created message. SeriesTimerInfoDto: type: object properties: @@ -35462,6 +36249,11 @@ components: type: boolean description: Gets or sets a value indicating whether this instance is post padding required. KeepUntil: + enum: + - UntilDeleted + - UntilSpaceNeeded + - UntilWatched + - UntilDate allOf: - $ref: '#/components/schemas/KeepUntil' RecordAnyTime: @@ -35485,6 +36277,10 @@ components: description: Gets or sets the days. nullable: true DayPattern: + enum: + - Daily + - Weekdays + - Weekends allOf: - $ref: '#/components/schemas/DayPattern' description: Gets or sets the day pattern. @@ -35521,7 +36317,6 @@ components: items: $ref: '#/components/schemas/SeriesTimerInfoDto' description: Gets or sets the items. - nullable: true TotalRecordCount: type: integer description: Gets or sets the total number of records available. @@ -35531,6 +36326,7 @@ components: description: Gets or sets the index of the first record in Items. format: int32 additionalProperties: false + description: Query result container. ServerConfiguration: type: object properties: @@ -35572,8 +36368,6 @@ components: MetadataPath: type: string description: Gets or sets the metadata path. - MetadataNetworkPath: - type: string PreferredMetadataLanguage: type: string description: Gets or sets the preferred metadata language. @@ -35615,11 +36409,22 @@ components: type: integer description: Gets or sets the remaining minutes of a book that can be played while still saving playstate. If this percentage is crossed playstate will be reset to the beginning and the item will be marked watched. format: int32 + InactiveSessionThreshold: + type: integer + description: "Gets or sets the threshold in minutes after a inactive session gets closed automatically.\r\nIf set to 0 the check for inactive sessions gets disabled." + format: int32 LibraryMonitorDelay: type: integer description: "Gets or sets the delay in seconds that we will wait after a file system change to try and discover what has been added/removed\r\nSome delay is necessary with some items because their creation is not atomic. It involves the creation of several\r\ndifferent directories and files." format: int32 + LibraryUpdateDuration: + type: integer + description: Gets or sets the duration in seconds that we will wait after a library updated event before executing the library changed notification. + format: int32 ImageSavingConvention: + enum: + - Legacy + - Compatible allOf: - $ref: '#/components/schemas/ImageSavingConvention' description: Gets or sets the image saving convention. @@ -35696,6 +36501,37 @@ components: AllowClientLogUpload: type: boolean description: Gets or sets a value indicating whether clients should be allowed to upload logs. + DummyChapterDuration: + type: integer + description: Gets or sets the dummy chapter duration in seconds, use 0 (zero) or less to disable generation alltogether. + format: int32 + ChapterImageResolution: + enum: + - MatchSource + - P144 + - P240 + - P360 + - P480 + - P720 + - P1080 + - P1440 + - P2160 + allOf: + - $ref: '#/components/schemas/ImageResolution' + description: Gets or sets the chapter image resolution. + ParallelImageEncodingLimit: + type: integer + description: Gets or sets the limit for parallel image encoding. + format: int32 + CastReceiverApplications: + type: array + items: + $ref: '#/components/schemas/CastReceiverApplication' + description: Gets or sets the list of cast receiver applications. + TrickplayOptions: + allOf: + - $ref: '#/components/schemas/TrickplayOptions' + description: Gets or sets the trickplay options. additionalProperties: false description: Represents the server configuration. ServerDiscoveryInfo: @@ -35716,21 +36552,124 @@ components: nullable: true additionalProperties: false description: The server discovery info model. - SessionInfo: + ServerRestartingMessage: + type: object + properties: + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: ServerRestarting + readOnly: true + additionalProperties: false + description: Server restarting down message. + ServerShuttingDownMessage: + type: object + properties: + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: ServerShuttingDown + readOnly: true + additionalProperties: false + description: Server shutting down message. + SessionInfoDto: type: object properties: PlayState: allOf: - $ref: '#/components/schemas/PlayerStateInfo' + description: Gets or sets the play state. nullable: true AdditionalUsers: type: array items: $ref: '#/components/schemas/SessionUserInfo' + description: Gets or sets the additional users. nullable: true Capabilities: allOf: - - $ref: '#/components/schemas/ClientCapabilities' + - $ref: '#/components/schemas/ClientCapabilitiesDto' + description: Gets or sets the client capabilities. nullable: true RemoteEndPoint: type: string @@ -35739,10 +36678,8 @@ components: PlayableMediaTypes: type: array items: - type: string - description: Gets the playable media types. - nullable: true - readOnly: true + $ref: '#/components/schemas/MediaType' + description: Gets or sets the playable media types. Id: type: string description: Gets or sets the id. @@ -35767,6 +36704,11 @@ components: type: string description: Gets or sets the last playback check in. format: date-time + LastPausedDate: + type: string + description: Gets or sets the last paused date. + format: date-time + nullable: true DeviceName: type: string description: Gets or sets the name of the device. @@ -35778,17 +36720,12 @@ components: NowPlayingItem: allOf: - $ref: '#/components/schemas/BaseItemDto' - description: "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." - nullable: true - FullNowPlayingItem: - allOf: - - $ref: '#/components/schemas/BaseItem' - description: Class BaseItem. + description: Gets or sets the now playing item. nullable: true NowViewingItem: allOf: - $ref: '#/components/schemas/BaseItemDto' - description: "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." + description: Gets or sets the now viewing item. nullable: true DeviceId: type: string @@ -35801,47 +36738,51 @@ components: TranscodingInfo: allOf: - $ref: '#/components/schemas/TranscodingInfo' + description: Gets or sets the transcoding info. nullable: true IsActive: type: boolean - description: Gets a value indicating whether this instance is active. - readOnly: true + description: Gets or sets a value indicating whether this session is active. SupportsMediaControl: type: boolean - readOnly: true + description: Gets or sets a value indicating whether the session supports media control. SupportsRemoteControl: type: boolean - readOnly: true + description: Gets or sets a value indicating whether the session supports remote control. NowPlayingQueue: type: array items: $ref: '#/components/schemas/QueueItem' + description: Gets or sets the now playing queue. nullable: true NowPlayingQueueFullItems: type: array items: $ref: '#/components/schemas/BaseItemDto' + description: Gets or sets the now playing queue full items. nullable: true HasCustomDeviceName: type: boolean + description: Gets or sets a value indicating whether the session has a custom device name. PlaylistItemId: type: string + description: Gets or sets the playlist item id. nullable: true ServerId: type: string + description: Gets or sets the server id. nullable: true UserPrimaryImageTag: type: string + description: Gets or sets the user primary image tag. nullable: true SupportedCommands: type: array items: $ref: '#/components/schemas/GeneralCommandType' - description: Gets the supported commands. - nullable: true - readOnly: true + description: Gets or sets the supported commands. additionalProperties: false - description: Class SessionInfo. + description: Session info DTO. SessionMessageType: enum: - ForceKeepAlive @@ -35880,6 +36821,158 @@ components: - KeepAlive type: string description: The different kinds of messages that are used in the WebSocket api. + SessionsMessage: + type: object + properties: + Data: + type: array + items: + $ref: '#/components/schemas/SessionInfoDto' + description: Gets or sets the data. + nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: Sessions + readOnly: true + additionalProperties: false + description: Sessions message. + SessionsStartMessage: + type: object + properties: + Data: + type: string + description: Gets or sets the data. + nullable: true + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: SessionsStart + readOnly: true + additionalProperties: false + description: "Sessions start message.\r\nData is the timing data encoded as \"$initialDelay,$interval\" in ms." + SessionsStopMessage: + type: object + properties: + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: SessionsStop + readOnly: true + additionalProperties: false + description: Sessions stop message. SessionUserInfo: type: object properties: @@ -35924,6 +37017,10 @@ components: type: object properties: Mode: + enum: + - RepeatOne + - RepeatAll + - RepeatNone allOf: - $ref: '#/components/schemas/GroupRepeatMode' description: Gets or sets the repeat mode. @@ -35933,6 +37030,9 @@ components: type: object properties: Mode: + enum: + - Sorted + - Shuffle allOf: - $ref: '#/components/schemas/GroupShuffleMode' description: Gets or sets the shuffle mode. @@ -36064,6 +37164,35 @@ components: nullable: true additionalProperties: false description: The startup user DTO. + StringGroupUpdate: + type: object + properties: + GroupId: + type: string + description: Gets the group identifier. + format: uuid + readOnly: true + Type: + enum: + - UserJoined + - UserLeft + - GroupJoined + - GroupLeft + - StateUpdate + - PlayQueue + - NotInGroup + - GroupDoesNotExist + - CreateGroupDenied + - JoinGroupDenied + - LibraryAccessDenied + allOf: + - $ref: '#/components/schemas/GroupUpdateType' + description: Gets the update type. + Data: + type: string + description: Gets the update data. + additionalProperties: false + description: Class GroupUpdate. SubtitleDeliveryMethod: enum: - Encode @@ -36114,21 +37243,156 @@ components: properties: Format: type: string + description: Gets or sets the format. nullable: true Method: + enum: + - Encode + - Embed + - External + - Hls + - Drop allOf: - $ref: '#/components/schemas/SubtitleDeliveryMethod' - description: Delivery method to use during playback of a specific subtitle format. + description: Gets or sets the delivery method. DidlMode: type: string + description: Gets or sets the DIDL mode. nullable: true Language: type: string + description: Gets or sets the language. nullable: true Container: type: string + description: Gets or sets the container. nullable: true additionalProperties: false + description: A class for subtitle profile information. + SyncPlayCommandMessage: + type: object + properties: + Data: + allOf: + - $ref: '#/components/schemas/SendCommand' + description: Class SendCommand. + nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: SyncPlayCommand + readOnly: true + additionalProperties: false + description: Sync play command. + SyncPlayGroupUpdateCommandMessage: + type: object + properties: + Data: + allOf: + - $ref: '#/components/schemas/GroupUpdate' + description: Group update without data. + nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: SyncPlayGroupUpdate + readOnly: true + additionalProperties: false + description: Untyped sync play command. + SyncPlayQueueItem: + type: object + properties: + ItemId: + type: string + description: Gets the item identifier. + format: uuid + PlaylistItemId: + type: string + description: Gets the playlist identifier of the item. + format: uuid + readOnly: true + additionalProperties: false + description: Class QueueItem. SyncPlayUserAccessType: enum: - CreateAndJoinGroups @@ -36159,6 +37423,7 @@ components: type: string description: Gets or sets the operating system. nullable: true + deprecated: true Id: type: string description: Gets or sets the id. @@ -36171,6 +37436,7 @@ components: type: string description: Gets or sets the display name of the operating system. nullable: true + deprecated: true PackageName: type: string description: Gets or sets the package name. @@ -36196,8 +37462,12 @@ components: CanSelfRestart: type: boolean description: Gets or sets a value indicating whether this instance can self restart. + default: true + deprecated: true CanLaunchWebBrowser: type: boolean + default: false + deprecated: true ProgramDataPath: type: string description: Gets or sets the program data path. @@ -36226,18 +37496,27 @@ components: type: string description: Gets or sets the transcode path. nullable: true + CastReceiverApplications: + type: array + items: + $ref: '#/components/schemas/CastReceiverApplication' + description: Gets or sets the list of cast receiver applications. + nullable: true HasUpdateAvailable: type: boolean description: Gets or sets a value indicating whether this instance has update available. + default: false deprecated: true EncoderLocation: - allOf: - - $ref: '#/components/schemas/FFmpegLocation' - description: Enum describing the location of the FFmpeg tool. + type: string + default: System + nullable: true deprecated: true SystemArchitecture: - allOf: - - $ref: '#/components/schemas/Architecture' + type: string + default: X64 + nullable: true + deprecated: true additionalProperties: false description: Class SystemInfo. TaskCompletionStatus: @@ -36256,6 +37535,10 @@ components: description: Gets or sets the name. nullable: true State: + enum: + - Idle + - Cancelling + - Running allOf: - $ref: '#/components/schemas/TaskState' description: Gets or sets the state of the task. @@ -36308,6 +37591,11 @@ components: description: Gets or sets the end time UTC. format: date-time Status: + enum: + - Completed + - Failed + - Cancelled + - Aborted allOf: - $ref: '#/components/schemas/TaskCompletionStatus' description: Gets or sets the status. @@ -36358,6 +37646,14 @@ components: format: int64 nullable: true DayOfWeek: + enum: + - Sunday + - Monday + - Tuesday + - Wednesday + - Thursday + - Friday + - Saturday allOf: - $ref: '#/components/schemas/DayOfWeek' description: Gets or sets the day of week. @@ -36377,7 +37673,6 @@ components: items: $ref: '#/components/schemas/BaseItemDto' description: Gets or sets the items. - nullable: true TotalRecordCount: type: integer description: Gets or sets the total number of records available. @@ -36392,6 +37687,116 @@ components: format: uuid additionalProperties: false description: Class ThemeMediaResult. + TimerCancelledMessage: + type: object + properties: + Data: + allOf: + - $ref: '#/components/schemas/TimerEventInfo' + description: Gets or sets the data. + nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: TimerCancelled + readOnly: true + additionalProperties: false + description: Timer cancelled message. + TimerCreatedMessage: + type: object + properties: + Data: + allOf: + - $ref: '#/components/schemas/TimerEventInfo' + description: Gets or sets the data. + nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: TimerCreated + readOnly: true + additionalProperties: false + description: Timer created message. TimerEventInfo: type: object properties: @@ -36492,9 +37897,22 @@ components: type: boolean description: Gets or sets a value indicating whether this instance is post padding required. KeepUntil: + enum: + - UntilDeleted + - UntilSpaceNeeded + - UntilWatched + - UntilDate allOf: - $ref: '#/components/schemas/KeepUntil' Status: + enum: + - New + - InProgress + - Completed + - Cancelled + - ConflictedOk + - ConflictedNotOk + - Error allOf: - $ref: '#/components/schemas/RecordingStatus' description: Gets or sets the status. @@ -36525,7 +37943,6 @@ components: items: $ref: '#/components/schemas/TimerInfoDto' description: Gets or sets the items. - nullable: true TotalRecordCount: type: integer description: Gets or sets the total number of records available. @@ -36535,6 +37952,35 @@ components: description: Gets or sets the index of the first record in Items. format: int32 additionalProperties: false + description: Query result container. + TonemappingAlgorithm: + enum: + - none + - clip + - linear + - gamma + - reinhard + - hable + - mobius + - bt2390 + type: string + description: Enum containing tonemapping algorithms. + TonemappingMode: + enum: + - auto + - max + - rgb + - lum + - itp + type: string + description: Enum containing tonemapping modes. + TonemappingRange: + enum: + - auto + - tv + - pc + type: string + description: Enum containing tonemapping ranges. TrailerInfo: type: object properties: @@ -36630,6 +38076,7 @@ components: - UnknownAudioStreamInfo - DirectPlayError - VideoRangeTypeNotSupported + - VideoCodecTagNotSupported type: string TranscodeSeekInfo: enum: @@ -36641,109 +38088,297 @@ components: properties: AudioCodec: type: string + description: Gets or sets the thread count used for encoding. nullable: true VideoCodec: type: string + description: Gets or sets the thread count used for encoding. nullable: true Container: type: string + description: Gets or sets the thread count used for encoding. nullable: true IsVideoDirect: type: boolean + description: Gets or sets a value indicating whether the video is passed through. IsAudioDirect: type: boolean + description: Gets or sets a value indicating whether the audio is passed through. Bitrate: type: integer + description: Gets or sets the bitrate. format: int32 nullable: true Framerate: type: number + description: Gets or sets the framerate. format: float nullable: true CompletionPercentage: type: number + description: Gets or sets the completion percentage. format: double nullable: true Width: type: integer + description: Gets or sets the video width. format: int32 nullable: true Height: type: integer + description: Gets or sets the video height. format: int32 nullable: true AudioChannels: type: integer + description: Gets or sets the audio channels. format: int32 nullable: true HardwareAccelerationType: + enum: + - none + - amf + - qsv + - nvenc + - v4l2m2m + - vaapi + - videotoolbox + - rkmpp allOf: - - $ref: '#/components/schemas/HardwareEncodingType' + - $ref: '#/components/schemas/HardwareAccelerationType' + description: Gets or sets the hardware acceleration type. nullable: true TranscodeReasons: + enum: + - ContainerNotSupported + - VideoCodecNotSupported + - AudioCodecNotSupported + - SubtitleCodecNotSupported + - AudioIsExternal + - SecondaryAudioNotSupported + - VideoProfileNotSupported + - VideoLevelNotSupported + - VideoResolutionNotSupported + - VideoBitDepthNotSupported + - VideoFramerateNotSupported + - RefFramesNotSupported + - AnamorphicVideoNotSupported + - InterlacedVideoNotSupported + - AudioChannelsNotSupported + - AudioProfileNotSupported + - AudioSampleRateNotSupported + - AudioBitDepthNotSupported + - ContainerBitrateExceedsLimit + - VideoBitrateNotSupported + - AudioBitrateNotSupported + - UnknownVideoStreamInfo + - UnknownAudioStreamInfo + - DirectPlayError + - VideoRangeTypeNotSupported + - VideoCodecTagNotSupported type: array items: $ref: '#/components/schemas/TranscodeReason' + description: Gets or sets the transcode reasons. additionalProperties: false + description: Class holding information on a runnning transcode. TranscodingProfile: type: object properties: Container: type: string + description: Gets or sets the container. Type: + enum: + - Audio + - Video + - Photo + - Subtitle + - Lyric allOf: - $ref: '#/components/schemas/DlnaProfileType' + description: Gets or sets the DLNA profile type. VideoCodec: type: string + description: Gets or sets the video codec. AudioCodec: type: string + description: Gets or sets the audio codec. Protocol: - type: string + enum: + - http + - hls + allOf: + - $ref: '#/components/schemas/MediaStreamProtocol' + description: "Media streaming protocol.\r\nLowercase for backwards compatibility." EstimateContentLength: type: boolean + description: Gets or sets a value indicating whether the content length should be estimated. default: false EnableMpegtsM2TsMode: type: boolean + description: Gets or sets a value indicating whether M2TS mode is enabled. default: false TranscodeSeekInfo: + enum: + - Auto + - Bytes allOf: - $ref: '#/components/schemas/TranscodeSeekInfo' + description: Gets or sets the transcoding seek info mode. default: Auto CopyTimestamps: type: boolean + description: Gets or sets a value indicating whether timestamps should be copied. default: false Context: + enum: + - Streaming + - Static allOf: - $ref: '#/components/schemas/EncodingContext' + description: Gets or sets the encoding context. default: Streaming EnableSubtitlesInManifest: type: boolean + description: Gets or sets a value indicating whether subtitles are allowed in the manifest. default: false MaxAudioChannels: type: string + description: Gets or sets the maximum audio channels. nullable: true MinSegments: type: integer + description: Gets or sets the minimum amount of segments. format: int32 default: 0 SegmentLength: type: integer + description: Gets or sets the segment length. format: int32 default: 0 BreakOnNonKeyFrames: type: boolean + description: Gets or sets a value indicating whether breaking the video stream on non-keyframes is supported. default: false Conditions: type: array items: $ref: '#/components/schemas/ProfileCondition' + description: Gets or sets the profile conditions. + EnableAudioVbrEncoding: + type: boolean + description: Gets or sets a value indicating whether variable bitrate encoding is supported. + default: true additionalProperties: false + description: A class for transcoding profile information. TransportStreamTimestamp: enum: - None - Zero - Valid type: string + TrickplayInfo: + type: object + properties: + Width: + type: integer + description: Gets or sets width of an individual thumbnail. + format: int32 + Height: + type: integer + description: Gets or sets height of an individual thumbnail. + format: int32 + TileWidth: + type: integer + description: Gets or sets amount of thumbnails per row. + format: int32 + TileHeight: + type: integer + description: Gets or sets amount of thumbnails per column. + format: int32 + ThumbnailCount: + type: integer + description: Gets or sets total amount of non-black thumbnails. + format: int32 + Interval: + type: integer + description: Gets or sets interval in milliseconds between each trickplay thumbnail. + format: int32 + Bandwidth: + type: integer + description: Gets or sets peak bandwith usage in bits per second. + format: int32 + additionalProperties: false + description: An entity representing the metadata for a group of trickplay tiles. + TrickplayOptions: + type: object + properties: + EnableHwAcceleration: + type: boolean + description: Gets or sets a value indicating whether or not to use HW acceleration. + EnableHwEncoding: + type: boolean + description: Gets or sets a value indicating whether or not to use HW accelerated MJPEG encoding. + EnableKeyFrameOnlyExtraction: + type: boolean + description: "Gets or sets a value indicating whether to only extract key frames.\r\nSignificantly faster, but is not compatible with all decoders and/or video files." + ScanBehavior: + enum: + - Blocking + - NonBlocking + allOf: + - $ref: '#/components/schemas/TrickplayScanBehavior' + description: Gets or sets the behavior used by trickplay provider on library scan/update. + ProcessPriority: + enum: + - Normal + - Idle + - High + - RealTime + - BelowNormal + - AboveNormal + allOf: + - $ref: '#/components/schemas/ProcessPriorityClass' + description: Gets or sets the process priority for the ffmpeg process. + Interval: + type: integer + description: Gets or sets the interval, in ms, between each new trickplay image. + format: int32 + WidthResolutions: + type: array + items: + type: integer + format: int32 + description: Gets or sets the target width resolutions, in px, to generates preview images for. + TileWidth: + type: integer + description: Gets or sets number of tile images to allow in X dimension. + format: int32 + TileHeight: + type: integer + description: Gets or sets number of tile images to allow in Y dimension. + format: int32 + Qscale: + type: integer + description: Gets or sets the ffmpeg output quality level. + format: int32 + JpegQuality: + type: integer + description: Gets or sets the jpeg quality to use for image tiles. + format: int32 + ProcessThreads: + type: integer + description: Gets or sets the number of threads to be used by ffmpeg. + format: int32 + additionalProperties: false + description: Class TrickplayOptions. + TrickplayScanBehavior: + enum: + - Blocking + - NonBlocking + type: string + description: Enum TrickplayScanBehavior. TunerChannelMapping: type: object properties: @@ -36782,6 +38417,13 @@ components: type: boolean AllowHWTranscoding: type: boolean + AllowFmp4TranscodingContainer: + type: boolean + AllowStreamSharing: + type: boolean + FallbackMaxStreamingBitrate: + type: integer + format: int32 EnableStreamLooping: type: boolean Source: @@ -36793,6 +38435,8 @@ components: UserAgent: type: string nullable: true + IgnoreDts: + type: boolean additionalProperties: false TypeOptions: type: object @@ -36868,22 +38512,96 @@ components: description: Gets or sets library folder path information. additionalProperties: false description: Update library options dto. - UpdateUserEasyPassword: + UpdatePlaylistDto: type: object properties: - NewPassword: + Name: type: string - description: Gets or sets the new sha1-hashed password. + description: Gets or sets the name of the new playlist. nullable: true - NewPw: - type: string - description: Gets or sets the new password. + Ids: + type: array + items: + type: string + format: uuid + description: Gets or sets item ids of the playlist. nullable: true - ResetPassword: + Users: + type: array + items: + $ref: '#/components/schemas/PlaylistUserPermissions' + description: Gets or sets the playlist users. + nullable: true + IsPublic: type: boolean - description: Gets or sets a value indicating whether to reset the password. + description: Gets or sets a value indicating whether the playlist is public. + nullable: true additionalProperties: false - description: The update user easy password request body. + description: Update existing playlist dto. Fields set to `null` will not be updated and keep their current values. + UpdatePlaylistUserDto: + type: object + properties: + CanEdit: + type: boolean + description: Gets or sets a value indicating whether the user can edit the playlist. + nullable: true + additionalProperties: false + description: Update existing playlist user dto. Fields set to `null` will not be updated and keep their current values. + UpdateUserItemDataDto: + type: object + properties: + Rating: + type: number + description: Gets or sets the rating. + format: double + nullable: true + PlayedPercentage: + type: number + description: Gets or sets the played percentage. + format: double + nullable: true + UnplayedItemCount: + type: integer + description: Gets or sets the unplayed item count. + format: int32 + nullable: true + PlaybackPositionTicks: + type: integer + description: Gets or sets the playback position ticks. + format: int64 + nullable: true + PlayCount: + type: integer + description: Gets or sets the play count. + format: int32 + nullable: true + IsFavorite: + type: boolean + description: Gets or sets a value indicating whether this instance is favorite. + nullable: true + Likes: + type: boolean + description: Gets or sets a value indicating whether this MediaBrowser.Model.Dto.UpdateUserItemDataDto is likes. + nullable: true + LastPlayedDate: + type: string + description: Gets or sets the last played date. + format: date-time + nullable: true + Played: + type: boolean + description: Gets or sets a value indicating whether this MediaBrowser.Model.Dto.UserItemDataDto is played. + nullable: true + Key: + type: string + description: Gets or sets the key. + nullable: true + ItemId: + type: string + description: Gets or sets the item identifier. + nullable: true + additionalProperties: false + description: This is used by the api to get information about a item user data. UpdateUserPassword: type: object properties: @@ -36909,6 +38627,7 @@ components: - Data - Format - IsForced + - IsHearingImpaired - Language type: object properties: @@ -36921,6 +38640,9 @@ components: IsForced: type: boolean description: Gets or sets a value indicating whether the subtitle is forced. + IsHearingImpaired: + type: boolean + description: Gets or sets a value indicating whether the subtitle is for hearing impaired. Data: type: string description: Gets or sets the subtitle data. @@ -36946,7 +38668,14 @@ components: type: array items: type: string + format: uuid SubtitleMode: + enum: + - Default + - Always + - OnlyForced + - None + - Smart allOf: - $ref: '#/components/schemas/SubtitlePlaybackMode' description: An enum representing a subtitle playback mode. @@ -36958,14 +38687,17 @@ components: type: array items: type: string + format: uuid LatestItemsExcludes: type: array items: type: string + format: uuid MyMediaExcludes: type: array items: type: string + format: uuid HidePlayedInLatest: type: boolean RememberAudioSelections: @@ -36974,8 +38706,135 @@ components: type: boolean EnableNextEpisodeAutoPlay: type: boolean + CastReceiverId: + type: string + description: Gets or sets the id of the selected cast receiver. + nullable: true additionalProperties: false description: Class UserConfiguration. + UserDataChangedMessage: + type: object + properties: + Data: + allOf: + - $ref: '#/components/schemas/UserDataChangeInfo' + description: Class UserDataChangeInfo. + nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: UserDataChanged + readOnly: true + additionalProperties: false + description: User data changed message. + UserDataChangeInfo: + type: object + properties: + UserId: + type: string + description: Gets or sets the user id. + format: uuid + UserDataList: + type: array + items: + $ref: '#/components/schemas/UserItemDataDto' + description: Gets or sets the user data list. + additionalProperties: false + description: Class UserDataChangeInfo. + UserDeletedMessage: + type: object + properties: + Data: + type: string + description: Gets or sets the data. + format: uuid + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: UserDeleted + readOnly: true + additionalProperties: false + description: User deleted message. UserDto: type: object properties: @@ -37008,6 +38867,7 @@ components: HasConfiguredEasyPassword: type: boolean description: Gets or sets a value indicating whether this instance has configured easy password. + deprecated: true EnableAutoLogin: type: boolean description: Gets or sets whether async login is enabled or not. @@ -37083,14 +38943,16 @@ components: Key: type: string description: Gets or sets the key. - nullable: true ItemId: type: string description: Gets or sets the item identifier. - nullable: true + format: uuid additionalProperties: false description: Class UserItemDataDto. UserPolicy: + required: + - AuthenticationProviderId + - PasswordResetProviderId type: object properties: IsAdministrator: @@ -37099,6 +38961,18 @@ components: IsHidden: type: boolean description: Gets or sets a value indicating whether this instance is hidden. + EnableCollectionManagement: + type: boolean + description: Gets or sets a value indicating whether this instance can manage collections. + default: false + EnableSubtitleManagement: + type: boolean + description: Gets or sets a value indicating whether this instance can manage subtitles. + default: false + EnableLyricManagement: + type: boolean + description: Gets or sets a value indicating whether this user can manage lyrics. + default: false IsDisabled: type: boolean description: Gets or sets a value indicating whether this instance is disabled. @@ -37112,6 +38986,11 @@ components: items: type: string nullable: true + AllowedTags: + type: array + items: + type: string + nullable: true EnableUserPreferenceAccess: type: boolean AccessSchedules: @@ -37209,15 +39088,72 @@ components: format: int32 AuthenticationProviderId: type: string - nullable: true PasswordResetProviderId: type: string - nullable: true SyncPlayAccess: + enum: + - CreateAndJoinGroups + - JoinGroups + - None allOf: - $ref: '#/components/schemas/SyncPlayUserAccessType' - description: Gets or sets a value indicating what SyncPlay features the user can access. + description: Enum SyncPlayUserAccessType. additionalProperties: false + UserUpdatedMessage: + type: object + properties: + Data: + allOf: + - $ref: '#/components/schemas/UserDto' + description: Class UserDto. + nullable: true + MessageId: + type: string + description: Gets or sets the message id. + format: uuid + MessageType: + enum: + - ForceKeepAlive + - GeneralCommand + - UserDataChanged + - Sessions + - Play + - SyncPlayCommand + - SyncPlayGroupUpdate + - Playstate + - RestartRequired + - ServerShuttingDown + - ServerRestarting + - LibraryChanged + - UserDeleted + - UserUpdated + - SeriesTimerCreated + - TimerCreated + - SeriesTimerCancelled + - TimerCancelled + - RefreshProgress + - ScheduledTaskEnded + - PackageInstallationCancelled + - PackageInstallationFailed + - PackageInstallationCompleted + - PackageInstalling + - PackageUninstalled + - ActivityLogEntry + - ScheduledTasksInfo + - ActivityLogEntryStart + - ActivityLogEntryStop + - SessionsStart + - SessionsStop + - ScheduledTasksInfoStart + - ScheduledTasksInfoStop + - KeepAlive + allOf: + - $ref: '#/components/schemas/SessionMessageType' + description: The different kinds of messages that are used in the WebSocket api. + default: UserUpdated + readOnly: true + additionalProperties: false + description: User updated message. UtcTimeResponse: type: object properties: @@ -37293,6 +39229,26 @@ components: - HalfTopAndBottom - MVC type: string + VideoRange: + enum: + - Unknown + - SDR + - HDR + type: string + description: An enum representing video ranges. + VideoRangeType: + enum: + - Unknown + - SDR + - HDR10 + - HLG + - DOVI + - DOVIWithHDR10 + - DOVIWithHLG + - DOVIWithSDR + - HDR10Plus + type: string + description: An enum representing types of video ranges. VideoType: enum: - VideoFile @@ -37315,6 +39271,15 @@ components: description: Gets or sets the locations. nullable: true CollectionType: + enum: + - movies + - tvshows + - music + - musicvideos + - homevideos + - boxsets + - books + - mixed allOf: - $ref: '#/components/schemas/CollectionTypeOptions' description: Gets or sets the type of the collection. @@ -37353,6 +39318,12 @@ components: format: int32 additionalProperties: false description: Provides the MAC address and port for wake-on-LAN functionality. + WebSocketMessage: + type: object + oneOf: + - $ref: '#/components/schemas/InboundWebSocketMessage' + - $ref: '#/components/schemas/OutboundWebSocketMessage' + description: Represents the possible websocket types XbmcMetadataOptions: type: object properties: @@ -37368,19 +39339,6 @@ components: EnableExtraThumbsDuplication: type: boolean additionalProperties: false - XmlAttribute: - type: object - properties: - Name: - type: string - description: Gets or sets the name of the attribute. - nullable: true - Value: - type: string - description: Gets or sets the value of the attribute. - nullable: true - additionalProperties: false - description: Defines the MediaBrowser.Model.Dlna.XmlAttribute. securitySchemes: CustomAuthentication: type: apiKey diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/jellyfin-openapi-10.8.13.yaml b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/specifications/yaml/jellyfin-openapi-10.8.13.yaml similarity index 96% rename from bundles/org.openhab.binding.jellyfin/tools/openAPI/jellyfin-openapi-10.8.13.yaml rename to bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/specifications/yaml/jellyfin-openapi-10.8.13.yaml index ded3a816c58..cb216725206 100644 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/jellyfin-openapi-10.8.13.yaml +++ b/bundles/org.openhab.binding.jellyfin/src/main/java/org/openhab/binding/jellyfin/internal/api/specifications/yaml/jellyfin-openapi-10.8.13.yaml @@ -4,7 +4,7 @@ info: version: 10.8.13 x-jellyfin-version: 10.8.13 servers: - - url: http://nuc.ehrendingen:8096 + - url: http://localhost paths: /System/ActivityLog/Entries: get: @@ -360,6 +360,45 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /Artists/{name}: + get: + tags: + - Artists + summary: Gets an artist by name. + operationId: GetArtistByName + parameters: + - name: name + in: path + description: Studio name. + required: true + schema: + type: string + - name: userId + in: query + description: Optional. Filter by user id, and attach user data. + schema: + type: string + format: uuid + responses: + "200": + description: Artist returned. + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization /Artists/AlbumArtists: get: tags: @@ -593,45 +632,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Artists/{name}: - get: - tags: - - Artists - summary: Gets an artist by name. - operationId: GetArtistByName - parameters: - - name: name - in: path - description: Studio name. - required: true - schema: - type: string - - name: userId - in: query - description: Optional. Filter by user id, and attach user data. - schema: - type: string - format: uuid - responses: - "200": - description: Artist returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Audio/{itemId}/stream: get: tags: @@ -1925,105 +1925,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Channels/Features: - get: - tags: - - Channels - summary: Get all channel features. - operationId: GetAllChannelFeatures - responses: - "200": - description: All channel features returned. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ChannelFeatures' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/ChannelFeatures' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/ChannelFeatures' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Channels/Items/Latest: - get: - tags: - - Channels - summary: Gets latest channel items. - operationId: GetLatestChannelItems - parameters: - - name: userId - in: query - description: Optional. User Id. - schema: - type: string - format: uuid - - name: startIndex - in: query - description: Optional. The record index to start at. All items with a lower index will be dropped from the results. - schema: - type: integer - format: int32 - - name: limit - in: query - description: Optional. The maximum number of records to return. - schema: - type: integer - format: int32 - - name: filters - in: query - description: Optional. Specify additional filters to apply. - schema: - type: array - items: - $ref: '#/components/schemas/ItemFilter' - - name: fields - in: query - description: Optional. Specify additional fields of information to return in the output. - schema: - type: array - items: - $ref: '#/components/schemas/ItemFields' - - name: channelIds - in: query - description: Optional. Specify one or more channel id's, comma delimited. - schema: - type: array - items: - type: string - format: uuid - responses: - "200": - description: Latest channel items returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Channels/{channelId}/Features: get: tags: @@ -2144,6 +2045,105 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /Channels/Features: + get: + tags: + - Channels + summary: Get all channel features. + operationId: GetAllChannelFeatures + responses: + "200": + description: All channel features returned. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ChannelFeatures' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/ChannelFeatures' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/ChannelFeatures' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Channels/Items/Latest: + get: + tags: + - Channels + summary: Gets latest channel items. + operationId: GetLatestChannelItems + parameters: + - name: userId + in: query + description: Optional. User Id. + schema: + type: string + format: uuid + - name: startIndex + in: query + description: Optional. The record index to start at. All items with a lower index will be dropped from the results. + schema: + type: integer + format: int32 + - name: limit + in: query + description: Optional. The maximum number of records to return. + schema: + type: integer + format: int32 + - name: filters + in: query + description: Optional. Specify additional filters to apply. + schema: + type: array + items: + $ref: '#/components/schemas/ItemFilter' + - name: fields + in: query + description: Optional. Specify additional fields of information to return in the output. + schema: + type: array + items: + $ref: '#/components/schemas/ItemFields' + - name: channelIds + in: query + description: Optional. Specify one or more channel id's, comma delimited. + schema: + type: array + items: + type: string + format: uuid + responses: + "200": + description: Latest channel items returned. + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization /ClientLog/Document: post: tags: @@ -2375,33 +2375,6 @@ paths: - CustomAuthentication: - RequiresElevation - DefaultAuthorization - /System/Configuration/MetadataOptions/Default: - get: - tags: - - Configuration - summary: Gets a default MetadataOptions object. - operationId: GetDefaultMetadataOptions - responses: - "200": - description: Metadata options returned. - content: - application/json: - schema: - $ref: '#/components/schemas/MetadataOptions' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/MetadataOptions' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/MetadataOptions' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - - DefaultAuthorization /System/Configuration/{key}: get: tags: @@ -2463,6 +2436,33 @@ paths: - CustomAuthentication: - RequiresElevation - DefaultAuthorization + /System/Configuration/MetadataOptions/Default: + get: + tags: + - Configuration + summary: Gets a default MetadataOptions object. + operationId: GetDefaultMetadataOptions + responses: + "200": + description: Metadata options returned. + content: + application/json: + schema: + $ref: '#/components/schemas/MetadataOptions' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/MetadataOptions' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/MetadataOptions' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation + - DefaultAuthorization /System/MediaEncoder/Path: post: tags: @@ -2889,29 +2889,100 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Dlna/icons/{fileName}: + /Dlna/ProfileInfos: get: tags: - - DlnaServer - summary: Gets a server icon. - operationId: GetIcon + - Dlna + summary: Get profile infos. + operationId: GetProfileInfos + responses: + "200": + description: Device profile infos returned. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/DeviceProfileInfo' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/DeviceProfileInfo' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/DeviceProfileInfo' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation + /Dlna/Profiles: + post: + tags: + - Dlna + summary: Creates a profile. + operationId: CreateProfile + requestBody: + description: Device profile. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/DeviceProfile' + description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." + text/json: + schema: + allOf: + - $ref: '#/components/schemas/DeviceProfile' + description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/DeviceProfile' + description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." + responses: + "204": + description: Device profile created. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation + /Dlna/Profiles/{profileId}: + get: + tags: + - Dlna + summary: Gets a single profile. + operationId: GetProfile parameters: - - name: fileName + - name: profileId in: path - description: The icon filename. + description: Profile Id. required: true schema: type: string responses: "200": - description: Request processed. + description: Device profile returned. content: - image/*: + application/json: schema: - type: string - format: binary + $ref: '#/components/schemas/DeviceProfile' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/DeviceProfile' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/DeviceProfile' "404": - description: Not Found. + description: Device profile not found. content: application/json: schema: @@ -2922,15 +2993,125 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/ProblemDetails' - "503": - description: DLNA is disabled. "401": description: Unauthorized "403": description: Forbidden security: - CustomAuthentication: - - AnonymousLanAccessPolicy + - RequiresElevation + delete: + tags: + - Dlna + summary: Deletes a profile. + operationId: DeleteProfile + parameters: + - name: profileId + in: path + description: Profile id. + required: true + schema: + type: string + responses: + "204": + description: Device profile deleted. + "404": + description: Device profile not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation + post: + tags: + - Dlna + summary: Updates a profile. + operationId: UpdateProfile + parameters: + - name: profileId + in: path + description: Profile id. + required: true + schema: + type: string + requestBody: + description: Device profile. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/DeviceProfile' + description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." + text/json: + schema: + allOf: + - $ref: '#/components/schemas/DeviceProfile' + description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/DeviceProfile' + description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." + responses: + "204": + description: Device profile updated. + "404": + description: Device profile not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation + /Dlna/Profiles/Default: + get: + tags: + - Dlna + summary: Gets the default profile. + operationId: GetDefaultProfile + responses: + "200": + description: Default device profile returned. + content: + application/json: + schema: + $ref: '#/components/schemas/DeviceProfile' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/DeviceProfile' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/DeviceProfile' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation /Dlna/{serverId}/ConnectionManager: get: tags: @@ -3171,6 +3352,114 @@ paths: security: - CustomAuthentication: - AnonymousLanAccessPolicy + /Dlna/{serverId}/description: + get: + tags: + - DlnaServer + summary: Get Description Xml. + operationId: GetDescriptionXml + parameters: + - name: serverId + in: path + description: Server UUID. + required: true + schema: + type: string + responses: + "200": + description: Description xml returned. + content: + text/xml: + schema: + type: string + format: binary + "503": + description: DLNA is disabled. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - AnonymousLanAccessPolicy + /Dlna/{serverId}/description.xml: + get: + tags: + - DlnaServer + summary: Get Description Xml. + operationId: GetDescriptionXml_2 + parameters: + - name: serverId + in: path + description: Server UUID. + required: true + schema: + type: string + responses: + "200": + description: Description xml returned. + content: + text/xml: + schema: + type: string + format: binary + "503": + description: DLNA is disabled. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - AnonymousLanAccessPolicy + /Dlna/{serverId}/icons/{fileName}: + get: + tags: + - DlnaServer + summary: Gets a server icon. + operationId: GetIconId + parameters: + - name: serverId + in: path + description: Server UUID. + required: true + schema: + type: string + - name: fileName + in: path + description: The icon filename. + required: true + schema: + type: string + responses: + "200": + description: Request processed. + content: + image/*: + schema: + type: string + format: binary + "404": + description: Not Found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "503": + description: DLNA is disabled. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - AnonymousLanAccessPolicy /Dlna/{serverId}/MediaReceiverRegistrar: get: tags: @@ -3291,79 +3580,13 @@ paths: security: - CustomAuthentication: - AnonymousLanAccessPolicy - /Dlna/{serverId}/description: - get: - tags: - - DlnaServer - summary: Get Description Xml. - operationId: GetDescriptionXml - parameters: - - name: serverId - in: path - description: Server UUID. - required: true - schema: - type: string - responses: - "200": - description: Description xml returned. - content: - text/xml: - schema: - type: string - format: binary - "503": - description: DLNA is disabled. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - AnonymousLanAccessPolicy - /Dlna/{serverId}/description.xml: - get: - tags: - - DlnaServer - summary: Get Description Xml. - operationId: GetDescriptionXml_2 - parameters: - - name: serverId - in: path - description: Server UUID. - required: true - schema: - type: string - responses: - "200": - description: Description xml returned. - content: - text/xml: - schema: - type: string - format: binary - "503": - description: DLNA is disabled. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - AnonymousLanAccessPolicy - /Dlna/{serverId}/icons/{fileName}: + /Dlna/icons/{fileName}: get: tags: - DlnaServer summary: Gets a server icon. - operationId: GetIconId + operationId: GetIcon parameters: - - name: serverId - in: path - description: Server UUID. - required: true - schema: - type: string - name: fileName in: path description: The icon filename. @@ -3399,229 +3622,6 @@ paths: security: - CustomAuthentication: - AnonymousLanAccessPolicy - /Dlna/ProfileInfos: - get: - tags: - - Dlna - summary: Get profile infos. - operationId: GetProfileInfos - responses: - "200": - description: Device profile infos returned. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/DeviceProfileInfo' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/DeviceProfileInfo' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/DeviceProfileInfo' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - /Dlna/Profiles: - post: - tags: - - Dlna - summary: Creates a profile. - operationId: CreateProfile - requestBody: - description: Device profile. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/DeviceProfile' - description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - text/json: - schema: - allOf: - - $ref: '#/components/schemas/DeviceProfile' - description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/DeviceProfile' - description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - responses: - "204": - description: Device profile created. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - /Dlna/Profiles/Default: - get: - tags: - - Dlna - summary: Gets the default profile. - operationId: GetDefaultProfile - responses: - "200": - description: Default device profile returned. - content: - application/json: - schema: - $ref: '#/components/schemas/DeviceProfile' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/DeviceProfile' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/DeviceProfile' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - /Dlna/Profiles/{profileId}: - get: - tags: - - Dlna - summary: Gets a single profile. - operationId: GetProfile - parameters: - - name: profileId - in: path - description: Profile Id. - required: true - schema: - type: string - responses: - "200": - description: Device profile returned. - content: - application/json: - schema: - $ref: '#/components/schemas/DeviceProfile' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/DeviceProfile' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/DeviceProfile' - "404": - description: Device profile not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - delete: - tags: - - Dlna - summary: Deletes a profile. - operationId: DeleteProfile - parameters: - - name: profileId - in: path - description: Profile id. - required: true - schema: - type: string - responses: - "204": - description: Device profile deleted. - "404": - description: Device profile not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - post: - tags: - - Dlna - summary: Updates a profile. - operationId: UpdateProfile - parameters: - - name: profileId - in: path - description: Profile id. - required: true - schema: - type: string - requestBody: - description: Device profile. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/DeviceProfile' - description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - text/json: - schema: - allOf: - - $ref: '#/components/schemas/DeviceProfile' - description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/DeviceProfile' - description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." - responses: - "204": - description: Device profile updated. - "404": - description: Device profile not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation /Audio/{itemId}/hls1/{playlistId}/{segmentId}.{container}: get: tags: @@ -7031,69 +7031,6 @@ paths: schema: type: string format: binary - /Videos/ActiveEncodings: - delete: - tags: - - HlsSegment - summary: Stops an active encoding. - operationId: StopEncodingProcess - parameters: - - name: deviceId - in: query - description: The device id of the client requesting. Used to stop encoding processes when needed. - required: true - schema: - type: string - - name: playSessionId - in: query - description: The play session id. - required: true - schema: - type: string - responses: - "204": - description: Encoding stopped successfully. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Videos/{itemId}/hls/{playlistId}/stream.m3u8: - get: - tags: - - HlsSegment - summary: Gets a hls video playlist. - operationId: GetHlsPlaylistLegacy - parameters: - - name: itemId - in: path - description: The video id. - required: true - schema: - type: string - - name: playlistId - in: path - description: The playlist id. - required: true - schema: - type: string - responses: - "200": - description: Hls video playlist returned. - content: - application/x-mpegURL: - schema: - type: string - format: binary - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Videos/{itemId}/hls/{playlistId}/{segmentId}.{segmentContainer}: get: tags: @@ -7145,31 +7082,33 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/ProblemDetails' - /Images/General: + /Videos/{itemId}/hls/{playlistId}/stream.m3u8: get: tags: - - ImageByName - summary: Get all general images. - operationId: GetGeneralImages + - HlsSegment + summary: Gets a hls video playlist. + operationId: GetHlsPlaylistLegacy + parameters: + - name: itemId + in: path + description: The video id. + required: true + schema: + type: string + - name: playlistId + in: path + description: The playlist id. + required: true + schema: + type: string responses: "200": - description: Retrieved list of images. + description: Hls video playlist returned. content: - application/json: + application/x-mpegURL: schema: - type: array - items: - $ref: '#/components/schemas/ImageByNameInfo' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/ImageByNameInfo' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/ImageByNameInfo' + type: string + format: binary "401": description: Unauthorized "403": @@ -7177,73 +7116,28 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Images/General/{name}/{type}: - get: + /Videos/ActiveEncodings: + delete: tags: - - ImageByName - summary: Get General Image. - operationId: GetGeneralImage + - HlsSegment + summary: Stops an active encoding. + operationId: StopEncodingProcess parameters: - - name: name - in: path - description: The name of the image. + - name: deviceId + in: query + description: The device id of the client requesting. Used to stop encoding processes when needed. required: true schema: type: string - - name: type - in: path - description: Image Type (primary, backdrop, logo, etc). + - name: playSessionId + in: query + description: The play session id. required: true schema: type: string responses: - "200": - description: Image stream retrieved. - content: - image/*: - schema: - type: string - format: binary - "404": - description: Image not found. - content: - application/octet-stream: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - /Images/MediaInfo: - get: - tags: - - ImageByName - summary: Get all media info images. - operationId: GetMediaInfoImages - responses: - "200": - description: Image list retrieved. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ImageByNameInfo' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/ImageByNameInfo' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/ImageByNameInfo' + "204": + description: Encoding stopped successfully. "401": description: Unauthorized "403": @@ -7251,122 +7145,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Images/MediaInfo/{theme}/{name}: - get: - tags: - - ImageByName - summary: Get media info image. - operationId: GetMediaInfoImage - parameters: - - name: theme - in: path - description: The theme to get the image from. - required: true - schema: - type: string - - name: name - in: path - description: The name of the image. - required: true - schema: - type: string - responses: - "200": - description: Image stream retrieved. - content: - image/*: - schema: - type: string - format: binary - "404": - description: Image not found. - content: - application/octet-stream: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - /Images/Ratings: - get: - tags: - - ImageByName - summary: Get all general images. - operationId: GetRatingImages - responses: - "200": - description: Retrieved list of images. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ImageByNameInfo' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/ImageByNameInfo' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/ImageByNameInfo' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Images/Ratings/{theme}/{name}: - get: - tags: - - ImageByName - summary: Get rating image. - operationId: GetRatingImage - parameters: - - name: theme - in: path - description: The theme to get the image from. - required: true - schema: - type: string - - name: name - in: path - description: The name of the image. - required: true - schema: - type: string - responses: - "200": - description: Image stream retrieved. - content: - image/*: - schema: - type: string - format: binary - "404": - description: Image not found. - content: - application/octet-stream: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' /Artists/{name}/Images/{imageType}/{imageIndex}: get: tags: @@ -9163,64 +8941,6 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/ProblemDetails' - /Items/{itemId}/Images/{imageType}/{imageIndex}/Index: - post: - tags: - - Image - summary: Updates the index for an item image. - operationId: UpdateItemImageIndex - parameters: - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - - name: imageType - in: path - description: Image type. - required: true - schema: - allOf: - - $ref: '#/components/schemas/ImageType' - description: Enum ImageType. - - name: imageIndex - in: path - description: Old image index. - required: true - schema: - type: integer - format: int32 - - name: newIndex - in: query - description: New image index. - required: true - schema: - type: integer - format: int32 - responses: - "204": - description: Image index updated. - "404": - description: Item not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation /Items/{itemId}/Images/{imageType}/{imageIndex}/{tag}/{format}/{maxWidth}/{maxHeight}/{percentPlayed}/{unplayedCount}: get: tags: @@ -9516,6 +9236,64 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/ProblemDetails' + /Items/{itemId}/Images/{imageType}/{imageIndex}/Index: + post: + tags: + - Image + summary: Updates the index for an item image. + operationId: UpdateItemImageIndex + parameters: + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + - name: imageType + in: path + description: Image type. + required: true + schema: + allOf: + - $ref: '#/components/schemas/ImageType' + description: Enum ImageType. + - name: imageIndex + in: path + description: Old image index. + required: true + schema: + type: integer + format: int32 + - name: newIndex + in: query + description: New image index. + required: true + schema: + type: integer + format: int32 + responses: + "204": + description: Image index updated. + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation /MusicGenres/{name}/Images/{imageType}: get: tags: @@ -11947,6 +11725,228 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /Images/General: + get: + tags: + - ImageByName + summary: Get all general images. + operationId: GetGeneralImages + responses: + "200": + description: Retrieved list of images. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ImageByNameInfo' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/ImageByNameInfo' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/ImageByNameInfo' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Images/General/{name}/{type}: + get: + tags: + - ImageByName + summary: Get General Image. + operationId: GetGeneralImage + parameters: + - name: name + in: path + description: The name of the image. + required: true + schema: + type: string + - name: type + in: path + description: Image Type (primary, backdrop, logo, etc). + required: true + schema: + type: string + responses: + "200": + description: Image stream retrieved. + content: + image/*: + schema: + type: string + format: binary + "404": + description: Image not found. + content: + application/octet-stream: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + /Images/MediaInfo: + get: + tags: + - ImageByName + summary: Get all media info images. + operationId: GetMediaInfoImages + responses: + "200": + description: Image list retrieved. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ImageByNameInfo' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/ImageByNameInfo' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/ImageByNameInfo' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Images/MediaInfo/{theme}/{name}: + get: + tags: + - ImageByName + summary: Get media info image. + operationId: GetMediaInfoImage + parameters: + - name: theme + in: path + description: The theme to get the image from. + required: true + schema: + type: string + - name: name + in: path + description: The name of the image. + required: true + schema: + type: string + responses: + "200": + description: Image stream retrieved. + content: + image/*: + schema: + type: string + format: binary + "404": + description: Image not found. + content: + application/octet-stream: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + /Images/Ratings: + get: + tags: + - ImageByName + summary: Get all general images. + operationId: GetRatingImages + responses: + "200": + description: Retrieved list of images. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ImageByNameInfo' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/ImageByNameInfo' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/ImageByNameInfo' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Images/Ratings/{theme}/{name}: + get: + tags: + - ImageByName + summary: Get rating image. + operationId: GetRatingImage + parameters: + - name: theme + in: path + description: The theme to get the image from. + required: true + schema: + type: string + - name: name + in: path + description: The name of the image. + required: true + schema: + type: string + responses: + "200": + description: Image stream retrieved. + content: + image/*: + schema: + type: string + format: binary + "404": + description: Image not found. + content: + application/octet-stream: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' /Albums/{id}/InstantMix: get: tags: @@ -12023,6 +12023,82 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /Artists/{id}/InstantMix: + get: + tags: + - InstantMix + summary: Creates an instant playlist based on a given artist. + operationId: GetInstantMixFromArtists + parameters: + - name: id + in: path + description: The item id. + required: true + schema: + type: string + format: uuid + - name: userId + in: query + description: Optional. Filter by user id, and attach user data. + schema: + type: string + format: uuid + - name: limit + in: query + description: Optional. The maximum number of records to return. + schema: + type: integer + format: int32 + - name: fields + in: query + description: Optional. Specify additional fields of information to return in the output. + schema: + type: array + items: + $ref: '#/components/schemas/ItemFields' + - name: enableImages + in: query + description: Optional. Include image information in output. + schema: + type: boolean + - name: enableUserData + in: query + description: Optional. Include user data. + schema: + type: boolean + - name: imageTypeLimit + in: query + description: Optional. The max number of images to return, per image type. + schema: + type: integer + format: int32 + - name: enableImageTypes + in: query + description: Optional. The image types to include in the output. + schema: + type: array + items: + $ref: '#/components/schemas/ImageType' + responses: + "200": + description: Instant playlist returned. + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization /Artists/InstantMix: get: tags: @@ -12100,82 +12176,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Artists/{id}/InstantMix: - get: - tags: - - InstantMix - summary: Creates an instant playlist based on a given artist. - operationId: GetInstantMixFromArtists - parameters: - - name: id - in: path - description: The item id. - required: true - schema: - type: string - format: uuid - - name: userId - in: query - description: Optional. Filter by user id, and attach user data. - schema: - type: string - format: uuid - - name: limit - in: query - description: Optional. The maximum number of records to return. - schema: - type: integer - format: int32 - - name: fields - in: query - description: Optional. Specify additional fields of information to return in the output. - schema: - type: array - items: - $ref: '#/components/schemas/ItemFields' - - name: enableImages - in: query - description: Optional. Include image information in output. - schema: - type: boolean - - name: enableUserData - in: query - description: Optional. Include user data. - schema: - type: boolean - - name: imageTypeLimit - in: query - description: Optional. The max number of images to return, per image type. - schema: - type: integer - format: int32 - - name: enableImageTypes - in: query - description: Optional. The image types to include in the output. - schema: - type: array - items: - $ref: '#/components/schemas/ImageType' - responses: - "200": - description: Instant playlist returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Items/{id}/InstantMix: get: tags: @@ -12252,82 +12252,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /MusicGenres/InstantMix: - get: - tags: - - InstantMix - summary: Creates an instant playlist based on a given genre. - operationId: GetInstantMixFromMusicGenreById - parameters: - - name: id - in: query - description: The item id. - required: true - schema: - type: string - format: uuid - - name: userId - in: query - description: Optional. Filter by user id, and attach user data. - schema: - type: string - format: uuid - - name: limit - in: query - description: Optional. The maximum number of records to return. - schema: - type: integer - format: int32 - - name: fields - in: query - description: Optional. Specify additional fields of information to return in the output. - schema: - type: array - items: - $ref: '#/components/schemas/ItemFields' - - name: enableImages - in: query - description: Optional. Include image information in output. - schema: - type: boolean - - name: enableUserData - in: query - description: Optional. Include user data. - schema: - type: boolean - - name: imageTypeLimit - in: query - description: Optional. The max number of images to return, per image type. - schema: - type: integer - format: int32 - - name: enableImageTypes - in: query - description: Optional. The image types to include in the output. - schema: - type: array - items: - $ref: '#/components/schemas/ImageType' - responses: - "200": - description: Instant playlist returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /MusicGenres/{name}/InstantMix: get: tags: @@ -12403,6 +12327,82 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /MusicGenres/InstantMix: + get: + tags: + - InstantMix + summary: Creates an instant playlist based on a given genre. + operationId: GetInstantMixFromMusicGenreById + parameters: + - name: id + in: query + description: The item id. + required: true + schema: + type: string + format: uuid + - name: userId + in: query + description: Optional. Filter by user id, and attach user data. + schema: + type: string + format: uuid + - name: limit + in: query + description: Optional. The maximum number of records to return. + schema: + type: integer + format: int32 + - name: fields + in: query + description: Optional. Specify additional fields of information to return in the output. + schema: + type: array + items: + $ref: '#/components/schemas/ItemFields' + - name: enableImages + in: query + description: Optional. Include image information in output. + schema: + type: boolean + - name: enableUserData + in: query + description: Optional. Include user data. + schema: + type: boolean + - name: imageTypeLimit + in: query + description: Optional. The max number of images to return, per image type. + schema: + type: integer + format: int32 + - name: enableImageTypes + in: query + description: Optional. The image types to include in the output. + schema: + type: array + items: + $ref: '#/components/schemas/ImageType' + responses: + "200": + description: Instant playlist returned. + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization /Playlists/{id}/InstantMix: get: tags: @@ -12555,6 +12555,59 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /Items/{itemId}/ExternalIdInfos: + get: + tags: + - ItemLookup + summary: Get the item's external id info. + operationId: GetExternalIdInfos + parameters: + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: External id info retrieved. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ExternalIdInfo' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/ExternalIdInfo' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/ExternalIdInfo' + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation + - DefaultAuthorization /Items/RemoteSearch/Apply/{itemId}: post: tags: @@ -13035,59 +13088,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Items/{itemId}/ExternalIdInfos: - get: - tags: - - ItemLookup - summary: Get the item's external id info. - operationId: GetExternalIdInfos - parameters: - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: External id info retrieved. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ExternalIdInfo' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/ExternalIdInfo' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/ExternalIdInfo' - "404": - description: Item not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - - DefaultAuthorization /Items/{itemId}/Refresh: post: tags: @@ -13150,181 +13150,6 @@ paths: security: - CustomAuthentication: - RequiresElevation - /Items/{itemId}: - post: - tags: - - ItemUpdate - summary: Updates an item. - operationId: UpdateItem - parameters: - - name: itemId - in: path - description: The item id. - required: true - schema: - type: string - format: uuid - requestBody: - description: The new item properties. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/BaseItemDto' - description: "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." - text/json: - schema: - allOf: - - $ref: '#/components/schemas/BaseItemDto' - description: "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/BaseItemDto' - description: "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." - required: true - responses: - "204": - description: Item updated. - "404": - description: Item not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - delete: - tags: - - Library - summary: Deletes an item from the library and filesystem. - operationId: DeleteItem - parameters: - - name: itemId - in: path - description: The item id. - required: true - schema: - type: string - format: uuid - responses: - "204": - description: Item deleted. - "401": - description: Unauthorized access. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Items/{itemId}/ContentType: - post: - tags: - - ItemUpdate - summary: Updates an item's content type. - operationId: UpdateItemContentType - parameters: - - name: itemId - in: path - description: The item id. - required: true - schema: - type: string - format: uuid - - name: contentType - in: query - description: The content type of the item. - schema: - type: string - responses: - "204": - description: Item content type updated. - "404": - description: Item not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - /Items/{itemId}/MetadataEditor: - get: - tags: - - ItemUpdate - summary: Gets metadata editor info for an item. - operationId: GetMetadataEditorInfo - parameters: - - name: itemId - in: path - description: The item id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: Item metadata editor returned. - content: - application/json: - schema: - $ref: '#/components/schemas/MetadataEditorInfo' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/MetadataEditorInfo' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/MetadataEditorInfo' - "404": - description: Item not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation /Items: get: tags: @@ -14567,197 +14392,164 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Library/VirtualFolders: + /Items/{itemId}: + post: + tags: + - ItemUpdate + summary: Updates an item. + operationId: UpdateItem + parameters: + - name: itemId + in: path + description: The item id. + required: true + schema: + type: string + format: uuid + requestBody: + description: The new item properties. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/BaseItemDto' + description: "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." + text/json: + schema: + allOf: + - $ref: '#/components/schemas/BaseItemDto' + description: "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/BaseItemDto' + description: "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." + required: true + responses: + "204": + description: Item updated. + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation + delete: + tags: + - Library + summary: Deletes an item from the library and filesystem. + operationId: DeleteItem + parameters: + - name: itemId + in: path + description: The item id. + required: true + schema: + type: string + format: uuid + responses: + "204": + description: Item deleted. + "401": + description: Unauthorized access. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Items/{itemId}/ContentType: + post: + tags: + - ItemUpdate + summary: Updates an item's content type. + operationId: UpdateItemContentType + parameters: + - name: itemId + in: path + description: The item id. + required: true + schema: + type: string + format: uuid + - name: contentType + in: query + description: The content type of the item. + schema: + type: string + responses: + "204": + description: Item content type updated. + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation + /Items/{itemId}/MetadataEditor: get: tags: - - LibraryStructure - summary: Gets all virtual folders. - operationId: GetVirtualFolders + - ItemUpdate + summary: Gets metadata editor info for an item. + operationId: GetMetadataEditorInfo + parameters: + - name: itemId + in: path + description: The item id. + required: true + schema: + type: string + format: uuid responses: "200": - description: Virtual folders retrieved. + description: Item metadata editor returned. content: application/json: schema: - type: array - items: - $ref: '#/components/schemas/VirtualFolderInfo' + $ref: '#/components/schemas/MetadataEditorInfo' application/json; profile="CamelCase": schema: - type: array - items: - $ref: '#/components/schemas/VirtualFolderInfo' + $ref: '#/components/schemas/MetadataEditorInfo' application/json; profile="PascalCase": schema: - type: array - items: - $ref: '#/components/schemas/VirtualFolderInfo' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - FirstTimeSetupOrElevated - post: - tags: - - LibraryStructure - summary: Adds a virtual folder. - operationId: AddVirtualFolder - parameters: - - name: name - in: query - description: The name of the virtual folder. - schema: - type: string - - name: collectionType - in: query - description: The type of the collection. - schema: - allOf: - - $ref: '#/components/schemas/CollectionTypeOptions' - - name: paths - in: query - description: The paths of the virtual folder. - schema: - type: array - items: - type: string - - name: refreshLibrary - in: query - description: Whether to refresh the library. - schema: - type: boolean - default: false - requestBody: - description: The library options. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/AddVirtualFolderDto' - description: Add virtual folder dto. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/AddVirtualFolderDto' - description: Add virtual folder dto. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/AddVirtualFolderDto' - description: Add virtual folder dto. - responses: - "204": - description: Folder added. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - FirstTimeSetupOrElevated - delete: - tags: - - LibraryStructure - summary: Removes a virtual folder. - operationId: RemoveVirtualFolder - parameters: - - name: name - in: query - description: The name of the folder. - schema: - type: string - - name: refreshLibrary - in: query - description: Whether to refresh the library. - schema: - type: boolean - default: false - responses: - "204": - description: Folder removed. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - FirstTimeSetupOrElevated - /Library/VirtualFolders/LibraryOptions: - post: - tags: - - LibraryStructure - summary: Update library options. - operationId: UpdateLibraryOptions - requestBody: - description: The library name and options. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/UpdateLibraryOptionsDto' - description: Update library options dto. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/UpdateLibraryOptionsDto' - description: Update library options dto. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/UpdateLibraryOptionsDto' - description: Update library options dto. - responses: - "204": - description: Library updated. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - FirstTimeSetupOrElevated - /Library/VirtualFolders/Name: - post: - tags: - - LibraryStructure - summary: Renames a virtual folder. - operationId: RenameVirtualFolder - parameters: - - name: name - in: query - description: The name of the virtual folder. - schema: - type: string - - name: newName - in: query - description: The new name. - schema: - type: string - - name: refreshLibrary - in: query - description: Whether to refresh the library. - schema: - type: boolean - default: false - responses: - "204": - description: Folder renamed. + $ref: '#/components/schemas/MetadataEditorInfo' "404": - description: Library doesn't exist. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "409": - description: Library already exists. + description: Item not found. content: application/json: schema: @@ -14774,116 +14566,7 @@ paths: description: Forbidden security: - CustomAuthentication: - - FirstTimeSetupOrElevated - /Library/VirtualFolders/Paths: - post: - tags: - - LibraryStructure - summary: Add a media path to a library. - operationId: AddMediaPath - parameters: - - name: refreshLibrary - in: query - description: Whether to refresh the library. - schema: - type: boolean - default: false - requestBody: - description: The media path dto. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/MediaPathDto' - description: Media Path dto. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/MediaPathDto' - description: Media Path dto. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/MediaPathDto' - description: Media Path dto. - required: true - responses: - "204": - description: Media path added. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - FirstTimeSetupOrElevated - delete: - tags: - - LibraryStructure - summary: Remove a media path. - operationId: RemoveMediaPath - parameters: - - name: name - in: query - description: The name of the library. - schema: - type: string - - name: path - in: query - description: The path to remove. - schema: - type: string - - name: refreshLibrary - in: query - description: Whether to refresh the library. - schema: - type: boolean - default: false - responses: - "204": - description: Media path removed. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - FirstTimeSetupOrElevated - /Library/VirtualFolders/Paths/Update: - post: - tags: - - LibraryStructure - summary: Updates a media path. - operationId: UpdateMediaPath - requestBody: - description: The name of the library and path infos. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/UpdateMediaPathRequestDto' - description: Update library options dto. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/UpdateMediaPathRequestDto' - description: Update library options dto. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/UpdateMediaPathRequestDto' - description: Update library options dto. - required: true - responses: - "204": - description: Media path updated. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - FirstTimeSetupOrElevated + - RequiresElevation /Albums/{itemId}/Similar: get: tags: @@ -15006,44 +14689,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Items/Counts: - get: - tags: - - Library - summary: Get item counts. - operationId: GetItemCounts - parameters: - - name: userId - in: query - description: Optional. Get counts from a specific user's library. - schema: - type: string - format: uuid - - name: isFavorite - in: query - description: Optional. Get counts of favorite items. - schema: - type: boolean - responses: - "200": - description: Item counts returned. - content: - application/json: - schema: - $ref: '#/components/schemas/ItemCounts' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ItemCounts' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ItemCounts' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Items/{itemId}/Ancestors: get: tags: @@ -15450,6 +15095,44 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /Items/Counts: + get: + tags: + - Library + summary: Get item counts. + operationId: GetItemCounts + parameters: + - name: userId + in: query + description: Optional. Get counts from a specific user's library. + schema: + type: string + format: uuid + - name: isFavorite + in: query + description: Optional. Get counts of favorite items. + schema: + type: boolean + responses: + "200": + description: Item counts returned. + content: + application/json: + schema: + $ref: '#/components/schemas/ItemCounts' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ItemCounts' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ItemCounts' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization /Libraries/AvailableOptions: get: tags: @@ -15884,6 +15567,323 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /Library/VirtualFolders: + get: + tags: + - LibraryStructure + summary: Gets all virtual folders. + operationId: GetVirtualFolders + responses: + "200": + description: Virtual folders retrieved. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VirtualFolderInfo' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/VirtualFolderInfo' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/VirtualFolderInfo' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - FirstTimeSetupOrElevated + post: + tags: + - LibraryStructure + summary: Adds a virtual folder. + operationId: AddVirtualFolder + parameters: + - name: name + in: query + description: The name of the virtual folder. + schema: + type: string + - name: collectionType + in: query + description: The type of the collection. + schema: + allOf: + - $ref: '#/components/schemas/CollectionTypeOptions' + - name: paths + in: query + description: The paths of the virtual folder. + schema: + type: array + items: + type: string + - name: refreshLibrary + in: query + description: Whether to refresh the library. + schema: + type: boolean + default: false + requestBody: + description: The library options. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/AddVirtualFolderDto' + description: Add virtual folder dto. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/AddVirtualFolderDto' + description: Add virtual folder dto. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/AddVirtualFolderDto' + description: Add virtual folder dto. + responses: + "204": + description: Folder added. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - FirstTimeSetupOrElevated + delete: + tags: + - LibraryStructure + summary: Removes a virtual folder. + operationId: RemoveVirtualFolder + parameters: + - name: name + in: query + description: The name of the folder. + schema: + type: string + - name: refreshLibrary + in: query + description: Whether to refresh the library. + schema: + type: boolean + default: false + responses: + "204": + description: Folder removed. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - FirstTimeSetupOrElevated + /Library/VirtualFolders/LibraryOptions: + post: + tags: + - LibraryStructure + summary: Update library options. + operationId: UpdateLibraryOptions + requestBody: + description: The library name and options. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/UpdateLibraryOptionsDto' + description: Update library options dto. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/UpdateLibraryOptionsDto' + description: Update library options dto. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/UpdateLibraryOptionsDto' + description: Update library options dto. + responses: + "204": + description: Library updated. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - FirstTimeSetupOrElevated + /Library/VirtualFolders/Name: + post: + tags: + - LibraryStructure + summary: Renames a virtual folder. + operationId: RenameVirtualFolder + parameters: + - name: name + in: query + description: The name of the virtual folder. + schema: + type: string + - name: newName + in: query + description: The new name. + schema: + type: string + - name: refreshLibrary + in: query + description: Whether to refresh the library. + schema: + type: boolean + default: false + responses: + "204": + description: Folder renamed. + "404": + description: Library doesn't exist. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "409": + description: Library already exists. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - FirstTimeSetupOrElevated + /Library/VirtualFolders/Paths: + post: + tags: + - LibraryStructure + summary: Add a media path to a library. + operationId: AddMediaPath + parameters: + - name: refreshLibrary + in: query + description: Whether to refresh the library. + schema: + type: boolean + default: false + requestBody: + description: The media path dto. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/MediaPathDto' + description: Media Path dto. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/MediaPathDto' + description: Media Path dto. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/MediaPathDto' + description: Media Path dto. + required: true + responses: + "204": + description: Media path added. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - FirstTimeSetupOrElevated + delete: + tags: + - LibraryStructure + summary: Remove a media path. + operationId: RemoveMediaPath + parameters: + - name: name + in: query + description: The name of the library. + schema: + type: string + - name: path + in: query + description: The path to remove. + schema: + type: string + - name: refreshLibrary + in: query + description: Whether to refresh the library. + schema: + type: boolean + default: false + responses: + "204": + description: Media path removed. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - FirstTimeSetupOrElevated + /Library/VirtualFolders/Paths/Update: + post: + tags: + - LibraryStructure + summary: Updates a media path. + operationId: UpdateMediaPath + requestBody: + description: The name of the library and path infos. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/UpdateMediaPathRequestDto' + description: Update library options dto. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/UpdateMediaPathRequestDto' + description: Update library options dto. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/UpdateMediaPathRequestDto' + description: Update library options dto. + required: true + responses: + "204": + description: Media path updated. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - FirstTimeSetupOrElevated /LiveTv/ChannelMappingOptions: get: tags: @@ -16682,6 +16682,45 @@ paths: security: - CustomAuthentication: - LiveTvAccess + /LiveTv/Programs/{programId}: + get: + tags: + - LiveTv + summary: Gets a live tv program. + operationId: GetProgram + parameters: + - name: programId + in: path + description: Program id. + required: true + schema: + type: string + - name: userId + in: query + description: Optional. Attach user data. + schema: + type: string + format: uuid + responses: + "200": + description: Program returned. + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - LiveTvAccess /LiveTv/Programs/Recommended: get: tags: @@ -16800,45 +16839,6 @@ paths: security: - CustomAuthentication: - LiveTvAccess - /LiveTv/Programs/{programId}: - get: - tags: - - LiveTv - summary: Gets a live tv program. - operationId: GetProgram - parameters: - - name: programId - in: path - description: Program id. - required: true - schema: - type: string - - name: userId - in: query - description: Optional. Attach user data. - schema: - type: string - format: uuid - responses: - "200": - description: Program returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - LiveTvAccess /LiveTv/Recordings: get: tags: @@ -16971,6 +16971,81 @@ paths: security: - CustomAuthentication: - LiveTvAccess + /LiveTv/Recordings/{recordingId}: + get: + tags: + - LiveTv + summary: Gets a live tv recording. + operationId: GetRecording + parameters: + - name: recordingId + in: path + description: Recording id. + required: true + schema: + type: string + format: uuid + - name: userId + in: query + description: Optional. Attach user data. + schema: + type: string + format: uuid + responses: + "200": + description: Recording returned. + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - LiveTvAccess + delete: + tags: + - LiveTv + summary: Deletes a live tv recording. + operationId: DeleteRecording + parameters: + - name: recordingId + in: path + description: Recording id. + required: true + schema: + type: string + format: uuid + responses: + "204": + description: Recording deleted. + "404": + description: Item not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - LiveTvManagement /LiveTv/Recordings/Folders: get: tags: @@ -17181,81 +17256,6 @@ paths: security: - CustomAuthentication: - LiveTvAccess - /LiveTv/Recordings/{recordingId}: - get: - tags: - - LiveTv - summary: Gets a live tv recording. - operationId: GetRecording - parameters: - - name: recordingId - in: path - description: Recording id. - required: true - schema: - type: string - format: uuid - - name: userId - in: query - description: Optional. Attach user data. - schema: - type: string - format: uuid - responses: - "200": - description: Recording returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - LiveTvAccess - delete: - tags: - - LiveTv - summary: Deletes a live tv recording. - operationId: DeleteRecording - parameters: - - name: recordingId - in: path - description: Recording id. - required: true - schema: - type: string - format: uuid - responses: - "204": - description: Recording deleted. - "404": - description: Item not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - LiveTvManagement /LiveTv/SeriesTimers: get: tags: @@ -17511,38 +17511,6 @@ paths: security: - CustomAuthentication: - LiveTvManagement - /LiveTv/Timers/Defaults: - get: - tags: - - LiveTv - summary: Gets the default values for a new timer. - operationId: GetDefaultTimer - parameters: - - name: programId - in: query - description: Optional. To attach default values based on a program. - schema: - type: string - responses: - "200": - description: Default values returned. - content: - application/json: - schema: - $ref: '#/components/schemas/SeriesTimerInfoDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/SeriesTimerInfoDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/SeriesTimerInfoDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - LiveTvAccess /LiveTv/Timers/{timerId}: get: tags: @@ -17635,6 +17603,38 @@ paths: security: - CustomAuthentication: - LiveTvManagement + /LiveTv/Timers/Defaults: + get: + tags: + - LiveTv + summary: Gets the default values for a new timer. + operationId: GetDefaultTimer + parameters: + - name: programId + in: query + description: Optional. To attach default values based on a program. + schema: + type: string + responses: + "200": + description: Default values returned. + content: + application/json: + schema: + $ref: '#/components/schemas/SeriesTimerInfoDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/SeriesTimerInfoDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/SeriesTimerInfoDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - LiveTvAccess /LiveTv/TunerHosts: post: tags: @@ -17729,6 +17729,29 @@ paths: security: - CustomAuthentication: - LiveTvAccess + /LiveTv/Tuners/{tunerId}/Reset: + post: + tags: + - LiveTv + summary: Resets a tv tuner. + operationId: ResetTuner + parameters: + - name: tunerId + in: path + description: Tuner id. + required: true + schema: + type: string + responses: + "204": + description: Tuner reset. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - LiveTvManagement /LiveTv/Tuners/Discover: get: tags: @@ -17807,29 +17830,6 @@ paths: security: - CustomAuthentication: - LiveTvManagement - /LiveTv/Tuners/{tunerId}/Reset: - post: - tags: - - LiveTv - summary: Resets a tv tuner. - operationId: ResetTuner - parameters: - - name: tunerId - in: path - description: Tuner id. - required: true - schema: - type: string - responses: - "204": - description: Tuner reset. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - LiveTvManagement /Localization/Countries: get: tags: @@ -18544,105 +18544,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Notifications/Admin: - post: - tags: - - Notifications - summary: Sends a notification to all admins. - operationId: CreateAdminNotification - requestBody: - description: The notification request. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/AdminNotificationDto' - description: The admin notification dto. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/AdminNotificationDto' - description: The admin notification dto. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/AdminNotificationDto' - description: The admin notification dto. - required: true - responses: - "204": - description: Notification sent. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Notifications/Services: - get: - tags: - - Notifications - summary: Gets notification services. - operationId: GetNotificationServices - responses: - "200": - description: All notification services returned. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/NameIdPair' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/NameIdPair' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/NameIdPair' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Notifications/Types: - get: - tags: - - Notifications - summary: Gets notification types. - operationId: GetNotificationTypes - responses: - "200": - description: All notification types returned. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/NotificationTypeInfo' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/NotificationTypeInfo' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/NotificationTypeInfo' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Notifications/{userId}: get: tags: @@ -18751,40 +18652,100 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Jellyfin.Plugin.OpenSubtitles/ValidateLoginInfo: + /Notifications/Admin: post: tags: - - OpenSubtitles - operationId: ValidateLoginInfo + - Notifications + summary: Sends a notification to all admins. + operationId: CreateAdminNotification requestBody: + description: The notification request. content: application/json: schema: allOf: - - $ref: '#/components/schemas/LoginInfoInput' + - $ref: '#/components/schemas/AdminNotificationDto' + description: The admin notification dto. text/json: schema: allOf: - - $ref: '#/components/schemas/LoginInfoInput' + - $ref: '#/components/schemas/AdminNotificationDto' + description: The admin notification dto. application/*+json: schema: allOf: - - $ref: '#/components/schemas/LoginInfoInput' + - $ref: '#/components/schemas/AdminNotificationDto' + description: The admin notification dto. + required: true responses: - "200": - description: Success - "400": - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' + "204": + description: Notification sent. "401": description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Notifications/Services: + get: + tags: + - Notifications + summary: Gets notification services. + operationId: GetNotificationServices + responses: + "200": + description: All notification services returned. content: application/json: schema: - $ref: '#/components/schemas/ProblemDetails' + type: array + items: + $ref: '#/components/schemas/NameIdPair' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/NameIdPair' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/NameIdPair' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Notifications/Types: + get: + tags: + - Notifications + summary: Gets notification types. + operationId: GetNotificationTypes + responses: + "200": + description: All notification types returned. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/NotificationTypeInfo' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/NotificationTypeInfo' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/NotificationTypeInfo' + "401": + description: Unauthorized "403": description: Forbidden security: @@ -18822,6 +18783,45 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /Packages/{name}: + get: + tags: + - Package + summary: Gets a package by name or assembly GUID. + operationId: GetPackageInfo + parameters: + - name: name + in: path + description: The name of the package. + required: true + schema: + type: string + - name: assemblyGuid + in: query + description: The GUID of the associated assembly. + schema: + type: string + format: uuid + responses: + "200": + description: Package retrieved. + content: + application/json: + schema: + $ref: '#/components/schemas/PackageInfo' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/PackageInfo' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/PackageInfo' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization /Packages/Installed/{name}: post: tags: @@ -18899,45 +18899,6 @@ paths: - CustomAuthentication: - RequiresElevation - DefaultAuthorization - /Packages/{name}: - get: - tags: - - Package - summary: Gets a package by name or assembly GUID. - operationId: GetPackageInfo - parameters: - - name: name - in: path - description: The name of the package. - required: true - schema: - type: string - - name: assemblyGuid - in: query - description: The GUID of the associated assembly. - schema: - type: string - format: uuid - responses: - "200": - description: Package retrieved. - content: - application/json: - schema: - $ref: '#/components/schemas/PackageInfo' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/PackageInfo' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/PackageInfo' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Repositories: get: tags: @@ -19163,452 +19124,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /user_usage_stats/DurationHistogramReport: - get: - tags: - - PlaybackReportingActivity - operationId: GetDurationHistogramReport - parameters: - - name: days - in: query - schema: - type: integer - format: int32 - - name: endDate - in: query - schema: - type: string - format: date-time - - name: filter - in: query - schema: - type: string - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/GetTvShowsReport: - get: - tags: - - PlaybackReportingActivity - operationId: GetTvShowsReport - parameters: - - name: days - in: query - schema: - type: integer - format: int32 - - name: endDate - in: query - schema: - type: string - format: date-time - - name: timezoneOffset - in: query - schema: - type: number - format: float - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/HourlyReport: - get: - tags: - - PlaybackReportingActivity - operationId: GetHourlyReport - parameters: - - name: days - in: query - schema: - type: integer - format: int32 - - name: endDate - in: query - schema: - type: string - format: date-time - - name: filter - in: query - schema: - type: string - - name: timezoneOffset - in: query - schema: - type: number - format: float - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/MoviesReport: - get: - tags: - - PlaybackReportingActivity - operationId: GetMovieReport - parameters: - - name: days - in: query - schema: - type: integer - format: int32 - - name: endDate - in: query - schema: - type: string - format: date-time - - name: timezoneOffset - in: query - schema: - type: number - format: float - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/PlayActivity: - get: - tags: - - PlaybackReportingActivity - operationId: GetUsageStats - parameters: - - name: days - in: query - schema: - type: integer - format: int32 - - name: endDate - in: query - schema: - type: string - format: date-time - - name: filter - in: query - schema: - type: string - - name: dataType - in: query - schema: - type: string - - name: timezoneOffset - in: query - schema: - type: number - format: float - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/load_backup: - get: - tags: - - PlaybackReportingActivity - operationId: LoadBackup - parameters: - - name: backupFilePath - in: query - schema: - type: string - responses: - "200": - description: Success - content: - application/json: - schema: - type: array - items: - type: string - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/save_backup: - get: - tags: - - PlaybackReportingActivity - operationId: SaveBackup - responses: - "200": - description: Success - content: - application/json: - schema: - type: array - items: - type: string - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/submit_custom_query: - post: - tags: - - PlaybackReportingActivity - operationId: CustomQuery - requestBody: - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/CustomQueryData' - text/json: - schema: - allOf: - - $ref: '#/components/schemas/CustomQueryData' - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/CustomQueryData' - responses: - "200": - description: Success - content: - application/json: - schema: - type: object - additionalProperties: {} - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/type_filter_list: - get: - tags: - - PlaybackReportingActivity - operationId: GetTypeFilterList - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/user_activity: - get: - tags: - - PlaybackReportingActivity - operationId: GetUserReport - parameters: - - name: days - in: query - schema: - type: integer - format: int32 - - name: endDate - in: query - schema: - type: string - format: date-time - - name: timezoneOffset - in: query - schema: - type: number - format: float - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/user_list: - get: - tags: - - PlaybackReportingActivity - operationId: GetJellyfinUsers - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/user_manage/add: - get: - tags: - - PlaybackReportingActivity - operationId: IgnoreListAdd - parameters: - - name: id - in: query - schema: - type: string - responses: - "200": - description: Success - content: - application/json: - schema: - type: boolean - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/user_manage/prune: - get: - tags: - - PlaybackReportingActivity - operationId: PruneUnknownUsers - responses: - "200": - description: Success - content: - application/json: - schema: - type: boolean - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/user_manage/remove: - get: - tags: - - PlaybackReportingActivity - operationId: IgnoreListRemove - parameters: - - name: id - in: query - schema: - type: string - responses: - "200": - description: Success - content: - application/json: - schema: - type: boolean - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/{breakdownType}/BreakdownReport: - get: - tags: - - PlaybackReportingActivity - operationId: GetBreakdownReport - parameters: - - name: breakdownType - in: path - required: true - schema: - type: string - - name: days - in: query - schema: - type: integer - format: int32 - - name: endDate - in: query - schema: - type: string - format: date-time - - name: timezoneOffset - in: query - schema: - type: number - format: float - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /user_usage_stats/{userId}/{date}/GetItems: - get: - tags: - - PlaybackReportingActivity - operationId: GetUserReportData - parameters: - - name: userId - in: path - required: true - schema: - type: string - - name: date - in: path - required: true - schema: - type: string - - name: filter - in: query - schema: - type: string - - name: timezoneOffset - in: query - schema: - type: number - format: float - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Playlists: post: tags: @@ -20372,124 +19887,6 @@ paths: - CustomAuthentication: - RequiresElevation - DefaultAuthorization - /Plugins/{pluginId}/Configuration: - get: - tags: - - Plugins - summary: Gets plugin configuration. - operationId: GetPluginConfiguration - parameters: - - name: pluginId - in: path - description: Plugin id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: Plugin configuration returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BasePluginConfiguration' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BasePluginConfiguration' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BasePluginConfiguration' - "404": - description: Plugin not found or plugin configuration not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - post: - tags: - - Plugins - summary: Updates plugin configuration. - description: Accepts plugin configuration as JSON body. - operationId: UpdatePluginConfiguration - parameters: - - name: pluginId - in: path - description: Plugin id. - required: true - schema: - type: string - format: uuid - responses: - "204": - description: Plugin configuration updated. - "404": - description: Plugin not found or plugin does not have configuration. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Plugins/{pluginId}/Manifest: - post: - tags: - - Plugins - summary: Gets a plugin's manifest. - operationId: GetPluginManifest - parameters: - - name: pluginId - in: path - description: Plugin id. - required: true - schema: - type: string - format: uuid - responses: - "204": - description: Plugin manifest returned. - "404": - description: Plugin not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Plugins/{pluginId}/{version}: delete: tags: @@ -20666,6 +20063,124 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /Plugins/{pluginId}/Configuration: + get: + tags: + - Plugins + summary: Gets plugin configuration. + operationId: GetPluginConfiguration + parameters: + - name: pluginId + in: path + description: Plugin id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: Plugin configuration returned. + content: + application/json: + schema: + $ref: '#/components/schemas/BasePluginConfiguration' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BasePluginConfiguration' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BasePluginConfiguration' + "404": + description: Plugin not found or plugin configuration not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + post: + tags: + - Plugins + summary: Updates plugin configuration. + description: Accepts plugin configuration as JSON body. + operationId: UpdatePluginConfiguration + parameters: + - name: pluginId + in: path + description: Plugin id. + required: true + schema: + type: string + format: uuid + responses: + "204": + description: Plugin configuration updated. + "404": + description: Plugin not found or plugin does not have configuration. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Plugins/{pluginId}/Manifest: + post: + tags: + - Plugins + summary: Gets a plugin's manifest. + operationId: GetPluginManifest + parameters: + - name: pluginId + in: path + description: Plugin id. + required: true + schema: + type: string + format: uuid + responses: + "204": + description: Plugin manifest returned. + "404": + description: Plugin not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization /QuickConnect/Authorize: post: tags: @@ -20963,806 +20478,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Reports/Activities: - get: - tags: - - Reports - operationId: GetActivityLogs - parameters: - - name: reportView - in: query - schema: - type: string - - name: displayType - in: query - schema: - type: string - - name: hasQueryLimit - in: query - schema: - type: boolean - - name: groupBy - in: query - schema: - type: string - - name: reportColumns - in: query - schema: - type: string - - name: startIndex - in: query - schema: - type: integer - format: int32 - - name: limit - in: query - schema: - type: integer - format: int32 - - name: minDate - in: query - schema: - type: string - - name: includeItemTypes - in: query - schema: - type: string - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Reports/Headers: - get: - tags: - - Reports - operationId: GetReportHeaders - parameters: - - name: reportView - in: query - schema: - type: string - - name: includeItemTypes - in: query - schema: - type: string - responses: - "200": - description: Success - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Reports/Items: - get: - tags: - - Reports - operationId: GetItemReport - parameters: - - name: hasThemeSong - in: query - schema: - type: boolean - - name: hasThemeVideo - in: query - schema: - type: boolean - - name: hasSubtitles - in: query - schema: - type: boolean - - name: hasSpecialFeature - in: query - schema: - type: boolean - - name: hasTrailer - in: query - schema: - type: boolean - - name: adjacentTo - in: query - schema: - type: string - - name: minIndexNumber - in: query - schema: - type: integer - format: int32 - - name: parentIndexNumber - in: query - schema: - type: integer - format: int32 - - name: hasParentalRating - in: query - schema: - type: boolean - - name: isHd - in: query - schema: - type: boolean - - name: locationTypes - in: query - schema: - type: string - - name: excludeLocationTypes - in: query - schema: - type: string - - name: isMissing - in: query - schema: - type: boolean - - name: isUnaried - in: query - schema: - type: boolean - - name: minCommunityRating - in: query - schema: - type: number - format: double - - name: minCriticRating - in: query - schema: - type: number - format: double - - name: airedDuringSeason - in: query - schema: - type: integer - format: int32 - - name: minPremiereDate - in: query - schema: - type: string - - name: minDateLastSaved - in: query - schema: - type: string - - name: minDateLastSavedForUser - in: query - schema: - type: string - - name: maxPremiereDate - in: query - schema: - type: string - - name: hasOverview - in: query - schema: - type: boolean - - name: hasImdbId - in: query - schema: - type: boolean - - name: hasTmdbId - in: query - schema: - type: boolean - - name: hasTvdbId - in: query - schema: - type: boolean - - name: isInBoxSet - in: query - schema: - type: boolean - - name: excludeItemIds - in: query - schema: - type: string - - name: enableTotalRecordCount - in: query - schema: - type: boolean - - name: startIndex - in: query - schema: - type: integer - format: int32 - - name: limit - in: query - schema: - type: integer - format: int32 - - name: recursive - in: query - schema: - type: boolean - - name: sortOrder - in: query - schema: - type: string - - name: parentId - in: query - schema: - type: string - - name: fields - in: query - schema: - type: string - - name: excludeItemTypes - in: query - schema: - type: string - - name: includeItemTypes - in: query - schema: - type: string - - name: filters - in: query - schema: - type: string - - name: isFavorite - in: query - schema: - type: boolean - - name: isNotFavorite - in: query - schema: - type: boolean - - name: mediaTypes - in: query - schema: - type: string - - name: imageTypes - in: query - schema: - type: string - - name: sortBy - in: query - schema: - type: string - - name: isPlayed - in: query - schema: - type: boolean - - name: genres - in: query - schema: - type: string - - name: genreIds - in: query - schema: - type: string - - name: officialRatings - in: query - schema: - type: string - - name: tags - in: query - schema: - type: string - - name: years - in: query - schema: - type: string - - name: enableUserData - in: query - schema: - type: boolean - - name: imageTypeLimit - in: query - schema: - type: integer - format: int32 - - name: enableImageTypes - in: query - schema: - type: string - - name: person - in: query - schema: - type: string - - name: personIds - in: query - schema: - type: string - - name: personTypes - in: query - schema: - type: string - - name: studios - in: query - schema: - type: string - - name: studioIds - in: query - schema: - type: string - - name: artists - in: query - schema: - type: string - - name: excludeArtistIds - in: query - schema: - type: string - - name: artistIds - in: query - schema: - type: string - - name: albums - in: query - schema: - type: string - - name: albumIds - in: query - schema: - type: string - - name: ids - in: query - schema: - type: string - - name: videoTypes - in: query - schema: - type: string - - name: userId - in: query - schema: - type: string - - name: minOfficialRating - in: query - schema: - type: string - - name: isLocked - in: query - schema: - type: boolean - - name: isPlaceHolder - in: query - schema: - type: boolean - - name: hasOfficialRating - in: query - schema: - type: boolean - - name: collapseBoxSetItems - in: query - schema: - type: boolean - - name: is3D - in: query - schema: - type: boolean - - name: seriesStatus - in: query - schema: - type: string - - name: nameStartsWithOrGreater - in: query - schema: - type: string - - name: nameStartsWith - in: query - schema: - type: string - - name: nameLessThan - in: query - schema: - type: string - - name: reportView - in: query - schema: - type: string - - name: displayType - in: query - schema: - type: string - - name: hasQueryLimit - in: query - schema: - type: boolean - - name: groupBy - in: query - schema: - type: string - - name: reportColumns - in: query - schema: - type: string - - name: enableImages - in: query - schema: - type: boolean - default: true - responses: - "200": - description: Success - content: - application/json: - schema: - $ref: '#/components/schemas/ReportResult' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Reports/Items/Download: - get: - tags: - - Reports - operationId: GetReportDownload - parameters: - - name: hasThemeSong - in: query - schema: - type: boolean - - name: hasThemeVideo - in: query - schema: - type: boolean - - name: hasSubtitles - in: query - schema: - type: boolean - - name: hasSpecialFeature - in: query - schema: - type: boolean - - name: hasTrailer - in: query - schema: - type: boolean - - name: adjacentTo - in: query - schema: - type: string - - name: minIndexNumber - in: query - schema: - type: integer - format: int32 - - name: parentIndexNumber - in: query - schema: - type: integer - format: int32 - - name: hasParentalRating - in: query - schema: - type: boolean - - name: isHd - in: query - schema: - type: boolean - - name: locationTypes - in: query - schema: - type: string - - name: excludeLocationTypes - in: query - schema: - type: string - - name: isMissing - in: query - schema: - type: boolean - - name: isUnaried - in: query - schema: - type: boolean - - name: minCommunityRating - in: query - schema: - type: number - format: double - - name: minCriticRating - in: query - schema: - type: number - format: double - - name: airedDuringSeason - in: query - schema: - type: integer - format: int32 - - name: minPremiereDate - in: query - schema: - type: string - - name: minDateLastSaved - in: query - schema: - type: string - - name: minDateLastSavedForUser - in: query - schema: - type: string - - name: maxPremiereDate - in: query - schema: - type: string - - name: hasOverview - in: query - schema: - type: boolean - - name: hasImdbId - in: query - schema: - type: boolean - - name: hasTmdbId - in: query - schema: - type: boolean - - name: hasTvdbId - in: query - schema: - type: boolean - - name: isInBoxSet - in: query - schema: - type: boolean - - name: excludeItemIds - in: query - schema: - type: string - - name: enableTotalRecordCount - in: query - schema: - type: boolean - - name: startIndex - in: query - schema: - type: integer - format: int32 - - name: limit - in: query - schema: - type: integer - format: int32 - - name: recursive - in: query - schema: - type: boolean - - name: sortOrder - in: query - schema: - type: string - - name: parentId - in: query - schema: - type: string - - name: fields - in: query - schema: - type: string - - name: excludeItemTypes - in: query - schema: - type: string - - name: includeItemTypes - in: query - schema: - type: string - - name: filters - in: query - schema: - type: string - - name: isFavorite - in: query - schema: - type: boolean - - name: isNotFavorite - in: query - schema: - type: boolean - - name: mediaTypes - in: query - schema: - type: string - - name: imageTypes - in: query - schema: - type: string - - name: sortBy - in: query - schema: - type: string - - name: isPlayed - in: query - schema: - type: boolean - - name: genres - in: query - schema: - type: string - - name: genreIds - in: query - schema: - type: string - - name: officialRatings - in: query - schema: - type: string - - name: tags - in: query - schema: - type: string - - name: years - in: query - schema: - type: string - - name: enableUserData - in: query - schema: - type: boolean - - name: imageTypeLimit - in: query - schema: - type: integer - format: int32 - - name: enableImageTypes - in: query - schema: - type: string - - name: person - in: query - schema: - type: string - - name: personIds - in: query - schema: - type: string - - name: personTypes - in: query - schema: - type: string - - name: studios - in: query - schema: - type: string - - name: studioIds - in: query - schema: - type: string - - name: artists - in: query - schema: - type: string - - name: excludeArtistIds - in: query - schema: - type: string - - name: artistIds - in: query - schema: - type: string - - name: albums - in: query - schema: - type: string - - name: albumIds - in: query - schema: - type: string - - name: ids - in: query - schema: - type: string - - name: videoTypes - in: query - schema: - type: string - - name: userId - in: query - schema: - type: string - - name: minOfficialRating - in: query - schema: - type: string - - name: isLocked - in: query - schema: - type: boolean - - name: isPlaceHolder - in: query - schema: - type: boolean - - name: hasOfficialRating - in: query - schema: - type: boolean - - name: collapseBoxSetItems - in: query - schema: - type: boolean - - name: is3D - in: query - schema: - type: boolean - - name: seriesStatus - in: query - schema: - type: string - - name: nameStartsWithOrGreater - in: query - schema: - type: string - - name: nameStartsWith - in: query - schema: - type: string - - name: nameLessThan - in: query - schema: - type: string - - name: reportView - in: query - schema: - type: string - - name: displayType - in: query - schema: - type: string - - name: hasQueryLimit - in: query - schema: - type: boolean - - name: groupBy - in: query - schema: - type: string - - name: reportColumns - in: query - schema: - type: string - - name: minDate - in: query - schema: - type: string - - name: exportType - in: query - schema: - allOf: - - $ref: '#/components/schemas/ReportExportType' - default: CSV - - name: enableImages - in: query - schema: - type: boolean - default: true - responses: - "200": - description: Success - content: - application/json: - schema: - $ref: '#/components/schemas/ReportResult' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Lastfm/Login: - post: - tags: - - RestApi - operationId: CreateMobileSession - requestBody: - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/LastFMUser' - responses: - "200": - description: Success /ScheduledTasks: get: tags: @@ -21806,75 +20521,6 @@ paths: security: - CustomAuthentication: - RequiresElevation - /ScheduledTasks/Running/{taskId}: - post: - tags: - - ScheduledTasks - summary: Start specified task. - operationId: StartTask - parameters: - - name: taskId - in: path - description: Task Id. - required: true - schema: - type: string - responses: - "204": - description: Task started. - "404": - description: Task not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - delete: - tags: - - ScheduledTasks - summary: Stop specified task. - operationId: StopTask - parameters: - - name: taskId - in: path - description: Task Id. - required: true - schema: - type: string - responses: - "204": - description: Task stopped. - "404": - description: Task not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation /ScheduledTasks/{taskId}: get: tags: @@ -21974,6 +20620,75 @@ paths: security: - CustomAuthentication: - RequiresElevation + /ScheduledTasks/Running/{taskId}: + post: + tags: + - ScheduledTasks + summary: Start specified task. + operationId: StartTask + parameters: + - name: taskId + in: path + description: Task Id. + required: true + schema: + type: string + responses: + "204": + description: Task started. + "404": + description: Task not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation + delete: + tags: + - ScheduledTasks + summary: Stop specified task. + operationId: StopTask + parameters: + - name: taskId + in: path + description: Task Id. + required: true + schema: + type: string + responses: + "204": + description: Task stopped. + "404": + description: Task not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation /Search/Hints: get: tags: @@ -22221,145 +20936,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Sessions/Capabilities: - post: - tags: - - Session - summary: Updates capabilities for a device. - operationId: PostCapabilities - parameters: - - name: id - in: query - description: The session id. - schema: - type: string - - name: playableMediaTypes - in: query - description: A list of playable media types, comma delimited. Audio, Video, Book, Photo. - schema: - type: array - items: - type: string - - name: supportedCommands - in: query - description: A list of supported remote control commands, comma delimited. - schema: - type: array - items: - $ref: '#/components/schemas/GeneralCommandType' - - name: supportsMediaControl - in: query - description: Determines whether media can be played remotely.. - schema: - type: boolean - default: false - - name: supportsSync - in: query - description: Determines whether sync is supported. - schema: - type: boolean - default: false - - name: supportsPersistentIdentifier - in: query - description: Determines whether the device supports a unique identifier. - schema: - type: boolean - default: true - responses: - "204": - description: Capabilities posted. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Sessions/Capabilities/Full: - post: - tags: - - Session - summary: Updates capabilities for a device. - operationId: PostFullCapabilities - parameters: - - name: id - in: query - description: The session id. - schema: - type: string - requestBody: - description: The MediaBrowser.Model.Session.ClientCapabilities. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ClientCapabilitiesDto' - description: Client capabilities dto. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/ClientCapabilitiesDto' - description: Client capabilities dto. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/ClientCapabilitiesDto' - description: Client capabilities dto. - required: true - responses: - "204": - description: Capabilities updated. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Sessions/Logout: - post: - tags: - - Session - summary: Reports that a session has ended. - operationId: ReportSessionEnded - responses: - "204": - description: Session end reported to server. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Sessions/Viewing: - post: - tags: - - Session - summary: Reports that a session is viewing an item. - operationId: ReportViewing - parameters: - - name: sessionId - in: query - description: The session id. - schema: - type: string - - name: itemId - in: query - description: The item id. - required: true - schema: - type: string - responses: - "204": - description: Session reported to server. - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Sessions/{sessionId}/Command: post: tags: @@ -22713,6 +21289,145 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /Sessions/Capabilities: + post: + tags: + - Session + summary: Updates capabilities for a device. + operationId: PostCapabilities + parameters: + - name: id + in: query + description: The session id. + schema: + type: string + - name: playableMediaTypes + in: query + description: A list of playable media types, comma delimited. Audio, Video, Book, Photo. + schema: + type: array + items: + type: string + - name: supportedCommands + in: query + description: A list of supported remote control commands, comma delimited. + schema: + type: array + items: + $ref: '#/components/schemas/GeneralCommandType' + - name: supportsMediaControl + in: query + description: Determines whether media can be played remotely.. + schema: + type: boolean + default: false + - name: supportsSync + in: query + description: Determines whether sync is supported. + schema: + type: boolean + default: false + - name: supportsPersistentIdentifier + in: query + description: Determines whether the device supports a unique identifier. + schema: + type: boolean + default: true + responses: + "204": + description: Capabilities posted. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Sessions/Capabilities/Full: + post: + tags: + - Session + summary: Updates capabilities for a device. + operationId: PostFullCapabilities + parameters: + - name: id + in: query + description: The session id. + schema: + type: string + requestBody: + description: The MediaBrowser.Model.Session.ClientCapabilities. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/ClientCapabilitiesDto' + description: Client capabilities dto. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/ClientCapabilitiesDto' + description: Client capabilities dto. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/ClientCapabilitiesDto' + description: Client capabilities dto. + required: true + responses: + "204": + description: Capabilities updated. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Sessions/Logout: + post: + tags: + - Session + summary: Reports that a session has ended. + operationId: ReportSessionEnded + responses: + "204": + description: Session end reported to server. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Sessions/Viewing: + post: + tags: + - Session + summary: Reports that a session is viewing an item. + operationId: ReportViewing + parameters: + - name: sessionId + in: query + description: The session id. + schema: + type: string + - name: itemId + in: query + description: The item id. + required: true + schema: + type: string + responses: + "204": + description: Session reported to server. + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization /Startup/Complete: post: tags: @@ -23244,6 +21959,55 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /Videos/{itemId}/{mediaSourceId}/Subtitles/{index}/subtitles.m3u8: + get: + tags: + - Subtitle + summary: Gets an HLS subtitle playlist. + operationId: GetSubtitlePlaylist + parameters: + - name: itemId + in: path + description: The item id. + required: true + schema: + type: string + format: uuid + - name: index + in: path + description: The subtitle stream index. + required: true + schema: + type: integer + format: int32 + - name: mediaSourceId + in: path + description: The media source id. + required: true + schema: + type: string + - name: segmentLength + in: query + description: The subtitle segment length. + required: true + schema: + type: integer + format: int32 + responses: + "200": + description: Subtitle playlist retrieved. + content: + application/x-mpegURL: + schema: + type: string + format: binary + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization /Videos/{itemId}/Subtitles: post: tags: @@ -23330,147 +22094,6 @@ paths: security: - CustomAuthentication: - RequiresElevation - /Videos/{itemId}/{mediaSourceId}/Subtitles/{index}/subtitles.m3u8: - get: - tags: - - Subtitle - summary: Gets an HLS subtitle playlist. - operationId: GetSubtitlePlaylist - parameters: - - name: itemId - in: path - description: The item id. - required: true - schema: - type: string - format: uuid - - name: index - in: path - description: The subtitle stream index. - required: true - schema: - type: integer - format: int32 - - name: mediaSourceId - in: path - description: The media source id. - required: true - schema: - type: string - - name: segmentLength - in: query - description: The subtitle segment length. - required: true - schema: - type: integer - format: int32 - responses: - "200": - description: Subtitle playlist retrieved. - content: - application/x-mpegURL: - schema: - type: string - format: binary - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/Stream.{routeFormat}: - get: - tags: - - Subtitle - summary: Gets subtitles in a specified format. - operationId: GetSubtitle - parameters: - - name: routeItemId - in: path - description: The (route) item id. - required: true - schema: - type: string - format: uuid - - name: routeMediaSourceId - in: path - description: The (route) media source id. - required: true - schema: - type: string - - name: routeIndex - in: path - description: The (route) subtitle stream index. - required: true - schema: - type: integer - format: int32 - - name: routeFormat - in: path - description: The (route) format of the returned subtitle. - required: true - schema: - type: string - - name: itemId - in: query - description: The item id. - deprecated: true - schema: - type: string - format: uuid - - name: mediaSourceId - in: query - description: The media source id. - deprecated: true - schema: - type: string - - name: index - in: query - description: The subtitle stream index. - deprecated: true - schema: - type: integer - format: int32 - - name: format - in: query - description: The format of the returned subtitle. - deprecated: true - schema: - type: string - - name: endPositionTicks - in: query - description: Optional. The end position of the subtitle in ticks. - schema: - type: integer - format: int64 - - name: copyTimestamps - in: query - description: Optional. Whether to copy the timestamps. - schema: - type: boolean - default: false - - name: addVttTimeMap - in: query - description: Optional. Whether to add a VTT time map. - schema: - type: boolean - default: false - - name: startPositionTicks - in: query - description: The start position of the subtitle in ticks. - schema: - type: integer - format: int64 - default: 0 - responses: - "200": - description: File returned. - content: - text/*: - schema: - type: string - format: binary /Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/{routeStartPositionTicks}/Stream.{routeFormat}: get: tags: @@ -23570,6 +22193,98 @@ paths: schema: type: string format: binary + /Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/Stream.{routeFormat}: + get: + tags: + - Subtitle + summary: Gets subtitles in a specified format. + operationId: GetSubtitle + parameters: + - name: routeItemId + in: path + description: The (route) item id. + required: true + schema: + type: string + format: uuid + - name: routeMediaSourceId + in: path + description: The (route) media source id. + required: true + schema: + type: string + - name: routeIndex + in: path + description: The (route) subtitle stream index. + required: true + schema: + type: integer + format: int32 + - name: routeFormat + in: path + description: The (route) format of the returned subtitle. + required: true + schema: + type: string + - name: itemId + in: query + description: The item id. + deprecated: true + schema: + type: string + format: uuid + - name: mediaSourceId + in: query + description: The media source id. + deprecated: true + schema: + type: string + - name: index + in: query + description: The subtitle stream index. + deprecated: true + schema: + type: integer + format: int32 + - name: format + in: query + description: The format of the returned subtitle. + deprecated: true + schema: + type: string + - name: endPositionTicks + in: query + description: Optional. The end position of the subtitle in ticks. + schema: + type: integer + format: int64 + - name: copyTimestamps + in: query + description: Optional. Whether to copy the timestamps. + schema: + type: boolean + default: false + - name: addVttTimeMap + in: query + description: Optional. Whether to add a VTT time map. + schema: + type: boolean + default: false + - name: startPositionTicks + in: query + description: The start position of the subtitle in ticks. + schema: + type: integer + format: int64 + default: 0 + responses: + "200": + description: File returned. + content: + text/*: + schema: + type: string + format: binary /Users/{userId}/Suggestions: get: tags: @@ -25120,197 +23835,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Shows/NextUp: - get: - tags: - - TvShows - summary: Gets a list of next up episodes. - operationId: GetNextUp - parameters: - - name: userId - in: query - description: The user id of the user to get the next up episodes for. - schema: - type: string - format: uuid - - name: startIndex - in: query - description: Optional. The record index to start at. All items with a lower index will be dropped from the results. - schema: - type: integer - format: int32 - - name: limit - in: query - description: Optional. The maximum number of records to return. - schema: - type: integer - format: int32 - - name: fields - in: query - description: Optional. Specify additional fields of information to return in the output. - schema: - type: array - items: - $ref: '#/components/schemas/ItemFields' - - name: seriesId - in: query - description: Optional. Filter by series id. - schema: - type: string - - name: parentId - in: query - description: Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. - schema: - type: string - format: uuid - - name: enableImages - in: query - description: Optional. Include image information in output. - schema: - type: boolean - - name: imageTypeLimit - in: query - description: Optional. The max number of images to return, per image type. - schema: - type: integer - format: int32 - - name: enableImageTypes - in: query - description: Optional. The image types to include in the output. - schema: - type: array - items: - $ref: '#/components/schemas/ImageType' - - name: enableUserData - in: query - description: Optional. Include user data. - schema: - type: boolean - - name: nextUpDateCutoff - in: query - description: Optional. Starting date of shows to show in Next Up section. - schema: - type: string - format: date-time - - name: enableTotalRecordCount - in: query - description: Whether to enable the total records count. Defaults to true. - schema: - type: boolean - default: true - - name: disableFirstEpisode - in: query - description: Whether to disable sending the first episode in a series as next up. - schema: - type: boolean - default: false - - name: enableRewatching - in: query - description: Whether to include watched episode in next up results. - schema: - type: boolean - default: false - responses: - "200": - description: Success - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Shows/Upcoming: - get: - tags: - - TvShows - summary: Gets a list of upcoming episodes. - operationId: GetUpcomingEpisodes - parameters: - - name: userId - in: query - description: The user id of the user to get the upcoming episodes for. - schema: - type: string - format: uuid - - name: startIndex - in: query - description: Optional. The record index to start at. All items with a lower index will be dropped from the results. - schema: - type: integer - format: int32 - - name: limit - in: query - description: Optional. The maximum number of records to return. - schema: - type: integer - format: int32 - - name: fields - in: query - description: Optional. Specify additional fields of information to return in the output. - schema: - type: array - items: - $ref: '#/components/schemas/ItemFields' - - name: parentId - in: query - description: Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. - schema: - type: string - format: uuid - - name: enableImages - in: query - description: Optional. Include image information in output. - schema: - type: boolean - - name: imageTypeLimit - in: query - description: Optional. The max number of images to return, per image type. - schema: - type: integer - format: int32 - - name: enableImageTypes - in: query - description: Optional. The image types to include in the output. - schema: - type: array - items: - $ref: '#/components/schemas/ImageType' - - name: enableUserData - in: query - description: Optional. Include user data. - schema: - type: boolean - responses: - "200": - description: Success - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Shows/{seriesId}/Episodes: get: tags: @@ -25535,6 +24059,197 @@ paths: security: - CustomAuthentication: - DefaultAuthorization + /Shows/NextUp: + get: + tags: + - TvShows + summary: Gets a list of next up episodes. + operationId: GetNextUp + parameters: + - name: userId + in: query + description: The user id of the user to get the next up episodes for. + schema: + type: string + format: uuid + - name: startIndex + in: query + description: Optional. The record index to start at. All items with a lower index will be dropped from the results. + schema: + type: integer + format: int32 + - name: limit + in: query + description: Optional. The maximum number of records to return. + schema: + type: integer + format: int32 + - name: fields + in: query + description: Optional. Specify additional fields of information to return in the output. + schema: + type: array + items: + $ref: '#/components/schemas/ItemFields' + - name: seriesId + in: query + description: Optional. Filter by series id. + schema: + type: string + - name: parentId + in: query + description: Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. + schema: + type: string + format: uuid + - name: enableImages + in: query + description: Optional. Include image information in output. + schema: + type: boolean + - name: imageTypeLimit + in: query + description: Optional. The max number of images to return, per image type. + schema: + type: integer + format: int32 + - name: enableImageTypes + in: query + description: Optional. The image types to include in the output. + schema: + type: array + items: + $ref: '#/components/schemas/ImageType' + - name: enableUserData + in: query + description: Optional. Include user data. + schema: + type: boolean + - name: nextUpDateCutoff + in: query + description: Optional. Starting date of shows to show in Next Up section. + schema: + type: string + format: date-time + - name: enableTotalRecordCount + in: query + description: Whether to enable the total records count. Defaults to true. + schema: + type: boolean + default: true + - name: disableFirstEpisode + in: query + description: Whether to disable sending the first episode in a series as next up. + schema: + type: boolean + default: false + - name: enableRewatching + in: query + description: Whether to include watched episode in next up results. + schema: + type: boolean + default: false + responses: + "200": + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Shows/Upcoming: + get: + tags: + - TvShows + summary: Gets a list of upcoming episodes. + operationId: GetUpcomingEpisodes + parameters: + - name: userId + in: query + description: The user id of the user to get the upcoming episodes for. + schema: + type: string + format: uuid + - name: startIndex + in: query + description: Optional. The record index to start at. All items with a lower index will be dropped from the results. + schema: + type: integer + format: int32 + - name: limit + in: query + description: Optional. The maximum number of records to return. + schema: + type: integer + format: int32 + - name: fields + in: query + description: Optional. Specify additional fields of information to return in the output. + schema: + type: array + items: + $ref: '#/components/schemas/ItemFields' + - name: parentId + in: query + description: Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. + schema: + type: string + format: uuid + - name: enableImages + in: query + description: Optional. Include image information in output. + schema: + type: boolean + - name: imageTypeLimit + in: query + description: Optional. The max number of images to return, per image type. + schema: + type: integer + format: int32 + - name: enableImageTypes + in: query + description: Optional. The image types to include in the output. + schema: + type: array + items: + $ref: '#/components/schemas/ImageType' + - name: enableUserData + in: query + description: Optional. Include user data. + schema: + type: boolean + responses: + "200": + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization /Audio/{itemId}/universal: get: tags: @@ -25794,588 +24509,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Users/{userId}/FavoriteItems/{itemId}: - post: - tags: - - UserLibrary - summary: Marks an item as a favorite. - operationId: MarkFavoriteItem - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: Item marked as favorite. - content: - application/json: - schema: - $ref: '#/components/schemas/UserItemDataDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/UserItemDataDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/UserItemDataDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - delete: - tags: - - UserLibrary - summary: Unmarks item as a favorite. - operationId: UnmarkFavoriteItem - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: Item unmarked as favorite. - content: - application/json: - schema: - $ref: '#/components/schemas/UserItemDataDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/UserItemDataDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/UserItemDataDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/Items/Latest: - get: - tags: - - UserLibrary - summary: Gets latest media. - operationId: GetLatestMedia - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: parentId - in: query - description: Specify this to localize the search to a specific item or folder. Omit to use the root. - schema: - type: string - format: uuid - - name: fields - in: query - description: Optional. Specify additional fields of information to return in the output. - schema: - type: array - items: - $ref: '#/components/schemas/ItemFields' - - name: includeItemTypes - in: query - description: Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemKind' - - name: isPlayed - in: query - description: Filter by items that are played, or not. - schema: - type: boolean - - name: enableImages - in: query - description: Optional. include image information in output. - schema: - type: boolean - - name: imageTypeLimit - in: query - description: Optional. the max number of images to return, per image type. - schema: - type: integer - format: int32 - - name: enableImageTypes - in: query - description: Optional. The image types to include in the output. - schema: - type: array - items: - $ref: '#/components/schemas/ImageType' - - name: enableUserData - in: query - description: Optional. include user data. - schema: - type: boolean - - name: limit - in: query - description: Return item limit. - schema: - type: integer - format: int32 - default: 20 - - name: groupItems - in: query - description: Whether or not to group items into a parent container. - schema: - type: boolean - default: true - responses: - "200": - description: Latest media returned. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/Items/Root: - get: - tags: - - UserLibrary - summary: Gets the root folder from a user's library. - operationId: GetRootFolder - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: Root folder returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/Items/{itemId}: - get: - tags: - - UserLibrary - summary: Gets an item from a user's library. - operationId: GetItem - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: Item returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/Items/{itemId}/Intros: - get: - tags: - - UserLibrary - summary: Gets intros to play before the main media item plays. - operationId: GetIntros - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: Intros returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/Items/{itemId}/LocalTrailers: - get: - tags: - - UserLibrary - summary: Gets local trailers for an item. - operationId: GetLocalTrailers - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: An Microsoft.AspNetCore.Mvc.OkResult containing the item's local trailers. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/Items/{itemId}/Rating: - delete: - tags: - - UserLibrary - summary: Deletes a user's saved personal rating for an item. - operationId: DeleteUserItemRating - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: Personal rating removed. - content: - application/json: - schema: - $ref: '#/components/schemas/UserItemDataDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/UserItemDataDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/UserItemDataDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - post: - tags: - - UserLibrary - summary: Updates a user's rating for an item. - operationId: UpdateUserItemRating - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - - name: likes - in: query - description: Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Guid,System.Guid,System.Nullable{System.Boolean}) is likes. - schema: - type: boolean - responses: - "200": - description: Item rating updated. - content: - application/json: - schema: - $ref: '#/components/schemas/UserItemDataDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/UserItemDataDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/UserItemDataDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/Items/{itemId}/SpecialFeatures: - get: - tags: - - UserLibrary - summary: Gets special features for an item. - operationId: GetSpecialFeatures - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: itemId - in: path - description: Item id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: Special features returned. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemDto' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/BaseItemDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/GroupingOptions: - get: - tags: - - UserViews - summary: Get user view grouping options. - operationId: GetGroupingOptions - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - responses: - "200": - description: User view grouping options returned. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/SpecialViewOptionDto' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/SpecialViewOptionDto' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/SpecialViewOptionDto' - "404": - description: User not found. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/{userId}/Views: - get: - tags: - - UserViews - summary: Get user views. - operationId: GetUserViews - parameters: - - name: userId - in: path - description: User id. - required: true - schema: - type: string - format: uuid - - name: includeExternalContent - in: query - description: Whether or not to include external views such as channels or live tv. - schema: - type: boolean - - name: presetViews - in: query - description: Preset views. - schema: - type: array - items: - type: string - - name: includeHidden - in: query - description: Whether or not to include hidden content. - schema: - type: boolean - default: false - responses: - "200": - description: User views returned. - content: - application/json: - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/BaseItemDtoQueryResult' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization /Users: get: tags: @@ -26419,268 +24552,6 @@ paths: security: - CustomAuthentication: - DefaultAuthorization - /Users/AuthenticateByName: - post: - tags: - - User - summary: Authenticates a user by name. - operationId: AuthenticateUserByName - requestBody: - description: The M:Jellyfin.Api.Controllers.UserController.AuthenticateUserByName(Jellyfin.Api.Models.UserDtos.AuthenticateUserByName) request. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/AuthenticateUserByName' - description: The authenticate user by name request body. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/AuthenticateUserByName' - description: The authenticate user by name request body. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/AuthenticateUserByName' - description: The authenticate user by name request body. - required: true - responses: - "200": - description: User authenticated. - content: - application/json: - schema: - $ref: '#/components/schemas/AuthenticationResult' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/AuthenticationResult' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/AuthenticationResult' - /Users/AuthenticateWithQuickConnect: - post: - tags: - - User - summary: Authenticates a user with quick connect. - operationId: AuthenticateWithQuickConnect - requestBody: - description: The Jellyfin.Api.Models.UserDtos.QuickConnectDto request. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/QuickConnectDto' - description: The quick connect request body. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/QuickConnectDto' - description: The quick connect request body. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/QuickConnectDto' - description: The quick connect request body. - required: true - responses: - "200": - description: User authenticated. - content: - application/json: - schema: - $ref: '#/components/schemas/AuthenticationResult' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/AuthenticationResult' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/AuthenticationResult' - "400": - description: Missing token. - /Users/ForgotPassword: - post: - tags: - - User - summary: Initiates the forgot password process for a local user. - operationId: ForgotPassword - requestBody: - description: The forgot password request containing the entered username. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ForgotPasswordDto' - description: Forgot Password request body DTO. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/ForgotPasswordDto' - description: Forgot Password request body DTO. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/ForgotPasswordDto' - description: Forgot Password request body DTO. - required: true - responses: - "200": - description: Password reset process started. - content: - application/json: - schema: - $ref: '#/components/schemas/ForgotPasswordResult' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ForgotPasswordResult' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ForgotPasswordResult' - /Users/ForgotPassword/Pin: - post: - tags: - - User - summary: Redeems a forgot password pin. - operationId: ForgotPasswordPin - requestBody: - description: The forgot password pin request containing the entered pin. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/ForgotPasswordPinDto' - description: Forgot Password Pin enter request body DTO. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/ForgotPasswordPinDto' - description: Forgot Password Pin enter request body DTO. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/ForgotPasswordPinDto' - description: Forgot Password Pin enter request body DTO. - required: true - responses: - "200": - description: Pin reset process started. - content: - application/json: - schema: - $ref: '#/components/schemas/PinRedeemResult' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/PinRedeemResult' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/PinRedeemResult' - /Users/Me: - get: - tags: - - User - summary: Gets the user based on auth token. - operationId: GetCurrentUser - responses: - "200": - description: User returned. - content: - application/json: - schema: - $ref: '#/components/schemas/UserDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/UserDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/UserDto' - "400": - description: Token is not owned by a user. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - DefaultAuthorization - /Users/New: - post: - tags: - - User - summary: Creates a user. - operationId: CreateUserByName - requestBody: - description: The create user by name request body. - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/CreateUserByName' - description: The create user by name request body. - text/json: - schema: - allOf: - - $ref: '#/components/schemas/CreateUserByName' - description: The create user by name request body. - application/*+json: - schema: - allOf: - - $ref: '#/components/schemas/CreateUserByName' - description: The create user by name request body. - required: true - responses: - "200": - description: User created. - content: - application/json: - schema: - $ref: '#/components/schemas/UserDto' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/UserDto' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/UserDto' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation - /Users/Public: - get: - tags: - - User - summary: Gets a list of publicly visible users for display on a login screen. - operationId: GetPublicUsers - responses: - "200": - description: Public users returned. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/UserDto' - application/json; profile="CamelCase": - schema: - type: array - items: - $ref: '#/components/schemas/UserDto' - application/json; profile="PascalCase": - schema: - type: array - items: - $ref: '#/components/schemas/UserDto' /Users/{userId}: get: tags: @@ -27133,6 +25004,850 @@ paths: security: - CustomAuthentication: - RequiresElevation + /Users/AuthenticateByName: + post: + tags: + - User + summary: Authenticates a user by name. + operationId: AuthenticateUserByName + requestBody: + description: The M:Jellyfin.Api.Controllers.UserController.AuthenticateUserByName(Jellyfin.Api.Models.UserDtos.AuthenticateUserByName) request. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/AuthenticateUserByName' + description: The authenticate user by name request body. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/AuthenticateUserByName' + description: The authenticate user by name request body. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/AuthenticateUserByName' + description: The authenticate user by name request body. + required: true + responses: + "200": + description: User authenticated. + content: + application/json: + schema: + $ref: '#/components/schemas/AuthenticationResult' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/AuthenticationResult' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/AuthenticationResult' + /Users/AuthenticateWithQuickConnect: + post: + tags: + - User + summary: Authenticates a user with quick connect. + operationId: AuthenticateWithQuickConnect + requestBody: + description: The Jellyfin.Api.Models.UserDtos.QuickConnectDto request. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/QuickConnectDto' + description: The quick connect request body. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/QuickConnectDto' + description: The quick connect request body. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/QuickConnectDto' + description: The quick connect request body. + required: true + responses: + "200": + description: User authenticated. + content: + application/json: + schema: + $ref: '#/components/schemas/AuthenticationResult' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/AuthenticationResult' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/AuthenticationResult' + "400": + description: Missing token. + /Users/ForgotPassword: + post: + tags: + - User + summary: Initiates the forgot password process for a local user. + operationId: ForgotPassword + requestBody: + description: The forgot password request containing the entered username. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/ForgotPasswordDto' + description: Forgot Password request body DTO. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/ForgotPasswordDto' + description: Forgot Password request body DTO. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/ForgotPasswordDto' + description: Forgot Password request body DTO. + required: true + responses: + "200": + description: Password reset process started. + content: + application/json: + schema: + $ref: '#/components/schemas/ForgotPasswordResult' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ForgotPasswordResult' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ForgotPasswordResult' + /Users/ForgotPassword/Pin: + post: + tags: + - User + summary: Redeems a forgot password pin. + operationId: ForgotPasswordPin + requestBody: + description: The forgot password pin request containing the entered pin. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/ForgotPasswordPinDto' + description: Forgot Password Pin enter request body DTO. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/ForgotPasswordPinDto' + description: Forgot Password Pin enter request body DTO. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/ForgotPasswordPinDto' + description: Forgot Password Pin enter request body DTO. + required: true + responses: + "200": + description: Pin reset process started. + content: + application/json: + schema: + $ref: '#/components/schemas/PinRedeemResult' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/PinRedeemResult' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/PinRedeemResult' + /Users/Me: + get: + tags: + - User + summary: Gets the user based on auth token. + operationId: GetCurrentUser + responses: + "200": + description: User returned. + content: + application/json: + schema: + $ref: '#/components/schemas/UserDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/UserDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/UserDto' + "400": + description: Token is not owned by a user. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Users/New: + post: + tags: + - User + summary: Creates a user. + operationId: CreateUserByName + requestBody: + description: The create user by name request body. + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/CreateUserByName' + description: The create user by name request body. + text/json: + schema: + allOf: + - $ref: '#/components/schemas/CreateUserByName' + description: The create user by name request body. + application/*+json: + schema: + allOf: + - $ref: '#/components/schemas/CreateUserByName' + description: The create user by name request body. + required: true + responses: + "200": + description: User created. + content: + application/json: + schema: + $ref: '#/components/schemas/UserDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/UserDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/UserDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation + /Users/Public: + get: + tags: + - User + summary: Gets a list of publicly visible users for display on a login screen. + operationId: GetPublicUsers + responses: + "200": + description: Public users returned. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/UserDto' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/UserDto' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/UserDto' + /Users/{userId}/FavoriteItems/{itemId}: + post: + tags: + - UserLibrary + summary: Marks an item as a favorite. + operationId: MarkFavoriteItem + parameters: + - name: userId + in: path + description: User id. + required: true + schema: + type: string + format: uuid + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: Item marked as favorite. + content: + application/json: + schema: + $ref: '#/components/schemas/UserItemDataDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/UserItemDataDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/UserItemDataDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + delete: + tags: + - UserLibrary + summary: Unmarks item as a favorite. + operationId: UnmarkFavoriteItem + parameters: + - name: userId + in: path + description: User id. + required: true + schema: + type: string + format: uuid + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: Item unmarked as favorite. + content: + application/json: + schema: + $ref: '#/components/schemas/UserItemDataDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/UserItemDataDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/UserItemDataDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Users/{userId}/Items/{itemId}: + get: + tags: + - UserLibrary + summary: Gets an item from a user's library. + operationId: GetItem + parameters: + - name: userId + in: path + description: User id. + required: true + schema: + type: string + format: uuid + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: Item returned. + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Users/{userId}/Items/{itemId}/Intros: + get: + tags: + - UserLibrary + summary: Gets intros to play before the main media item plays. + operationId: GetIntros + parameters: + - name: userId + in: path + description: User id. + required: true + schema: + type: string + format: uuid + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: Intros returned. + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Users/{userId}/Items/{itemId}/LocalTrailers: + get: + tags: + - UserLibrary + summary: Gets local trailers for an item. + operationId: GetLocalTrailers + parameters: + - name: userId + in: path + description: User id. + required: true + schema: + type: string + format: uuid + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: An Microsoft.AspNetCore.Mvc.OkResult containing the item's local trailers. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Users/{userId}/Items/{itemId}/Rating: + delete: + tags: + - UserLibrary + summary: Deletes a user's saved personal rating for an item. + operationId: DeleteUserItemRating + parameters: + - name: userId + in: path + description: User id. + required: true + schema: + type: string + format: uuid + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: Personal rating removed. + content: + application/json: + schema: + $ref: '#/components/schemas/UserItemDataDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/UserItemDataDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/UserItemDataDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + post: + tags: + - UserLibrary + summary: Updates a user's rating for an item. + operationId: UpdateUserItemRating + parameters: + - name: userId + in: path + description: User id. + required: true + schema: + type: string + format: uuid + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + - name: likes + in: query + description: Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Guid,System.Guid,System.Nullable{System.Boolean}) is likes. + schema: + type: boolean + responses: + "200": + description: Item rating updated. + content: + application/json: + schema: + $ref: '#/components/schemas/UserItemDataDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/UserItemDataDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/UserItemDataDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Users/{userId}/Items/{itemId}/SpecialFeatures: + get: + tags: + - UserLibrary + summary: Gets special features for an item. + operationId: GetSpecialFeatures + parameters: + - name: userId + in: path + description: User id. + required: true + schema: + type: string + format: uuid + - name: itemId + in: path + description: Item id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: Special features returned. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Users/{userId}/Items/Latest: + get: + tags: + - UserLibrary + summary: Gets latest media. + operationId: GetLatestMedia + parameters: + - name: userId + in: path + description: User id. + required: true + schema: + type: string + format: uuid + - name: parentId + in: query + description: Specify this to localize the search to a specific item or folder. Omit to use the root. + schema: + type: string + format: uuid + - name: fields + in: query + description: Optional. Specify additional fields of information to return in the output. + schema: + type: array + items: + $ref: '#/components/schemas/ItemFields' + - name: includeItemTypes + in: query + description: Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemKind' + - name: isPlayed + in: query + description: Filter by items that are played, or not. + schema: + type: boolean + - name: enableImages + in: query + description: Optional. include image information in output. + schema: + type: boolean + - name: imageTypeLimit + in: query + description: Optional. the max number of images to return, per image type. + schema: + type: integer + format: int32 + - name: enableImageTypes + in: query + description: Optional. The image types to include in the output. + schema: + type: array + items: + $ref: '#/components/schemas/ImageType' + - name: enableUserData + in: query + description: Optional. include user data. + schema: + type: boolean + - name: limit + in: query + description: Return item limit. + schema: + type: integer + format: int32 + default: 20 + - name: groupItems + in: query + description: Whether or not to group items into a parent container. + schema: + type: boolean + default: true + responses: + "200": + description: Latest media returned. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/BaseItemDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Users/{userId}/Items/Root: + get: + tags: + - UserLibrary + summary: Gets the root folder from a user's library. + operationId: GetRootFolder + parameters: + - name: userId + in: path + description: User id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: Root folder returned. + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDto' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDto' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Users/{userId}/GroupingOptions: + get: + tags: + - UserViews + summary: Get user view grouping options. + operationId: GetGroupingOptions + parameters: + - name: userId + in: path + description: User id. + required: true + schema: + type: string + format: uuid + responses: + "200": + description: User view grouping options returned. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/SpecialViewOptionDto' + application/json; profile="CamelCase": + schema: + type: array + items: + $ref: '#/components/schemas/SpecialViewOptionDto' + application/json; profile="PascalCase": + schema: + type: array + items: + $ref: '#/components/schemas/SpecialViewOptionDto' + "404": + description: User not found. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization + /Users/{userId}/Views: + get: + tags: + - UserViews + summary: Get user views. + operationId: GetUserViews + parameters: + - name: userId + in: path + description: User id. + required: true + schema: + type: string + format: uuid + - name: includeExternalContent + in: query + description: Whether or not to include external views such as channels or live tv. + schema: + type: boolean + - name: presetViews + in: query + description: Preset views. + schema: + type: array + items: + type: string + - name: includeHidden + in: query + description: Whether or not to include hidden content. + schema: + type: boolean + default: false + responses: + "200": + description: User views returned. + content: + application/json: + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/BaseItemDtoQueryResult' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - DefaultAuthorization /Videos/{videoId}/{mediaSourceId}/Attachments/{index}: get: tags: @@ -27180,44 +25895,6 @@ paths: application/json; profile="PascalCase": schema: $ref: '#/components/schemas/ProblemDetails' - /Videos/MergeVersions: - post: - tags: - - Videos - summary: Merges videos into a single record. - operationId: MergeVersions - parameters: - - name: ids - in: query - description: Item id list. This allows multiple, comma delimited. - required: true - schema: - type: array - items: - type: string - format: uuid - responses: - "204": - description: Videos merged. - "400": - description: Supply at least 2 video ids. - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="CamelCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - application/json; profile="PascalCase": - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized - "403": - description: Forbidden - security: - - CustomAuthentication: - - RequiresElevation /Videos/{itemId}/AdditionalParts: get: tags: @@ -28508,6 +27185,44 @@ paths: schema: type: string format: binary + /Videos/MergeVersions: + post: + tags: + - Videos + summary: Merges videos into a single record. + operationId: MergeVersions + parameters: + - name: ids + in: query + description: Item id list. This allows multiple, comma delimited. + required: true + schema: + type: array + items: + type: string + format: uuid + responses: + "204": + description: Videos merged. + "400": + description: Supply at least 2 video ids. + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="CamelCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + application/json; profile="PascalCase": + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: Unauthorized + "403": + description: Forbidden + security: + - CustomAuthentication: + - RequiresElevation /Years: get: tags: @@ -30391,7 +29106,7 @@ components: DeviceProfile: allOf: - $ref: '#/components/schemas/DeviceProfile' - description: Gets or sets the device profile. + description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." nullable: true AppStoreUrl: type: string @@ -30629,14 +29344,6 @@ components: type: string additionalProperties: false description: Class CultureDto. - CustomQueryData: - type: object - properties: - CustomQueryString: - type: string - ReplaceUserId: - type: boolean - additionalProperties: false DayOfWeek: enum: - Sunday @@ -31685,69 +30392,6 @@ components: - Regex - Substring type: string - HeaderMetadata: - enum: - - None - - Path - - Name - - PremiereDate - - DateAdded - - ReleaseDate - - Runtime - - PlayCount - - Season - - SeasonNumber - - Series - - Network - - Year - - ParentalRating - - CommunityRating - - Trailers - - Specials - - AlbumArtist - - Album - - Disc - - Track - - Audio - - EmbeddedImage - - Video - - Resolution - - Subtitles - - Genres - - Countries - - Status - - Tracks - - EpisodeSeries - - EpisodeSeason - - EpisodeNumber - - AudioAlbumArtist - - MusicArtist - - AudioAlbum - - Locked - - ImagePrimary - - ImageBackdrop - - ImageLogo - - Actor - - Studios - - Composer - - Director - - GuestStar - - Producer - - Writer - - Artist - - Years - - ParentalRatings - - CommunityRatings - - Overview - - ShortOverview - - Type - - Date - - UserPrimaryImage - - Severity - - Item - - User - - UserId - type: string HttpHeaderInfo: type: object properties: @@ -31761,45 +30405,6 @@ components: allOf: - $ref: '#/components/schemas/HeaderMatchType' additionalProperties: false - IPlugin: - type: object - properties: - Name: - type: string - description: Gets the name of the plugin. - nullable: true - readOnly: true - Description: - type: string - description: Gets the Description. - nullable: true - readOnly: true - Id: - type: string - description: Gets the unique id. - format: uuid - readOnly: true - Version: - type: string - description: Gets the plugin version. - nullable: true - readOnly: true - AssemblyFilePath: - type: string - description: Gets the path to the assembly file. - nullable: true - readOnly: true - CanUninstall: - type: boolean - description: Gets a value indicating whether the plugin can be uninstalled. - readOnly: true - DataFolderPath: - type: string - description: Gets the full path to the data folder, where the plugin can store any miscellaneous files needed. - nullable: true - readOnly: true - additionalProperties: false - description: Defines the MediaBrowser.Common.Plugins.IPlugin. IgnoreWaitRequestDto: type: object properties: @@ -31977,6 +30582,45 @@ components: nullable: true additionalProperties: false description: Class InstallationInfo. + IPlugin: + type: object + properties: + Name: + type: string + description: Gets the name of the plugin. + nullable: true + readOnly: true + Description: + type: string + description: Gets the Description. + nullable: true + readOnly: true + Id: + type: string + description: Gets the unique id. + format: uuid + readOnly: true + Version: + type: string + description: Gets the plugin version. + nullable: true + readOnly: true + AssemblyFilePath: + type: string + description: Gets the path to the assembly file. + nullable: true + readOnly: true + CanUninstall: + type: boolean + description: Gets a value indicating whether the plugin can be uninstalled. + readOnly: true + DataFolderPath: + type: string + description: Gets the full path to the data folder, where the plugin can store any miscellaneous files needed. + nullable: true + readOnly: true + additionalProperties: false + description: Defines the MediaBrowser.Common.Plugins.IPlugin. IsoType: enum: - Dvd @@ -32114,24 +30758,6 @@ components: - IsFavoriteOrLikes type: string description: Enum ItemFilter. - ItemViewType: - enum: - - None - - Detail - - Edit - - List - - ItemByNameDetails - - StatusImage - - EmbeddedImage - - SubtitleImage - - TrailersImage - - SpecialsImage - - LockDataImage - - TagsPrimaryImage - - TagsBackdropImage - - TagsLogoImage - - UserPrimaryImage - type: string JoinGroupRequestDto: type: object properties: @@ -32148,16 +30774,6 @@ components: - UntilWatched - UntilDate type: string - LastFMUser: - type: object - properties: - Username: - type: string - nullable: true - Password: - type: string - nullable: true - additionalProperties: false LibraryOptionInfoDto: type: object properties: @@ -32576,19 +31192,6 @@ components: - Critical - None type: string - LoginInfoInput: - required: - - Password - - Username - type: object - properties: - Username: - type: string - Password: - type: string - CustomApiKey: - type: string - additionalProperties: false MediaAttachment: type: object properties: @@ -33632,6 +32235,20 @@ components: format: int32 additionalProperties: false description: A list of notifications with the total record count for pagination. + NotificationsSummaryDto: + type: object + properties: + UnreadCount: + type: integer + description: Gets or sets the number of unread notifications. + format: int32 + MaxUnreadNotificationLevel: + allOf: + - $ref: '#/components/schemas/NotificationLevel' + description: Gets or sets the maximum unread notification level. + nullable: true + additionalProperties: false + description: The notification summary DTO. NotificationTypeInfo: type: object properties: @@ -33649,20 +32266,6 @@ components: IsBasedOnUserEvent: type: boolean additionalProperties: false - NotificationsSummaryDto: - type: object - properties: - UnreadCount: - type: integer - description: Gets or sets the number of unread notifications. - format: int32 - MaxUnreadNotificationLevel: - allOf: - - $ref: '#/components/schemas/NotificationLevel' - description: Gets or sets the maximum unread notification level. - nullable: true - additionalProperties: false - description: The notification summary DTO. ObjectGroupUpdate: type: object properties: @@ -33735,7 +32338,7 @@ components: DeviceProfile: allOf: - $ref: '#/components/schemas/DeviceProfile' - description: Gets or sets the device profile. + description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." nullable: true DirectPlayProtocols: type: array @@ -33869,6 +32472,15 @@ components: type: boolean description: Gets or sets a value indicating whether disabled providers should be included. additionalProperties: false + PingRequestDto: + type: object + properties: + Ping: + type: integer + description: Gets or sets the ping time. + format: int64 + additionalProperties: false + description: Class PingRequestDto. PinRedeemResult: type: object properties: @@ -33881,94 +32493,11 @@ components: type: string description: Gets or sets the users reset. additionalProperties: false - PingRequestDto: - type: object - properties: - Ping: - type: integer - description: Gets or sets the ping time. - format: int64 - additionalProperties: false - description: Class PingRequestDto. PlayAccess: enum: - Full - None type: string - PlayCommand: - enum: - - PlayNow - - PlayNext - - PlayLast - - PlayInstantMix - - PlayShuffle - type: string - description: Enum PlayCommand. - PlayMethod: - enum: - - Transcode - - DirectStream - - DirectPlay - type: string - PlayRequest: - type: object - properties: - ItemIds: - type: array - items: - type: string - format: uuid - description: Gets or sets the item ids. - nullable: true - StartPositionTicks: - type: integer - description: Gets or sets the start position ticks that the first item should be played at. - format: int64 - nullable: true - PlayCommand: - allOf: - - $ref: '#/components/schemas/PlayCommand' - description: Gets or sets the play command. - ControllingUserId: - type: string - description: Gets or sets the controlling user identifier. - format: uuid - SubtitleStreamIndex: - type: integer - format: int32 - nullable: true - AudioStreamIndex: - type: integer - format: int32 - nullable: true - MediaSourceId: - type: string - nullable: true - StartIndex: - type: integer - format: int32 - nullable: true - additionalProperties: false - description: Class PlayRequest. - PlayRequestDto: - type: object - properties: - PlayingQueue: - type: array - items: - type: string - format: uuid - description: Gets or sets the playing queue. - PlayingItemPosition: - type: integer - description: Gets or sets the position of the playing item in the queue. - format: int32 - StartPositionTicks: - type: integer - description: Gets or sets the start position ticks. - format: int64 - additionalProperties: false - description: Class PlayRequestDto. PlaybackErrorCode: enum: - NotAllowed @@ -34019,7 +32548,7 @@ components: DeviceProfile: allOf: - $ref: '#/components/schemas/DeviceProfile' - description: Gets or sets the device profile. + description: "A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.\r\n
\r\nSpecifically, it defines the supported containers and\r\ncodecs (video and/or audio, including codec profiles and levels)\r\nthe device is able to direct play (without transcoding or remuxing),\r\nas well as which containers/codecs to transcode to in case it isn't." nullable: true EnableDirectPlay: type: boolean @@ -34287,6 +32816,15 @@ components: nullable: true additionalProperties: false description: Class PlaybackStopInfo. + PlayCommand: + enum: + - PlayNow + - PlayNext + - PlayLast + - PlayInstantMix + - PlayShuffle + type: string + description: Enum PlayCommand. PlayerStateInfo: type: object properties: @@ -34343,6 +32881,71 @@ components: Id: type: string additionalProperties: false + PlayMethod: + enum: + - Transcode + - DirectStream + - DirectPlay + type: string + PlayRequest: + type: object + properties: + ItemIds: + type: array + items: + type: string + format: uuid + description: Gets or sets the item ids. + nullable: true + StartPositionTicks: + type: integer + description: Gets or sets the start position ticks that the first item should be played at. + format: int64 + nullable: true + PlayCommand: + allOf: + - $ref: '#/components/schemas/PlayCommand' + description: Gets or sets the play command. + ControllingUserId: + type: string + description: Gets or sets the controlling user identifier. + format: uuid + SubtitleStreamIndex: + type: integer + format: int32 + nullable: true + AudioStreamIndex: + type: integer + format: int32 + nullable: true + MediaSourceId: + type: string + nullable: true + StartIndex: + type: integer + format: int32 + nullable: true + additionalProperties: false + description: Class PlayRequest. + PlayRequestDto: + type: object + properties: + PlayingQueue: + type: array + items: + type: string + format: uuid + description: Gets or sets the playing queue. + PlayingItemPosition: + type: integer + description: Gets or sets the position of the playing item in the queue. + format: int32 + StartPositionTicks: + type: integer + description: Gets or sets the start position ticks. + format: int64 + additionalProperties: false + description: Class PlayRequestDto. PlaystateCommand: enum: - Stop @@ -34596,7 +33199,7 @@ components: Mode: allOf: - $ref: '#/components/schemas/GroupQueueMode' - description: Gets or sets the mode in which to add the new items. + description: Enum GroupQueueMode. additionalProperties: false description: Class QueueRequestDto. QuickConnectDto: @@ -34888,174 +33491,6 @@ components: - RepeatAll - RepeatOne type: string - ReportDisplayType: - enum: - - None - - Screen - - Export - - ScreenExport - type: string - ReportExportType: - enum: - - CSV - - Excel - type: string - ReportFieldType: - enum: - - String - - Boolean - - Date - - Time - - DateTime - - Int - - Image - - Object - - Minutes - type: string - ReportGroup: - type: object - properties: - Name: - type: string - Rows: - type: array - items: - $ref: '#/components/schemas/ReportRow' - additionalProperties: false - ReportHeader: - type: object - properties: - HeaderFieldType: - allOf: - - $ref: '#/components/schemas/ReportFieldType' - Name: - type: string - nullable: true - FieldName: - allOf: - - $ref: '#/components/schemas/HeaderMetadata' - SortField: - type: string - nullable: true - Type: - type: string - nullable: true - ItemViewType: - allOf: - - $ref: '#/components/schemas/ItemViewType' - Visible: - type: boolean - DisplayType: - allOf: - - $ref: '#/components/schemas/ReportDisplayType' - ShowHeaderLabel: - type: boolean - CanGroup: - type: boolean - additionalProperties: false - ReportIncludeItemTypes: - enum: - - MusicArtist - - MusicAlbum - - Book - - BoxSet - - Episode - - Video - - Movie - - MusicVideo - - Trailer - - Season - - Series - - Audio - - BaseItem - - Artist - type: string - ReportItem: - type: object - properties: - Id: - type: string - nullable: true - Name: - type: string - nullable: true - Image: - type: string - nullable: true - CustomTag: - type: string - nullable: true - additionalProperties: false - ReportPlaybackOptions: - type: object - properties: - MaxDataAge: - type: integer - format: int32 - BackupPath: - type: string - MaxBackupFiles: - type: integer - format: int32 - additionalProperties: false - ReportResult: - type: object - properties: - Rows: - type: array - items: - $ref: '#/components/schemas/ReportRow' - nullable: true - Headers: - type: array - items: - $ref: '#/components/schemas/ReportHeader' - nullable: true - Groups: - type: array - items: - $ref: '#/components/schemas/ReportGroup' - nullable: true - TotalRecordCount: - type: integer - format: int32 - IsGrouped: - type: boolean - additionalProperties: false - ReportRow: - type: object - properties: - Id: - type: string - nullable: true - HasImageTagsBackdrop: - type: boolean - HasImageTagsPrimary: - type: boolean - HasImageTagsLogo: - type: boolean - HasLocalTrailer: - type: boolean - HasLockData: - type: boolean - HasEmbeddedImage: - type: boolean - HasSubtitles: - type: boolean - HasSpecials: - type: boolean - Columns: - type: array - items: - $ref: '#/components/schemas/ReportItem' - nullable: true - RowType: - allOf: - - $ref: '#/components/schemas/ReportIncludeItemTypes' - UserId: - type: string - format: uuid - additionalProperties: false RepositoryInfo: type: object properties: @@ -35778,7 +34213,7 @@ components: NowPlayingItem: allOf: - $ref: '#/components/schemas/BaseItemDto' - description: "This is strictly used as a data transfer object from the api layer.\r\nThis holds information about a BaseItem in a format that is convenient for the client." + description: Gets or sets the now playing item. nullable: true FullNowPlayingItem: allOf: @@ -35926,7 +34361,7 @@ components: Mode: allOf: - $ref: '#/components/schemas/GroupRepeatMode' - description: Gets or sets the repeat mode. + description: Enum GroupRepeatMode. additionalProperties: false description: Class SetRepeatModeRequestDto. SetShuffleModeRequestDto: @@ -35935,7 +34370,7 @@ components: Mode: allOf: - $ref: '#/components/schemas/GroupShuffleMode' - description: Gets or sets the shuffle mode. + description: Enum GroupShuffleMode. additionalProperties: false description: Class SetShuffleModeRequestDto. SongInfo: diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/.gitignore b/bundles/org.openhab.binding.jellyfin/tools/openAPI/.gitignore deleted file mode 100644 index 9eae2b8a322..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/.gitignore +++ /dev/null @@ -1 +0,0 @@ -**/*/test/* \ No newline at end of file diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/generate.sh b/bundles/org.openhab.binding.jellyfin/tools/openAPI/generate.sh deleted file mode 100755 index 52a8f53a86c..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/generate.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/bash - -# TODO: Use repository and tag/version to get API definition -SERVER=https://repo.jellyfin.org/releases/openapi/jellyfin-openapi-stable.json -# SERVER=http://nuc.ehrendingen:8096/api-docs/openapi.json - -VERSION=$(curl -sL ${SERVER} | jq -r .info.version) - -echo "ℹ️ - Using Jellyfin API: ${VERSION}" - -# TODO: create input subfolder for .json/.yaml -FILENAME="./jellyfin-openapi-${VERSION}" - -if [ ! -e "${FILENAME}.json" ]; then - echo "⏬ - Downloading OPENAPI definition for Version ${VERSION}..." - wget \ - --no-verbose \ - --output-document=${FILENAME}.json \ - ${SERVER} -fi - -# TODO: Replace Server URL in .json or .yaml with a generic one ... -# TODO: Check if .yaml exists - -# Will not work if VS Code is installed as Ubuntu SNAP packet (no permission to stdout) -yq -oy ${FILENAME}.json > "./${FILENAME}.yaml" - -openapi-generator-cli generate -g java --global-property models,apis --input-spec ${FILENAME}.yaml -o src/api/${VERSION} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/openapitools.json b/bundles/org.openhab.binding.jellyfin/tools/openAPI/openapitools.json deleted file mode 100644 index f8d07ce1d97..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/openapitools.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json", - "spaces": 2, - "generator-cli": { - "version": "7.10.0" - } -} diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CustomQueryData.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CustomQueryData.md deleted file mode 100644 index 5998f12e0fd..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/CustomQueryData.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# CustomQueryData - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**customQueryString** | **String** | | [optional] | -|**replaceUserId** | **Boolean** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DlnaServerApi.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DlnaServerApi.md deleted file mode 100644 index be1d64ed171..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/DlnaServerApi.md +++ /dev/null @@ -1,1148 +0,0 @@ -# DlnaServerApi - -All URIs are relative to *http://nuc.ehrendingen:8096* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**getConnectionManager**](DlnaServerApi.md#getConnectionManager) | **GET** /Dlna/{serverId}/ConnectionManager | Gets Dlna media receiver registrar xml. | -| [**getConnectionManager2**](DlnaServerApi.md#getConnectionManager2) | **GET** /Dlna/{serverId}/ConnectionManager/ConnectionManager | Gets Dlna media receiver registrar xml. | -| [**getConnectionManager3**](DlnaServerApi.md#getConnectionManager3) | **GET** /Dlna/{serverId}/ConnectionManager/ConnectionManager.xml | Gets Dlna media receiver registrar xml. | -| [**getContentDirectory**](DlnaServerApi.md#getContentDirectory) | **GET** /Dlna/{serverId}/ContentDirectory | Gets Dlna content directory xml. | -| [**getContentDirectory2**](DlnaServerApi.md#getContentDirectory2) | **GET** /Dlna/{serverId}/ContentDirectory/ContentDirectory | Gets Dlna content directory xml. | -| [**getContentDirectory3**](DlnaServerApi.md#getContentDirectory3) | **GET** /Dlna/{serverId}/ContentDirectory/ContentDirectory.xml | Gets Dlna content directory xml. | -| [**getDescriptionXml**](DlnaServerApi.md#getDescriptionXml) | **GET** /Dlna/{serverId}/description | Get Description Xml. | -| [**getDescriptionXml2**](DlnaServerApi.md#getDescriptionXml2) | **GET** /Dlna/{serverId}/description.xml | Get Description Xml. | -| [**getIcon**](DlnaServerApi.md#getIcon) | **GET** /Dlna/icons/{fileName} | Gets a server icon. | -| [**getIconId**](DlnaServerApi.md#getIconId) | **GET** /Dlna/{serverId}/icons/{fileName} | Gets a server icon. | -| [**getMediaReceiverRegistrar**](DlnaServerApi.md#getMediaReceiverRegistrar) | **GET** /Dlna/{serverId}/MediaReceiverRegistrar | Gets Dlna media receiver registrar xml. | -| [**getMediaReceiverRegistrar2**](DlnaServerApi.md#getMediaReceiverRegistrar2) | **GET** /Dlna/{serverId}/MediaReceiverRegistrar/MediaReceiverRegistrar | Gets Dlna media receiver registrar xml. | -| [**getMediaReceiverRegistrar3**](DlnaServerApi.md#getMediaReceiverRegistrar3) | **GET** /Dlna/{serverId}/MediaReceiverRegistrar/MediaReceiverRegistrar.xml | Gets Dlna media receiver registrar xml. | -| [**processConnectionManagerControlRequest**](DlnaServerApi.md#processConnectionManagerControlRequest) | **POST** /Dlna/{serverId}/ConnectionManager/Control | Process a connection manager control request. | -| [**processContentDirectoryControlRequest**](DlnaServerApi.md#processContentDirectoryControlRequest) | **POST** /Dlna/{serverId}/ContentDirectory/Control | Process a content directory control request. | -| [**processMediaReceiverRegistrarControlRequest**](DlnaServerApi.md#processMediaReceiverRegistrarControlRequest) | **POST** /Dlna/{serverId}/MediaReceiverRegistrar/Control | Process a media receiver registrar control request. | - - - -# **getConnectionManager** -> File getConnectionManager(serverId) - -Gets Dlna media receiver registrar xml. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaServerApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - DlnaServerApi apiInstance = new DlnaServerApi(defaultClient); - String serverId = "serverId_example"; // String | Server UUID. - try { - File result = apiInstance.getConnectionManager(serverId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling DlnaServerApi#getConnectionManager"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **serverId** | **String**| Server UUID. | | - -### Return type - -[**File**](File.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/xml - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Dlna media receiver registrar xml returned. | - | -| **503** | DLNA is disabled. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getConnectionManager2** -> File getConnectionManager2(serverId) - -Gets Dlna media receiver registrar xml. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaServerApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - DlnaServerApi apiInstance = new DlnaServerApi(defaultClient); - String serverId = "serverId_example"; // String | Server UUID. - try { - File result = apiInstance.getConnectionManager2(serverId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling DlnaServerApi#getConnectionManager2"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **serverId** | **String**| Server UUID. | | - -### Return type - -[**File**](File.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/xml - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Dlna media receiver registrar xml returned. | - | -| **503** | DLNA is disabled. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getConnectionManager3** -> File getConnectionManager3(serverId) - -Gets Dlna media receiver registrar xml. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaServerApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - DlnaServerApi apiInstance = new DlnaServerApi(defaultClient); - String serverId = "serverId_example"; // String | Server UUID. - try { - File result = apiInstance.getConnectionManager3(serverId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling DlnaServerApi#getConnectionManager3"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **serverId** | **String**| Server UUID. | | - -### Return type - -[**File**](File.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/xml - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Dlna media receiver registrar xml returned. | - | -| **503** | DLNA is disabled. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getContentDirectory** -> File getContentDirectory(serverId) - -Gets Dlna content directory xml. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaServerApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - DlnaServerApi apiInstance = new DlnaServerApi(defaultClient); - String serverId = "serverId_example"; // String | Server UUID. - try { - File result = apiInstance.getContentDirectory(serverId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling DlnaServerApi#getContentDirectory"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **serverId** | **String**| Server UUID. | | - -### Return type - -[**File**](File.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/xml - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Dlna content directory returned. | - | -| **503** | DLNA is disabled. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getContentDirectory2** -> File getContentDirectory2(serverId) - -Gets Dlna content directory xml. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaServerApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - DlnaServerApi apiInstance = new DlnaServerApi(defaultClient); - String serverId = "serverId_example"; // String | Server UUID. - try { - File result = apiInstance.getContentDirectory2(serverId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling DlnaServerApi#getContentDirectory2"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **serverId** | **String**| Server UUID. | | - -### Return type - -[**File**](File.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/xml - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Dlna content directory returned. | - | -| **503** | DLNA is disabled. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getContentDirectory3** -> File getContentDirectory3(serverId) - -Gets Dlna content directory xml. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaServerApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - DlnaServerApi apiInstance = new DlnaServerApi(defaultClient); - String serverId = "serverId_example"; // String | Server UUID. - try { - File result = apiInstance.getContentDirectory3(serverId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling DlnaServerApi#getContentDirectory3"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **serverId** | **String**| Server UUID. | | - -### Return type - -[**File**](File.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/xml - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Dlna content directory returned. | - | -| **503** | DLNA is disabled. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getDescriptionXml** -> File getDescriptionXml(serverId) - -Get Description Xml. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaServerApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - DlnaServerApi apiInstance = new DlnaServerApi(defaultClient); - String serverId = "serverId_example"; // String | Server UUID. - try { - File result = apiInstance.getDescriptionXml(serverId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling DlnaServerApi#getDescriptionXml"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **serverId** | **String**| Server UUID. | | - -### Return type - -[**File**](File.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/xml - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Description xml returned. | - | -| **503** | DLNA is disabled. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getDescriptionXml2** -> File getDescriptionXml2(serverId) - -Get Description Xml. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaServerApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - DlnaServerApi apiInstance = new DlnaServerApi(defaultClient); - String serverId = "serverId_example"; // String | Server UUID. - try { - File result = apiInstance.getDescriptionXml2(serverId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling DlnaServerApi#getDescriptionXml2"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **serverId** | **String**| Server UUID. | | - -### Return type - -[**File**](File.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/xml - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Description xml returned. | - | -| **503** | DLNA is disabled. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getIcon** -> File getIcon(fileName) - -Gets a server icon. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaServerApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - DlnaServerApi apiInstance = new DlnaServerApi(defaultClient); - String fileName = "fileName_example"; // String | The icon filename. - try { - File result = apiInstance.getIcon(fileName); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling DlnaServerApi#getIcon"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **fileName** | **String**| The icon filename. | | - -### Return type - -[**File**](File.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: image/*, application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Request processed. | - | -| **404** | Not Found. | - | -| **503** | DLNA is disabled. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getIconId** -> File getIconId(serverId, fileName) - -Gets a server icon. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaServerApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - DlnaServerApi apiInstance = new DlnaServerApi(defaultClient); - String serverId = "serverId_example"; // String | Server UUID. - String fileName = "fileName_example"; // String | The icon filename. - try { - File result = apiInstance.getIconId(serverId, fileName); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling DlnaServerApi#getIconId"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **serverId** | **String**| Server UUID. | | -| **fileName** | **String**| The icon filename. | | - -### Return type - -[**File**](File.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: image/*, application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Request processed. | - | -| **404** | Not Found. | - | -| **503** | DLNA is disabled. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getMediaReceiverRegistrar** -> File getMediaReceiverRegistrar(serverId) - -Gets Dlna media receiver registrar xml. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaServerApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - DlnaServerApi apiInstance = new DlnaServerApi(defaultClient); - String serverId = "serverId_example"; // String | Server UUID. - try { - File result = apiInstance.getMediaReceiverRegistrar(serverId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling DlnaServerApi#getMediaReceiverRegistrar"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **serverId** | **String**| Server UUID. | | - -### Return type - -[**File**](File.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/xml - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Dlna media receiver registrar xml returned. | - | -| **503** | DLNA is disabled. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getMediaReceiverRegistrar2** -> File getMediaReceiverRegistrar2(serverId) - -Gets Dlna media receiver registrar xml. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaServerApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - DlnaServerApi apiInstance = new DlnaServerApi(defaultClient); - String serverId = "serverId_example"; // String | Server UUID. - try { - File result = apiInstance.getMediaReceiverRegistrar2(serverId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling DlnaServerApi#getMediaReceiverRegistrar2"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **serverId** | **String**| Server UUID. | | - -### Return type - -[**File**](File.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/xml - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Dlna media receiver registrar xml returned. | - | -| **503** | DLNA is disabled. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getMediaReceiverRegistrar3** -> File getMediaReceiverRegistrar3(serverId) - -Gets Dlna media receiver registrar xml. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaServerApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - DlnaServerApi apiInstance = new DlnaServerApi(defaultClient); - String serverId = "serverId_example"; // String | Server UUID. - try { - File result = apiInstance.getMediaReceiverRegistrar3(serverId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling DlnaServerApi#getMediaReceiverRegistrar3"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **serverId** | **String**| Server UUID. | | - -### Return type - -[**File**](File.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/xml - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Dlna media receiver registrar xml returned. | - | -| **503** | DLNA is disabled. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **processConnectionManagerControlRequest** -> File processConnectionManagerControlRequest(serverId) - -Process a connection manager control request. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaServerApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - DlnaServerApi apiInstance = new DlnaServerApi(defaultClient); - String serverId = "serverId_example"; // String | Server UUID. - try { - File result = apiInstance.processConnectionManagerControlRequest(serverId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling DlnaServerApi#processConnectionManagerControlRequest"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **serverId** | **String**| Server UUID. | | - -### Return type - -[**File**](File.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/xml - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Request processed. | - | -| **503** | DLNA is disabled. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **processContentDirectoryControlRequest** -> File processContentDirectoryControlRequest(serverId) - -Process a content directory control request. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaServerApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - DlnaServerApi apiInstance = new DlnaServerApi(defaultClient); - String serverId = "serverId_example"; // String | Server UUID. - try { - File result = apiInstance.processContentDirectoryControlRequest(serverId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling DlnaServerApi#processContentDirectoryControlRequest"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **serverId** | **String**| Server UUID. | | - -### Return type - -[**File**](File.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/xml - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Request processed. | - | -| **503** | DLNA is disabled. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **processMediaReceiverRegistrarControlRequest** -> File processMediaReceiverRegistrarControlRequest(serverId) - -Process a media receiver registrar control request. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.DlnaServerApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - DlnaServerApi apiInstance = new DlnaServerApi(defaultClient); - String serverId = "serverId_example"; // String | Server UUID. - try { - File result = apiInstance.processMediaReceiverRegistrarControlRequest(serverId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling DlnaServerApi#processMediaReceiverRegistrarControlRequest"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **serverId** | **String**| Server UUID. | | - -### Return type - -[**File**](File.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/xml - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Request processed. | - | -| **503** | DLNA is disabled. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/HeaderMetadata.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/HeaderMetadata.md deleted file mode 100644 index 0bfa0921398..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/HeaderMetadata.md +++ /dev/null @@ -1,129 +0,0 @@ - - -# HeaderMetadata - -## Enum - - -* `NONE` (value: `"None"`) - -* `PATH` (value: `"Path"`) - -* `NAME` (value: `"Name"`) - -* `PREMIERE_DATE` (value: `"PremiereDate"`) - -* `DATE_ADDED` (value: `"DateAdded"`) - -* `RELEASE_DATE` (value: `"ReleaseDate"`) - -* `RUNTIME` (value: `"Runtime"`) - -* `PLAY_COUNT` (value: `"PlayCount"`) - -* `SEASON` (value: `"Season"`) - -* `SEASON_NUMBER` (value: `"SeasonNumber"`) - -* `SERIES` (value: `"Series"`) - -* `NETWORK` (value: `"Network"`) - -* `YEAR` (value: `"Year"`) - -* `PARENTAL_RATING` (value: `"ParentalRating"`) - -* `COMMUNITY_RATING` (value: `"CommunityRating"`) - -* `TRAILERS` (value: `"Trailers"`) - -* `SPECIALS` (value: `"Specials"`) - -* `ALBUM_ARTIST` (value: `"AlbumArtist"`) - -* `ALBUM` (value: `"Album"`) - -* `DISC` (value: `"Disc"`) - -* `TRACK` (value: `"Track"`) - -* `AUDIO` (value: `"Audio"`) - -* `EMBEDDED_IMAGE` (value: `"EmbeddedImage"`) - -* `VIDEO` (value: `"Video"`) - -* `RESOLUTION` (value: `"Resolution"`) - -* `SUBTITLES` (value: `"Subtitles"`) - -* `GENRES` (value: `"Genres"`) - -* `COUNTRIES` (value: `"Countries"`) - -* `STATUS` (value: `"Status"`) - -* `TRACKS` (value: `"Tracks"`) - -* `EPISODE_SERIES` (value: `"EpisodeSeries"`) - -* `EPISODE_SEASON` (value: `"EpisodeSeason"`) - -* `EPISODE_NUMBER` (value: `"EpisodeNumber"`) - -* `AUDIO_ALBUM_ARTIST` (value: `"AudioAlbumArtist"`) - -* `MUSIC_ARTIST` (value: `"MusicArtist"`) - -* `AUDIO_ALBUM` (value: `"AudioAlbum"`) - -* `LOCKED` (value: `"Locked"`) - -* `IMAGE_PRIMARY` (value: `"ImagePrimary"`) - -* `IMAGE_BACKDROP` (value: `"ImageBackdrop"`) - -* `IMAGE_LOGO` (value: `"ImageLogo"`) - -* `ACTOR` (value: `"Actor"`) - -* `STUDIOS` (value: `"Studios"`) - -* `COMPOSER` (value: `"Composer"`) - -* `DIRECTOR` (value: `"Director"`) - -* `GUEST_STAR` (value: `"GuestStar"`) - -* `PRODUCER` (value: `"Producer"`) - -* `WRITER` (value: `"Writer"`) - -* `ARTIST` (value: `"Artist"`) - -* `YEARS` (value: `"Years"`) - -* `PARENTAL_RATINGS` (value: `"ParentalRatings"`) - -* `COMMUNITY_RATINGS` (value: `"CommunityRatings"`) - -* `OVERVIEW` (value: `"Overview"`) - -* `SHORT_OVERVIEW` (value: `"ShortOverview"`) - -* `TYPE` (value: `"Type"`) - -* `DATE` (value: `"Date"`) - -* `USER_PRIMARY_IMAGE` (value: `"UserPrimaryImage"`) - -* `SEVERITY` (value: `"Severity"`) - -* `ITEM` (value: `"Item"`) - -* `USER` (value: `"User"`) - -* `USER_ID` (value: `"UserId"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemViewType.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemViewType.md deleted file mode 100644 index 9b1cbbaad39..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ItemViewType.md +++ /dev/null @@ -1,39 +0,0 @@ - - -# ItemViewType - -## Enum - - -* `NONE` (value: `"None"`) - -* `DETAIL` (value: `"Detail"`) - -* `EDIT` (value: `"Edit"`) - -* `LIST` (value: `"List"`) - -* `ITEM_BY_NAME_DETAILS` (value: `"ItemByNameDetails"`) - -* `STATUS_IMAGE` (value: `"StatusImage"`) - -* `EMBEDDED_IMAGE` (value: `"EmbeddedImage"`) - -* `SUBTITLE_IMAGE` (value: `"SubtitleImage"`) - -* `TRAILERS_IMAGE` (value: `"TrailersImage"`) - -* `SPECIALS_IMAGE` (value: `"SpecialsImage"`) - -* `LOCK_DATA_IMAGE` (value: `"LockDataImage"`) - -* `TAGS_PRIMARY_IMAGE` (value: `"TagsPrimaryImage"`) - -* `TAGS_BACKDROP_IMAGE` (value: `"TagsBackdropImage"`) - -* `TAGS_LOGO_IMAGE` (value: `"TagsLogoImage"`) - -* `USER_PRIMARY_IMAGE` (value: `"UserPrimaryImage"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LastFMUser.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LastFMUser.md deleted file mode 100644 index a1c45dba98e..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LastFMUser.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# LastFMUser - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**username** | **String** | | [optional] | -|**password** | **String** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LoginInfoInput.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LoginInfoInput.md deleted file mode 100644 index ff8cdfe5f88..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/LoginInfoInput.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# LoginInfoInput - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**username** | **String** | | | -|**password** | **String** | | | -|**customApiKey** | **String** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NotificationsApi.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NotificationsApi.md deleted file mode 100644 index 8da48219584..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/NotificationsApi.md +++ /dev/null @@ -1,487 +0,0 @@ -# NotificationsApi - -All URIs are relative to *http://nuc.ehrendingen:8096* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**createAdminNotification**](NotificationsApi.md#createAdminNotification) | **POST** /Notifications/Admin | Sends a notification to all admins. | -| [**getNotificationServices**](NotificationsApi.md#getNotificationServices) | **GET** /Notifications/Services | Gets notification services. | -| [**getNotificationTypes**](NotificationsApi.md#getNotificationTypes) | **GET** /Notifications/Types | Gets notification types. | -| [**getNotifications**](NotificationsApi.md#getNotifications) | **GET** /Notifications/{userId} | Gets a user's notifications. | -| [**getNotificationsSummary**](NotificationsApi.md#getNotificationsSummary) | **GET** /Notifications/{userId}/Summary | Gets a user's notification summary. | -| [**setRead**](NotificationsApi.md#setRead) | **POST** /Notifications/{userId}/Read | Sets notifications as read. | -| [**setUnread**](NotificationsApi.md#setUnread) | **POST** /Notifications/{userId}/Unread | Sets notifications as unread. | - - - -# **createAdminNotification** -> createAdminNotification(adminNotificationDto) - -Sends a notification to all admins. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.NotificationsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - NotificationsApi apiInstance = new NotificationsApi(defaultClient); - AdminNotificationDto adminNotificationDto = new AdminNotificationDto(); // AdminNotificationDto | The notification request. - try { - apiInstance.createAdminNotification(adminNotificationDto); - } catch (ApiException e) { - System.err.println("Exception when calling NotificationsApi#createAdminNotification"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **adminNotificationDto** | [**AdminNotificationDto**](AdminNotificationDto.md)| The notification request. | | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: application/json, text/json, application/*+json - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **204** | Notification sent. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getNotificationServices** -> List<NameIdPair> getNotificationServices() - -Gets notification services. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.NotificationsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - NotificationsApi apiInstance = new NotificationsApi(defaultClient); - try { - List result = apiInstance.getNotificationServices(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling NotificationsApi#getNotificationServices"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**List<NameIdPair>**](NameIdPair.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | All notification services returned. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getNotificationTypes** -> List<NotificationTypeInfo> getNotificationTypes() - -Gets notification types. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.NotificationsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - NotificationsApi apiInstance = new NotificationsApi(defaultClient); - try { - List result = apiInstance.getNotificationTypes(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling NotificationsApi#getNotificationTypes"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**List<NotificationTypeInfo>**](NotificationTypeInfo.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | All notification types returned. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getNotifications** -> NotificationResultDto getNotifications(userId) - -Gets a user's notifications. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.NotificationsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - NotificationsApi apiInstance = new NotificationsApi(defaultClient); - String userId = "userId_example"; // String | - try { - NotificationResultDto result = apiInstance.getNotifications(userId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling NotificationsApi#getNotifications"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **userId** | **String**| | | - -### Return type - -[**NotificationResultDto**](NotificationResultDto.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Notifications returned. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getNotificationsSummary** -> NotificationsSummaryDto getNotificationsSummary(userId) - -Gets a user's notification summary. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.NotificationsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - NotificationsApi apiInstance = new NotificationsApi(defaultClient); - String userId = "userId_example"; // String | - try { - NotificationsSummaryDto result = apiInstance.getNotificationsSummary(userId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling NotificationsApi#getNotificationsSummary"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **userId** | **String**| | | - -### Return type - -[**NotificationsSummaryDto**](NotificationsSummaryDto.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Summary of user's notifications returned. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **setRead** -> setRead(userId) - -Sets notifications as read. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.NotificationsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - NotificationsApi apiInstance = new NotificationsApi(defaultClient); - String userId = "userId_example"; // String | - try { - apiInstance.setRead(userId); - } catch (ApiException e) { - System.err.println("Exception when calling NotificationsApi#setRead"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **userId** | **String**| | | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **204** | Notifications set as read. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **setUnread** -> setUnread(userId) - -Sets notifications as unread. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.NotificationsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - NotificationsApi apiInstance = new NotificationsApi(defaultClient); - String userId = "userId_example"; // String | - try { - apiInstance.setUnread(userId); - } catch (ApiException e) { - System.err.println("Exception when calling NotificationsApi#setUnread"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **userId** | **String**| | | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **204** | Notifications set as unread. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaybackReportingActivityApi.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaybackReportingActivityApi.md deleted file mode 100644 index 5b6bfadf064..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/PlaybackReportingActivityApi.md +++ /dev/null @@ -1,1144 +0,0 @@ -# PlaybackReportingActivityApi - -All URIs are relative to *http://nuc.ehrendingen:8096* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**customQuery**](PlaybackReportingActivityApi.md#customQuery) | **POST** /user_usage_stats/submit_custom_query | | -| [**getBreakdownReport**](PlaybackReportingActivityApi.md#getBreakdownReport) | **GET** /user_usage_stats/{breakdownType}/BreakdownReport | | -| [**getDurationHistogramReport**](PlaybackReportingActivityApi.md#getDurationHistogramReport) | **GET** /user_usage_stats/DurationHistogramReport | | -| [**getHourlyReport**](PlaybackReportingActivityApi.md#getHourlyReport) | **GET** /user_usage_stats/HourlyReport | | -| [**getJellyfinUsers**](PlaybackReportingActivityApi.md#getJellyfinUsers) | **GET** /user_usage_stats/user_list | | -| [**getMovieReport**](PlaybackReportingActivityApi.md#getMovieReport) | **GET** /user_usage_stats/MoviesReport | | -| [**getTvShowsReport**](PlaybackReportingActivityApi.md#getTvShowsReport) | **GET** /user_usage_stats/GetTvShowsReport | | -| [**getTypeFilterList**](PlaybackReportingActivityApi.md#getTypeFilterList) | **GET** /user_usage_stats/type_filter_list | | -| [**getUsageStats**](PlaybackReportingActivityApi.md#getUsageStats) | **GET** /user_usage_stats/PlayActivity | | -| [**getUserReport**](PlaybackReportingActivityApi.md#getUserReport) | **GET** /user_usage_stats/user_activity | | -| [**getUserReportData**](PlaybackReportingActivityApi.md#getUserReportData) | **GET** /user_usage_stats/{userId}/{date}/GetItems | | -| [**ignoreListAdd**](PlaybackReportingActivityApi.md#ignoreListAdd) | **GET** /user_usage_stats/user_manage/add | | -| [**ignoreListRemove**](PlaybackReportingActivityApi.md#ignoreListRemove) | **GET** /user_usage_stats/user_manage/remove | | -| [**loadBackup**](PlaybackReportingActivityApi.md#loadBackup) | **GET** /user_usage_stats/load_backup | | -| [**pruneUnknownUsers**](PlaybackReportingActivityApi.md#pruneUnknownUsers) | **GET** /user_usage_stats/user_manage/prune | | -| [**saveBackup**](PlaybackReportingActivityApi.md#saveBackup) | **GET** /user_usage_stats/save_backup | | - - - -# **customQuery** -> Map<String, Object> customQuery(customQueryData) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - CustomQueryData customQueryData = new CustomQueryData(); // CustomQueryData | - try { - Map result = apiInstance.customQuery(customQueryData); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#customQuery"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **customQueryData** | [**CustomQueryData**](CustomQueryData.md)| | [optional] | - -### Return type - -**Map<String, Object>** - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: application/json, text/json, application/*+json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getBreakdownReport** -> getBreakdownReport(breakdownType, days, endDate, timezoneOffset) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - String breakdownType = "breakdownType_example"; // String | - Integer days = 56; // Integer | - OffsetDateTime endDate = OffsetDateTime.now(); // OffsetDateTime | - Float timezoneOffset = 3.4F; // Float | - try { - apiInstance.getBreakdownReport(breakdownType, days, endDate, timezoneOffset); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getBreakdownReport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **breakdownType** | **String**| | | -| **days** | **Integer**| | [optional] | -| **endDate** | **OffsetDateTime**| | [optional] | -| **timezoneOffset** | **Float**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getDurationHistogramReport** -> getDurationHistogramReport(days, endDate, filter) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - Integer days = 56; // Integer | - OffsetDateTime endDate = OffsetDateTime.now(); // OffsetDateTime | - String filter = "filter_example"; // String | - try { - apiInstance.getDurationHistogramReport(days, endDate, filter); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getDurationHistogramReport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **days** | **Integer**| | [optional] | -| **endDate** | **OffsetDateTime**| | [optional] | -| **filter** | **String**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getHourlyReport** -> getHourlyReport(days, endDate, filter, timezoneOffset) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - Integer days = 56; // Integer | - OffsetDateTime endDate = OffsetDateTime.now(); // OffsetDateTime | - String filter = "filter_example"; // String | - Float timezoneOffset = 3.4F; // Float | - try { - apiInstance.getHourlyReport(days, endDate, filter, timezoneOffset); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getHourlyReport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **days** | **Integer**| | [optional] | -| **endDate** | **OffsetDateTime**| | [optional] | -| **filter** | **String**| | [optional] | -| **timezoneOffset** | **Float**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getJellyfinUsers** -> getJellyfinUsers() - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - try { - apiInstance.getJellyfinUsers(); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getJellyfinUsers"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getMovieReport** -> getMovieReport(days, endDate, timezoneOffset) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - Integer days = 56; // Integer | - OffsetDateTime endDate = OffsetDateTime.now(); // OffsetDateTime | - Float timezoneOffset = 3.4F; // Float | - try { - apiInstance.getMovieReport(days, endDate, timezoneOffset); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getMovieReport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **days** | **Integer**| | [optional] | -| **endDate** | **OffsetDateTime**| | [optional] | -| **timezoneOffset** | **Float**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getTvShowsReport** -> getTvShowsReport(days, endDate, timezoneOffset) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - Integer days = 56; // Integer | - OffsetDateTime endDate = OffsetDateTime.now(); // OffsetDateTime | - Float timezoneOffset = 3.4F; // Float | - try { - apiInstance.getTvShowsReport(days, endDate, timezoneOffset); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getTvShowsReport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **days** | **Integer**| | [optional] | -| **endDate** | **OffsetDateTime**| | [optional] | -| **timezoneOffset** | **Float**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getTypeFilterList** -> getTypeFilterList() - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - try { - apiInstance.getTypeFilterList(); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getTypeFilterList"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getUsageStats** -> getUsageStats(days, endDate, filter, dataType, timezoneOffset) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - Integer days = 56; // Integer | - OffsetDateTime endDate = OffsetDateTime.now(); // OffsetDateTime | - String filter = "filter_example"; // String | - String dataType = "dataType_example"; // String | - Float timezoneOffset = 3.4F; // Float | - try { - apiInstance.getUsageStats(days, endDate, filter, dataType, timezoneOffset); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getUsageStats"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **days** | **Integer**| | [optional] | -| **endDate** | **OffsetDateTime**| | [optional] | -| **filter** | **String**| | [optional] | -| **dataType** | **String**| | [optional] | -| **timezoneOffset** | **Float**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getUserReport** -> getUserReport(days, endDate, timezoneOffset) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - Integer days = 56; // Integer | - OffsetDateTime endDate = OffsetDateTime.now(); // OffsetDateTime | - Float timezoneOffset = 3.4F; // Float | - try { - apiInstance.getUserReport(days, endDate, timezoneOffset); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getUserReport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **days** | **Integer**| | [optional] | -| **endDate** | **OffsetDateTime**| | [optional] | -| **timezoneOffset** | **Float**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getUserReportData** -> getUserReportData(userId, date, filter, timezoneOffset) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - String userId = "userId_example"; // String | - String date = "date_example"; // String | - String filter = "filter_example"; // String | - Float timezoneOffset = 3.4F; // Float | - try { - apiInstance.getUserReportData(userId, date, filter, timezoneOffset); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getUserReportData"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **userId** | **String**| | | -| **date** | **String**| | | -| **filter** | **String**| | [optional] | -| **timezoneOffset** | **Float**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **ignoreListAdd** -> Boolean ignoreListAdd(id) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - String id = "id_example"; // String | - try { - Boolean result = apiInstance.ignoreListAdd(id); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#ignoreListAdd"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **id** | **String**| | [optional] | - -### Return type - -**Boolean** - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **ignoreListRemove** -> Boolean ignoreListRemove(id) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - String id = "id_example"; // String | - try { - Boolean result = apiInstance.ignoreListRemove(id); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#ignoreListRemove"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **id** | **String**| | [optional] | - -### Return type - -**Boolean** - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **loadBackup** -> List<String> loadBackup(backupFilePath) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - String backupFilePath = "backupFilePath_example"; // String | - try { - List result = apiInstance.loadBackup(backupFilePath); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#loadBackup"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **backupFilePath** | **String**| | [optional] | - -### Return type - -**List<String>** - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **pruneUnknownUsers** -> Boolean pruneUnknownUsers() - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - try { - Boolean result = apiInstance.pruneUnknownUsers(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#pruneUnknownUsers"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -**Boolean** - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **saveBackup** -> List<String> saveBackup() - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - try { - List result = apiInstance.saveBackup(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#saveBackup"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -**List<String>** - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportDisplayType.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportDisplayType.md deleted file mode 100644 index bb5b7e60dec..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportDisplayType.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# ReportDisplayType - -## Enum - - -* `NONE` (value: `"None"`) - -* `SCREEN` (value: `"Screen"`) - -* `EXPORT` (value: `"Export"`) - -* `SCREEN_EXPORT` (value: `"ScreenExport"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportExportType.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportExportType.md deleted file mode 100644 index 10d04e04152..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportExportType.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# ReportExportType - -## Enum - - -* `CSV` (value: `"CSV"`) - -* `EXCEL` (value: `"Excel"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportFieldType.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportFieldType.md deleted file mode 100644 index 4ed113ce714..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportFieldType.md +++ /dev/null @@ -1,27 +0,0 @@ - - -# ReportFieldType - -## Enum - - -* `STRING` (value: `"String"`) - -* `BOOLEAN` (value: `"Boolean"`) - -* `DATE` (value: `"Date"`) - -* `TIME` (value: `"Time"`) - -* `DATE_TIME` (value: `"DateTime"`) - -* `INT` (value: `"Int"`) - -* `IMAGE` (value: `"Image"`) - -* `OBJECT` (value: `"Object"`) - -* `MINUTES` (value: `"Minutes"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportGroup.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportGroup.md deleted file mode 100644 index 881cbb74e7f..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportGroup.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# ReportGroup - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**name** | **String** | | [optional] | -|**rows** | [**List<ReportRow>**](ReportRow.md) | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportHeader.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportHeader.md deleted file mode 100644 index cbbdd886fa6..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportHeader.md +++ /dev/null @@ -1,22 +0,0 @@ - - -# ReportHeader - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**headerFieldType** | **ReportFieldType** | | [optional] | -|**name** | **String** | | [optional] | -|**fieldName** | **HeaderMetadata** | | [optional] | -|**sortField** | **String** | | [optional] | -|**type** | **String** | | [optional] | -|**itemViewType** | **ItemViewType** | | [optional] | -|**visible** | **Boolean** | | [optional] | -|**displayType** | **ReportDisplayType** | | [optional] | -|**showHeaderLabel** | **Boolean** | | [optional] | -|**canGroup** | **Boolean** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportIncludeItemTypes.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportIncludeItemTypes.md deleted file mode 100644 index 75304cee265..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportIncludeItemTypes.md +++ /dev/null @@ -1,37 +0,0 @@ - - -# ReportIncludeItemTypes - -## Enum - - -* `MUSIC_ARTIST` (value: `"MusicArtist"`) - -* `MUSIC_ALBUM` (value: `"MusicAlbum"`) - -* `BOOK` (value: `"Book"`) - -* `BOX_SET` (value: `"BoxSet"`) - -* `EPISODE` (value: `"Episode"`) - -* `VIDEO` (value: `"Video"`) - -* `MOVIE` (value: `"Movie"`) - -* `MUSIC_VIDEO` (value: `"MusicVideo"`) - -* `TRAILER` (value: `"Trailer"`) - -* `SEASON` (value: `"Season"`) - -* `SERIES` (value: `"Series"`) - -* `AUDIO` (value: `"Audio"`) - -* `BASE_ITEM` (value: `"BaseItem"`) - -* `ARTIST` (value: `"Artist"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportItem.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportItem.md deleted file mode 100644 index d7d885ee802..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportItem.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# ReportItem - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**id** | **String** | | [optional] | -|**name** | **String** | | [optional] | -|**image** | **String** | | [optional] | -|**customTag** | **String** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportPlaybackOptions.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportPlaybackOptions.md deleted file mode 100644 index 8011beedbe7..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportPlaybackOptions.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# ReportPlaybackOptions - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**maxDataAge** | **Integer** | | [optional] | -|**backupPath** | **String** | | [optional] | -|**maxBackupFiles** | **Integer** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportResult.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportResult.md deleted file mode 100644 index 5ee1b726bce..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportResult.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# ReportResult - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**rows** | [**List<ReportRow>**](ReportRow.md) | | [optional] | -|**headers** | [**List<ReportHeader>**](ReportHeader.md) | | [optional] | -|**groups** | [**List<ReportGroup>**](ReportGroup.md) | | [optional] | -|**totalRecordCount** | **Integer** | | [optional] | -|**isGrouped** | **Boolean** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportRow.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportRow.md deleted file mode 100644 index 69aece31351..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportRow.md +++ /dev/null @@ -1,24 +0,0 @@ - - -# ReportRow - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**id** | **String** | | [optional] | -|**hasImageTagsBackdrop** | **Boolean** | | [optional] | -|**hasImageTagsPrimary** | **Boolean** | | [optional] | -|**hasImageTagsLogo** | **Boolean** | | [optional] | -|**hasLocalTrailer** | **Boolean** | | [optional] | -|**hasLockData** | **Boolean** | | [optional] | -|**hasEmbeddedImage** | **Boolean** | | [optional] | -|**hasSubtitles** | **Boolean** | | [optional] | -|**hasSpecials** | **Boolean** | | [optional] | -|**columns** | [**List<ReportItem>**](ReportItem.md) | | [optional] | -|**rowType** | **ReportIncludeItemTypes** | | [optional] | -|**userId** | **UUID** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportsApi.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportsApi.md deleted file mode 100644 index 3c460302391..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/ReportsApi.md +++ /dev/null @@ -1,624 +0,0 @@ -# ReportsApi - -All URIs are relative to *http://nuc.ehrendingen:8096* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**getActivityLogs**](ReportsApi.md#getActivityLogs) | **GET** /Reports/Activities | | -| [**getItemReport**](ReportsApi.md#getItemReport) | **GET** /Reports/Items | | -| [**getReportDownload**](ReportsApi.md#getReportDownload) | **GET** /Reports/Items/Download | | -| [**getReportHeaders**](ReportsApi.md#getReportHeaders) | **GET** /Reports/Headers | | - - - -# **getActivityLogs** -> getActivityLogs(reportView, displayType, hasQueryLimit, groupBy, reportColumns, startIndex, limit, minDate, includeItemTypes) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ReportsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - ReportsApi apiInstance = new ReportsApi(defaultClient); - String reportView = "reportView_example"; // String | - String displayType = "displayType_example"; // String | - Boolean hasQueryLimit = true; // Boolean | - String groupBy = "groupBy_example"; // String | - String reportColumns = "reportColumns_example"; // String | - Integer startIndex = 56; // Integer | - Integer limit = 56; // Integer | - String minDate = "minDate_example"; // String | - String includeItemTypes = "includeItemTypes_example"; // String | - try { - apiInstance.getActivityLogs(reportView, displayType, hasQueryLimit, groupBy, reportColumns, startIndex, limit, minDate, includeItemTypes); - } catch (ApiException e) { - System.err.println("Exception when calling ReportsApi#getActivityLogs"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **reportView** | **String**| | [optional] | -| **displayType** | **String**| | [optional] | -| **hasQueryLimit** | **Boolean**| | [optional] | -| **groupBy** | **String**| | [optional] | -| **reportColumns** | **String**| | [optional] | -| **startIndex** | **Integer**| | [optional] | -| **limit** | **Integer**| | [optional] | -| **minDate** | **String**| | [optional] | -| **includeItemTypes** | **String**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getItemReport** -> ReportResult getItemReport(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, enableImages) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ReportsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - ReportsApi apiInstance = new ReportsApi(defaultClient); - Boolean hasThemeSong = true; // Boolean | - Boolean hasThemeVideo = true; // Boolean | - Boolean hasSubtitles = true; // Boolean | - Boolean hasSpecialFeature = true; // Boolean | - Boolean hasTrailer = true; // Boolean | - String adjacentTo = "adjacentTo_example"; // String | - Integer minIndexNumber = 56; // Integer | - Integer parentIndexNumber = 56; // Integer | - Boolean hasParentalRating = true; // Boolean | - Boolean isHd = true; // Boolean | - String locationTypes = "locationTypes_example"; // String | - String excludeLocationTypes = "excludeLocationTypes_example"; // String | - Boolean isMissing = true; // Boolean | - Boolean isUnaried = true; // Boolean | - Double minCommunityRating = 3.4D; // Double | - Double minCriticRating = 3.4D; // Double | - Integer airedDuringSeason = 56; // Integer | - String minPremiereDate = "minPremiereDate_example"; // String | - String minDateLastSaved = "minDateLastSaved_example"; // String | - String minDateLastSavedForUser = "minDateLastSavedForUser_example"; // String | - String maxPremiereDate = "maxPremiereDate_example"; // String | - Boolean hasOverview = true; // Boolean | - Boolean hasImdbId = true; // Boolean | - Boolean hasTmdbId = true; // Boolean | - Boolean hasTvdbId = true; // Boolean | - Boolean isInBoxSet = true; // Boolean | - String excludeItemIds = "excludeItemIds_example"; // String | - Boolean enableTotalRecordCount = true; // Boolean | - Integer startIndex = 56; // Integer | - Integer limit = 56; // Integer | - Boolean recursive = true; // Boolean | - String sortOrder = "sortOrder_example"; // String | - String parentId = "parentId_example"; // String | - String fields = "fields_example"; // String | - String excludeItemTypes = "excludeItemTypes_example"; // String | - String includeItemTypes = "includeItemTypes_example"; // String | - String filters = "filters_example"; // String | - Boolean isFavorite = true; // Boolean | - Boolean isNotFavorite = true; // Boolean | - String mediaTypes = "mediaTypes_example"; // String | - String imageTypes = "imageTypes_example"; // String | - String sortBy = "sortBy_example"; // String | - Boolean isPlayed = true; // Boolean | - String genres = "genres_example"; // String | - String genreIds = "genreIds_example"; // String | - String officialRatings = "officialRatings_example"; // String | - String tags = "tags_example"; // String | - String years = "years_example"; // String | - Boolean enableUserData = true; // Boolean | - Integer imageTypeLimit = 56; // Integer | - String enableImageTypes = "enableImageTypes_example"; // String | - String person = "person_example"; // String | - String personIds = "personIds_example"; // String | - String personTypes = "personTypes_example"; // String | - String studios = "studios_example"; // String | - String studioIds = "studioIds_example"; // String | - String artists = "artists_example"; // String | - String excludeArtistIds = "excludeArtistIds_example"; // String | - String artistIds = "artistIds_example"; // String | - String albums = "albums_example"; // String | - String albumIds = "albumIds_example"; // String | - String ids = "ids_example"; // String | - String videoTypes = "videoTypes_example"; // String | - String userId = "userId_example"; // String | - String minOfficialRating = "minOfficialRating_example"; // String | - Boolean isLocked = true; // Boolean | - Boolean isPlaceHolder = true; // Boolean | - Boolean hasOfficialRating = true; // Boolean | - Boolean collapseBoxSetItems = true; // Boolean | - Boolean is3D = true; // Boolean | - String seriesStatus = "seriesStatus_example"; // String | - String nameStartsWithOrGreater = "nameStartsWithOrGreater_example"; // String | - String nameStartsWith = "nameStartsWith_example"; // String | - String nameLessThan = "nameLessThan_example"; // String | - String reportView = "reportView_example"; // String | - String displayType = "displayType_example"; // String | - Boolean hasQueryLimit = true; // Boolean | - String groupBy = "groupBy_example"; // String | - String reportColumns = "reportColumns_example"; // String | - Boolean enableImages = true; // Boolean | - try { - ReportResult result = apiInstance.getItemReport(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, enableImages); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ReportsApi#getItemReport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **hasThemeSong** | **Boolean**| | [optional] | -| **hasThemeVideo** | **Boolean**| | [optional] | -| **hasSubtitles** | **Boolean**| | [optional] | -| **hasSpecialFeature** | **Boolean**| | [optional] | -| **hasTrailer** | **Boolean**| | [optional] | -| **adjacentTo** | **String**| | [optional] | -| **minIndexNumber** | **Integer**| | [optional] | -| **parentIndexNumber** | **Integer**| | [optional] | -| **hasParentalRating** | **Boolean**| | [optional] | -| **isHd** | **Boolean**| | [optional] | -| **locationTypes** | **String**| | [optional] | -| **excludeLocationTypes** | **String**| | [optional] | -| **isMissing** | **Boolean**| | [optional] | -| **isUnaried** | **Boolean**| | [optional] | -| **minCommunityRating** | **Double**| | [optional] | -| **minCriticRating** | **Double**| | [optional] | -| **airedDuringSeason** | **Integer**| | [optional] | -| **minPremiereDate** | **String**| | [optional] | -| **minDateLastSaved** | **String**| | [optional] | -| **minDateLastSavedForUser** | **String**| | [optional] | -| **maxPremiereDate** | **String**| | [optional] | -| **hasOverview** | **Boolean**| | [optional] | -| **hasImdbId** | **Boolean**| | [optional] | -| **hasTmdbId** | **Boolean**| | [optional] | -| **hasTvdbId** | **Boolean**| | [optional] | -| **isInBoxSet** | **Boolean**| | [optional] | -| **excludeItemIds** | **String**| | [optional] | -| **enableTotalRecordCount** | **Boolean**| | [optional] | -| **startIndex** | **Integer**| | [optional] | -| **limit** | **Integer**| | [optional] | -| **recursive** | **Boolean**| | [optional] | -| **sortOrder** | **String**| | [optional] | -| **parentId** | **String**| | [optional] | -| **fields** | **String**| | [optional] | -| **excludeItemTypes** | **String**| | [optional] | -| **includeItemTypes** | **String**| | [optional] | -| **filters** | **String**| | [optional] | -| **isFavorite** | **Boolean**| | [optional] | -| **isNotFavorite** | **Boolean**| | [optional] | -| **mediaTypes** | **String**| | [optional] | -| **imageTypes** | **String**| | [optional] | -| **sortBy** | **String**| | [optional] | -| **isPlayed** | **Boolean**| | [optional] | -| **genres** | **String**| | [optional] | -| **genreIds** | **String**| | [optional] | -| **officialRatings** | **String**| | [optional] | -| **tags** | **String**| | [optional] | -| **years** | **String**| | [optional] | -| **enableUserData** | **Boolean**| | [optional] | -| **imageTypeLimit** | **Integer**| | [optional] | -| **enableImageTypes** | **String**| | [optional] | -| **person** | **String**| | [optional] | -| **personIds** | **String**| | [optional] | -| **personTypes** | **String**| | [optional] | -| **studios** | **String**| | [optional] | -| **studioIds** | **String**| | [optional] | -| **artists** | **String**| | [optional] | -| **excludeArtistIds** | **String**| | [optional] | -| **artistIds** | **String**| | [optional] | -| **albums** | **String**| | [optional] | -| **albumIds** | **String**| | [optional] | -| **ids** | **String**| | [optional] | -| **videoTypes** | **String**| | [optional] | -| **userId** | **String**| | [optional] | -| **minOfficialRating** | **String**| | [optional] | -| **isLocked** | **Boolean**| | [optional] | -| **isPlaceHolder** | **Boolean**| | [optional] | -| **hasOfficialRating** | **Boolean**| | [optional] | -| **collapseBoxSetItems** | **Boolean**| | [optional] | -| **is3D** | **Boolean**| | [optional] | -| **seriesStatus** | **String**| | [optional] | -| **nameStartsWithOrGreater** | **String**| | [optional] | -| **nameStartsWith** | **String**| | [optional] | -| **nameLessThan** | **String**| | [optional] | -| **reportView** | **String**| | [optional] | -| **displayType** | **String**| | [optional] | -| **hasQueryLimit** | **Boolean**| | [optional] | -| **groupBy** | **String**| | [optional] | -| **reportColumns** | **String**| | [optional] | -| **enableImages** | **Boolean**| | [optional] [default to true] | - -### Return type - -[**ReportResult**](ReportResult.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getReportDownload** -> ReportResult getReportDownload(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, minDate, exportType, enableImages) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ReportsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - ReportsApi apiInstance = new ReportsApi(defaultClient); - Boolean hasThemeSong = true; // Boolean | - Boolean hasThemeVideo = true; // Boolean | - Boolean hasSubtitles = true; // Boolean | - Boolean hasSpecialFeature = true; // Boolean | - Boolean hasTrailer = true; // Boolean | - String adjacentTo = "adjacentTo_example"; // String | - Integer minIndexNumber = 56; // Integer | - Integer parentIndexNumber = 56; // Integer | - Boolean hasParentalRating = true; // Boolean | - Boolean isHd = true; // Boolean | - String locationTypes = "locationTypes_example"; // String | - String excludeLocationTypes = "excludeLocationTypes_example"; // String | - Boolean isMissing = true; // Boolean | - Boolean isUnaried = true; // Boolean | - Double minCommunityRating = 3.4D; // Double | - Double minCriticRating = 3.4D; // Double | - Integer airedDuringSeason = 56; // Integer | - String minPremiereDate = "minPremiereDate_example"; // String | - String minDateLastSaved = "minDateLastSaved_example"; // String | - String minDateLastSavedForUser = "minDateLastSavedForUser_example"; // String | - String maxPremiereDate = "maxPremiereDate_example"; // String | - Boolean hasOverview = true; // Boolean | - Boolean hasImdbId = true; // Boolean | - Boolean hasTmdbId = true; // Boolean | - Boolean hasTvdbId = true; // Boolean | - Boolean isInBoxSet = true; // Boolean | - String excludeItemIds = "excludeItemIds_example"; // String | - Boolean enableTotalRecordCount = true; // Boolean | - Integer startIndex = 56; // Integer | - Integer limit = 56; // Integer | - Boolean recursive = true; // Boolean | - String sortOrder = "sortOrder_example"; // String | - String parentId = "parentId_example"; // String | - String fields = "fields_example"; // String | - String excludeItemTypes = "excludeItemTypes_example"; // String | - String includeItemTypes = "includeItemTypes_example"; // String | - String filters = "filters_example"; // String | - Boolean isFavorite = true; // Boolean | - Boolean isNotFavorite = true; // Boolean | - String mediaTypes = "mediaTypes_example"; // String | - String imageTypes = "imageTypes_example"; // String | - String sortBy = "sortBy_example"; // String | - Boolean isPlayed = true; // Boolean | - String genres = "genres_example"; // String | - String genreIds = "genreIds_example"; // String | - String officialRatings = "officialRatings_example"; // String | - String tags = "tags_example"; // String | - String years = "years_example"; // String | - Boolean enableUserData = true; // Boolean | - Integer imageTypeLimit = 56; // Integer | - String enableImageTypes = "enableImageTypes_example"; // String | - String person = "person_example"; // String | - String personIds = "personIds_example"; // String | - String personTypes = "personTypes_example"; // String | - String studios = "studios_example"; // String | - String studioIds = "studioIds_example"; // String | - String artists = "artists_example"; // String | - String excludeArtistIds = "excludeArtistIds_example"; // String | - String artistIds = "artistIds_example"; // String | - String albums = "albums_example"; // String | - String albumIds = "albumIds_example"; // String | - String ids = "ids_example"; // String | - String videoTypes = "videoTypes_example"; // String | - String userId = "userId_example"; // String | - String minOfficialRating = "minOfficialRating_example"; // String | - Boolean isLocked = true; // Boolean | - Boolean isPlaceHolder = true; // Boolean | - Boolean hasOfficialRating = true; // Boolean | - Boolean collapseBoxSetItems = true; // Boolean | - Boolean is3D = true; // Boolean | - String seriesStatus = "seriesStatus_example"; // String | - String nameStartsWithOrGreater = "nameStartsWithOrGreater_example"; // String | - String nameStartsWith = "nameStartsWith_example"; // String | - String nameLessThan = "nameLessThan_example"; // String | - String reportView = "reportView_example"; // String | - String displayType = "displayType_example"; // String | - Boolean hasQueryLimit = true; // Boolean | - String groupBy = "groupBy_example"; // String | - String reportColumns = "reportColumns_example"; // String | - String minDate = "minDate_example"; // String | - ReportExportType exportType = ReportExportType.fromValue("CSV"); // ReportExportType | - Boolean enableImages = true; // Boolean | - try { - ReportResult result = apiInstance.getReportDownload(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, minDate, exportType, enableImages); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ReportsApi#getReportDownload"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **hasThemeSong** | **Boolean**| | [optional] | -| **hasThemeVideo** | **Boolean**| | [optional] | -| **hasSubtitles** | **Boolean**| | [optional] | -| **hasSpecialFeature** | **Boolean**| | [optional] | -| **hasTrailer** | **Boolean**| | [optional] | -| **adjacentTo** | **String**| | [optional] | -| **minIndexNumber** | **Integer**| | [optional] | -| **parentIndexNumber** | **Integer**| | [optional] | -| **hasParentalRating** | **Boolean**| | [optional] | -| **isHd** | **Boolean**| | [optional] | -| **locationTypes** | **String**| | [optional] | -| **excludeLocationTypes** | **String**| | [optional] | -| **isMissing** | **Boolean**| | [optional] | -| **isUnaried** | **Boolean**| | [optional] | -| **minCommunityRating** | **Double**| | [optional] | -| **minCriticRating** | **Double**| | [optional] | -| **airedDuringSeason** | **Integer**| | [optional] | -| **minPremiereDate** | **String**| | [optional] | -| **minDateLastSaved** | **String**| | [optional] | -| **minDateLastSavedForUser** | **String**| | [optional] | -| **maxPremiereDate** | **String**| | [optional] | -| **hasOverview** | **Boolean**| | [optional] | -| **hasImdbId** | **Boolean**| | [optional] | -| **hasTmdbId** | **Boolean**| | [optional] | -| **hasTvdbId** | **Boolean**| | [optional] | -| **isInBoxSet** | **Boolean**| | [optional] | -| **excludeItemIds** | **String**| | [optional] | -| **enableTotalRecordCount** | **Boolean**| | [optional] | -| **startIndex** | **Integer**| | [optional] | -| **limit** | **Integer**| | [optional] | -| **recursive** | **Boolean**| | [optional] | -| **sortOrder** | **String**| | [optional] | -| **parentId** | **String**| | [optional] | -| **fields** | **String**| | [optional] | -| **excludeItemTypes** | **String**| | [optional] | -| **includeItemTypes** | **String**| | [optional] | -| **filters** | **String**| | [optional] | -| **isFavorite** | **Boolean**| | [optional] | -| **isNotFavorite** | **Boolean**| | [optional] | -| **mediaTypes** | **String**| | [optional] | -| **imageTypes** | **String**| | [optional] | -| **sortBy** | **String**| | [optional] | -| **isPlayed** | **Boolean**| | [optional] | -| **genres** | **String**| | [optional] | -| **genreIds** | **String**| | [optional] | -| **officialRatings** | **String**| | [optional] | -| **tags** | **String**| | [optional] | -| **years** | **String**| | [optional] | -| **enableUserData** | **Boolean**| | [optional] | -| **imageTypeLimit** | **Integer**| | [optional] | -| **enableImageTypes** | **String**| | [optional] | -| **person** | **String**| | [optional] | -| **personIds** | **String**| | [optional] | -| **personTypes** | **String**| | [optional] | -| **studios** | **String**| | [optional] | -| **studioIds** | **String**| | [optional] | -| **artists** | **String**| | [optional] | -| **excludeArtistIds** | **String**| | [optional] | -| **artistIds** | **String**| | [optional] | -| **albums** | **String**| | [optional] | -| **albumIds** | **String**| | [optional] | -| **ids** | **String**| | [optional] | -| **videoTypes** | **String**| | [optional] | -| **userId** | **String**| | [optional] | -| **minOfficialRating** | **String**| | [optional] | -| **isLocked** | **Boolean**| | [optional] | -| **isPlaceHolder** | **Boolean**| | [optional] | -| **hasOfficialRating** | **Boolean**| | [optional] | -| **collapseBoxSetItems** | **Boolean**| | [optional] | -| **is3D** | **Boolean**| | [optional] | -| **seriesStatus** | **String**| | [optional] | -| **nameStartsWithOrGreater** | **String**| | [optional] | -| **nameStartsWith** | **String**| | [optional] | -| **nameLessThan** | **String**| | [optional] | -| **reportView** | **String**| | [optional] | -| **displayType** | **String**| | [optional] | -| **hasQueryLimit** | **Boolean**| | [optional] | -| **groupBy** | **String**| | [optional] | -| **reportColumns** | **String**| | [optional] | -| **minDate** | **String**| | [optional] | -| **exportType** | [**ReportExportType**](.md)| | [optional] [default to CSV] [enum: CSV, Excel] | -| **enableImages** | **Boolean**| | [optional] [default to true] | - -### Return type - -[**ReportResult**](ReportResult.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getReportHeaders** -> getReportHeaders(reportView, includeItemTypes) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ReportsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - ReportsApi apiInstance = new ReportsApi(defaultClient); - String reportView = "reportView_example"; // String | - String includeItemTypes = "includeItemTypes_example"; // String | - try { - apiInstance.getReportHeaders(reportView, includeItemTypes); - } catch (ApiException e) { - System.err.println("Exception when calling ReportsApi#getReportHeaders"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **reportView** | **String**| | [optional] | -| **includeItemTypes** | **String**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RestApiApi.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RestApiApi.md deleted file mode 100644 index b3c3a35378c..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/docs/RestApiApi.md +++ /dev/null @@ -1,68 +0,0 @@ -# RestApiApi - -All URIs are relative to *http://nuc.ehrendingen:8096* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**createMobileSession**](RestApiApi.md#createMobileSession) | **POST** /Lastfm/Login | | - - - -# **createMobileSession** -> createMobileSession(lastFMUser) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.models.*; -import org.openapitools.client.api.RestApiApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - RestApiApi apiInstance = new RestApiApi(defaultClient); - LastFMUser lastFMUser = new LastFMUser(); // LastFMUser | - try { - apiInstance.createMobileSession(lastFMUser); - } catch (ApiException e) { - System.err.println("Exception when calling RestApiApi#createMobileSession"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **lastFMUser** | [**LastFMUser**](LastFMUser.md)| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/OpenSubtitlesApi.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/OpenSubtitlesApi.java deleted file mode 100644 index c6cbfe78529..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/OpenSubtitlesApi.java +++ /dev/null @@ -1,208 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.api; - -import org.openapitools.client.ApiCallback; -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.ApiResponse; -import org.openapitools.client.Configuration; -import org.openapitools.client.Pair; -import org.openapitools.client.ProgressRequestBody; -import org.openapitools.client.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import org.openapitools.client.model.LoginInfoInput; -import org.openapitools.client.model.ProblemDetails; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class OpenSubtitlesApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public OpenSubtitlesApi() { - this(Configuration.getDefaultApiClient()); - } - - public OpenSubtitlesApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for validateLoginInfo - * @param loginInfoInput (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call validateLoginInfoCall(LoginInfoInput loginInfoInput, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = loginInfoInput; - - // create path and map variables - String localVarPath = "/Jellyfin.Plugin.OpenSubtitles/ValidateLoginInfo"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json", - "text/json", - "application/*+json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call validateLoginInfoValidateBeforeCall(LoginInfoInput loginInfoInput, final ApiCallback _callback) throws ApiException { - return validateLoginInfoCall(loginInfoInput, _callback); - - } - - /** - * - * - * @param loginInfoInput (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
- */ - public void validateLoginInfo(LoginInfoInput loginInfoInput) throws ApiException { - validateLoginInfoWithHttpInfo(loginInfoInput); - } - - /** - * - * - * @param loginInfoInput (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse validateLoginInfoWithHttpInfo(LoginInfoInput loginInfoInput) throws ApiException { - okhttp3.Call localVarCall = validateLoginInfoValidateBeforeCall(loginInfoInput, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param loginInfoInput (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call validateLoginInfoAsync(LoginInfoInput loginInfoInput, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = validateLoginInfoValidateBeforeCall(loginInfoInput, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } -} diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/PlaybackReportingActivityApi.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/PlaybackReportingActivityApi.java deleted file mode 100644 index bc535b6f27d..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/PlaybackReportingActivityApi.java +++ /dev/null @@ -1,2295 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.api; - -import org.openapitools.client.ApiCallback; -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.ApiResponse; -import org.openapitools.client.Configuration; -import org.openapitools.client.Pair; -import org.openapitools.client.ProgressRequestBody; -import org.openapitools.client.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import org.openapitools.client.model.CustomQueryData; -import java.time.OffsetDateTime; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class PlaybackReportingActivityApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public PlaybackReportingActivityApi() { - this(Configuration.getDefaultApiClient()); - } - - public PlaybackReportingActivityApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for customQuery - * @param customQueryData (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call customQueryCall(CustomQueryData customQueryData, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = customQueryData; - - // create path and map variables - String localVarPath = "/user_usage_stats/submit_custom_query"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json", - "text/json", - "application/*+json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call customQueryValidateBeforeCall(CustomQueryData customQueryData, final ApiCallback _callback) throws ApiException { - return customQueryCall(customQueryData, _callback); - - } - - /** - * - * - * @param customQueryData (optional) - * @return Map<String, Object> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public Map customQuery(CustomQueryData customQueryData) throws ApiException { - ApiResponse> localVarResp = customQueryWithHttpInfo(customQueryData); - return localVarResp.getData(); - } - - /** - * - * - * @param customQueryData (optional) - * @return ApiResponse<Map<String, Object>> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse> customQueryWithHttpInfo(CustomQueryData customQueryData) throws ApiException { - okhttp3.Call localVarCall = customQueryValidateBeforeCall(customQueryData, null); - Type localVarReturnType = new TypeToken>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * - * @param customQueryData (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call customQueryAsync(CustomQueryData customQueryData, final ApiCallback> _callback) throws ApiException { - - okhttp3.Call localVarCall = customQueryValidateBeforeCall(customQueryData, _callback); - Type localVarReturnType = new TypeToken>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getBreakdownReport - * @param breakdownType (required) - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getBreakdownReportCall(String breakdownType, Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/{breakdownType}/BreakdownReport" - .replace("{" + "breakdownType" + "}", localVarApiClient.escapeString(breakdownType.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (days != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("days", days)); - } - - if (endDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endDate", endDate)); - } - - if (timezoneOffset != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timezoneOffset", timezoneOffset)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getBreakdownReportValidateBeforeCall(String breakdownType, Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'breakdownType' is set - if (breakdownType == null) { - throw new ApiException("Missing the required parameter 'breakdownType' when calling getBreakdownReport(Async)"); - } - - return getBreakdownReportCall(breakdownType, days, endDate, timezoneOffset, _callback); - - } - - /** - * - * - * @param breakdownType (required) - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getBreakdownReport(String breakdownType, Integer days, OffsetDateTime endDate, Float timezoneOffset) throws ApiException { - getBreakdownReportWithHttpInfo(breakdownType, days, endDate, timezoneOffset); - } - - /** - * - * - * @param breakdownType (required) - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getBreakdownReportWithHttpInfo(String breakdownType, Integer days, OffsetDateTime endDate, Float timezoneOffset) throws ApiException { - okhttp3.Call localVarCall = getBreakdownReportValidateBeforeCall(breakdownType, days, endDate, timezoneOffset, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param breakdownType (required) - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getBreakdownReportAsync(String breakdownType, Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getBreakdownReportValidateBeforeCall(breakdownType, days, endDate, timezoneOffset, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getDurationHistogramReport - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getDurationHistogramReportCall(Integer days, OffsetDateTime endDate, String filter, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/DurationHistogramReport"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (days != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("days", days)); - } - - if (endDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endDate", endDate)); - } - - if (filter != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter", filter)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getDurationHistogramReportValidateBeforeCall(Integer days, OffsetDateTime endDate, String filter, final ApiCallback _callback) throws ApiException { - return getDurationHistogramReportCall(days, endDate, filter, _callback); - - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getDurationHistogramReport(Integer days, OffsetDateTime endDate, String filter) throws ApiException { - getDurationHistogramReportWithHttpInfo(days, endDate, filter); - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getDurationHistogramReportWithHttpInfo(Integer days, OffsetDateTime endDate, String filter) throws ApiException { - okhttp3.Call localVarCall = getDurationHistogramReportValidateBeforeCall(days, endDate, filter, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getDurationHistogramReportAsync(Integer days, OffsetDateTime endDate, String filter, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getDurationHistogramReportValidateBeforeCall(days, endDate, filter, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getHourlyReport - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param timezoneOffset (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getHourlyReportCall(Integer days, OffsetDateTime endDate, String filter, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/HourlyReport"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (days != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("days", days)); - } - - if (endDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endDate", endDate)); - } - - if (filter != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter", filter)); - } - - if (timezoneOffset != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timezoneOffset", timezoneOffset)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getHourlyReportValidateBeforeCall(Integer days, OffsetDateTime endDate, String filter, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - return getHourlyReportCall(days, endDate, filter, timezoneOffset, _callback); - - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param timezoneOffset (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getHourlyReport(Integer days, OffsetDateTime endDate, String filter, Float timezoneOffset) throws ApiException { - getHourlyReportWithHttpInfo(days, endDate, filter, timezoneOffset); - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param timezoneOffset (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getHourlyReportWithHttpInfo(Integer days, OffsetDateTime endDate, String filter, Float timezoneOffset) throws ApiException { - okhttp3.Call localVarCall = getHourlyReportValidateBeforeCall(days, endDate, filter, timezoneOffset, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param timezoneOffset (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getHourlyReportAsync(Integer days, OffsetDateTime endDate, String filter, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getHourlyReportValidateBeforeCall(days, endDate, filter, timezoneOffset, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getJellyfinUsers - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getJellyfinUsersCall(final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/user_list"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getJellyfinUsersValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return getJellyfinUsersCall(_callback); - - } - - /** - * - * - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getJellyfinUsers() throws ApiException { - getJellyfinUsersWithHttpInfo(); - } - - /** - * - * - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getJellyfinUsersWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getJellyfinUsersValidateBeforeCall(null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getJellyfinUsersAsync(final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getJellyfinUsersValidateBeforeCall(_callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getMovieReport - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getMovieReportCall(Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/MoviesReport"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (days != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("days", days)); - } - - if (endDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endDate", endDate)); - } - - if (timezoneOffset != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timezoneOffset", timezoneOffset)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getMovieReportValidateBeforeCall(Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - return getMovieReportCall(days, endDate, timezoneOffset, _callback); - - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getMovieReport(Integer days, OffsetDateTime endDate, Float timezoneOffset) throws ApiException { - getMovieReportWithHttpInfo(days, endDate, timezoneOffset); - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getMovieReportWithHttpInfo(Integer days, OffsetDateTime endDate, Float timezoneOffset) throws ApiException { - okhttp3.Call localVarCall = getMovieReportValidateBeforeCall(days, endDate, timezoneOffset, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getMovieReportAsync(Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getMovieReportValidateBeforeCall(days, endDate, timezoneOffset, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getTvShowsReport - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getTvShowsReportCall(Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/GetTvShowsReport"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (days != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("days", days)); - } - - if (endDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endDate", endDate)); - } - - if (timezoneOffset != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timezoneOffset", timezoneOffset)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getTvShowsReportValidateBeforeCall(Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - return getTvShowsReportCall(days, endDate, timezoneOffset, _callback); - - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getTvShowsReport(Integer days, OffsetDateTime endDate, Float timezoneOffset) throws ApiException { - getTvShowsReportWithHttpInfo(days, endDate, timezoneOffset); - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getTvShowsReportWithHttpInfo(Integer days, OffsetDateTime endDate, Float timezoneOffset) throws ApiException { - okhttp3.Call localVarCall = getTvShowsReportValidateBeforeCall(days, endDate, timezoneOffset, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getTvShowsReportAsync(Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getTvShowsReportValidateBeforeCall(days, endDate, timezoneOffset, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getTypeFilterList - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getTypeFilterListCall(final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/type_filter_list"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getTypeFilterListValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return getTypeFilterListCall(_callback); - - } - - /** - * - * - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getTypeFilterList() throws ApiException { - getTypeFilterListWithHttpInfo(); - } - - /** - * - * - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getTypeFilterListWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getTypeFilterListValidateBeforeCall(null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getTypeFilterListAsync(final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getTypeFilterListValidateBeforeCall(_callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getUsageStats - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param dataType (optional) - * @param timezoneOffset (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getUsageStatsCall(Integer days, OffsetDateTime endDate, String filter, String dataType, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/PlayActivity"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (days != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("days", days)); - } - - if (endDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endDate", endDate)); - } - - if (filter != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter", filter)); - } - - if (dataType != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dataType", dataType)); - } - - if (timezoneOffset != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timezoneOffset", timezoneOffset)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getUsageStatsValidateBeforeCall(Integer days, OffsetDateTime endDate, String filter, String dataType, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - return getUsageStatsCall(days, endDate, filter, dataType, timezoneOffset, _callback); - - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param dataType (optional) - * @param timezoneOffset (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getUsageStats(Integer days, OffsetDateTime endDate, String filter, String dataType, Float timezoneOffset) throws ApiException { - getUsageStatsWithHttpInfo(days, endDate, filter, dataType, timezoneOffset); - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param dataType (optional) - * @param timezoneOffset (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getUsageStatsWithHttpInfo(Integer days, OffsetDateTime endDate, String filter, String dataType, Float timezoneOffset) throws ApiException { - okhttp3.Call localVarCall = getUsageStatsValidateBeforeCall(days, endDate, filter, dataType, timezoneOffset, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param dataType (optional) - * @param timezoneOffset (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getUsageStatsAsync(Integer days, OffsetDateTime endDate, String filter, String dataType, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getUsageStatsValidateBeforeCall(days, endDate, filter, dataType, timezoneOffset, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getUserReport - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getUserReportCall(Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/user_activity"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (days != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("days", days)); - } - - if (endDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endDate", endDate)); - } - - if (timezoneOffset != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timezoneOffset", timezoneOffset)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getUserReportValidateBeforeCall(Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - return getUserReportCall(days, endDate, timezoneOffset, _callback); - - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getUserReport(Integer days, OffsetDateTime endDate, Float timezoneOffset) throws ApiException { - getUserReportWithHttpInfo(days, endDate, timezoneOffset); - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getUserReportWithHttpInfo(Integer days, OffsetDateTime endDate, Float timezoneOffset) throws ApiException { - okhttp3.Call localVarCall = getUserReportValidateBeforeCall(days, endDate, timezoneOffset, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getUserReportAsync(Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getUserReportValidateBeforeCall(days, endDate, timezoneOffset, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getUserReportData - * @param userId (required) - * @param date (required) - * @param filter (optional) - * @param timezoneOffset (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getUserReportDataCall(String userId, String date, String filter, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/{userId}/{date}/GetItems" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) - .replace("{" + "date" + "}", localVarApiClient.escapeString(date.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (filter != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter", filter)); - } - - if (timezoneOffset != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timezoneOffset", timezoneOffset)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getUserReportDataValidateBeforeCall(String userId, String date, String filter, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getUserReportData(Async)"); - } - - // verify the required parameter 'date' is set - if (date == null) { - throw new ApiException("Missing the required parameter 'date' when calling getUserReportData(Async)"); - } - - return getUserReportDataCall(userId, date, filter, timezoneOffset, _callback); - - } - - /** - * - * - * @param userId (required) - * @param date (required) - * @param filter (optional) - * @param timezoneOffset (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getUserReportData(String userId, String date, String filter, Float timezoneOffset) throws ApiException { - getUserReportDataWithHttpInfo(userId, date, filter, timezoneOffset); - } - - /** - * - * - * @param userId (required) - * @param date (required) - * @param filter (optional) - * @param timezoneOffset (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getUserReportDataWithHttpInfo(String userId, String date, String filter, Float timezoneOffset) throws ApiException { - okhttp3.Call localVarCall = getUserReportDataValidateBeforeCall(userId, date, filter, timezoneOffset, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param userId (required) - * @param date (required) - * @param filter (optional) - * @param timezoneOffset (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getUserReportDataAsync(String userId, String date, String filter, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getUserReportDataValidateBeforeCall(userId, date, filter, timezoneOffset, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for ignoreListAdd - * @param id (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call ignoreListAddCall(String id, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/user_manage/add"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (id != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("id", id)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call ignoreListAddValidateBeforeCall(String id, final ApiCallback _callback) throws ApiException { - return ignoreListAddCall(id, _callback); - - } - - /** - * - * - * @param id (optional) - * @return Boolean - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public Boolean ignoreListAdd(String id) throws ApiException { - ApiResponse localVarResp = ignoreListAddWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * - * @param id (optional) - * @return ApiResponse<Boolean> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse ignoreListAddWithHttpInfo(String id) throws ApiException { - okhttp3.Call localVarCall = ignoreListAddValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * - * @param id (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call ignoreListAddAsync(String id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = ignoreListAddValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for ignoreListRemove - * @param id (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call ignoreListRemoveCall(String id, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/user_manage/remove"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (id != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("id", id)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call ignoreListRemoveValidateBeforeCall(String id, final ApiCallback _callback) throws ApiException { - return ignoreListRemoveCall(id, _callback); - - } - - /** - * - * - * @param id (optional) - * @return Boolean - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public Boolean ignoreListRemove(String id) throws ApiException { - ApiResponse localVarResp = ignoreListRemoveWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * - * @param id (optional) - * @return ApiResponse<Boolean> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse ignoreListRemoveWithHttpInfo(String id) throws ApiException { - okhttp3.Call localVarCall = ignoreListRemoveValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * - * @param id (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call ignoreListRemoveAsync(String id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = ignoreListRemoveValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for loadBackup - * @param backupFilePath (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call loadBackupCall(String backupFilePath, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/load_backup"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (backupFilePath != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("backupFilePath", backupFilePath)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call loadBackupValidateBeforeCall(String backupFilePath, final ApiCallback _callback) throws ApiException { - return loadBackupCall(backupFilePath, _callback); - - } - - /** - * - * - * @param backupFilePath (optional) - * @return List<String> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public List loadBackup(String backupFilePath) throws ApiException { - ApiResponse> localVarResp = loadBackupWithHttpInfo(backupFilePath); - return localVarResp.getData(); - } - - /** - * - * - * @param backupFilePath (optional) - * @return ApiResponse<List<String>> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse> loadBackupWithHttpInfo(String backupFilePath) throws ApiException { - okhttp3.Call localVarCall = loadBackupValidateBeforeCall(backupFilePath, null); - Type localVarReturnType = new TypeToken>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * - * @param backupFilePath (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call loadBackupAsync(String backupFilePath, final ApiCallback> _callback) throws ApiException { - - okhttp3.Call localVarCall = loadBackupValidateBeforeCall(backupFilePath, _callback); - Type localVarReturnType = new TypeToken>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for pruneUnknownUsers - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call pruneUnknownUsersCall(final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/user_manage/prune"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call pruneUnknownUsersValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return pruneUnknownUsersCall(_callback); - - } - - /** - * - * - * @return Boolean - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public Boolean pruneUnknownUsers() throws ApiException { - ApiResponse localVarResp = pruneUnknownUsersWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * - * - * @return ApiResponse<Boolean> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse pruneUnknownUsersWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = pruneUnknownUsersValidateBeforeCall(null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call pruneUnknownUsersAsync(final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = pruneUnknownUsersValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for saveBackup - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call saveBackupCall(final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/save_backup"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call saveBackupValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return saveBackupCall(_callback); - - } - - /** - * - * - * @return List<String> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public List saveBackup() throws ApiException { - ApiResponse> localVarResp = saveBackupWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * - * - * @return ApiResponse<List<String>> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse> saveBackupWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = saveBackupValidateBeforeCall(null); - Type localVarReturnType = new TypeToken>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call saveBackupAsync(final ApiCallback> _callback) throws ApiException { - - okhttp3.Call localVarCall = saveBackupValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ReportsApi.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ReportsApi.java deleted file mode 100644 index c4c7fa996b1..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/ReportsApi.java +++ /dev/null @@ -1,1950 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.api; - -import org.openapitools.client.ApiCallback; -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.ApiResponse; -import org.openapitools.client.Configuration; -import org.openapitools.client.Pair; -import org.openapitools.client.ProgressRequestBody; -import org.openapitools.client.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import org.openapitools.client.model.ReportExportType; -import org.openapitools.client.model.ReportResult; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class ReportsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public ReportsApi() { - this(Configuration.getDefaultApiClient()); - } - - public ReportsApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for getActivityLogs - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param minDate (optional) - * @param includeItemTypes (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getActivityLogsCall(String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Integer startIndex, Integer limit, String minDate, String includeItemTypes, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Reports/Activities"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (reportView != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("reportView", reportView)); - } - - if (displayType != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("displayType", displayType)); - } - - if (hasQueryLimit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasQueryLimit", hasQueryLimit)); - } - - if (groupBy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("groupBy", groupBy)); - } - - if (reportColumns != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("reportColumns", reportColumns)); - } - - if (startIndex != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("startIndex", startIndex)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (minDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minDate", minDate)); - } - - if (includeItemTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("includeItemTypes", includeItemTypes)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getActivityLogsValidateBeforeCall(String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Integer startIndex, Integer limit, String minDate, String includeItemTypes, final ApiCallback _callback) throws ApiException { - return getActivityLogsCall(reportView, displayType, hasQueryLimit, groupBy, reportColumns, startIndex, limit, minDate, includeItemTypes, _callback); - - } - - /** - * - * - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param minDate (optional) - * @param includeItemTypes (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getActivityLogs(String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Integer startIndex, Integer limit, String minDate, String includeItemTypes) throws ApiException { - getActivityLogsWithHttpInfo(reportView, displayType, hasQueryLimit, groupBy, reportColumns, startIndex, limit, minDate, includeItemTypes); - } - - /** - * - * - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param minDate (optional) - * @param includeItemTypes (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getActivityLogsWithHttpInfo(String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Integer startIndex, Integer limit, String minDate, String includeItemTypes) throws ApiException { - okhttp3.Call localVarCall = getActivityLogsValidateBeforeCall(reportView, displayType, hasQueryLimit, groupBy, reportColumns, startIndex, limit, minDate, includeItemTypes, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param minDate (optional) - * @param includeItemTypes (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getActivityLogsAsync(String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Integer startIndex, Integer limit, String minDate, String includeItemTypes, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getActivityLogsValidateBeforeCall(reportView, displayType, hasQueryLimit, groupBy, reportColumns, startIndex, limit, minDate, includeItemTypes, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getItemReport - * @param hasThemeSong (optional) - * @param hasThemeVideo (optional) - * @param hasSubtitles (optional) - * @param hasSpecialFeature (optional) - * @param hasTrailer (optional) - * @param adjacentTo (optional) - * @param minIndexNumber (optional) - * @param parentIndexNumber (optional) - * @param hasParentalRating (optional) - * @param isHd (optional) - * @param locationTypes (optional) - * @param excludeLocationTypes (optional) - * @param isMissing (optional) - * @param isUnaried (optional) - * @param minCommunityRating (optional) - * @param minCriticRating (optional) - * @param airedDuringSeason (optional) - * @param minPremiereDate (optional) - * @param minDateLastSaved (optional) - * @param minDateLastSavedForUser (optional) - * @param maxPremiereDate (optional) - * @param hasOverview (optional) - * @param hasImdbId (optional) - * @param hasTmdbId (optional) - * @param hasTvdbId (optional) - * @param isInBoxSet (optional) - * @param excludeItemIds (optional) - * @param enableTotalRecordCount (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param recursive (optional) - * @param sortOrder (optional) - * @param parentId (optional) - * @param fields (optional) - * @param excludeItemTypes (optional) - * @param includeItemTypes (optional) - * @param filters (optional) - * @param isFavorite (optional) - * @param isNotFavorite (optional) - * @param mediaTypes (optional) - * @param imageTypes (optional) - * @param sortBy (optional) - * @param isPlayed (optional) - * @param genres (optional) - * @param genreIds (optional) - * @param officialRatings (optional) - * @param tags (optional) - * @param years (optional) - * @param enableUserData (optional) - * @param imageTypeLimit (optional) - * @param enableImageTypes (optional) - * @param person (optional) - * @param personIds (optional) - * @param personTypes (optional) - * @param studios (optional) - * @param studioIds (optional) - * @param artists (optional) - * @param excludeArtistIds (optional) - * @param artistIds (optional) - * @param albums (optional) - * @param albumIds (optional) - * @param ids (optional) - * @param videoTypes (optional) - * @param userId (optional) - * @param minOfficialRating (optional) - * @param isLocked (optional) - * @param isPlaceHolder (optional) - * @param hasOfficialRating (optional) - * @param collapseBoxSetItems (optional) - * @param is3D (optional) - * @param seriesStatus (optional) - * @param nameStartsWithOrGreater (optional) - * @param nameStartsWith (optional) - * @param nameLessThan (optional) - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param enableImages (optional, default to true) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getItemReportCall(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Boolean enableImages, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Reports/Items"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (hasThemeSong != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasThemeSong", hasThemeSong)); - } - - if (hasThemeVideo != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasThemeVideo", hasThemeVideo)); - } - - if (hasSubtitles != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasSubtitles", hasSubtitles)); - } - - if (hasSpecialFeature != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasSpecialFeature", hasSpecialFeature)); - } - - if (hasTrailer != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTrailer", hasTrailer)); - } - - if (adjacentTo != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("adjacentTo", adjacentTo)); - } - - if (minIndexNumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minIndexNumber", minIndexNumber)); - } - - if (parentIndexNumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("parentIndexNumber", parentIndexNumber)); - } - - if (hasParentalRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasParentalRating", hasParentalRating)); - } - - if (isHd != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isHd", isHd)); - } - - if (locationTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("locationTypes", locationTypes)); - } - - if (excludeLocationTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludeLocationTypes", excludeLocationTypes)); - } - - if (isMissing != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isMissing", isMissing)); - } - - if (isUnaried != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isUnaried", isUnaried)); - } - - if (minCommunityRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minCommunityRating", minCommunityRating)); - } - - if (minCriticRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minCriticRating", minCriticRating)); - } - - if (airedDuringSeason != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("airedDuringSeason", airedDuringSeason)); - } - - if (minPremiereDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minPremiereDate", minPremiereDate)); - } - - if (minDateLastSaved != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minDateLastSaved", minDateLastSaved)); - } - - if (minDateLastSavedForUser != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minDateLastSavedForUser", minDateLastSavedForUser)); - } - - if (maxPremiereDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxPremiereDate", maxPremiereDate)); - } - - if (hasOverview != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasOverview", hasOverview)); - } - - if (hasImdbId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasImdbId", hasImdbId)); - } - - if (hasTmdbId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTmdbId", hasTmdbId)); - } - - if (hasTvdbId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTvdbId", hasTvdbId)); - } - - if (isInBoxSet != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isInBoxSet", isInBoxSet)); - } - - if (excludeItemIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludeItemIds", excludeItemIds)); - } - - if (enableTotalRecordCount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableTotalRecordCount", enableTotalRecordCount)); - } - - if (startIndex != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("startIndex", startIndex)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (recursive != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("recursive", recursive)); - } - - if (sortOrder != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sortOrder", sortOrder)); - } - - if (parentId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("parentId", parentId)); - } - - if (fields != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fields", fields)); - } - - if (excludeItemTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludeItemTypes", excludeItemTypes)); - } - - if (includeItemTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("includeItemTypes", includeItemTypes)); - } - - if (filters != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filters", filters)); - } - - if (isFavorite != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isFavorite", isFavorite)); - } - - if (isNotFavorite != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isNotFavorite", isNotFavorite)); - } - - if (mediaTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("mediaTypes", mediaTypes)); - } - - if (imageTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("imageTypes", imageTypes)); - } - - if (sortBy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sortBy", sortBy)); - } - - if (isPlayed != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isPlayed", isPlayed)); - } - - if (genres != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("genres", genres)); - } - - if (genreIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("genreIds", genreIds)); - } - - if (officialRatings != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("officialRatings", officialRatings)); - } - - if (tags != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("tags", tags)); - } - - if (years != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("years", years)); - } - - if (enableUserData != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableUserData", enableUserData)); - } - - if (imageTypeLimit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("imageTypeLimit", imageTypeLimit)); - } - - if (enableImageTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableImageTypes", enableImageTypes)); - } - - if (person != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("person", person)); - } - - if (personIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("personIds", personIds)); - } - - if (personTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("personTypes", personTypes)); - } - - if (studios != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("studios", studios)); - } - - if (studioIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("studioIds", studioIds)); - } - - if (artists != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("artists", artists)); - } - - if (excludeArtistIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludeArtistIds", excludeArtistIds)); - } - - if (artistIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("artistIds", artistIds)); - } - - if (albums != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("albums", albums)); - } - - if (albumIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("albumIds", albumIds)); - } - - if (ids != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("ids", ids)); - } - - if (videoTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("videoTypes", videoTypes)); - } - - if (userId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); - } - - if (minOfficialRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minOfficialRating", minOfficialRating)); - } - - if (isLocked != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isLocked", isLocked)); - } - - if (isPlaceHolder != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isPlaceHolder", isPlaceHolder)); - } - - if (hasOfficialRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasOfficialRating", hasOfficialRating)); - } - - if (collapseBoxSetItems != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("collapseBoxSetItems", collapseBoxSetItems)); - } - - if (is3D != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("is3D", is3D)); - } - - if (seriesStatus != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("seriesStatus", seriesStatus)); - } - - if (nameStartsWithOrGreater != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameStartsWithOrGreater", nameStartsWithOrGreater)); - } - - if (nameStartsWith != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameStartsWith", nameStartsWith)); - } - - if (nameLessThan != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameLessThan", nameLessThan)); - } - - if (reportView != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("reportView", reportView)); - } - - if (displayType != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("displayType", displayType)); - } - - if (hasQueryLimit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasQueryLimit", hasQueryLimit)); - } - - if (groupBy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("groupBy", groupBy)); - } - - if (reportColumns != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("reportColumns", reportColumns)); - } - - if (enableImages != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableImages", enableImages)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getItemReportValidateBeforeCall(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Boolean enableImages, final ApiCallback _callback) throws ApiException { - return getItemReportCall(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, enableImages, _callback); - - } - - /** - * - * - * @param hasThemeSong (optional) - * @param hasThemeVideo (optional) - * @param hasSubtitles (optional) - * @param hasSpecialFeature (optional) - * @param hasTrailer (optional) - * @param adjacentTo (optional) - * @param minIndexNumber (optional) - * @param parentIndexNumber (optional) - * @param hasParentalRating (optional) - * @param isHd (optional) - * @param locationTypes (optional) - * @param excludeLocationTypes (optional) - * @param isMissing (optional) - * @param isUnaried (optional) - * @param minCommunityRating (optional) - * @param minCriticRating (optional) - * @param airedDuringSeason (optional) - * @param minPremiereDate (optional) - * @param minDateLastSaved (optional) - * @param minDateLastSavedForUser (optional) - * @param maxPremiereDate (optional) - * @param hasOverview (optional) - * @param hasImdbId (optional) - * @param hasTmdbId (optional) - * @param hasTvdbId (optional) - * @param isInBoxSet (optional) - * @param excludeItemIds (optional) - * @param enableTotalRecordCount (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param recursive (optional) - * @param sortOrder (optional) - * @param parentId (optional) - * @param fields (optional) - * @param excludeItemTypes (optional) - * @param includeItemTypes (optional) - * @param filters (optional) - * @param isFavorite (optional) - * @param isNotFavorite (optional) - * @param mediaTypes (optional) - * @param imageTypes (optional) - * @param sortBy (optional) - * @param isPlayed (optional) - * @param genres (optional) - * @param genreIds (optional) - * @param officialRatings (optional) - * @param tags (optional) - * @param years (optional) - * @param enableUserData (optional) - * @param imageTypeLimit (optional) - * @param enableImageTypes (optional) - * @param person (optional) - * @param personIds (optional) - * @param personTypes (optional) - * @param studios (optional) - * @param studioIds (optional) - * @param artists (optional) - * @param excludeArtistIds (optional) - * @param artistIds (optional) - * @param albums (optional) - * @param albumIds (optional) - * @param ids (optional) - * @param videoTypes (optional) - * @param userId (optional) - * @param minOfficialRating (optional) - * @param isLocked (optional) - * @param isPlaceHolder (optional) - * @param hasOfficialRating (optional) - * @param collapseBoxSetItems (optional) - * @param is3D (optional) - * @param seriesStatus (optional) - * @param nameStartsWithOrGreater (optional) - * @param nameStartsWith (optional) - * @param nameLessThan (optional) - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param enableImages (optional, default to true) - * @return ReportResult - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ReportResult getItemReport(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Boolean enableImages) throws ApiException { - ApiResponse localVarResp = getItemReportWithHttpInfo(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, enableImages); - return localVarResp.getData(); - } - - /** - * - * - * @param hasThemeSong (optional) - * @param hasThemeVideo (optional) - * @param hasSubtitles (optional) - * @param hasSpecialFeature (optional) - * @param hasTrailer (optional) - * @param adjacentTo (optional) - * @param minIndexNumber (optional) - * @param parentIndexNumber (optional) - * @param hasParentalRating (optional) - * @param isHd (optional) - * @param locationTypes (optional) - * @param excludeLocationTypes (optional) - * @param isMissing (optional) - * @param isUnaried (optional) - * @param minCommunityRating (optional) - * @param minCriticRating (optional) - * @param airedDuringSeason (optional) - * @param minPremiereDate (optional) - * @param minDateLastSaved (optional) - * @param minDateLastSavedForUser (optional) - * @param maxPremiereDate (optional) - * @param hasOverview (optional) - * @param hasImdbId (optional) - * @param hasTmdbId (optional) - * @param hasTvdbId (optional) - * @param isInBoxSet (optional) - * @param excludeItemIds (optional) - * @param enableTotalRecordCount (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param recursive (optional) - * @param sortOrder (optional) - * @param parentId (optional) - * @param fields (optional) - * @param excludeItemTypes (optional) - * @param includeItemTypes (optional) - * @param filters (optional) - * @param isFavorite (optional) - * @param isNotFavorite (optional) - * @param mediaTypes (optional) - * @param imageTypes (optional) - * @param sortBy (optional) - * @param isPlayed (optional) - * @param genres (optional) - * @param genreIds (optional) - * @param officialRatings (optional) - * @param tags (optional) - * @param years (optional) - * @param enableUserData (optional) - * @param imageTypeLimit (optional) - * @param enableImageTypes (optional) - * @param person (optional) - * @param personIds (optional) - * @param personTypes (optional) - * @param studios (optional) - * @param studioIds (optional) - * @param artists (optional) - * @param excludeArtistIds (optional) - * @param artistIds (optional) - * @param albums (optional) - * @param albumIds (optional) - * @param ids (optional) - * @param videoTypes (optional) - * @param userId (optional) - * @param minOfficialRating (optional) - * @param isLocked (optional) - * @param isPlaceHolder (optional) - * @param hasOfficialRating (optional) - * @param collapseBoxSetItems (optional) - * @param is3D (optional) - * @param seriesStatus (optional) - * @param nameStartsWithOrGreater (optional) - * @param nameStartsWith (optional) - * @param nameLessThan (optional) - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param enableImages (optional, default to true) - * @return ApiResponse<ReportResult> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getItemReportWithHttpInfo(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Boolean enableImages) throws ApiException { - okhttp3.Call localVarCall = getItemReportValidateBeforeCall(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, enableImages, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * - * @param hasThemeSong (optional) - * @param hasThemeVideo (optional) - * @param hasSubtitles (optional) - * @param hasSpecialFeature (optional) - * @param hasTrailer (optional) - * @param adjacentTo (optional) - * @param minIndexNumber (optional) - * @param parentIndexNumber (optional) - * @param hasParentalRating (optional) - * @param isHd (optional) - * @param locationTypes (optional) - * @param excludeLocationTypes (optional) - * @param isMissing (optional) - * @param isUnaried (optional) - * @param minCommunityRating (optional) - * @param minCriticRating (optional) - * @param airedDuringSeason (optional) - * @param minPremiereDate (optional) - * @param minDateLastSaved (optional) - * @param minDateLastSavedForUser (optional) - * @param maxPremiereDate (optional) - * @param hasOverview (optional) - * @param hasImdbId (optional) - * @param hasTmdbId (optional) - * @param hasTvdbId (optional) - * @param isInBoxSet (optional) - * @param excludeItemIds (optional) - * @param enableTotalRecordCount (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param recursive (optional) - * @param sortOrder (optional) - * @param parentId (optional) - * @param fields (optional) - * @param excludeItemTypes (optional) - * @param includeItemTypes (optional) - * @param filters (optional) - * @param isFavorite (optional) - * @param isNotFavorite (optional) - * @param mediaTypes (optional) - * @param imageTypes (optional) - * @param sortBy (optional) - * @param isPlayed (optional) - * @param genres (optional) - * @param genreIds (optional) - * @param officialRatings (optional) - * @param tags (optional) - * @param years (optional) - * @param enableUserData (optional) - * @param imageTypeLimit (optional) - * @param enableImageTypes (optional) - * @param person (optional) - * @param personIds (optional) - * @param personTypes (optional) - * @param studios (optional) - * @param studioIds (optional) - * @param artists (optional) - * @param excludeArtistIds (optional) - * @param artistIds (optional) - * @param albums (optional) - * @param albumIds (optional) - * @param ids (optional) - * @param videoTypes (optional) - * @param userId (optional) - * @param minOfficialRating (optional) - * @param isLocked (optional) - * @param isPlaceHolder (optional) - * @param hasOfficialRating (optional) - * @param collapseBoxSetItems (optional) - * @param is3D (optional) - * @param seriesStatus (optional) - * @param nameStartsWithOrGreater (optional) - * @param nameStartsWith (optional) - * @param nameLessThan (optional) - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param enableImages (optional, default to true) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getItemReportAsync(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Boolean enableImages, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getItemReportValidateBeforeCall(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, enableImages, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getReportDownload - * @param hasThemeSong (optional) - * @param hasThemeVideo (optional) - * @param hasSubtitles (optional) - * @param hasSpecialFeature (optional) - * @param hasTrailer (optional) - * @param adjacentTo (optional) - * @param minIndexNumber (optional) - * @param parentIndexNumber (optional) - * @param hasParentalRating (optional) - * @param isHd (optional) - * @param locationTypes (optional) - * @param excludeLocationTypes (optional) - * @param isMissing (optional) - * @param isUnaried (optional) - * @param minCommunityRating (optional) - * @param minCriticRating (optional) - * @param airedDuringSeason (optional) - * @param minPremiereDate (optional) - * @param minDateLastSaved (optional) - * @param minDateLastSavedForUser (optional) - * @param maxPremiereDate (optional) - * @param hasOverview (optional) - * @param hasImdbId (optional) - * @param hasTmdbId (optional) - * @param hasTvdbId (optional) - * @param isInBoxSet (optional) - * @param excludeItemIds (optional) - * @param enableTotalRecordCount (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param recursive (optional) - * @param sortOrder (optional) - * @param parentId (optional) - * @param fields (optional) - * @param excludeItemTypes (optional) - * @param includeItemTypes (optional) - * @param filters (optional) - * @param isFavorite (optional) - * @param isNotFavorite (optional) - * @param mediaTypes (optional) - * @param imageTypes (optional) - * @param sortBy (optional) - * @param isPlayed (optional) - * @param genres (optional) - * @param genreIds (optional) - * @param officialRatings (optional) - * @param tags (optional) - * @param years (optional) - * @param enableUserData (optional) - * @param imageTypeLimit (optional) - * @param enableImageTypes (optional) - * @param person (optional) - * @param personIds (optional) - * @param personTypes (optional) - * @param studios (optional) - * @param studioIds (optional) - * @param artists (optional) - * @param excludeArtistIds (optional) - * @param artistIds (optional) - * @param albums (optional) - * @param albumIds (optional) - * @param ids (optional) - * @param videoTypes (optional) - * @param userId (optional) - * @param minOfficialRating (optional) - * @param isLocked (optional) - * @param isPlaceHolder (optional) - * @param hasOfficialRating (optional) - * @param collapseBoxSetItems (optional) - * @param is3D (optional) - * @param seriesStatus (optional) - * @param nameStartsWithOrGreater (optional) - * @param nameStartsWith (optional) - * @param nameLessThan (optional) - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param minDate (optional) - * @param exportType (optional, default to CSV) - * @param enableImages (optional, default to true) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getReportDownloadCall(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, String minDate, ReportExportType exportType, Boolean enableImages, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Reports/Items/Download"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (hasThemeSong != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasThemeSong", hasThemeSong)); - } - - if (hasThemeVideo != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasThemeVideo", hasThemeVideo)); - } - - if (hasSubtitles != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasSubtitles", hasSubtitles)); - } - - if (hasSpecialFeature != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasSpecialFeature", hasSpecialFeature)); - } - - if (hasTrailer != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTrailer", hasTrailer)); - } - - if (adjacentTo != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("adjacentTo", adjacentTo)); - } - - if (minIndexNumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minIndexNumber", minIndexNumber)); - } - - if (parentIndexNumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("parentIndexNumber", parentIndexNumber)); - } - - if (hasParentalRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasParentalRating", hasParentalRating)); - } - - if (isHd != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isHd", isHd)); - } - - if (locationTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("locationTypes", locationTypes)); - } - - if (excludeLocationTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludeLocationTypes", excludeLocationTypes)); - } - - if (isMissing != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isMissing", isMissing)); - } - - if (isUnaried != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isUnaried", isUnaried)); - } - - if (minCommunityRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minCommunityRating", minCommunityRating)); - } - - if (minCriticRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minCriticRating", minCriticRating)); - } - - if (airedDuringSeason != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("airedDuringSeason", airedDuringSeason)); - } - - if (minPremiereDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minPremiereDate", minPremiereDate)); - } - - if (minDateLastSaved != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minDateLastSaved", minDateLastSaved)); - } - - if (minDateLastSavedForUser != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minDateLastSavedForUser", minDateLastSavedForUser)); - } - - if (maxPremiereDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxPremiereDate", maxPremiereDate)); - } - - if (hasOverview != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasOverview", hasOverview)); - } - - if (hasImdbId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasImdbId", hasImdbId)); - } - - if (hasTmdbId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTmdbId", hasTmdbId)); - } - - if (hasTvdbId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTvdbId", hasTvdbId)); - } - - if (isInBoxSet != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isInBoxSet", isInBoxSet)); - } - - if (excludeItemIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludeItemIds", excludeItemIds)); - } - - if (enableTotalRecordCount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableTotalRecordCount", enableTotalRecordCount)); - } - - if (startIndex != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("startIndex", startIndex)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (recursive != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("recursive", recursive)); - } - - if (sortOrder != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sortOrder", sortOrder)); - } - - if (parentId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("parentId", parentId)); - } - - if (fields != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fields", fields)); - } - - if (excludeItemTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludeItemTypes", excludeItemTypes)); - } - - if (includeItemTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("includeItemTypes", includeItemTypes)); - } - - if (filters != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filters", filters)); - } - - if (isFavorite != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isFavorite", isFavorite)); - } - - if (isNotFavorite != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isNotFavorite", isNotFavorite)); - } - - if (mediaTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("mediaTypes", mediaTypes)); - } - - if (imageTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("imageTypes", imageTypes)); - } - - if (sortBy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sortBy", sortBy)); - } - - if (isPlayed != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isPlayed", isPlayed)); - } - - if (genres != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("genres", genres)); - } - - if (genreIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("genreIds", genreIds)); - } - - if (officialRatings != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("officialRatings", officialRatings)); - } - - if (tags != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("tags", tags)); - } - - if (years != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("years", years)); - } - - if (enableUserData != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableUserData", enableUserData)); - } - - if (imageTypeLimit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("imageTypeLimit", imageTypeLimit)); - } - - if (enableImageTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableImageTypes", enableImageTypes)); - } - - if (person != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("person", person)); - } - - if (personIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("personIds", personIds)); - } - - if (personTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("personTypes", personTypes)); - } - - if (studios != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("studios", studios)); - } - - if (studioIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("studioIds", studioIds)); - } - - if (artists != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("artists", artists)); - } - - if (excludeArtistIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludeArtistIds", excludeArtistIds)); - } - - if (artistIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("artistIds", artistIds)); - } - - if (albums != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("albums", albums)); - } - - if (albumIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("albumIds", albumIds)); - } - - if (ids != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("ids", ids)); - } - - if (videoTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("videoTypes", videoTypes)); - } - - if (userId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); - } - - if (minOfficialRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minOfficialRating", minOfficialRating)); - } - - if (isLocked != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isLocked", isLocked)); - } - - if (isPlaceHolder != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isPlaceHolder", isPlaceHolder)); - } - - if (hasOfficialRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasOfficialRating", hasOfficialRating)); - } - - if (collapseBoxSetItems != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("collapseBoxSetItems", collapseBoxSetItems)); - } - - if (is3D != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("is3D", is3D)); - } - - if (seriesStatus != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("seriesStatus", seriesStatus)); - } - - if (nameStartsWithOrGreater != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameStartsWithOrGreater", nameStartsWithOrGreater)); - } - - if (nameStartsWith != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameStartsWith", nameStartsWith)); - } - - if (nameLessThan != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameLessThan", nameLessThan)); - } - - if (reportView != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("reportView", reportView)); - } - - if (displayType != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("displayType", displayType)); - } - - if (hasQueryLimit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasQueryLimit", hasQueryLimit)); - } - - if (groupBy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("groupBy", groupBy)); - } - - if (reportColumns != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("reportColumns", reportColumns)); - } - - if (minDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minDate", minDate)); - } - - if (exportType != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("exportType", exportType)); - } - - if (enableImages != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableImages", enableImages)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getReportDownloadValidateBeforeCall(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, String minDate, ReportExportType exportType, Boolean enableImages, final ApiCallback _callback) throws ApiException { - return getReportDownloadCall(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, minDate, exportType, enableImages, _callback); - - } - - /** - * - * - * @param hasThemeSong (optional) - * @param hasThemeVideo (optional) - * @param hasSubtitles (optional) - * @param hasSpecialFeature (optional) - * @param hasTrailer (optional) - * @param adjacentTo (optional) - * @param minIndexNumber (optional) - * @param parentIndexNumber (optional) - * @param hasParentalRating (optional) - * @param isHd (optional) - * @param locationTypes (optional) - * @param excludeLocationTypes (optional) - * @param isMissing (optional) - * @param isUnaried (optional) - * @param minCommunityRating (optional) - * @param minCriticRating (optional) - * @param airedDuringSeason (optional) - * @param minPremiereDate (optional) - * @param minDateLastSaved (optional) - * @param minDateLastSavedForUser (optional) - * @param maxPremiereDate (optional) - * @param hasOverview (optional) - * @param hasImdbId (optional) - * @param hasTmdbId (optional) - * @param hasTvdbId (optional) - * @param isInBoxSet (optional) - * @param excludeItemIds (optional) - * @param enableTotalRecordCount (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param recursive (optional) - * @param sortOrder (optional) - * @param parentId (optional) - * @param fields (optional) - * @param excludeItemTypes (optional) - * @param includeItemTypes (optional) - * @param filters (optional) - * @param isFavorite (optional) - * @param isNotFavorite (optional) - * @param mediaTypes (optional) - * @param imageTypes (optional) - * @param sortBy (optional) - * @param isPlayed (optional) - * @param genres (optional) - * @param genreIds (optional) - * @param officialRatings (optional) - * @param tags (optional) - * @param years (optional) - * @param enableUserData (optional) - * @param imageTypeLimit (optional) - * @param enableImageTypes (optional) - * @param person (optional) - * @param personIds (optional) - * @param personTypes (optional) - * @param studios (optional) - * @param studioIds (optional) - * @param artists (optional) - * @param excludeArtistIds (optional) - * @param artistIds (optional) - * @param albums (optional) - * @param albumIds (optional) - * @param ids (optional) - * @param videoTypes (optional) - * @param userId (optional) - * @param minOfficialRating (optional) - * @param isLocked (optional) - * @param isPlaceHolder (optional) - * @param hasOfficialRating (optional) - * @param collapseBoxSetItems (optional) - * @param is3D (optional) - * @param seriesStatus (optional) - * @param nameStartsWithOrGreater (optional) - * @param nameStartsWith (optional) - * @param nameLessThan (optional) - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param minDate (optional) - * @param exportType (optional, default to CSV) - * @param enableImages (optional, default to true) - * @return ReportResult - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ReportResult getReportDownload(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, String minDate, ReportExportType exportType, Boolean enableImages) throws ApiException { - ApiResponse localVarResp = getReportDownloadWithHttpInfo(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, minDate, exportType, enableImages); - return localVarResp.getData(); - } - - /** - * - * - * @param hasThemeSong (optional) - * @param hasThemeVideo (optional) - * @param hasSubtitles (optional) - * @param hasSpecialFeature (optional) - * @param hasTrailer (optional) - * @param adjacentTo (optional) - * @param minIndexNumber (optional) - * @param parentIndexNumber (optional) - * @param hasParentalRating (optional) - * @param isHd (optional) - * @param locationTypes (optional) - * @param excludeLocationTypes (optional) - * @param isMissing (optional) - * @param isUnaried (optional) - * @param minCommunityRating (optional) - * @param minCriticRating (optional) - * @param airedDuringSeason (optional) - * @param minPremiereDate (optional) - * @param minDateLastSaved (optional) - * @param minDateLastSavedForUser (optional) - * @param maxPremiereDate (optional) - * @param hasOverview (optional) - * @param hasImdbId (optional) - * @param hasTmdbId (optional) - * @param hasTvdbId (optional) - * @param isInBoxSet (optional) - * @param excludeItemIds (optional) - * @param enableTotalRecordCount (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param recursive (optional) - * @param sortOrder (optional) - * @param parentId (optional) - * @param fields (optional) - * @param excludeItemTypes (optional) - * @param includeItemTypes (optional) - * @param filters (optional) - * @param isFavorite (optional) - * @param isNotFavorite (optional) - * @param mediaTypes (optional) - * @param imageTypes (optional) - * @param sortBy (optional) - * @param isPlayed (optional) - * @param genres (optional) - * @param genreIds (optional) - * @param officialRatings (optional) - * @param tags (optional) - * @param years (optional) - * @param enableUserData (optional) - * @param imageTypeLimit (optional) - * @param enableImageTypes (optional) - * @param person (optional) - * @param personIds (optional) - * @param personTypes (optional) - * @param studios (optional) - * @param studioIds (optional) - * @param artists (optional) - * @param excludeArtistIds (optional) - * @param artistIds (optional) - * @param albums (optional) - * @param albumIds (optional) - * @param ids (optional) - * @param videoTypes (optional) - * @param userId (optional) - * @param minOfficialRating (optional) - * @param isLocked (optional) - * @param isPlaceHolder (optional) - * @param hasOfficialRating (optional) - * @param collapseBoxSetItems (optional) - * @param is3D (optional) - * @param seriesStatus (optional) - * @param nameStartsWithOrGreater (optional) - * @param nameStartsWith (optional) - * @param nameLessThan (optional) - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param minDate (optional) - * @param exportType (optional, default to CSV) - * @param enableImages (optional, default to true) - * @return ApiResponse<ReportResult> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getReportDownloadWithHttpInfo(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, String minDate, ReportExportType exportType, Boolean enableImages) throws ApiException { - okhttp3.Call localVarCall = getReportDownloadValidateBeforeCall(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, minDate, exportType, enableImages, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * - * @param hasThemeSong (optional) - * @param hasThemeVideo (optional) - * @param hasSubtitles (optional) - * @param hasSpecialFeature (optional) - * @param hasTrailer (optional) - * @param adjacentTo (optional) - * @param minIndexNumber (optional) - * @param parentIndexNumber (optional) - * @param hasParentalRating (optional) - * @param isHd (optional) - * @param locationTypes (optional) - * @param excludeLocationTypes (optional) - * @param isMissing (optional) - * @param isUnaried (optional) - * @param minCommunityRating (optional) - * @param minCriticRating (optional) - * @param airedDuringSeason (optional) - * @param minPremiereDate (optional) - * @param minDateLastSaved (optional) - * @param minDateLastSavedForUser (optional) - * @param maxPremiereDate (optional) - * @param hasOverview (optional) - * @param hasImdbId (optional) - * @param hasTmdbId (optional) - * @param hasTvdbId (optional) - * @param isInBoxSet (optional) - * @param excludeItemIds (optional) - * @param enableTotalRecordCount (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param recursive (optional) - * @param sortOrder (optional) - * @param parentId (optional) - * @param fields (optional) - * @param excludeItemTypes (optional) - * @param includeItemTypes (optional) - * @param filters (optional) - * @param isFavorite (optional) - * @param isNotFavorite (optional) - * @param mediaTypes (optional) - * @param imageTypes (optional) - * @param sortBy (optional) - * @param isPlayed (optional) - * @param genres (optional) - * @param genreIds (optional) - * @param officialRatings (optional) - * @param tags (optional) - * @param years (optional) - * @param enableUserData (optional) - * @param imageTypeLimit (optional) - * @param enableImageTypes (optional) - * @param person (optional) - * @param personIds (optional) - * @param personTypes (optional) - * @param studios (optional) - * @param studioIds (optional) - * @param artists (optional) - * @param excludeArtistIds (optional) - * @param artistIds (optional) - * @param albums (optional) - * @param albumIds (optional) - * @param ids (optional) - * @param videoTypes (optional) - * @param userId (optional) - * @param minOfficialRating (optional) - * @param isLocked (optional) - * @param isPlaceHolder (optional) - * @param hasOfficialRating (optional) - * @param collapseBoxSetItems (optional) - * @param is3D (optional) - * @param seriesStatus (optional) - * @param nameStartsWithOrGreater (optional) - * @param nameStartsWith (optional) - * @param nameLessThan (optional) - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param minDate (optional) - * @param exportType (optional, default to CSV) - * @param enableImages (optional, default to true) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getReportDownloadAsync(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, String minDate, ReportExportType exportType, Boolean enableImages, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getReportDownloadValidateBeforeCall(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, minDate, exportType, enableImages, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getReportHeaders - * @param reportView (optional) - * @param includeItemTypes (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getReportHeadersCall(String reportView, String includeItemTypes, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Reports/Headers"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (reportView != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("reportView", reportView)); - } - - if (includeItemTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("includeItemTypes", includeItemTypes)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getReportHeadersValidateBeforeCall(String reportView, String includeItemTypes, final ApiCallback _callback) throws ApiException { - return getReportHeadersCall(reportView, includeItemTypes, _callback); - - } - - /** - * - * - * @param reportView (optional) - * @param includeItemTypes (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getReportHeaders(String reportView, String includeItemTypes) throws ApiException { - getReportHeadersWithHttpInfo(reportView, includeItemTypes); - } - - /** - * - * - * @param reportView (optional) - * @param includeItemTypes (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getReportHeadersWithHttpInfo(String reportView, String includeItemTypes) throws ApiException { - okhttp3.Call localVarCall = getReportHeadersValidateBeforeCall(reportView, includeItemTypes, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param reportView (optional) - * @param includeItemTypes (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getReportHeadersAsync(String reportView, String includeItemTypes, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getReportHeadersValidateBeforeCall(reportView, includeItemTypes, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } -} diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/RestApiApi.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/RestApiApi.java deleted file mode 100644 index 282318f09d3..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/api/RestApiApi.java +++ /dev/null @@ -1,192 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.api; - -import org.openapitools.client.ApiCallback; -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.ApiResponse; -import org.openapitools.client.Configuration; -import org.openapitools.client.Pair; -import org.openapitools.client.ProgressRequestBody; -import org.openapitools.client.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import org.openapitools.client.model.LastFMUser; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class RestApiApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public RestApiApi() { - this(Configuration.getDefaultApiClient()); - } - - public RestApiApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for createMobileSession - * @param lastFMUser (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - -
Response Details
Status Code Description Response Headers
200 Success -
- */ - public okhttp3.Call createMobileSessionCall(LastFMUser lastFMUser, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = lastFMUser; - - // create path and map variables - String localVarPath = "/Lastfm/Login"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createMobileSessionValidateBeforeCall(LastFMUser lastFMUser, final ApiCallback _callback) throws ApiException { - return createMobileSessionCall(lastFMUser, _callback); - - } - - /** - * - * - * @param lastFMUser (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - -
Response Details
Status Code Description Response Headers
200 Success -
- */ - public void createMobileSession(LastFMUser lastFMUser) throws ApiException { - createMobileSessionWithHttpInfo(lastFMUser); - } - - /** - * - * - * @param lastFMUser (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - -
Response Details
Status Code Description Response Headers
200 Success -
- */ - public ApiResponse createMobileSessionWithHttpInfo(LastFMUser lastFMUser) throws ApiException { - okhttp3.Call localVarCall = createMobileSessionValidateBeforeCall(lastFMUser, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param lastFMUser (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - -
Response Details
Status Code Description Response Headers
200 Success -
- */ - public okhttp3.Call createMobileSessionAsync(LastFMUser lastFMUser, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createMobileSessionValidateBeforeCall(lastFMUser, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } -} diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AdminNotificationDto.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AdminNotificationDto.java deleted file mode 100644 index f093457dda2..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/AdminNotificationDto.java +++ /dev/null @@ -1,310 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.openapitools.client.model.NotificationLevel; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * The admin notification dto. - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class AdminNotificationDto { - public static final String SERIALIZED_NAME_NAME = "Name"; - @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; - - public static final String SERIALIZED_NAME_DESCRIPTION = "Description"; - @SerializedName(SERIALIZED_NAME_DESCRIPTION) - @javax.annotation.Nullable - private String description; - - public static final String SERIALIZED_NAME_NOTIFICATION_LEVEL = "NotificationLevel"; - @SerializedName(SERIALIZED_NAME_NOTIFICATION_LEVEL) - @javax.annotation.Nullable - private NotificationLevel notificationLevel; - - public static final String SERIALIZED_NAME_URL = "Url"; - @SerializedName(SERIALIZED_NAME_URL) - @javax.annotation.Nullable - private String url; - - public AdminNotificationDto() { - } - - public AdminNotificationDto name(@javax.annotation.Nullable String name) { - this.name = name; - return this; - } - - /** - * Gets or sets the notification name. - * @return name - */ - @javax.annotation.Nullable - public String getName() { - return name; - } - - public void setName(@javax.annotation.Nullable String name) { - this.name = name; - } - - - public AdminNotificationDto description(@javax.annotation.Nullable String description) { - this.description = description; - return this; - } - - /** - * Gets or sets the notification description. - * @return description - */ - @javax.annotation.Nullable - public String getDescription() { - return description; - } - - public void setDescription(@javax.annotation.Nullable String description) { - this.description = description; - } - - - public AdminNotificationDto notificationLevel(@javax.annotation.Nullable NotificationLevel notificationLevel) { - this.notificationLevel = notificationLevel; - return this; - } - - /** - * Gets or sets the notification level. - * @return notificationLevel - */ - @javax.annotation.Nullable - public NotificationLevel getNotificationLevel() { - return notificationLevel; - } - - public void setNotificationLevel(@javax.annotation.Nullable NotificationLevel notificationLevel) { - this.notificationLevel = notificationLevel; - } - - - public AdminNotificationDto url(@javax.annotation.Nullable String url) { - this.url = url; - return this; - } - - /** - * Gets or sets the notification url. - * @return url - */ - @javax.annotation.Nullable - public String getUrl() { - return url; - } - - public void setUrl(@javax.annotation.Nullable String url) { - this.url = url; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AdminNotificationDto adminNotificationDto = (AdminNotificationDto) o; - return Objects.equals(this.name, adminNotificationDto.name) && - Objects.equals(this.description, adminNotificationDto.description) && - Objects.equals(this.notificationLevel, adminNotificationDto.notificationLevel) && - Objects.equals(this.url, adminNotificationDto.url); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(name, description, notificationLevel, url); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AdminNotificationDto {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" notificationLevel: ").append(toIndentedString(notificationLevel)).append("\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Name"); - openapiFields.add("Description"); - openapiFields.add("NotificationLevel"); - openapiFields.add("Url"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to AdminNotificationDto - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!AdminNotificationDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in AdminNotificationDto is not found in the empty JSON string", AdminNotificationDto.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!AdminNotificationDto.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AdminNotificationDto` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Name") != null && !jsonObj.get("Name").isJsonNull()) && !jsonObj.get("Name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Name").toString())); - } - if ((jsonObj.get("Description") != null && !jsonObj.get("Description").isJsonNull()) && !jsonObj.get("Description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Description").toString())); - } - // validate the optional field `NotificationLevel` - if (jsonObj.get("NotificationLevel") != null && !jsonObj.get("NotificationLevel").isJsonNull()) { - NotificationLevel.validateJsonElement(jsonObj.get("NotificationLevel")); - } - if ((jsonObj.get("Url") != null && !jsonObj.get("Url").isJsonNull()) && !jsonObj.get("Url").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Url").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!AdminNotificationDto.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'AdminNotificationDto' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(AdminNotificationDto.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, AdminNotificationDto value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public AdminNotificationDto read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of AdminNotificationDto given an JSON string - * - * @param jsonString JSON string - * @return An instance of AdminNotificationDto - * @throws IOException if the JSON string is invalid with respect to AdminNotificationDto - */ - public static AdminNotificationDto fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, AdminNotificationDto.class); - } - - /** - * Convert an instance of AdminNotificationDto to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ClientCapabilities.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ClientCapabilities.java deleted file mode 100644 index 7b6e931f146..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ClientCapabilities.java +++ /dev/null @@ -1,499 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.openapitools.client.model.DeviceProfile; -import org.openapitools.client.model.GeneralCommandType; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * ClientCapabilities - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class ClientCapabilities { - public static final String SERIALIZED_NAME_PLAYABLE_MEDIA_TYPES = "PlayableMediaTypes"; - @SerializedName(SERIALIZED_NAME_PLAYABLE_MEDIA_TYPES) - @javax.annotation.Nullable - private List playableMediaTypes; - - public static final String SERIALIZED_NAME_SUPPORTED_COMMANDS = "SupportedCommands"; - @SerializedName(SERIALIZED_NAME_SUPPORTED_COMMANDS) - @javax.annotation.Nullable - private List supportedCommands; - - public static final String SERIALIZED_NAME_SUPPORTS_MEDIA_CONTROL = "SupportsMediaControl"; - @SerializedName(SERIALIZED_NAME_SUPPORTS_MEDIA_CONTROL) - @javax.annotation.Nullable - private Boolean supportsMediaControl; - - public static final String SERIALIZED_NAME_SUPPORTS_CONTENT_UPLOADING = "SupportsContentUploading"; - @SerializedName(SERIALIZED_NAME_SUPPORTS_CONTENT_UPLOADING) - @javax.annotation.Nullable - private Boolean supportsContentUploading; - - public static final String SERIALIZED_NAME_MESSAGE_CALLBACK_URL = "MessageCallbackUrl"; - @SerializedName(SERIALIZED_NAME_MESSAGE_CALLBACK_URL) - @javax.annotation.Nullable - private String messageCallbackUrl; - - public static final String SERIALIZED_NAME_SUPPORTS_PERSISTENT_IDENTIFIER = "SupportsPersistentIdentifier"; - @SerializedName(SERIALIZED_NAME_SUPPORTS_PERSISTENT_IDENTIFIER) - @javax.annotation.Nullable - private Boolean supportsPersistentIdentifier; - - public static final String SERIALIZED_NAME_SUPPORTS_SYNC = "SupportsSync"; - @SerializedName(SERIALIZED_NAME_SUPPORTS_SYNC) - @javax.annotation.Nullable - private Boolean supportsSync; - - public static final String SERIALIZED_NAME_DEVICE_PROFILE = "DeviceProfile"; - @SerializedName(SERIALIZED_NAME_DEVICE_PROFILE) - @javax.annotation.Nullable - private DeviceProfile deviceProfile; - - public static final String SERIALIZED_NAME_APP_STORE_URL = "AppStoreUrl"; - @SerializedName(SERIALIZED_NAME_APP_STORE_URL) - @javax.annotation.Nullable - private String appStoreUrl; - - public static final String SERIALIZED_NAME_ICON_URL = "IconUrl"; - @SerializedName(SERIALIZED_NAME_ICON_URL) - @javax.annotation.Nullable - private String iconUrl; - - public ClientCapabilities() { - } - - public ClientCapabilities playableMediaTypes(@javax.annotation.Nullable List playableMediaTypes) { - this.playableMediaTypes = playableMediaTypes; - return this; - } - - public ClientCapabilities addPlayableMediaTypesItem(String playableMediaTypesItem) { - if (this.playableMediaTypes == null) { - this.playableMediaTypes = new ArrayList<>(); - } - this.playableMediaTypes.add(playableMediaTypesItem); - return this; - } - - /** - * Get playableMediaTypes - * @return playableMediaTypes - */ - @javax.annotation.Nullable - public List getPlayableMediaTypes() { - return playableMediaTypes; - } - - public void setPlayableMediaTypes(@javax.annotation.Nullable List playableMediaTypes) { - this.playableMediaTypes = playableMediaTypes; - } - - - public ClientCapabilities supportedCommands(@javax.annotation.Nullable List supportedCommands) { - this.supportedCommands = supportedCommands; - return this; - } - - public ClientCapabilities addSupportedCommandsItem(GeneralCommandType supportedCommandsItem) { - if (this.supportedCommands == null) { - this.supportedCommands = new ArrayList<>(); - } - this.supportedCommands.add(supportedCommandsItem); - return this; - } - - /** - * Get supportedCommands - * @return supportedCommands - */ - @javax.annotation.Nullable - public List getSupportedCommands() { - return supportedCommands; - } - - public void setSupportedCommands(@javax.annotation.Nullable List supportedCommands) { - this.supportedCommands = supportedCommands; - } - - - public ClientCapabilities supportsMediaControl(@javax.annotation.Nullable Boolean supportsMediaControl) { - this.supportsMediaControl = supportsMediaControl; - return this; - } - - /** - * Get supportsMediaControl - * @return supportsMediaControl - */ - @javax.annotation.Nullable - public Boolean getSupportsMediaControl() { - return supportsMediaControl; - } - - public void setSupportsMediaControl(@javax.annotation.Nullable Boolean supportsMediaControl) { - this.supportsMediaControl = supportsMediaControl; - } - - - public ClientCapabilities supportsContentUploading(@javax.annotation.Nullable Boolean supportsContentUploading) { - this.supportsContentUploading = supportsContentUploading; - return this; - } - - /** - * Get supportsContentUploading - * @return supportsContentUploading - */ - @javax.annotation.Nullable - public Boolean getSupportsContentUploading() { - return supportsContentUploading; - } - - public void setSupportsContentUploading(@javax.annotation.Nullable Boolean supportsContentUploading) { - this.supportsContentUploading = supportsContentUploading; - } - - - public ClientCapabilities messageCallbackUrl(@javax.annotation.Nullable String messageCallbackUrl) { - this.messageCallbackUrl = messageCallbackUrl; - return this; - } - - /** - * Get messageCallbackUrl - * @return messageCallbackUrl - */ - @javax.annotation.Nullable - public String getMessageCallbackUrl() { - return messageCallbackUrl; - } - - public void setMessageCallbackUrl(@javax.annotation.Nullable String messageCallbackUrl) { - this.messageCallbackUrl = messageCallbackUrl; - } - - - public ClientCapabilities supportsPersistentIdentifier(@javax.annotation.Nullable Boolean supportsPersistentIdentifier) { - this.supportsPersistentIdentifier = supportsPersistentIdentifier; - return this; - } - - /** - * Get supportsPersistentIdentifier - * @return supportsPersistentIdentifier - */ - @javax.annotation.Nullable - public Boolean getSupportsPersistentIdentifier() { - return supportsPersistentIdentifier; - } - - public void setSupportsPersistentIdentifier(@javax.annotation.Nullable Boolean supportsPersistentIdentifier) { - this.supportsPersistentIdentifier = supportsPersistentIdentifier; - } - - - public ClientCapabilities supportsSync(@javax.annotation.Nullable Boolean supportsSync) { - this.supportsSync = supportsSync; - return this; - } - - /** - * Get supportsSync - * @return supportsSync - */ - @javax.annotation.Nullable - public Boolean getSupportsSync() { - return supportsSync; - } - - public void setSupportsSync(@javax.annotation.Nullable Boolean supportsSync) { - this.supportsSync = supportsSync; - } - - - public ClientCapabilities deviceProfile(@javax.annotation.Nullable DeviceProfile deviceProfile) { - this.deviceProfile = deviceProfile; - return this; - } - - /** - * A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play. <br /> Specifically, it defines the supported <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles\">containers</see> and <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles\">codecs</see> (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles\">containers/codecs to transcode to</see> in case it isn't. - * @return deviceProfile - */ - @javax.annotation.Nullable - public DeviceProfile getDeviceProfile() { - return deviceProfile; - } - - public void setDeviceProfile(@javax.annotation.Nullable DeviceProfile deviceProfile) { - this.deviceProfile = deviceProfile; - } - - - public ClientCapabilities appStoreUrl(@javax.annotation.Nullable String appStoreUrl) { - this.appStoreUrl = appStoreUrl; - return this; - } - - /** - * Get appStoreUrl - * @return appStoreUrl - */ - @javax.annotation.Nullable - public String getAppStoreUrl() { - return appStoreUrl; - } - - public void setAppStoreUrl(@javax.annotation.Nullable String appStoreUrl) { - this.appStoreUrl = appStoreUrl; - } - - - public ClientCapabilities iconUrl(@javax.annotation.Nullable String iconUrl) { - this.iconUrl = iconUrl; - return this; - } - - /** - * Get iconUrl - * @return iconUrl - */ - @javax.annotation.Nullable - public String getIconUrl() { - return iconUrl; - } - - public void setIconUrl(@javax.annotation.Nullable String iconUrl) { - this.iconUrl = iconUrl; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ClientCapabilities clientCapabilities = (ClientCapabilities) o; - return Objects.equals(this.playableMediaTypes, clientCapabilities.playableMediaTypes) && - Objects.equals(this.supportedCommands, clientCapabilities.supportedCommands) && - Objects.equals(this.supportsMediaControl, clientCapabilities.supportsMediaControl) && - Objects.equals(this.supportsContentUploading, clientCapabilities.supportsContentUploading) && - Objects.equals(this.messageCallbackUrl, clientCapabilities.messageCallbackUrl) && - Objects.equals(this.supportsPersistentIdentifier, clientCapabilities.supportsPersistentIdentifier) && - Objects.equals(this.supportsSync, clientCapabilities.supportsSync) && - Objects.equals(this.deviceProfile, clientCapabilities.deviceProfile) && - Objects.equals(this.appStoreUrl, clientCapabilities.appStoreUrl) && - Objects.equals(this.iconUrl, clientCapabilities.iconUrl); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(playableMediaTypes, supportedCommands, supportsMediaControl, supportsContentUploading, messageCallbackUrl, supportsPersistentIdentifier, supportsSync, deviceProfile, appStoreUrl, iconUrl); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ClientCapabilities {\n"); - sb.append(" playableMediaTypes: ").append(toIndentedString(playableMediaTypes)).append("\n"); - sb.append(" supportedCommands: ").append(toIndentedString(supportedCommands)).append("\n"); - sb.append(" supportsMediaControl: ").append(toIndentedString(supportsMediaControl)).append("\n"); - sb.append(" supportsContentUploading: ").append(toIndentedString(supportsContentUploading)).append("\n"); - sb.append(" messageCallbackUrl: ").append(toIndentedString(messageCallbackUrl)).append("\n"); - sb.append(" supportsPersistentIdentifier: ").append(toIndentedString(supportsPersistentIdentifier)).append("\n"); - sb.append(" supportsSync: ").append(toIndentedString(supportsSync)).append("\n"); - sb.append(" deviceProfile: ").append(toIndentedString(deviceProfile)).append("\n"); - sb.append(" appStoreUrl: ").append(toIndentedString(appStoreUrl)).append("\n"); - sb.append(" iconUrl: ").append(toIndentedString(iconUrl)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("PlayableMediaTypes"); - openapiFields.add("SupportedCommands"); - openapiFields.add("SupportsMediaControl"); - openapiFields.add("SupportsContentUploading"); - openapiFields.add("MessageCallbackUrl"); - openapiFields.add("SupportsPersistentIdentifier"); - openapiFields.add("SupportsSync"); - openapiFields.add("DeviceProfile"); - openapiFields.add("AppStoreUrl"); - openapiFields.add("IconUrl"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ClientCapabilities - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ClientCapabilities.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ClientCapabilities is not found in the empty JSON string", ClientCapabilities.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ClientCapabilities.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ClientCapabilities` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // ensure the optional json data is an array if present - if (jsonObj.get("PlayableMediaTypes") != null && !jsonObj.get("PlayableMediaTypes").isJsonNull() && !jsonObj.get("PlayableMediaTypes").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `PlayableMediaTypes` to be an array in the JSON string but got `%s`", jsonObj.get("PlayableMediaTypes").toString())); - } - // ensure the optional json data is an array if present - if (jsonObj.get("SupportedCommands") != null && !jsonObj.get("SupportedCommands").isJsonNull() && !jsonObj.get("SupportedCommands").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `SupportedCommands` to be an array in the JSON string but got `%s`", jsonObj.get("SupportedCommands").toString())); - } - if ((jsonObj.get("MessageCallbackUrl") != null && !jsonObj.get("MessageCallbackUrl").isJsonNull()) && !jsonObj.get("MessageCallbackUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `MessageCallbackUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MessageCallbackUrl").toString())); - } - // validate the optional field `DeviceProfile` - if (jsonObj.get("DeviceProfile") != null && !jsonObj.get("DeviceProfile").isJsonNull()) { - DeviceProfile.validateJsonElement(jsonObj.get("DeviceProfile")); - } - if ((jsonObj.get("AppStoreUrl") != null && !jsonObj.get("AppStoreUrl").isJsonNull()) && !jsonObj.get("AppStoreUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `AppStoreUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("AppStoreUrl").toString())); - } - if ((jsonObj.get("IconUrl") != null && !jsonObj.get("IconUrl").isJsonNull()) && !jsonObj.get("IconUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `IconUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("IconUrl").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ClientCapabilities.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ClientCapabilities' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ClientCapabilities.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ClientCapabilities value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ClientCapabilities read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ClientCapabilities given an JSON string - * - * @param jsonString JSON string - * @return An instance of ClientCapabilities - * @throws IOException if the JSON string is invalid with respect to ClientCapabilities - */ - public static ClientCapabilities fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ClientCapabilities.class); - } - - /** - * Convert an instance of ClientCapabilities to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ControlResponse.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ControlResponse.java deleted file mode 100644 index ae909c73a18..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ControlResponse.java +++ /dev/null @@ -1,261 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import java.util.HashMap; -import java.util.Map; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * ControlResponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class ControlResponse { - public static final String SERIALIZED_NAME_HEADERS = "Headers"; - @SerializedName(SERIALIZED_NAME_HEADERS) - @javax.annotation.Nullable - private Map headers = new HashMap<>(); - - public static final String SERIALIZED_NAME_XML = "Xml"; - @SerializedName(SERIALIZED_NAME_XML) - @javax.annotation.Nullable - private String xml; - - public static final String SERIALIZED_NAME_IS_SUCCESSFUL = "IsSuccessful"; - @SerializedName(SERIALIZED_NAME_IS_SUCCESSFUL) - @javax.annotation.Nullable - private Boolean isSuccessful; - - public ControlResponse() { - } - - public ControlResponse( - Map headers - ) { - this(); - this.headers = headers; - } - - /** - * Get headers - * @return headers - */ - @javax.annotation.Nullable - public Map getHeaders() { - return headers; - } - - - - public ControlResponse xml(@javax.annotation.Nullable String xml) { - this.xml = xml; - return this; - } - - /** - * Get xml - * @return xml - */ - @javax.annotation.Nullable - public String getXml() { - return xml; - } - - public void setXml(@javax.annotation.Nullable String xml) { - this.xml = xml; - } - - - public ControlResponse isSuccessful(@javax.annotation.Nullable Boolean isSuccessful) { - this.isSuccessful = isSuccessful; - return this; - } - - /** - * Get isSuccessful - * @return isSuccessful - */ - @javax.annotation.Nullable - public Boolean getIsSuccessful() { - return isSuccessful; - } - - public void setIsSuccessful(@javax.annotation.Nullable Boolean isSuccessful) { - this.isSuccessful = isSuccessful; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ControlResponse controlResponse = (ControlResponse) o; - return Objects.equals(this.headers, controlResponse.headers) && - Objects.equals(this.xml, controlResponse.xml) && - Objects.equals(this.isSuccessful, controlResponse.isSuccessful); - } - - @Override - public int hashCode() { - return Objects.hash(headers, xml, isSuccessful); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ControlResponse {\n"); - sb.append(" headers: ").append(toIndentedString(headers)).append("\n"); - sb.append(" xml: ").append(toIndentedString(xml)).append("\n"); - sb.append(" isSuccessful: ").append(toIndentedString(isSuccessful)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Headers"); - openapiFields.add("Xml"); - openapiFields.add("IsSuccessful"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ControlResponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ControlResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ControlResponse is not found in the empty JSON string", ControlResponse.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ControlResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ControlResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Xml") != null && !jsonObj.get("Xml").isJsonNull()) && !jsonObj.get("Xml").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Xml` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Xml").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ControlResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ControlResponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ControlResponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ControlResponse value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ControlResponse read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ControlResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of ControlResponse - * @throws IOException if the JSON string is invalid with respect to ControlResponse - */ - public static ControlResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ControlResponse.class); - } - - /** - * Convert an instance of ControlResponse to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CustomQueryData.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CustomQueryData.java deleted file mode 100644 index 6d7e176df39..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/CustomQueryData.java +++ /dev/null @@ -1,233 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * CustomQueryData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class CustomQueryData { - public static final String SERIALIZED_NAME_CUSTOM_QUERY_STRING = "CustomQueryString"; - @SerializedName(SERIALIZED_NAME_CUSTOM_QUERY_STRING) - @javax.annotation.Nullable - private String customQueryString; - - public static final String SERIALIZED_NAME_REPLACE_USER_ID = "ReplaceUserId"; - @SerializedName(SERIALIZED_NAME_REPLACE_USER_ID) - @javax.annotation.Nullable - private Boolean replaceUserId; - - public CustomQueryData() { - } - - public CustomQueryData customQueryString(@javax.annotation.Nullable String customQueryString) { - this.customQueryString = customQueryString; - return this; - } - - /** - * Get customQueryString - * @return customQueryString - */ - @javax.annotation.Nullable - public String getCustomQueryString() { - return customQueryString; - } - - public void setCustomQueryString(@javax.annotation.Nullable String customQueryString) { - this.customQueryString = customQueryString; - } - - - public CustomQueryData replaceUserId(@javax.annotation.Nullable Boolean replaceUserId) { - this.replaceUserId = replaceUserId; - return this; - } - - /** - * Get replaceUserId - * @return replaceUserId - */ - @javax.annotation.Nullable - public Boolean getReplaceUserId() { - return replaceUserId; - } - - public void setReplaceUserId(@javax.annotation.Nullable Boolean replaceUserId) { - this.replaceUserId = replaceUserId; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CustomQueryData customQueryData = (CustomQueryData) o; - return Objects.equals(this.customQueryString, customQueryData.customQueryString) && - Objects.equals(this.replaceUserId, customQueryData.replaceUserId); - } - - @Override - public int hashCode() { - return Objects.hash(customQueryString, replaceUserId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CustomQueryData {\n"); - sb.append(" customQueryString: ").append(toIndentedString(customQueryString)).append("\n"); - sb.append(" replaceUserId: ").append(toIndentedString(replaceUserId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("CustomQueryString"); - openapiFields.add("ReplaceUserId"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to CustomQueryData - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!CustomQueryData.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in CustomQueryData is not found in the empty JSON string", CustomQueryData.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!CustomQueryData.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CustomQueryData` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("CustomQueryString") != null && !jsonObj.get("CustomQueryString").isJsonNull()) && !jsonObj.get("CustomQueryString").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `CustomQueryString` to be a primitive type in the JSON string but got `%s`", jsonObj.get("CustomQueryString").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!CustomQueryData.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'CustomQueryData' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(CustomQueryData.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, CustomQueryData value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public CustomQueryData read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of CustomQueryData given an JSON string - * - * @param jsonString JSON string - * @return An instance of CustomQueryData - * @throws IOException if the JSON string is invalid with respect to CustomQueryData - */ - public static CustomQueryData fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, CustomQueryData.class); - } - - /** - * Convert an instance of CustomQueryData to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceProfile.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceProfile.java deleted file mode 100644 index 5e417b89e53..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DeviceProfile.java +++ /dev/null @@ -1,1454 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.openapitools.client.model.CodecProfile; -import org.openapitools.client.model.ContainerProfile; -import org.openapitools.client.model.DeviceIdentification; -import org.openapitools.client.model.DirectPlayProfile; -import org.openapitools.client.model.ResponseProfile; -import org.openapitools.client.model.SubtitleProfile; -import org.openapitools.client.model.TranscodingProfile; -import org.openapitools.client.model.XmlAttribute; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play. <br /> Specifically, it defines the supported <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles\">containers</see> and <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles\">codecs</see> (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles\">containers/codecs to transcode to</see> in case it isn't. - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class DeviceProfile { - public static final String SERIALIZED_NAME_NAME = "Name"; - @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; - - public static final String SERIALIZED_NAME_ID = "Id"; - @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private String id; - - public static final String SERIALIZED_NAME_IDENTIFICATION = "Identification"; - @SerializedName(SERIALIZED_NAME_IDENTIFICATION) - @javax.annotation.Nullable - private DeviceIdentification identification; - - public static final String SERIALIZED_NAME_FRIENDLY_NAME = "FriendlyName"; - @SerializedName(SERIALIZED_NAME_FRIENDLY_NAME) - @javax.annotation.Nullable - private String friendlyName; - - public static final String SERIALIZED_NAME_MANUFACTURER = "Manufacturer"; - @SerializedName(SERIALIZED_NAME_MANUFACTURER) - @javax.annotation.Nullable - private String manufacturer; - - public static final String SERIALIZED_NAME_MANUFACTURER_URL = "ManufacturerUrl"; - @SerializedName(SERIALIZED_NAME_MANUFACTURER_URL) - @javax.annotation.Nullable - private String manufacturerUrl; - - public static final String SERIALIZED_NAME_MODEL_NAME = "ModelName"; - @SerializedName(SERIALIZED_NAME_MODEL_NAME) - @javax.annotation.Nullable - private String modelName; - - public static final String SERIALIZED_NAME_MODEL_DESCRIPTION = "ModelDescription"; - @SerializedName(SERIALIZED_NAME_MODEL_DESCRIPTION) - @javax.annotation.Nullable - private String modelDescription; - - public static final String SERIALIZED_NAME_MODEL_NUMBER = "ModelNumber"; - @SerializedName(SERIALIZED_NAME_MODEL_NUMBER) - @javax.annotation.Nullable - private String modelNumber; - - public static final String SERIALIZED_NAME_MODEL_URL = "ModelUrl"; - @SerializedName(SERIALIZED_NAME_MODEL_URL) - @javax.annotation.Nullable - private String modelUrl; - - public static final String SERIALIZED_NAME_SERIAL_NUMBER = "SerialNumber"; - @SerializedName(SERIALIZED_NAME_SERIAL_NUMBER) - @javax.annotation.Nullable - private String serialNumber; - - public static final String SERIALIZED_NAME_ENABLE_ALBUM_ART_IN_DIDL = "EnableAlbumArtInDidl"; - @SerializedName(SERIALIZED_NAME_ENABLE_ALBUM_ART_IN_DIDL) - @javax.annotation.Nullable - private Boolean enableAlbumArtInDidl = false; - - public static final String SERIALIZED_NAME_ENABLE_SINGLE_ALBUM_ART_LIMIT = "EnableSingleAlbumArtLimit"; - @SerializedName(SERIALIZED_NAME_ENABLE_SINGLE_ALBUM_ART_LIMIT) - @javax.annotation.Nullable - private Boolean enableSingleAlbumArtLimit = false; - - public static final String SERIALIZED_NAME_ENABLE_SINGLE_SUBTITLE_LIMIT = "EnableSingleSubtitleLimit"; - @SerializedName(SERIALIZED_NAME_ENABLE_SINGLE_SUBTITLE_LIMIT) - @javax.annotation.Nullable - private Boolean enableSingleSubtitleLimit = false; - - public static final String SERIALIZED_NAME_SUPPORTED_MEDIA_TYPES = "SupportedMediaTypes"; - @SerializedName(SERIALIZED_NAME_SUPPORTED_MEDIA_TYPES) - @javax.annotation.Nullable - private String supportedMediaTypes; - - public static final String SERIALIZED_NAME_USER_ID = "UserId"; - @SerializedName(SERIALIZED_NAME_USER_ID) - @javax.annotation.Nullable - private String userId; - - public static final String SERIALIZED_NAME_ALBUM_ART_PN = "AlbumArtPn"; - @SerializedName(SERIALIZED_NAME_ALBUM_ART_PN) - @javax.annotation.Nullable - private String albumArtPn; - - public static final String SERIALIZED_NAME_MAX_ALBUM_ART_WIDTH = "MaxAlbumArtWidth"; - @SerializedName(SERIALIZED_NAME_MAX_ALBUM_ART_WIDTH) - @javax.annotation.Nullable - private Integer maxAlbumArtWidth; - - public static final String SERIALIZED_NAME_MAX_ALBUM_ART_HEIGHT = "MaxAlbumArtHeight"; - @SerializedName(SERIALIZED_NAME_MAX_ALBUM_ART_HEIGHT) - @javax.annotation.Nullable - private Integer maxAlbumArtHeight; - - public static final String SERIALIZED_NAME_MAX_ICON_WIDTH = "MaxIconWidth"; - @SerializedName(SERIALIZED_NAME_MAX_ICON_WIDTH) - @javax.annotation.Nullable - private Integer maxIconWidth; - - public static final String SERIALIZED_NAME_MAX_ICON_HEIGHT = "MaxIconHeight"; - @SerializedName(SERIALIZED_NAME_MAX_ICON_HEIGHT) - @javax.annotation.Nullable - private Integer maxIconHeight; - - public static final String SERIALIZED_NAME_MAX_STREAMING_BITRATE = "MaxStreamingBitrate"; - @SerializedName(SERIALIZED_NAME_MAX_STREAMING_BITRATE) - @javax.annotation.Nullable - private Integer maxStreamingBitrate; - - public static final String SERIALIZED_NAME_MAX_STATIC_BITRATE = "MaxStaticBitrate"; - @SerializedName(SERIALIZED_NAME_MAX_STATIC_BITRATE) - @javax.annotation.Nullable - private Integer maxStaticBitrate; - - public static final String SERIALIZED_NAME_MUSIC_STREAMING_TRANSCODING_BITRATE = "MusicStreamingTranscodingBitrate"; - @SerializedName(SERIALIZED_NAME_MUSIC_STREAMING_TRANSCODING_BITRATE) - @javax.annotation.Nullable - private Integer musicStreamingTranscodingBitrate; - - public static final String SERIALIZED_NAME_MAX_STATIC_MUSIC_BITRATE = "MaxStaticMusicBitrate"; - @SerializedName(SERIALIZED_NAME_MAX_STATIC_MUSIC_BITRATE) - @javax.annotation.Nullable - private Integer maxStaticMusicBitrate; - - public static final String SERIALIZED_NAME_SONY_AGGREGATION_FLAGS = "SonyAggregationFlags"; - @SerializedName(SERIALIZED_NAME_SONY_AGGREGATION_FLAGS) - @javax.annotation.Nullable - private String sonyAggregationFlags; - - public static final String SERIALIZED_NAME_PROTOCOL_INFO = "ProtocolInfo"; - @SerializedName(SERIALIZED_NAME_PROTOCOL_INFO) - @javax.annotation.Nullable - private String protocolInfo; - - public static final String SERIALIZED_NAME_TIMELINE_OFFSET_SECONDS = "TimelineOffsetSeconds"; - @SerializedName(SERIALIZED_NAME_TIMELINE_OFFSET_SECONDS) - @javax.annotation.Nullable - private Integer timelineOffsetSeconds = 0; - - public static final String SERIALIZED_NAME_REQUIRES_PLAIN_VIDEO_ITEMS = "RequiresPlainVideoItems"; - @SerializedName(SERIALIZED_NAME_REQUIRES_PLAIN_VIDEO_ITEMS) - @javax.annotation.Nullable - private Boolean requiresPlainVideoItems = false; - - public static final String SERIALIZED_NAME_REQUIRES_PLAIN_FOLDERS = "RequiresPlainFolders"; - @SerializedName(SERIALIZED_NAME_REQUIRES_PLAIN_FOLDERS) - @javax.annotation.Nullable - private Boolean requiresPlainFolders = false; - - public static final String SERIALIZED_NAME_ENABLE_M_S_MEDIA_RECEIVER_REGISTRAR = "EnableMSMediaReceiverRegistrar"; - @SerializedName(SERIALIZED_NAME_ENABLE_M_S_MEDIA_RECEIVER_REGISTRAR) - @javax.annotation.Nullable - private Boolean enableMSMediaReceiverRegistrar = false; - - public static final String SERIALIZED_NAME_IGNORE_TRANSCODE_BYTE_RANGE_REQUESTS = "IgnoreTranscodeByteRangeRequests"; - @SerializedName(SERIALIZED_NAME_IGNORE_TRANSCODE_BYTE_RANGE_REQUESTS) - @javax.annotation.Nullable - private Boolean ignoreTranscodeByteRangeRequests = false; - - public static final String SERIALIZED_NAME_XML_ROOT_ATTRIBUTES = "XmlRootAttributes"; - @SerializedName(SERIALIZED_NAME_XML_ROOT_ATTRIBUTES) - @javax.annotation.Nullable - private List xmlRootAttributes = new ArrayList<>(); - - public static final String SERIALIZED_NAME_DIRECT_PLAY_PROFILES = "DirectPlayProfiles"; - @SerializedName(SERIALIZED_NAME_DIRECT_PLAY_PROFILES) - @javax.annotation.Nullable - private List directPlayProfiles = new ArrayList<>(); - - public static final String SERIALIZED_NAME_TRANSCODING_PROFILES = "TranscodingProfiles"; - @SerializedName(SERIALIZED_NAME_TRANSCODING_PROFILES) - @javax.annotation.Nullable - private List transcodingProfiles = new ArrayList<>(); - - public static final String SERIALIZED_NAME_CONTAINER_PROFILES = "ContainerProfiles"; - @SerializedName(SERIALIZED_NAME_CONTAINER_PROFILES) - @javax.annotation.Nullable - private List containerProfiles = new ArrayList<>(); - - public static final String SERIALIZED_NAME_CODEC_PROFILES = "CodecProfiles"; - @SerializedName(SERIALIZED_NAME_CODEC_PROFILES) - @javax.annotation.Nullable - private List codecProfiles = new ArrayList<>(); - - public static final String SERIALIZED_NAME_RESPONSE_PROFILES = "ResponseProfiles"; - @SerializedName(SERIALIZED_NAME_RESPONSE_PROFILES) - @javax.annotation.Nullable - private List responseProfiles = new ArrayList<>(); - - public static final String SERIALIZED_NAME_SUBTITLE_PROFILES = "SubtitleProfiles"; - @SerializedName(SERIALIZED_NAME_SUBTITLE_PROFILES) - @javax.annotation.Nullable - private List subtitleProfiles = new ArrayList<>(); - - public DeviceProfile() { - } - - public DeviceProfile name(@javax.annotation.Nullable String name) { - this.name = name; - return this; - } - - /** - * Gets or sets the name of this device profile. - * @return name - */ - @javax.annotation.Nullable - public String getName() { - return name; - } - - public void setName(@javax.annotation.Nullable String name) { - this.name = name; - } - - - public DeviceProfile id(@javax.annotation.Nullable String id) { - this.id = id; - return this; - } - - /** - * Gets or sets the Id. - * @return id - */ - @javax.annotation.Nullable - public String getId() { - return id; - } - - public void setId(@javax.annotation.Nullable String id) { - this.id = id; - } - - - public DeviceProfile identification(@javax.annotation.Nullable DeviceIdentification identification) { - this.identification = identification; - return this; - } - - /** - * Gets or sets the Identification. - * @return identification - */ - @javax.annotation.Nullable - public DeviceIdentification getIdentification() { - return identification; - } - - public void setIdentification(@javax.annotation.Nullable DeviceIdentification identification) { - this.identification = identification; - } - - - public DeviceProfile friendlyName(@javax.annotation.Nullable String friendlyName) { - this.friendlyName = friendlyName; - return this; - } - - /** - * Gets or sets the friendly name of the device profile, which can be shown to users. - * @return friendlyName - */ - @javax.annotation.Nullable - public String getFriendlyName() { - return friendlyName; - } - - public void setFriendlyName(@javax.annotation.Nullable String friendlyName) { - this.friendlyName = friendlyName; - } - - - public DeviceProfile manufacturer(@javax.annotation.Nullable String manufacturer) { - this.manufacturer = manufacturer; - return this; - } - - /** - * Gets or sets the manufacturer of the device which this profile represents. - * @return manufacturer - */ - @javax.annotation.Nullable - public String getManufacturer() { - return manufacturer; - } - - public void setManufacturer(@javax.annotation.Nullable String manufacturer) { - this.manufacturer = manufacturer; - } - - - public DeviceProfile manufacturerUrl(@javax.annotation.Nullable String manufacturerUrl) { - this.manufacturerUrl = manufacturerUrl; - return this; - } - - /** - * Gets or sets an url for the manufacturer of the device which this profile represents. - * @return manufacturerUrl - */ - @javax.annotation.Nullable - public String getManufacturerUrl() { - return manufacturerUrl; - } - - public void setManufacturerUrl(@javax.annotation.Nullable String manufacturerUrl) { - this.manufacturerUrl = manufacturerUrl; - } - - - public DeviceProfile modelName(@javax.annotation.Nullable String modelName) { - this.modelName = modelName; - return this; - } - - /** - * Gets or sets the model name of the device which this profile represents. - * @return modelName - */ - @javax.annotation.Nullable - public String getModelName() { - return modelName; - } - - public void setModelName(@javax.annotation.Nullable String modelName) { - this.modelName = modelName; - } - - - public DeviceProfile modelDescription(@javax.annotation.Nullable String modelDescription) { - this.modelDescription = modelDescription; - return this; - } - - /** - * Gets or sets the model description of the device which this profile represents. - * @return modelDescription - */ - @javax.annotation.Nullable - public String getModelDescription() { - return modelDescription; - } - - public void setModelDescription(@javax.annotation.Nullable String modelDescription) { - this.modelDescription = modelDescription; - } - - - public DeviceProfile modelNumber(@javax.annotation.Nullable String modelNumber) { - this.modelNumber = modelNumber; - return this; - } - - /** - * Gets or sets the model number of the device which this profile represents. - * @return modelNumber - */ - @javax.annotation.Nullable - public String getModelNumber() { - return modelNumber; - } - - public void setModelNumber(@javax.annotation.Nullable String modelNumber) { - this.modelNumber = modelNumber; - } - - - public DeviceProfile modelUrl(@javax.annotation.Nullable String modelUrl) { - this.modelUrl = modelUrl; - return this; - } - - /** - * Gets or sets the ModelUrl. - * @return modelUrl - */ - @javax.annotation.Nullable - public String getModelUrl() { - return modelUrl; - } - - public void setModelUrl(@javax.annotation.Nullable String modelUrl) { - this.modelUrl = modelUrl; - } - - - public DeviceProfile serialNumber(@javax.annotation.Nullable String serialNumber) { - this.serialNumber = serialNumber; - return this; - } - - /** - * Gets or sets the serial number of the device which this profile represents. - * @return serialNumber - */ - @javax.annotation.Nullable - public String getSerialNumber() { - return serialNumber; - } - - public void setSerialNumber(@javax.annotation.Nullable String serialNumber) { - this.serialNumber = serialNumber; - } - - - public DeviceProfile enableAlbumArtInDidl(@javax.annotation.Nullable Boolean enableAlbumArtInDidl) { - this.enableAlbumArtInDidl = enableAlbumArtInDidl; - return this; - } - - /** - * Gets or sets a value indicating whether EnableAlbumArtInDidl. - * @return enableAlbumArtInDidl - */ - @javax.annotation.Nullable - public Boolean getEnableAlbumArtInDidl() { - return enableAlbumArtInDidl; - } - - public void setEnableAlbumArtInDidl(@javax.annotation.Nullable Boolean enableAlbumArtInDidl) { - this.enableAlbumArtInDidl = enableAlbumArtInDidl; - } - - - public DeviceProfile enableSingleAlbumArtLimit(@javax.annotation.Nullable Boolean enableSingleAlbumArtLimit) { - this.enableSingleAlbumArtLimit = enableSingleAlbumArtLimit; - return this; - } - - /** - * Gets or sets a value indicating whether EnableSingleAlbumArtLimit. - * @return enableSingleAlbumArtLimit - */ - @javax.annotation.Nullable - public Boolean getEnableSingleAlbumArtLimit() { - return enableSingleAlbumArtLimit; - } - - public void setEnableSingleAlbumArtLimit(@javax.annotation.Nullable Boolean enableSingleAlbumArtLimit) { - this.enableSingleAlbumArtLimit = enableSingleAlbumArtLimit; - } - - - public DeviceProfile enableSingleSubtitleLimit(@javax.annotation.Nullable Boolean enableSingleSubtitleLimit) { - this.enableSingleSubtitleLimit = enableSingleSubtitleLimit; - return this; - } - - /** - * Gets or sets a value indicating whether EnableSingleSubtitleLimit. - * @return enableSingleSubtitleLimit - */ - @javax.annotation.Nullable - public Boolean getEnableSingleSubtitleLimit() { - return enableSingleSubtitleLimit; - } - - public void setEnableSingleSubtitleLimit(@javax.annotation.Nullable Boolean enableSingleSubtitleLimit) { - this.enableSingleSubtitleLimit = enableSingleSubtitleLimit; - } - - - public DeviceProfile supportedMediaTypes(@javax.annotation.Nullable String supportedMediaTypes) { - this.supportedMediaTypes = supportedMediaTypes; - return this; - } - - /** - * Gets or sets the SupportedMediaTypes. - * @return supportedMediaTypes - */ - @javax.annotation.Nullable - public String getSupportedMediaTypes() { - return supportedMediaTypes; - } - - public void setSupportedMediaTypes(@javax.annotation.Nullable String supportedMediaTypes) { - this.supportedMediaTypes = supportedMediaTypes; - } - - - public DeviceProfile userId(@javax.annotation.Nullable String userId) { - this.userId = userId; - return this; - } - - /** - * Gets or sets the UserId. - * @return userId - */ - @javax.annotation.Nullable - public String getUserId() { - return userId; - } - - public void setUserId(@javax.annotation.Nullable String userId) { - this.userId = userId; - } - - - public DeviceProfile albumArtPn(@javax.annotation.Nullable String albumArtPn) { - this.albumArtPn = albumArtPn; - return this; - } - - /** - * Gets or sets the AlbumArtPn. - * @return albumArtPn - */ - @javax.annotation.Nullable - public String getAlbumArtPn() { - return albumArtPn; - } - - public void setAlbumArtPn(@javax.annotation.Nullable String albumArtPn) { - this.albumArtPn = albumArtPn; - } - - - public DeviceProfile maxAlbumArtWidth(@javax.annotation.Nullable Integer maxAlbumArtWidth) { - this.maxAlbumArtWidth = maxAlbumArtWidth; - return this; - } - - /** - * Gets or sets the MaxAlbumArtWidth. - * @return maxAlbumArtWidth - */ - @javax.annotation.Nullable - public Integer getMaxAlbumArtWidth() { - return maxAlbumArtWidth; - } - - public void setMaxAlbumArtWidth(@javax.annotation.Nullable Integer maxAlbumArtWidth) { - this.maxAlbumArtWidth = maxAlbumArtWidth; - } - - - public DeviceProfile maxAlbumArtHeight(@javax.annotation.Nullable Integer maxAlbumArtHeight) { - this.maxAlbumArtHeight = maxAlbumArtHeight; - return this; - } - - /** - * Gets or sets the MaxAlbumArtHeight. - * @return maxAlbumArtHeight - */ - @javax.annotation.Nullable - public Integer getMaxAlbumArtHeight() { - return maxAlbumArtHeight; - } - - public void setMaxAlbumArtHeight(@javax.annotation.Nullable Integer maxAlbumArtHeight) { - this.maxAlbumArtHeight = maxAlbumArtHeight; - } - - - public DeviceProfile maxIconWidth(@javax.annotation.Nullable Integer maxIconWidth) { - this.maxIconWidth = maxIconWidth; - return this; - } - - /** - * Gets or sets the maximum allowed width of embedded icons. - * @return maxIconWidth - */ - @javax.annotation.Nullable - public Integer getMaxIconWidth() { - return maxIconWidth; - } - - public void setMaxIconWidth(@javax.annotation.Nullable Integer maxIconWidth) { - this.maxIconWidth = maxIconWidth; - } - - - public DeviceProfile maxIconHeight(@javax.annotation.Nullable Integer maxIconHeight) { - this.maxIconHeight = maxIconHeight; - return this; - } - - /** - * Gets or sets the maximum allowed height of embedded icons. - * @return maxIconHeight - */ - @javax.annotation.Nullable - public Integer getMaxIconHeight() { - return maxIconHeight; - } - - public void setMaxIconHeight(@javax.annotation.Nullable Integer maxIconHeight) { - this.maxIconHeight = maxIconHeight; - } - - - public DeviceProfile maxStreamingBitrate(@javax.annotation.Nullable Integer maxStreamingBitrate) { - this.maxStreamingBitrate = maxStreamingBitrate; - return this; - } - - /** - * Gets or sets the maximum allowed bitrate for all streamed content. - * @return maxStreamingBitrate - */ - @javax.annotation.Nullable - public Integer getMaxStreamingBitrate() { - return maxStreamingBitrate; - } - - public void setMaxStreamingBitrate(@javax.annotation.Nullable Integer maxStreamingBitrate) { - this.maxStreamingBitrate = maxStreamingBitrate; - } - - - public DeviceProfile maxStaticBitrate(@javax.annotation.Nullable Integer maxStaticBitrate) { - this.maxStaticBitrate = maxStaticBitrate; - return this; - } - - /** - * Gets or sets the maximum allowed bitrate for statically streamed content (= direct played files). - * @return maxStaticBitrate - */ - @javax.annotation.Nullable - public Integer getMaxStaticBitrate() { - return maxStaticBitrate; - } - - public void setMaxStaticBitrate(@javax.annotation.Nullable Integer maxStaticBitrate) { - this.maxStaticBitrate = maxStaticBitrate; - } - - - public DeviceProfile musicStreamingTranscodingBitrate(@javax.annotation.Nullable Integer musicStreamingTranscodingBitrate) { - this.musicStreamingTranscodingBitrate = musicStreamingTranscodingBitrate; - return this; - } - - /** - * Gets or sets the maximum allowed bitrate for transcoded music streams. - * @return musicStreamingTranscodingBitrate - */ - @javax.annotation.Nullable - public Integer getMusicStreamingTranscodingBitrate() { - return musicStreamingTranscodingBitrate; - } - - public void setMusicStreamingTranscodingBitrate(@javax.annotation.Nullable Integer musicStreamingTranscodingBitrate) { - this.musicStreamingTranscodingBitrate = musicStreamingTranscodingBitrate; - } - - - public DeviceProfile maxStaticMusicBitrate(@javax.annotation.Nullable Integer maxStaticMusicBitrate) { - this.maxStaticMusicBitrate = maxStaticMusicBitrate; - return this; - } - - /** - * Gets or sets the maximum allowed bitrate for statically streamed (= direct played) music files. - * @return maxStaticMusicBitrate - */ - @javax.annotation.Nullable - public Integer getMaxStaticMusicBitrate() { - return maxStaticMusicBitrate; - } - - public void setMaxStaticMusicBitrate(@javax.annotation.Nullable Integer maxStaticMusicBitrate) { - this.maxStaticMusicBitrate = maxStaticMusicBitrate; - } - - - public DeviceProfile sonyAggregationFlags(@javax.annotation.Nullable String sonyAggregationFlags) { - this.sonyAggregationFlags = sonyAggregationFlags; - return this; - } - - /** - * Gets or sets the content of the aggregationFlags element in the urn:schemas-sonycom:av namespace. - * @return sonyAggregationFlags - */ - @javax.annotation.Nullable - public String getSonyAggregationFlags() { - return sonyAggregationFlags; - } - - public void setSonyAggregationFlags(@javax.annotation.Nullable String sonyAggregationFlags) { - this.sonyAggregationFlags = sonyAggregationFlags; - } - - - public DeviceProfile protocolInfo(@javax.annotation.Nullable String protocolInfo) { - this.protocolInfo = protocolInfo; - return this; - } - - /** - * Gets or sets the ProtocolInfo. - * @return protocolInfo - */ - @javax.annotation.Nullable - public String getProtocolInfo() { - return protocolInfo; - } - - public void setProtocolInfo(@javax.annotation.Nullable String protocolInfo) { - this.protocolInfo = protocolInfo; - } - - - public DeviceProfile timelineOffsetSeconds(@javax.annotation.Nullable Integer timelineOffsetSeconds) { - this.timelineOffsetSeconds = timelineOffsetSeconds; - return this; - } - - /** - * Gets or sets the TimelineOffsetSeconds. - * @return timelineOffsetSeconds - */ - @javax.annotation.Nullable - public Integer getTimelineOffsetSeconds() { - return timelineOffsetSeconds; - } - - public void setTimelineOffsetSeconds(@javax.annotation.Nullable Integer timelineOffsetSeconds) { - this.timelineOffsetSeconds = timelineOffsetSeconds; - } - - - public DeviceProfile requiresPlainVideoItems(@javax.annotation.Nullable Boolean requiresPlainVideoItems) { - this.requiresPlainVideoItems = requiresPlainVideoItems; - return this; - } - - /** - * Gets or sets a value indicating whether RequiresPlainVideoItems. - * @return requiresPlainVideoItems - */ - @javax.annotation.Nullable - public Boolean getRequiresPlainVideoItems() { - return requiresPlainVideoItems; - } - - public void setRequiresPlainVideoItems(@javax.annotation.Nullable Boolean requiresPlainVideoItems) { - this.requiresPlainVideoItems = requiresPlainVideoItems; - } - - - public DeviceProfile requiresPlainFolders(@javax.annotation.Nullable Boolean requiresPlainFolders) { - this.requiresPlainFolders = requiresPlainFolders; - return this; - } - - /** - * Gets or sets a value indicating whether RequiresPlainFolders. - * @return requiresPlainFolders - */ - @javax.annotation.Nullable - public Boolean getRequiresPlainFolders() { - return requiresPlainFolders; - } - - public void setRequiresPlainFolders(@javax.annotation.Nullable Boolean requiresPlainFolders) { - this.requiresPlainFolders = requiresPlainFolders; - } - - - public DeviceProfile enableMSMediaReceiverRegistrar(@javax.annotation.Nullable Boolean enableMSMediaReceiverRegistrar) { - this.enableMSMediaReceiverRegistrar = enableMSMediaReceiverRegistrar; - return this; - } - - /** - * Gets or sets a value indicating whether EnableMSMediaReceiverRegistrar. - * @return enableMSMediaReceiverRegistrar - */ - @javax.annotation.Nullable - public Boolean getEnableMSMediaReceiverRegistrar() { - return enableMSMediaReceiverRegistrar; - } - - public void setEnableMSMediaReceiverRegistrar(@javax.annotation.Nullable Boolean enableMSMediaReceiverRegistrar) { - this.enableMSMediaReceiverRegistrar = enableMSMediaReceiverRegistrar; - } - - - public DeviceProfile ignoreTranscodeByteRangeRequests(@javax.annotation.Nullable Boolean ignoreTranscodeByteRangeRequests) { - this.ignoreTranscodeByteRangeRequests = ignoreTranscodeByteRangeRequests; - return this; - } - - /** - * Gets or sets a value indicating whether IgnoreTranscodeByteRangeRequests. - * @return ignoreTranscodeByteRangeRequests - */ - @javax.annotation.Nullable - public Boolean getIgnoreTranscodeByteRangeRequests() { - return ignoreTranscodeByteRangeRequests; - } - - public void setIgnoreTranscodeByteRangeRequests(@javax.annotation.Nullable Boolean ignoreTranscodeByteRangeRequests) { - this.ignoreTranscodeByteRangeRequests = ignoreTranscodeByteRangeRequests; - } - - - public DeviceProfile xmlRootAttributes(@javax.annotation.Nullable List xmlRootAttributes) { - this.xmlRootAttributes = xmlRootAttributes; - return this; - } - - public DeviceProfile addXmlRootAttributesItem(XmlAttribute xmlRootAttributesItem) { - if (this.xmlRootAttributes == null) { - this.xmlRootAttributes = new ArrayList<>(); - } - this.xmlRootAttributes.add(xmlRootAttributesItem); - return this; - } - - /** - * Gets or sets the XmlRootAttributes. - * @return xmlRootAttributes - */ - @javax.annotation.Nullable - public List getXmlRootAttributes() { - return xmlRootAttributes; - } - - public void setXmlRootAttributes(@javax.annotation.Nullable List xmlRootAttributes) { - this.xmlRootAttributes = xmlRootAttributes; - } - - - public DeviceProfile directPlayProfiles(@javax.annotation.Nullable List directPlayProfiles) { - this.directPlayProfiles = directPlayProfiles; - return this; - } - - public DeviceProfile addDirectPlayProfilesItem(DirectPlayProfile directPlayProfilesItem) { - if (this.directPlayProfiles == null) { - this.directPlayProfiles = new ArrayList<>(); - } - this.directPlayProfiles.add(directPlayProfilesItem); - return this; - } - - /** - * Gets or sets the direct play profiles. - * @return directPlayProfiles - */ - @javax.annotation.Nullable - public List getDirectPlayProfiles() { - return directPlayProfiles; - } - - public void setDirectPlayProfiles(@javax.annotation.Nullable List directPlayProfiles) { - this.directPlayProfiles = directPlayProfiles; - } - - - public DeviceProfile transcodingProfiles(@javax.annotation.Nullable List transcodingProfiles) { - this.transcodingProfiles = transcodingProfiles; - return this; - } - - public DeviceProfile addTranscodingProfilesItem(TranscodingProfile transcodingProfilesItem) { - if (this.transcodingProfiles == null) { - this.transcodingProfiles = new ArrayList<>(); - } - this.transcodingProfiles.add(transcodingProfilesItem); - return this; - } - - /** - * Gets or sets the transcoding profiles. - * @return transcodingProfiles - */ - @javax.annotation.Nullable - public List getTranscodingProfiles() { - return transcodingProfiles; - } - - public void setTranscodingProfiles(@javax.annotation.Nullable List transcodingProfiles) { - this.transcodingProfiles = transcodingProfiles; - } - - - public DeviceProfile containerProfiles(@javax.annotation.Nullable List containerProfiles) { - this.containerProfiles = containerProfiles; - return this; - } - - public DeviceProfile addContainerProfilesItem(ContainerProfile containerProfilesItem) { - if (this.containerProfiles == null) { - this.containerProfiles = new ArrayList<>(); - } - this.containerProfiles.add(containerProfilesItem); - return this; - } - - /** - * Gets or sets the container profiles. - * @return containerProfiles - */ - @javax.annotation.Nullable - public List getContainerProfiles() { - return containerProfiles; - } - - public void setContainerProfiles(@javax.annotation.Nullable List containerProfiles) { - this.containerProfiles = containerProfiles; - } - - - public DeviceProfile codecProfiles(@javax.annotation.Nullable List codecProfiles) { - this.codecProfiles = codecProfiles; - return this; - } - - public DeviceProfile addCodecProfilesItem(CodecProfile codecProfilesItem) { - if (this.codecProfiles == null) { - this.codecProfiles = new ArrayList<>(); - } - this.codecProfiles.add(codecProfilesItem); - return this; - } - - /** - * Gets or sets the codec profiles. - * @return codecProfiles - */ - @javax.annotation.Nullable - public List getCodecProfiles() { - return codecProfiles; - } - - public void setCodecProfiles(@javax.annotation.Nullable List codecProfiles) { - this.codecProfiles = codecProfiles; - } - - - public DeviceProfile responseProfiles(@javax.annotation.Nullable List responseProfiles) { - this.responseProfiles = responseProfiles; - return this; - } - - public DeviceProfile addResponseProfilesItem(ResponseProfile responseProfilesItem) { - if (this.responseProfiles == null) { - this.responseProfiles = new ArrayList<>(); - } - this.responseProfiles.add(responseProfilesItem); - return this; - } - - /** - * Gets or sets the ResponseProfiles. - * @return responseProfiles - */ - @javax.annotation.Nullable - public List getResponseProfiles() { - return responseProfiles; - } - - public void setResponseProfiles(@javax.annotation.Nullable List responseProfiles) { - this.responseProfiles = responseProfiles; - } - - - public DeviceProfile subtitleProfiles(@javax.annotation.Nullable List subtitleProfiles) { - this.subtitleProfiles = subtitleProfiles; - return this; - } - - public DeviceProfile addSubtitleProfilesItem(SubtitleProfile subtitleProfilesItem) { - if (this.subtitleProfiles == null) { - this.subtitleProfiles = new ArrayList<>(); - } - this.subtitleProfiles.add(subtitleProfilesItem); - return this; - } - - /** - * Gets or sets the subtitle profiles. - * @return subtitleProfiles - */ - @javax.annotation.Nullable - public List getSubtitleProfiles() { - return subtitleProfiles; - } - - public void setSubtitleProfiles(@javax.annotation.Nullable List subtitleProfiles) { - this.subtitleProfiles = subtitleProfiles; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - DeviceProfile deviceProfile = (DeviceProfile) o; - return Objects.equals(this.name, deviceProfile.name) && - Objects.equals(this.id, deviceProfile.id) && - Objects.equals(this.identification, deviceProfile.identification) && - Objects.equals(this.friendlyName, deviceProfile.friendlyName) && - Objects.equals(this.manufacturer, deviceProfile.manufacturer) && - Objects.equals(this.manufacturerUrl, deviceProfile.manufacturerUrl) && - Objects.equals(this.modelName, deviceProfile.modelName) && - Objects.equals(this.modelDescription, deviceProfile.modelDescription) && - Objects.equals(this.modelNumber, deviceProfile.modelNumber) && - Objects.equals(this.modelUrl, deviceProfile.modelUrl) && - Objects.equals(this.serialNumber, deviceProfile.serialNumber) && - Objects.equals(this.enableAlbumArtInDidl, deviceProfile.enableAlbumArtInDidl) && - Objects.equals(this.enableSingleAlbumArtLimit, deviceProfile.enableSingleAlbumArtLimit) && - Objects.equals(this.enableSingleSubtitleLimit, deviceProfile.enableSingleSubtitleLimit) && - Objects.equals(this.supportedMediaTypes, deviceProfile.supportedMediaTypes) && - Objects.equals(this.userId, deviceProfile.userId) && - Objects.equals(this.albumArtPn, deviceProfile.albumArtPn) && - Objects.equals(this.maxAlbumArtWidth, deviceProfile.maxAlbumArtWidth) && - Objects.equals(this.maxAlbumArtHeight, deviceProfile.maxAlbumArtHeight) && - Objects.equals(this.maxIconWidth, deviceProfile.maxIconWidth) && - Objects.equals(this.maxIconHeight, deviceProfile.maxIconHeight) && - Objects.equals(this.maxStreamingBitrate, deviceProfile.maxStreamingBitrate) && - Objects.equals(this.maxStaticBitrate, deviceProfile.maxStaticBitrate) && - Objects.equals(this.musicStreamingTranscodingBitrate, deviceProfile.musicStreamingTranscodingBitrate) && - Objects.equals(this.maxStaticMusicBitrate, deviceProfile.maxStaticMusicBitrate) && - Objects.equals(this.sonyAggregationFlags, deviceProfile.sonyAggregationFlags) && - Objects.equals(this.protocolInfo, deviceProfile.protocolInfo) && - Objects.equals(this.timelineOffsetSeconds, deviceProfile.timelineOffsetSeconds) && - Objects.equals(this.requiresPlainVideoItems, deviceProfile.requiresPlainVideoItems) && - Objects.equals(this.requiresPlainFolders, deviceProfile.requiresPlainFolders) && - Objects.equals(this.enableMSMediaReceiverRegistrar, deviceProfile.enableMSMediaReceiverRegistrar) && - Objects.equals(this.ignoreTranscodeByteRangeRequests, deviceProfile.ignoreTranscodeByteRangeRequests) && - Objects.equals(this.xmlRootAttributes, deviceProfile.xmlRootAttributes) && - Objects.equals(this.directPlayProfiles, deviceProfile.directPlayProfiles) && - Objects.equals(this.transcodingProfiles, deviceProfile.transcodingProfiles) && - Objects.equals(this.containerProfiles, deviceProfile.containerProfiles) && - Objects.equals(this.codecProfiles, deviceProfile.codecProfiles) && - Objects.equals(this.responseProfiles, deviceProfile.responseProfiles) && - Objects.equals(this.subtitleProfiles, deviceProfile.subtitleProfiles); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(name, id, identification, friendlyName, manufacturer, manufacturerUrl, modelName, modelDescription, modelNumber, modelUrl, serialNumber, enableAlbumArtInDidl, enableSingleAlbumArtLimit, enableSingleSubtitleLimit, supportedMediaTypes, userId, albumArtPn, maxAlbumArtWidth, maxAlbumArtHeight, maxIconWidth, maxIconHeight, maxStreamingBitrate, maxStaticBitrate, musicStreamingTranscodingBitrate, maxStaticMusicBitrate, sonyAggregationFlags, protocolInfo, timelineOffsetSeconds, requiresPlainVideoItems, requiresPlainFolders, enableMSMediaReceiverRegistrar, ignoreTranscodeByteRangeRequests, xmlRootAttributes, directPlayProfiles, transcodingProfiles, containerProfiles, codecProfiles, responseProfiles, subtitleProfiles); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class DeviceProfile {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" identification: ").append(toIndentedString(identification)).append("\n"); - sb.append(" friendlyName: ").append(toIndentedString(friendlyName)).append("\n"); - sb.append(" manufacturer: ").append(toIndentedString(manufacturer)).append("\n"); - sb.append(" manufacturerUrl: ").append(toIndentedString(manufacturerUrl)).append("\n"); - sb.append(" modelName: ").append(toIndentedString(modelName)).append("\n"); - sb.append(" modelDescription: ").append(toIndentedString(modelDescription)).append("\n"); - sb.append(" modelNumber: ").append(toIndentedString(modelNumber)).append("\n"); - sb.append(" modelUrl: ").append(toIndentedString(modelUrl)).append("\n"); - sb.append(" serialNumber: ").append(toIndentedString(serialNumber)).append("\n"); - sb.append(" enableAlbumArtInDidl: ").append(toIndentedString(enableAlbumArtInDidl)).append("\n"); - sb.append(" enableSingleAlbumArtLimit: ").append(toIndentedString(enableSingleAlbumArtLimit)).append("\n"); - sb.append(" enableSingleSubtitleLimit: ").append(toIndentedString(enableSingleSubtitleLimit)).append("\n"); - sb.append(" supportedMediaTypes: ").append(toIndentedString(supportedMediaTypes)).append("\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append(" albumArtPn: ").append(toIndentedString(albumArtPn)).append("\n"); - sb.append(" maxAlbumArtWidth: ").append(toIndentedString(maxAlbumArtWidth)).append("\n"); - sb.append(" maxAlbumArtHeight: ").append(toIndentedString(maxAlbumArtHeight)).append("\n"); - sb.append(" maxIconWidth: ").append(toIndentedString(maxIconWidth)).append("\n"); - sb.append(" maxIconHeight: ").append(toIndentedString(maxIconHeight)).append("\n"); - sb.append(" maxStreamingBitrate: ").append(toIndentedString(maxStreamingBitrate)).append("\n"); - sb.append(" maxStaticBitrate: ").append(toIndentedString(maxStaticBitrate)).append("\n"); - sb.append(" musicStreamingTranscodingBitrate: ").append(toIndentedString(musicStreamingTranscodingBitrate)).append("\n"); - sb.append(" maxStaticMusicBitrate: ").append(toIndentedString(maxStaticMusicBitrate)).append("\n"); - sb.append(" sonyAggregationFlags: ").append(toIndentedString(sonyAggregationFlags)).append("\n"); - sb.append(" protocolInfo: ").append(toIndentedString(protocolInfo)).append("\n"); - sb.append(" timelineOffsetSeconds: ").append(toIndentedString(timelineOffsetSeconds)).append("\n"); - sb.append(" requiresPlainVideoItems: ").append(toIndentedString(requiresPlainVideoItems)).append("\n"); - sb.append(" requiresPlainFolders: ").append(toIndentedString(requiresPlainFolders)).append("\n"); - sb.append(" enableMSMediaReceiverRegistrar: ").append(toIndentedString(enableMSMediaReceiverRegistrar)).append("\n"); - sb.append(" ignoreTranscodeByteRangeRequests: ").append(toIndentedString(ignoreTranscodeByteRangeRequests)).append("\n"); - sb.append(" xmlRootAttributes: ").append(toIndentedString(xmlRootAttributes)).append("\n"); - sb.append(" directPlayProfiles: ").append(toIndentedString(directPlayProfiles)).append("\n"); - sb.append(" transcodingProfiles: ").append(toIndentedString(transcodingProfiles)).append("\n"); - sb.append(" containerProfiles: ").append(toIndentedString(containerProfiles)).append("\n"); - sb.append(" codecProfiles: ").append(toIndentedString(codecProfiles)).append("\n"); - sb.append(" responseProfiles: ").append(toIndentedString(responseProfiles)).append("\n"); - sb.append(" subtitleProfiles: ").append(toIndentedString(subtitleProfiles)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Name"); - openapiFields.add("Id"); - openapiFields.add("Identification"); - openapiFields.add("FriendlyName"); - openapiFields.add("Manufacturer"); - openapiFields.add("ManufacturerUrl"); - openapiFields.add("ModelName"); - openapiFields.add("ModelDescription"); - openapiFields.add("ModelNumber"); - openapiFields.add("ModelUrl"); - openapiFields.add("SerialNumber"); - openapiFields.add("EnableAlbumArtInDidl"); - openapiFields.add("EnableSingleAlbumArtLimit"); - openapiFields.add("EnableSingleSubtitleLimit"); - openapiFields.add("SupportedMediaTypes"); - openapiFields.add("UserId"); - openapiFields.add("AlbumArtPn"); - openapiFields.add("MaxAlbumArtWidth"); - openapiFields.add("MaxAlbumArtHeight"); - openapiFields.add("MaxIconWidth"); - openapiFields.add("MaxIconHeight"); - openapiFields.add("MaxStreamingBitrate"); - openapiFields.add("MaxStaticBitrate"); - openapiFields.add("MusicStreamingTranscodingBitrate"); - openapiFields.add("MaxStaticMusicBitrate"); - openapiFields.add("SonyAggregationFlags"); - openapiFields.add("ProtocolInfo"); - openapiFields.add("TimelineOffsetSeconds"); - openapiFields.add("RequiresPlainVideoItems"); - openapiFields.add("RequiresPlainFolders"); - openapiFields.add("EnableMSMediaReceiverRegistrar"); - openapiFields.add("IgnoreTranscodeByteRangeRequests"); - openapiFields.add("XmlRootAttributes"); - openapiFields.add("DirectPlayProfiles"); - openapiFields.add("TranscodingProfiles"); - openapiFields.add("ContainerProfiles"); - openapiFields.add("CodecProfiles"); - openapiFields.add("ResponseProfiles"); - openapiFields.add("SubtitleProfiles"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DeviceProfile - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!DeviceProfile.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in DeviceProfile is not found in the empty JSON string", DeviceProfile.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!DeviceProfile.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DeviceProfile` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Name") != null && !jsonObj.get("Name").isJsonNull()) && !jsonObj.get("Name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Name").toString())); - } - if ((jsonObj.get("Id") != null && !jsonObj.get("Id").isJsonNull()) && !jsonObj.get("Id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Id").toString())); - } - // validate the optional field `Identification` - if (jsonObj.get("Identification") != null && !jsonObj.get("Identification").isJsonNull()) { - DeviceIdentification.validateJsonElement(jsonObj.get("Identification")); - } - if ((jsonObj.get("FriendlyName") != null && !jsonObj.get("FriendlyName").isJsonNull()) && !jsonObj.get("FriendlyName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `FriendlyName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("FriendlyName").toString())); - } - if ((jsonObj.get("Manufacturer") != null && !jsonObj.get("Manufacturer").isJsonNull()) && !jsonObj.get("Manufacturer").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Manufacturer` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Manufacturer").toString())); - } - if ((jsonObj.get("ManufacturerUrl") != null && !jsonObj.get("ManufacturerUrl").isJsonNull()) && !jsonObj.get("ManufacturerUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ManufacturerUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ManufacturerUrl").toString())); - } - if ((jsonObj.get("ModelName") != null && !jsonObj.get("ModelName").isJsonNull()) && !jsonObj.get("ModelName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ModelName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ModelName").toString())); - } - if ((jsonObj.get("ModelDescription") != null && !jsonObj.get("ModelDescription").isJsonNull()) && !jsonObj.get("ModelDescription").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ModelDescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ModelDescription").toString())); - } - if ((jsonObj.get("ModelNumber") != null && !jsonObj.get("ModelNumber").isJsonNull()) && !jsonObj.get("ModelNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ModelNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ModelNumber").toString())); - } - if ((jsonObj.get("ModelUrl") != null && !jsonObj.get("ModelUrl").isJsonNull()) && !jsonObj.get("ModelUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ModelUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ModelUrl").toString())); - } - if ((jsonObj.get("SerialNumber") != null && !jsonObj.get("SerialNumber").isJsonNull()) && !jsonObj.get("SerialNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `SerialNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("SerialNumber").toString())); - } - if ((jsonObj.get("SupportedMediaTypes") != null && !jsonObj.get("SupportedMediaTypes").isJsonNull()) && !jsonObj.get("SupportedMediaTypes").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `SupportedMediaTypes` to be a primitive type in the JSON string but got `%s`", jsonObj.get("SupportedMediaTypes").toString())); - } - if ((jsonObj.get("UserId") != null && !jsonObj.get("UserId").isJsonNull()) && !jsonObj.get("UserId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `UserId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("UserId").toString())); - } - if ((jsonObj.get("AlbumArtPn") != null && !jsonObj.get("AlbumArtPn").isJsonNull()) && !jsonObj.get("AlbumArtPn").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `AlbumArtPn` to be a primitive type in the JSON string but got `%s`", jsonObj.get("AlbumArtPn").toString())); - } - if ((jsonObj.get("SonyAggregationFlags") != null && !jsonObj.get("SonyAggregationFlags").isJsonNull()) && !jsonObj.get("SonyAggregationFlags").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `SonyAggregationFlags` to be a primitive type in the JSON string but got `%s`", jsonObj.get("SonyAggregationFlags").toString())); - } - if ((jsonObj.get("ProtocolInfo") != null && !jsonObj.get("ProtocolInfo").isJsonNull()) && !jsonObj.get("ProtocolInfo").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ProtocolInfo` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ProtocolInfo").toString())); - } - if (jsonObj.get("XmlRootAttributes") != null && !jsonObj.get("XmlRootAttributes").isJsonNull()) { - JsonArray jsonArrayxmlRootAttributes = jsonObj.getAsJsonArray("XmlRootAttributes"); - if (jsonArrayxmlRootAttributes != null) { - // ensure the json data is an array - if (!jsonObj.get("XmlRootAttributes").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `XmlRootAttributes` to be an array in the JSON string but got `%s`", jsonObj.get("XmlRootAttributes").toString())); - } - - // validate the optional field `XmlRootAttributes` (array) - for (int i = 0; i < jsonArrayxmlRootAttributes.size(); i++) { - XmlAttribute.validateJsonElement(jsonArrayxmlRootAttributes.get(i)); - }; - } - } - if (jsonObj.get("DirectPlayProfiles") != null && !jsonObj.get("DirectPlayProfiles").isJsonNull()) { - JsonArray jsonArraydirectPlayProfiles = jsonObj.getAsJsonArray("DirectPlayProfiles"); - if (jsonArraydirectPlayProfiles != null) { - // ensure the json data is an array - if (!jsonObj.get("DirectPlayProfiles").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `DirectPlayProfiles` to be an array in the JSON string but got `%s`", jsonObj.get("DirectPlayProfiles").toString())); - } - - // validate the optional field `DirectPlayProfiles` (array) - for (int i = 0; i < jsonArraydirectPlayProfiles.size(); i++) { - DirectPlayProfile.validateJsonElement(jsonArraydirectPlayProfiles.get(i)); - }; - } - } - if (jsonObj.get("TranscodingProfiles") != null && !jsonObj.get("TranscodingProfiles").isJsonNull()) { - JsonArray jsonArraytranscodingProfiles = jsonObj.getAsJsonArray("TranscodingProfiles"); - if (jsonArraytranscodingProfiles != null) { - // ensure the json data is an array - if (!jsonObj.get("TranscodingProfiles").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `TranscodingProfiles` to be an array in the JSON string but got `%s`", jsonObj.get("TranscodingProfiles").toString())); - } - - // validate the optional field `TranscodingProfiles` (array) - for (int i = 0; i < jsonArraytranscodingProfiles.size(); i++) { - TranscodingProfile.validateJsonElement(jsonArraytranscodingProfiles.get(i)); - }; - } - } - if (jsonObj.get("ContainerProfiles") != null && !jsonObj.get("ContainerProfiles").isJsonNull()) { - JsonArray jsonArraycontainerProfiles = jsonObj.getAsJsonArray("ContainerProfiles"); - if (jsonArraycontainerProfiles != null) { - // ensure the json data is an array - if (!jsonObj.get("ContainerProfiles").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `ContainerProfiles` to be an array in the JSON string but got `%s`", jsonObj.get("ContainerProfiles").toString())); - } - - // validate the optional field `ContainerProfiles` (array) - for (int i = 0; i < jsonArraycontainerProfiles.size(); i++) { - ContainerProfile.validateJsonElement(jsonArraycontainerProfiles.get(i)); - }; - } - } - if (jsonObj.get("CodecProfiles") != null && !jsonObj.get("CodecProfiles").isJsonNull()) { - JsonArray jsonArraycodecProfiles = jsonObj.getAsJsonArray("CodecProfiles"); - if (jsonArraycodecProfiles != null) { - // ensure the json data is an array - if (!jsonObj.get("CodecProfiles").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `CodecProfiles` to be an array in the JSON string but got `%s`", jsonObj.get("CodecProfiles").toString())); - } - - // validate the optional field `CodecProfiles` (array) - for (int i = 0; i < jsonArraycodecProfiles.size(); i++) { - CodecProfile.validateJsonElement(jsonArraycodecProfiles.get(i)); - }; - } - } - if (jsonObj.get("ResponseProfiles") != null && !jsonObj.get("ResponseProfiles").isJsonNull()) { - JsonArray jsonArrayresponseProfiles = jsonObj.getAsJsonArray("ResponseProfiles"); - if (jsonArrayresponseProfiles != null) { - // ensure the json data is an array - if (!jsonObj.get("ResponseProfiles").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `ResponseProfiles` to be an array in the JSON string but got `%s`", jsonObj.get("ResponseProfiles").toString())); - } - - // validate the optional field `ResponseProfiles` (array) - for (int i = 0; i < jsonArrayresponseProfiles.size(); i++) { - ResponseProfile.validateJsonElement(jsonArrayresponseProfiles.get(i)); - }; - } - } - if (jsonObj.get("SubtitleProfiles") != null && !jsonObj.get("SubtitleProfiles").isJsonNull()) { - JsonArray jsonArraysubtitleProfiles = jsonObj.getAsJsonArray("SubtitleProfiles"); - if (jsonArraysubtitleProfiles != null) { - // ensure the json data is an array - if (!jsonObj.get("SubtitleProfiles").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `SubtitleProfiles` to be an array in the JSON string but got `%s`", jsonObj.get("SubtitleProfiles").toString())); - } - - // validate the optional field `SubtitleProfiles` (array) - for (int i = 0; i < jsonArraysubtitleProfiles.size(); i++) { - SubtitleProfile.validateJsonElement(jsonArraysubtitleProfiles.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!DeviceProfile.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'DeviceProfile' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(DeviceProfile.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, DeviceProfile value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public DeviceProfile read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of DeviceProfile given an JSON string - * - * @param jsonString JSON string - * @return An instance of DeviceProfile - * @throws IOException if the JSON string is invalid with respect to DeviceProfile - */ - public static DeviceProfile fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, DeviceProfile.class); - } - - /** - * Convert an instance of DeviceProfile to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DlnaOptions.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DlnaOptions.java deleted file mode 100644 index 2a31a45dea7..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/DlnaOptions.java +++ /dev/null @@ -1,488 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * The DlnaOptions class contains the user definable parameters for the dlna subsystems. - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class DlnaOptions { - public static final String SERIALIZED_NAME_ENABLE_PLAY_TO = "EnablePlayTo"; - @SerializedName(SERIALIZED_NAME_ENABLE_PLAY_TO) - @javax.annotation.Nullable - private Boolean enablePlayTo; - - public static final String SERIALIZED_NAME_ENABLE_SERVER = "EnableServer"; - @SerializedName(SERIALIZED_NAME_ENABLE_SERVER) - @javax.annotation.Nullable - private Boolean enableServer; - - public static final String SERIALIZED_NAME_ENABLE_DEBUG_LOG = "EnableDebugLog"; - @SerializedName(SERIALIZED_NAME_ENABLE_DEBUG_LOG) - @javax.annotation.Nullable - private Boolean enableDebugLog; - - public static final String SERIALIZED_NAME_ENABLE_PLAY_TO_TRACING = "EnablePlayToTracing"; - @SerializedName(SERIALIZED_NAME_ENABLE_PLAY_TO_TRACING) - @javax.annotation.Nullable - private Boolean enablePlayToTracing; - - public static final String SERIALIZED_NAME_CLIENT_DISCOVERY_INTERVAL_SECONDS = "ClientDiscoveryIntervalSeconds"; - @SerializedName(SERIALIZED_NAME_CLIENT_DISCOVERY_INTERVAL_SECONDS) - @javax.annotation.Nullable - private Integer clientDiscoveryIntervalSeconds; - - public static final String SERIALIZED_NAME_ALIVE_MESSAGE_INTERVAL_SECONDS = "AliveMessageIntervalSeconds"; - @SerializedName(SERIALIZED_NAME_ALIVE_MESSAGE_INTERVAL_SECONDS) - @javax.annotation.Nullable - private Integer aliveMessageIntervalSeconds; - - public static final String SERIALIZED_NAME_BLAST_ALIVE_MESSAGE_INTERVAL_SECONDS = "BlastAliveMessageIntervalSeconds"; - @SerializedName(SERIALIZED_NAME_BLAST_ALIVE_MESSAGE_INTERVAL_SECONDS) - @javax.annotation.Nullable - private Integer blastAliveMessageIntervalSeconds; - - public static final String SERIALIZED_NAME_DEFAULT_USER_ID = "DefaultUserId"; - @SerializedName(SERIALIZED_NAME_DEFAULT_USER_ID) - @javax.annotation.Nullable - private String defaultUserId; - - public static final String SERIALIZED_NAME_AUTO_CREATE_PLAY_TO_PROFILES = "AutoCreatePlayToProfiles"; - @SerializedName(SERIALIZED_NAME_AUTO_CREATE_PLAY_TO_PROFILES) - @javax.annotation.Nullable - private Boolean autoCreatePlayToProfiles; - - public static final String SERIALIZED_NAME_BLAST_ALIVE_MESSAGES = "BlastAliveMessages"; - @SerializedName(SERIALIZED_NAME_BLAST_ALIVE_MESSAGES) - @javax.annotation.Nullable - private Boolean blastAliveMessages; - - public static final String SERIALIZED_NAME_SEND_ONLY_MATCHED_HOST = "SendOnlyMatchedHost"; - @SerializedName(SERIALIZED_NAME_SEND_ONLY_MATCHED_HOST) - @javax.annotation.Nullable - private Boolean sendOnlyMatchedHost; - - public DlnaOptions() { - } - - public DlnaOptions enablePlayTo(@javax.annotation.Nullable Boolean enablePlayTo) { - this.enablePlayTo = enablePlayTo; - return this; - } - - /** - * Gets or sets a value indicating whether gets or sets a value to indicate the status of the dlna playTo subsystem. - * @return enablePlayTo - */ - @javax.annotation.Nullable - public Boolean getEnablePlayTo() { - return enablePlayTo; - } - - public void setEnablePlayTo(@javax.annotation.Nullable Boolean enablePlayTo) { - this.enablePlayTo = enablePlayTo; - } - - - public DlnaOptions enableServer(@javax.annotation.Nullable Boolean enableServer) { - this.enableServer = enableServer; - return this; - } - - /** - * Gets or sets a value indicating whether gets or sets a value to indicate the status of the dlna server subsystem. - * @return enableServer - */ - @javax.annotation.Nullable - public Boolean getEnableServer() { - return enableServer; - } - - public void setEnableServer(@javax.annotation.Nullable Boolean enableServer) { - this.enableServer = enableServer; - } - - - public DlnaOptions enableDebugLog(@javax.annotation.Nullable Boolean enableDebugLog) { - this.enableDebugLog = enableDebugLog; - return this; - } - - /** - * Gets or sets a value indicating whether detailed dlna server logs are sent to the console/log. If the setting \"Emby.Dlna\": \"Debug\" msut be set in logging.default.json for this property to work. - * @return enableDebugLog - */ - @javax.annotation.Nullable - public Boolean getEnableDebugLog() { - return enableDebugLog; - } - - public void setEnableDebugLog(@javax.annotation.Nullable Boolean enableDebugLog) { - this.enableDebugLog = enableDebugLog; - } - - - public DlnaOptions enablePlayToTracing(@javax.annotation.Nullable Boolean enablePlayToTracing) { - this.enablePlayToTracing = enablePlayToTracing; - return this; - } - - /** - * Gets or sets a value indicating whether whether detailed playTo debug logs are sent to the console/log. If the setting \"Emby.Dlna.PlayTo\": \"Debug\" msut be set in logging.default.json for this property to work. - * @return enablePlayToTracing - */ - @javax.annotation.Nullable - public Boolean getEnablePlayToTracing() { - return enablePlayToTracing; - } - - public void setEnablePlayToTracing(@javax.annotation.Nullable Boolean enablePlayToTracing) { - this.enablePlayToTracing = enablePlayToTracing; - } - - - public DlnaOptions clientDiscoveryIntervalSeconds(@javax.annotation.Nullable Integer clientDiscoveryIntervalSeconds) { - this.clientDiscoveryIntervalSeconds = clientDiscoveryIntervalSeconds; - return this; - } - - /** - * Gets or sets the ssdp client discovery interval time (in seconds). This is the time after which the server will send a ssdp search request. - * @return clientDiscoveryIntervalSeconds - */ - @javax.annotation.Nullable - public Integer getClientDiscoveryIntervalSeconds() { - return clientDiscoveryIntervalSeconds; - } - - public void setClientDiscoveryIntervalSeconds(@javax.annotation.Nullable Integer clientDiscoveryIntervalSeconds) { - this.clientDiscoveryIntervalSeconds = clientDiscoveryIntervalSeconds; - } - - - public DlnaOptions aliveMessageIntervalSeconds(@javax.annotation.Nullable Integer aliveMessageIntervalSeconds) { - this.aliveMessageIntervalSeconds = aliveMessageIntervalSeconds; - return this; - } - - /** - * Gets or sets the frequency at which ssdp alive notifications are transmitted. - * @return aliveMessageIntervalSeconds - */ - @javax.annotation.Nullable - public Integer getAliveMessageIntervalSeconds() { - return aliveMessageIntervalSeconds; - } - - public void setAliveMessageIntervalSeconds(@javax.annotation.Nullable Integer aliveMessageIntervalSeconds) { - this.aliveMessageIntervalSeconds = aliveMessageIntervalSeconds; - } - - - public DlnaOptions blastAliveMessageIntervalSeconds(@javax.annotation.Nullable Integer blastAliveMessageIntervalSeconds) { - this.blastAliveMessageIntervalSeconds = blastAliveMessageIntervalSeconds; - return this; - } - - /** - * Gets or sets the frequency at which ssdp alive notifications are transmitted. MIGRATING - TO BE REMOVED ONCE WEB HAS BEEN ALTERED. - * @return blastAliveMessageIntervalSeconds - */ - @javax.annotation.Nullable - public Integer getBlastAliveMessageIntervalSeconds() { - return blastAliveMessageIntervalSeconds; - } - - public void setBlastAliveMessageIntervalSeconds(@javax.annotation.Nullable Integer blastAliveMessageIntervalSeconds) { - this.blastAliveMessageIntervalSeconds = blastAliveMessageIntervalSeconds; - } - - - public DlnaOptions defaultUserId(@javax.annotation.Nullable String defaultUserId) { - this.defaultUserId = defaultUserId; - return this; - } - - /** - * Gets or sets the default user account that the dlna server uses. - * @return defaultUserId - */ - @javax.annotation.Nullable - public String getDefaultUserId() { - return defaultUserId; - } - - public void setDefaultUserId(@javax.annotation.Nullable String defaultUserId) { - this.defaultUserId = defaultUserId; - } - - - public DlnaOptions autoCreatePlayToProfiles(@javax.annotation.Nullable Boolean autoCreatePlayToProfiles) { - this.autoCreatePlayToProfiles = autoCreatePlayToProfiles; - return this; - } - - /** - * Gets or sets a value indicating whether playTo device profiles should be created. - * @return autoCreatePlayToProfiles - */ - @javax.annotation.Nullable - public Boolean getAutoCreatePlayToProfiles() { - return autoCreatePlayToProfiles; - } - - public void setAutoCreatePlayToProfiles(@javax.annotation.Nullable Boolean autoCreatePlayToProfiles) { - this.autoCreatePlayToProfiles = autoCreatePlayToProfiles; - } - - - public DlnaOptions blastAliveMessages(@javax.annotation.Nullable Boolean blastAliveMessages) { - this.blastAliveMessages = blastAliveMessages; - return this; - } - - /** - * Gets or sets a value indicating whether to blast alive messages. - * @return blastAliveMessages - */ - @javax.annotation.Nullable - public Boolean getBlastAliveMessages() { - return blastAliveMessages; - } - - public void setBlastAliveMessages(@javax.annotation.Nullable Boolean blastAliveMessages) { - this.blastAliveMessages = blastAliveMessages; - } - - - public DlnaOptions sendOnlyMatchedHost(@javax.annotation.Nullable Boolean sendOnlyMatchedHost) { - this.sendOnlyMatchedHost = sendOnlyMatchedHost; - return this; - } - - /** - * gets or sets a value indicating whether to send only matched host. - * @return sendOnlyMatchedHost - */ - @javax.annotation.Nullable - public Boolean getSendOnlyMatchedHost() { - return sendOnlyMatchedHost; - } - - public void setSendOnlyMatchedHost(@javax.annotation.Nullable Boolean sendOnlyMatchedHost) { - this.sendOnlyMatchedHost = sendOnlyMatchedHost; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - DlnaOptions dlnaOptions = (DlnaOptions) o; - return Objects.equals(this.enablePlayTo, dlnaOptions.enablePlayTo) && - Objects.equals(this.enableServer, dlnaOptions.enableServer) && - Objects.equals(this.enableDebugLog, dlnaOptions.enableDebugLog) && - Objects.equals(this.enablePlayToTracing, dlnaOptions.enablePlayToTracing) && - Objects.equals(this.clientDiscoveryIntervalSeconds, dlnaOptions.clientDiscoveryIntervalSeconds) && - Objects.equals(this.aliveMessageIntervalSeconds, dlnaOptions.aliveMessageIntervalSeconds) && - Objects.equals(this.blastAliveMessageIntervalSeconds, dlnaOptions.blastAliveMessageIntervalSeconds) && - Objects.equals(this.defaultUserId, dlnaOptions.defaultUserId) && - Objects.equals(this.autoCreatePlayToProfiles, dlnaOptions.autoCreatePlayToProfiles) && - Objects.equals(this.blastAliveMessages, dlnaOptions.blastAliveMessages) && - Objects.equals(this.sendOnlyMatchedHost, dlnaOptions.sendOnlyMatchedHost); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(enablePlayTo, enableServer, enableDebugLog, enablePlayToTracing, clientDiscoveryIntervalSeconds, aliveMessageIntervalSeconds, blastAliveMessageIntervalSeconds, defaultUserId, autoCreatePlayToProfiles, blastAliveMessages, sendOnlyMatchedHost); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class DlnaOptions {\n"); - sb.append(" enablePlayTo: ").append(toIndentedString(enablePlayTo)).append("\n"); - sb.append(" enableServer: ").append(toIndentedString(enableServer)).append("\n"); - sb.append(" enableDebugLog: ").append(toIndentedString(enableDebugLog)).append("\n"); - sb.append(" enablePlayToTracing: ").append(toIndentedString(enablePlayToTracing)).append("\n"); - sb.append(" clientDiscoveryIntervalSeconds: ").append(toIndentedString(clientDiscoveryIntervalSeconds)).append("\n"); - sb.append(" aliveMessageIntervalSeconds: ").append(toIndentedString(aliveMessageIntervalSeconds)).append("\n"); - sb.append(" blastAliveMessageIntervalSeconds: ").append(toIndentedString(blastAliveMessageIntervalSeconds)).append("\n"); - sb.append(" defaultUserId: ").append(toIndentedString(defaultUserId)).append("\n"); - sb.append(" autoCreatePlayToProfiles: ").append(toIndentedString(autoCreatePlayToProfiles)).append("\n"); - sb.append(" blastAliveMessages: ").append(toIndentedString(blastAliveMessages)).append("\n"); - sb.append(" sendOnlyMatchedHost: ").append(toIndentedString(sendOnlyMatchedHost)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("EnablePlayTo"); - openapiFields.add("EnableServer"); - openapiFields.add("EnableDebugLog"); - openapiFields.add("EnablePlayToTracing"); - openapiFields.add("ClientDiscoveryIntervalSeconds"); - openapiFields.add("AliveMessageIntervalSeconds"); - openapiFields.add("BlastAliveMessageIntervalSeconds"); - openapiFields.add("DefaultUserId"); - openapiFields.add("AutoCreatePlayToProfiles"); - openapiFields.add("BlastAliveMessages"); - openapiFields.add("SendOnlyMatchedHost"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DlnaOptions - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!DlnaOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in DlnaOptions is not found in the empty JSON string", DlnaOptions.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!DlnaOptions.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DlnaOptions` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("DefaultUserId") != null && !jsonObj.get("DefaultUserId").isJsonNull()) && !jsonObj.get("DefaultUserId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `DefaultUserId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("DefaultUserId").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!DlnaOptions.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'DlnaOptions' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(DlnaOptions.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, DlnaOptions value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public DlnaOptions read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of DlnaOptions given an JSON string - * - * @param jsonString JSON string - * @return An instance of DlnaOptions - * @throws IOException if the JSON string is invalid with respect to DlnaOptions - */ - public static DlnaOptions fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, DlnaOptions.class); - } - - /** - * Convert an instance of DlnaOptions to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/HeaderMetadata.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/HeaderMetadata.java deleted file mode 100644 index baab7d62574..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/HeaderMetadata.java +++ /dev/null @@ -1,194 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.annotations.SerializedName; - -import java.io.IOException; -import com.google.gson.TypeAdapter; -import com.google.gson.JsonElement; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; - -/** - * Gets or Sets HeaderMetadata - */ -@JsonAdapter(HeaderMetadata.Adapter.class) -public enum HeaderMetadata { - - NONE("None"), - - PATH("Path"), - - NAME("Name"), - - PREMIERE_DATE("PremiereDate"), - - DATE_ADDED("DateAdded"), - - RELEASE_DATE("ReleaseDate"), - - RUNTIME("Runtime"), - - PLAY_COUNT("PlayCount"), - - SEASON("Season"), - - SEASON_NUMBER("SeasonNumber"), - - SERIES("Series"), - - NETWORK("Network"), - - YEAR("Year"), - - PARENTAL_RATING("ParentalRating"), - - COMMUNITY_RATING("CommunityRating"), - - TRAILERS("Trailers"), - - SPECIALS("Specials"), - - ALBUM_ARTIST("AlbumArtist"), - - ALBUM("Album"), - - DISC("Disc"), - - TRACK("Track"), - - AUDIO("Audio"), - - EMBEDDED_IMAGE("EmbeddedImage"), - - VIDEO("Video"), - - RESOLUTION("Resolution"), - - SUBTITLES("Subtitles"), - - GENRES("Genres"), - - COUNTRIES("Countries"), - - STATUS("Status"), - - TRACKS("Tracks"), - - EPISODE_SERIES("EpisodeSeries"), - - EPISODE_SEASON("EpisodeSeason"), - - EPISODE_NUMBER("EpisodeNumber"), - - AUDIO_ALBUM_ARTIST("AudioAlbumArtist"), - - MUSIC_ARTIST("MusicArtist"), - - AUDIO_ALBUM("AudioAlbum"), - - LOCKED("Locked"), - - IMAGE_PRIMARY("ImagePrimary"), - - IMAGE_BACKDROP("ImageBackdrop"), - - IMAGE_LOGO("ImageLogo"), - - ACTOR("Actor"), - - STUDIOS("Studios"), - - COMPOSER("Composer"), - - DIRECTOR("Director"), - - GUEST_STAR("GuestStar"), - - PRODUCER("Producer"), - - WRITER("Writer"), - - ARTIST("Artist"), - - YEARS("Years"), - - PARENTAL_RATINGS("ParentalRatings"), - - COMMUNITY_RATINGS("CommunityRatings"), - - OVERVIEW("Overview"), - - SHORT_OVERVIEW("ShortOverview"), - - TYPE("Type"), - - DATE("Date"), - - USER_PRIMARY_IMAGE("UserPrimaryImage"), - - SEVERITY("Severity"), - - ITEM("Item"), - - USER("User"), - - USER_ID("UserId"); - - private String value; - - HeaderMetadata(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static HeaderMetadata fromValue(String value) { - for (HeaderMetadata b : HeaderMetadata.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final HeaderMetadata enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public HeaderMetadata read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return HeaderMetadata.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - HeaderMetadata.fromValue(value); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/HttpHeaderInfo.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/HttpHeaderInfo.java deleted file mode 100644 index f0fa38ad80f..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/HttpHeaderInfo.java +++ /dev/null @@ -1,280 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.openapitools.client.model.HeaderMatchType; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * HttpHeaderInfo - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class HttpHeaderInfo { - public static final String SERIALIZED_NAME_NAME = "Name"; - @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; - - public static final String SERIALIZED_NAME_VALUE = "Value"; - @SerializedName(SERIALIZED_NAME_VALUE) - @javax.annotation.Nullable - private String value; - - public static final String SERIALIZED_NAME_MATCH = "Match"; - @SerializedName(SERIALIZED_NAME_MATCH) - @javax.annotation.Nullable - private HeaderMatchType match; - - public HttpHeaderInfo() { - } - - public HttpHeaderInfo name(@javax.annotation.Nullable String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - */ - @javax.annotation.Nullable - public String getName() { - return name; - } - - public void setName(@javax.annotation.Nullable String name) { - this.name = name; - } - - - public HttpHeaderInfo value(@javax.annotation.Nullable String value) { - this.value = value; - return this; - } - - /** - * Get value - * @return value - */ - @javax.annotation.Nullable - public String getValue() { - return value; - } - - public void setValue(@javax.annotation.Nullable String value) { - this.value = value; - } - - - public HttpHeaderInfo match(@javax.annotation.Nullable HeaderMatchType match) { - this.match = match; - return this; - } - - /** - * Get match - * @return match - */ - @javax.annotation.Nullable - public HeaderMatchType getMatch() { - return match; - } - - public void setMatch(@javax.annotation.Nullable HeaderMatchType match) { - this.match = match; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - HttpHeaderInfo httpHeaderInfo = (HttpHeaderInfo) o; - return Objects.equals(this.name, httpHeaderInfo.name) && - Objects.equals(this.value, httpHeaderInfo.value) && - Objects.equals(this.match, httpHeaderInfo.match); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(name, value, match); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class HttpHeaderInfo {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" value: ").append(toIndentedString(value)).append("\n"); - sb.append(" match: ").append(toIndentedString(match)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Name"); - openapiFields.add("Value"); - openapiFields.add("Match"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to HttpHeaderInfo - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!HttpHeaderInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in HttpHeaderInfo is not found in the empty JSON string", HttpHeaderInfo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!HttpHeaderInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `HttpHeaderInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Name") != null && !jsonObj.get("Name").isJsonNull()) && !jsonObj.get("Name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Name").toString())); - } - if ((jsonObj.get("Value") != null && !jsonObj.get("Value").isJsonNull()) && !jsonObj.get("Value").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Value").toString())); - } - // validate the optional field `Match` - if (jsonObj.get("Match") != null && !jsonObj.get("Match").isJsonNull()) { - HeaderMatchType.validateJsonElement(jsonObj.get("Match")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!HttpHeaderInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'HttpHeaderInfo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(HttpHeaderInfo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, HttpHeaderInfo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public HttpHeaderInfo read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of HttpHeaderInfo given an JSON string - * - * @param jsonString JSON string - * @return An instance of HttpHeaderInfo - * @throws IOException if the JSON string is invalid with respect to HttpHeaderInfo - */ - public static HttpHeaderInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, HttpHeaderInfo.class); - } - - /** - * Convert an instance of HttpHeaderInfo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LastFMUser.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LastFMUser.java deleted file mode 100644 index b5c4813b819..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LastFMUser.java +++ /dev/null @@ -1,248 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * LastFMUser - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class LastFMUser { - public static final String SERIALIZED_NAME_USERNAME = "Username"; - @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable - private String username; - - public static final String SERIALIZED_NAME_PASSWORD = "Password"; - @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable - private String password; - - public LastFMUser() { - } - - public LastFMUser username(@javax.annotation.Nullable String username) { - this.username = username; - return this; - } - - /** - * Get username - * @return username - */ - @javax.annotation.Nullable - public String getUsername() { - return username; - } - - public void setUsername(@javax.annotation.Nullable String username) { - this.username = username; - } - - - public LastFMUser password(@javax.annotation.Nullable String password) { - this.password = password; - return this; - } - - /** - * Get password - * @return password - */ - @javax.annotation.Nullable - public String getPassword() { - return password; - } - - public void setPassword(@javax.annotation.Nullable String password) { - this.password = password; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LastFMUser lastFMUser = (LastFMUser) o; - return Objects.equals(this.username, lastFMUser.username) && - Objects.equals(this.password, lastFMUser.password); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(username, password); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class LastFMUser {\n"); - sb.append(" username: ").append(toIndentedString(username)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Username"); - openapiFields.add("Password"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to LastFMUser - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!LastFMUser.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in LastFMUser is not found in the empty JSON string", LastFMUser.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!LastFMUser.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `LastFMUser` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Username") != null && !jsonObj.get("Username").isJsonNull()) && !jsonObj.get("Username").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Username` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Username").toString())); - } - if ((jsonObj.get("Password") != null && !jsonObj.get("Password").isJsonNull()) && !jsonObj.get("Password").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Password` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Password").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!LastFMUser.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'LastFMUser' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(LastFMUser.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, LastFMUser value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public LastFMUser read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of LastFMUser given an JSON string - * - * @param jsonString JSON string - * @return An instance of LastFMUser - * @throws IOException if the JSON string is invalid with respect to LastFMUser - */ - public static LastFMUser fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, LastFMUser.class); - } - - /** - * Convert an instance of LastFMUser to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LoginInfoInput.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LoginInfoInput.java deleted file mode 100644 index 195c504752b..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/LoginInfoInput.java +++ /dev/null @@ -1,275 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * LoginInfoInput - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class LoginInfoInput { - public static final String SERIALIZED_NAME_USERNAME = "Username"; - @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nonnull - private String username; - - public static final String SERIALIZED_NAME_PASSWORD = "Password"; - @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nonnull - private String password; - - public static final String SERIALIZED_NAME_CUSTOM_API_KEY = "CustomApiKey"; - @SerializedName(SERIALIZED_NAME_CUSTOM_API_KEY) - @javax.annotation.Nullable - private String customApiKey; - - public LoginInfoInput() { - } - - public LoginInfoInput username(@javax.annotation.Nonnull String username) { - this.username = username; - return this; - } - - /** - * Get username - * @return username - */ - @javax.annotation.Nonnull - public String getUsername() { - return username; - } - - public void setUsername(@javax.annotation.Nonnull String username) { - this.username = username; - } - - - public LoginInfoInput password(@javax.annotation.Nonnull String password) { - this.password = password; - return this; - } - - /** - * Get password - * @return password - */ - @javax.annotation.Nonnull - public String getPassword() { - return password; - } - - public void setPassword(@javax.annotation.Nonnull String password) { - this.password = password; - } - - - public LoginInfoInput customApiKey(@javax.annotation.Nullable String customApiKey) { - this.customApiKey = customApiKey; - return this; - } - - /** - * Get customApiKey - * @return customApiKey - */ - @javax.annotation.Nullable - public String getCustomApiKey() { - return customApiKey; - } - - public void setCustomApiKey(@javax.annotation.Nullable String customApiKey) { - this.customApiKey = customApiKey; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LoginInfoInput loginInfoInput = (LoginInfoInput) o; - return Objects.equals(this.username, loginInfoInput.username) && - Objects.equals(this.password, loginInfoInput.password) && - Objects.equals(this.customApiKey, loginInfoInput.customApiKey); - } - - @Override - public int hashCode() { - return Objects.hash(username, password, customApiKey); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class LoginInfoInput {\n"); - sb.append(" username: ").append(toIndentedString(username)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); - sb.append(" customApiKey: ").append(toIndentedString(customApiKey)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Username"); - openapiFields.add("Password"); - openapiFields.add("CustomApiKey"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("Username"); - openapiRequiredFields.add("Password"); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to LoginInfoInput - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!LoginInfoInput.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in LoginInfoInput is not found in the empty JSON string", LoginInfoInput.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!LoginInfoInput.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `LoginInfoInput` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : LoginInfoInput.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("Username").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Username` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Username").toString())); - } - if (!jsonObj.get("Password").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Password` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Password").toString())); - } - if ((jsonObj.get("CustomApiKey") != null && !jsonObj.get("CustomApiKey").isJsonNull()) && !jsonObj.get("CustomApiKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `CustomApiKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("CustomApiKey").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!LoginInfoInput.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'LoginInfoInput' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(LoginInfoInput.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, LoginInfoInput value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public LoginInfoInput read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of LoginInfoInput given an JSON string - * - * @param jsonString JSON string - * @return An instance of LoginInfoInput - * @throws IOException if the JSON string is invalid with respect to LoginInfoInput - */ - public static LoginInfoInput fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, LoginInfoInput.class); - } - - /** - * Convert an instance of LoginInfoInput to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaEncoderPathDto.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaEncoderPathDto.java deleted file mode 100644 index 64796001a9d..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/MediaEncoderPathDto.java +++ /dev/null @@ -1,236 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * Media Encoder Path Dto. - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class MediaEncoderPathDto { - public static final String SERIALIZED_NAME_PATH = "Path"; - @SerializedName(SERIALIZED_NAME_PATH) - @javax.annotation.Nullable - private String path; - - public static final String SERIALIZED_NAME_PATH_TYPE = "PathType"; - @SerializedName(SERIALIZED_NAME_PATH_TYPE) - @javax.annotation.Nullable - private String pathType; - - public MediaEncoderPathDto() { - } - - public MediaEncoderPathDto path(@javax.annotation.Nullable String path) { - this.path = path; - return this; - } - - /** - * Gets or sets media encoder path. - * @return path - */ - @javax.annotation.Nullable - public String getPath() { - return path; - } - - public void setPath(@javax.annotation.Nullable String path) { - this.path = path; - } - - - public MediaEncoderPathDto pathType(@javax.annotation.Nullable String pathType) { - this.pathType = pathType; - return this; - } - - /** - * Gets or sets media encoder path type. - * @return pathType - */ - @javax.annotation.Nullable - public String getPathType() { - return pathType; - } - - public void setPathType(@javax.annotation.Nullable String pathType) { - this.pathType = pathType; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MediaEncoderPathDto mediaEncoderPathDto = (MediaEncoderPathDto) o; - return Objects.equals(this.path, mediaEncoderPathDto.path) && - Objects.equals(this.pathType, mediaEncoderPathDto.pathType); - } - - @Override - public int hashCode() { - return Objects.hash(path, pathType); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MediaEncoderPathDto {\n"); - sb.append(" path: ").append(toIndentedString(path)).append("\n"); - sb.append(" pathType: ").append(toIndentedString(pathType)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Path"); - openapiFields.add("PathType"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to MediaEncoderPathDto - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!MediaEncoderPathDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in MediaEncoderPathDto is not found in the empty JSON string", MediaEncoderPathDto.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!MediaEncoderPathDto.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `MediaEncoderPathDto` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Path") != null && !jsonObj.get("Path").isJsonNull()) && !jsonObj.get("Path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Path").toString())); - } - if ((jsonObj.get("PathType") != null && !jsonObj.get("PathType").isJsonNull()) && !jsonObj.get("PathType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `PathType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("PathType").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!MediaEncoderPathDto.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'MediaEncoderPathDto' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(MediaEncoderPathDto.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, MediaEncoderPathDto value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public MediaEncoderPathDto read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of MediaEncoderPathDto given an JSON string - * - * @param jsonString JSON string - * @return An instance of MediaEncoderPathDto - * @throws IOException if the JSON string is invalid with respect to MediaEncoderPathDto - */ - public static MediaEncoderPathDto fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, MediaEncoderPathDto.class); - } - - /** - * Convert an instance of MediaEncoderPathDto to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationDto.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationDto.java deleted file mode 100644 index 56cc5139883..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationDto.java +++ /dev/null @@ -1,413 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.time.OffsetDateTime; -import java.util.Arrays; -import org.openapitools.client.model.NotificationLevel; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * The notification DTO. - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class NotificationDto { - public static final String SERIALIZED_NAME_ID = "Id"; - @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private String id; - - public static final String SERIALIZED_NAME_USER_ID = "UserId"; - @SerializedName(SERIALIZED_NAME_USER_ID) - @javax.annotation.Nullable - private String userId; - - public static final String SERIALIZED_NAME_DATE = "Date"; - @SerializedName(SERIALIZED_NAME_DATE) - @javax.annotation.Nullable - private OffsetDateTime date; - - public static final String SERIALIZED_NAME_IS_READ = "IsRead"; - @SerializedName(SERIALIZED_NAME_IS_READ) - @javax.annotation.Nullable - private Boolean isRead; - - public static final String SERIALIZED_NAME_NAME = "Name"; - @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; - - public static final String SERIALIZED_NAME_DESCRIPTION = "Description"; - @SerializedName(SERIALIZED_NAME_DESCRIPTION) - @javax.annotation.Nullable - private String description; - - public static final String SERIALIZED_NAME_URL = "Url"; - @SerializedName(SERIALIZED_NAME_URL) - @javax.annotation.Nullable - private String url; - - public static final String SERIALIZED_NAME_LEVEL = "Level"; - @SerializedName(SERIALIZED_NAME_LEVEL) - @javax.annotation.Nullable - private NotificationLevel level; - - public NotificationDto() { - } - - public NotificationDto id(@javax.annotation.Nullable String id) { - this.id = id; - return this; - } - - /** - * Gets or sets the notification ID. Defaults to an empty string. - * @return id - */ - @javax.annotation.Nullable - public String getId() { - return id; - } - - public void setId(@javax.annotation.Nullable String id) { - this.id = id; - } - - - public NotificationDto userId(@javax.annotation.Nullable String userId) { - this.userId = userId; - return this; - } - - /** - * Gets or sets the notification's user ID. Defaults to an empty string. - * @return userId - */ - @javax.annotation.Nullable - public String getUserId() { - return userId; - } - - public void setUserId(@javax.annotation.Nullable String userId) { - this.userId = userId; - } - - - public NotificationDto date(@javax.annotation.Nullable OffsetDateTime date) { - this.date = date; - return this; - } - - /** - * Gets or sets the notification date. - * @return date - */ - @javax.annotation.Nullable - public OffsetDateTime getDate() { - return date; - } - - public void setDate(@javax.annotation.Nullable OffsetDateTime date) { - this.date = date; - } - - - public NotificationDto isRead(@javax.annotation.Nullable Boolean isRead) { - this.isRead = isRead; - return this; - } - - /** - * Gets or sets a value indicating whether the notification has been read. Defaults to false. - * @return isRead - */ - @javax.annotation.Nullable - public Boolean getIsRead() { - return isRead; - } - - public void setIsRead(@javax.annotation.Nullable Boolean isRead) { - this.isRead = isRead; - } - - - public NotificationDto name(@javax.annotation.Nullable String name) { - this.name = name; - return this; - } - - /** - * Gets or sets the notification's name. Defaults to an empty string. - * @return name - */ - @javax.annotation.Nullable - public String getName() { - return name; - } - - public void setName(@javax.annotation.Nullable String name) { - this.name = name; - } - - - public NotificationDto description(@javax.annotation.Nullable String description) { - this.description = description; - return this; - } - - /** - * Gets or sets the notification's description. Defaults to an empty string. - * @return description - */ - @javax.annotation.Nullable - public String getDescription() { - return description; - } - - public void setDescription(@javax.annotation.Nullable String description) { - this.description = description; - } - - - public NotificationDto url(@javax.annotation.Nullable String url) { - this.url = url; - return this; - } - - /** - * Gets or sets the notification's URL. Defaults to an empty string. - * @return url - */ - @javax.annotation.Nullable - public String getUrl() { - return url; - } - - public void setUrl(@javax.annotation.Nullable String url) { - this.url = url; - } - - - public NotificationDto level(@javax.annotation.Nullable NotificationLevel level) { - this.level = level; - return this; - } - - /** - * Gets or sets the notification level. - * @return level - */ - @javax.annotation.Nullable - public NotificationLevel getLevel() { - return level; - } - - public void setLevel(@javax.annotation.Nullable NotificationLevel level) { - this.level = level; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - NotificationDto notificationDto = (NotificationDto) o; - return Objects.equals(this.id, notificationDto.id) && - Objects.equals(this.userId, notificationDto.userId) && - Objects.equals(this.date, notificationDto.date) && - Objects.equals(this.isRead, notificationDto.isRead) && - Objects.equals(this.name, notificationDto.name) && - Objects.equals(this.description, notificationDto.description) && - Objects.equals(this.url, notificationDto.url) && - Objects.equals(this.level, notificationDto.level); - } - - @Override - public int hashCode() { - return Objects.hash(id, userId, date, isRead, name, description, url, level); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NotificationDto {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append(" date: ").append(toIndentedString(date)).append("\n"); - sb.append(" isRead: ").append(toIndentedString(isRead)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" url: ").append(toIndentedString(url)).append("\n"); - sb.append(" level: ").append(toIndentedString(level)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Id"); - openapiFields.add("UserId"); - openapiFields.add("Date"); - openapiFields.add("IsRead"); - openapiFields.add("Name"); - openapiFields.add("Description"); - openapiFields.add("Url"); - openapiFields.add("Level"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to NotificationDto - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!NotificationDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in NotificationDto is not found in the empty JSON string", NotificationDto.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!NotificationDto.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `NotificationDto` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Id") != null && !jsonObj.get("Id").isJsonNull()) && !jsonObj.get("Id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Id").toString())); - } - if ((jsonObj.get("UserId") != null && !jsonObj.get("UserId").isJsonNull()) && !jsonObj.get("UserId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `UserId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("UserId").toString())); - } - if ((jsonObj.get("Name") != null && !jsonObj.get("Name").isJsonNull()) && !jsonObj.get("Name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Name").toString())); - } - if ((jsonObj.get("Description") != null && !jsonObj.get("Description").isJsonNull()) && !jsonObj.get("Description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Description").toString())); - } - if ((jsonObj.get("Url") != null && !jsonObj.get("Url").isJsonNull()) && !jsonObj.get("Url").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Url").toString())); - } - // validate the optional field `Level` - if (jsonObj.get("Level") != null && !jsonObj.get("Level").isJsonNull()) { - NotificationLevel.validateJsonElement(jsonObj.get("Level")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!NotificationDto.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'NotificationDto' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(NotificationDto.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, NotificationDto value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public NotificationDto read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of NotificationDto given an JSON string - * - * @param jsonString JSON string - * @return An instance of NotificationDto - * @throws IOException if the JSON string is invalid with respect to NotificationDto - */ - public static NotificationDto fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, NotificationDto.class); - } - - /** - * Convert an instance of NotificationDto to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationsSummaryDto.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationsSummaryDto.java deleted file mode 100644 index 58d3f2ad73d..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/NotificationsSummaryDto.java +++ /dev/null @@ -1,247 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.openapitools.client.model.NotificationLevel; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * The notification summary DTO. - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class NotificationsSummaryDto { - public static final String SERIALIZED_NAME_UNREAD_COUNT = "UnreadCount"; - @SerializedName(SERIALIZED_NAME_UNREAD_COUNT) - @javax.annotation.Nullable - private Integer unreadCount; - - public static final String SERIALIZED_NAME_MAX_UNREAD_NOTIFICATION_LEVEL = "MaxUnreadNotificationLevel"; - @SerializedName(SERIALIZED_NAME_MAX_UNREAD_NOTIFICATION_LEVEL) - @javax.annotation.Nullable - private NotificationLevel maxUnreadNotificationLevel; - - public NotificationsSummaryDto() { - } - - public NotificationsSummaryDto unreadCount(@javax.annotation.Nullable Integer unreadCount) { - this.unreadCount = unreadCount; - return this; - } - - /** - * Gets or sets the number of unread notifications. - * @return unreadCount - */ - @javax.annotation.Nullable - public Integer getUnreadCount() { - return unreadCount; - } - - public void setUnreadCount(@javax.annotation.Nullable Integer unreadCount) { - this.unreadCount = unreadCount; - } - - - public NotificationsSummaryDto maxUnreadNotificationLevel(@javax.annotation.Nullable NotificationLevel maxUnreadNotificationLevel) { - this.maxUnreadNotificationLevel = maxUnreadNotificationLevel; - return this; - } - - /** - * Gets or sets the maximum unread notification level. - * @return maxUnreadNotificationLevel - */ - @javax.annotation.Nullable - public NotificationLevel getMaxUnreadNotificationLevel() { - return maxUnreadNotificationLevel; - } - - public void setMaxUnreadNotificationLevel(@javax.annotation.Nullable NotificationLevel maxUnreadNotificationLevel) { - this.maxUnreadNotificationLevel = maxUnreadNotificationLevel; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - NotificationsSummaryDto notificationsSummaryDto = (NotificationsSummaryDto) o; - return Objects.equals(this.unreadCount, notificationsSummaryDto.unreadCount) && - Objects.equals(this.maxUnreadNotificationLevel, notificationsSummaryDto.maxUnreadNotificationLevel); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(unreadCount, maxUnreadNotificationLevel); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NotificationsSummaryDto {\n"); - sb.append(" unreadCount: ").append(toIndentedString(unreadCount)).append("\n"); - sb.append(" maxUnreadNotificationLevel: ").append(toIndentedString(maxUnreadNotificationLevel)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("UnreadCount"); - openapiFields.add("MaxUnreadNotificationLevel"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to NotificationsSummaryDto - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!NotificationsSummaryDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in NotificationsSummaryDto is not found in the empty JSON string", NotificationsSummaryDto.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!NotificationsSummaryDto.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `NotificationsSummaryDto` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `MaxUnreadNotificationLevel` - if (jsonObj.get("MaxUnreadNotificationLevel") != null && !jsonObj.get("MaxUnreadNotificationLevel").isJsonNull()) { - NotificationLevel.validateJsonElement(jsonObj.get("MaxUnreadNotificationLevel")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!NotificationsSummaryDto.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'NotificationsSummaryDto' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(NotificationsSummaryDto.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, NotificationsSummaryDto value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public NotificationsSummaryDto read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of NotificationsSummaryDto given an JSON string - * - * @param jsonString JSON string - * @return An instance of NotificationsSummaryDto - * @throws IOException if the JSON string is invalid with respect to NotificationsSummaryDto - */ - public static NotificationsSummaryDto fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, NotificationsSummaryDto.class); - } - - /** - * Convert an instance of NotificationsSummaryDto to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportHeader.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportHeader.java deleted file mode 100644 index 50c1d75c323..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportHeader.java +++ /dev/null @@ -1,487 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.openapitools.client.model.HeaderMetadata; -import org.openapitools.client.model.ItemViewType; -import org.openapitools.client.model.ReportDisplayType; -import org.openapitools.client.model.ReportFieldType; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * ReportHeader - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class ReportHeader { - public static final String SERIALIZED_NAME_HEADER_FIELD_TYPE = "HeaderFieldType"; - @SerializedName(SERIALIZED_NAME_HEADER_FIELD_TYPE) - @javax.annotation.Nullable - private ReportFieldType headerFieldType; - - public static final String SERIALIZED_NAME_NAME = "Name"; - @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; - - public static final String SERIALIZED_NAME_FIELD_NAME = "FieldName"; - @SerializedName(SERIALIZED_NAME_FIELD_NAME) - @javax.annotation.Nullable - private HeaderMetadata fieldName; - - public static final String SERIALIZED_NAME_SORT_FIELD = "SortField"; - @SerializedName(SERIALIZED_NAME_SORT_FIELD) - @javax.annotation.Nullable - private String sortField; - - public static final String SERIALIZED_NAME_TYPE = "Type"; - @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; - - public static final String SERIALIZED_NAME_ITEM_VIEW_TYPE = "ItemViewType"; - @SerializedName(SERIALIZED_NAME_ITEM_VIEW_TYPE) - @javax.annotation.Nullable - private ItemViewType itemViewType; - - public static final String SERIALIZED_NAME_VISIBLE = "Visible"; - @SerializedName(SERIALIZED_NAME_VISIBLE) - @javax.annotation.Nullable - private Boolean visible; - - public static final String SERIALIZED_NAME_DISPLAY_TYPE = "DisplayType"; - @SerializedName(SERIALIZED_NAME_DISPLAY_TYPE) - @javax.annotation.Nullable - private ReportDisplayType displayType; - - public static final String SERIALIZED_NAME_SHOW_HEADER_LABEL = "ShowHeaderLabel"; - @SerializedName(SERIALIZED_NAME_SHOW_HEADER_LABEL) - @javax.annotation.Nullable - private Boolean showHeaderLabel; - - public static final String SERIALIZED_NAME_CAN_GROUP = "CanGroup"; - @SerializedName(SERIALIZED_NAME_CAN_GROUP) - @javax.annotation.Nullable - private Boolean canGroup; - - public ReportHeader() { - } - - public ReportHeader headerFieldType(@javax.annotation.Nullable ReportFieldType headerFieldType) { - this.headerFieldType = headerFieldType; - return this; - } - - /** - * Get headerFieldType - * @return headerFieldType - */ - @javax.annotation.Nullable - public ReportFieldType getHeaderFieldType() { - return headerFieldType; - } - - public void setHeaderFieldType(@javax.annotation.Nullable ReportFieldType headerFieldType) { - this.headerFieldType = headerFieldType; - } - - - public ReportHeader name(@javax.annotation.Nullable String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - */ - @javax.annotation.Nullable - public String getName() { - return name; - } - - public void setName(@javax.annotation.Nullable String name) { - this.name = name; - } - - - public ReportHeader fieldName(@javax.annotation.Nullable HeaderMetadata fieldName) { - this.fieldName = fieldName; - return this; - } - - /** - * Get fieldName - * @return fieldName - */ - @javax.annotation.Nullable - public HeaderMetadata getFieldName() { - return fieldName; - } - - public void setFieldName(@javax.annotation.Nullable HeaderMetadata fieldName) { - this.fieldName = fieldName; - } - - - public ReportHeader sortField(@javax.annotation.Nullable String sortField) { - this.sortField = sortField; - return this; - } - - /** - * Get sortField - * @return sortField - */ - @javax.annotation.Nullable - public String getSortField() { - return sortField; - } - - public void setSortField(@javax.annotation.Nullable String sortField) { - this.sortField = sortField; - } - - - public ReportHeader type(@javax.annotation.Nullable String type) { - this.type = type; - return this; - } - - /** - * Get type - * @return type - */ - @javax.annotation.Nullable - public String getType() { - return type; - } - - public void setType(@javax.annotation.Nullable String type) { - this.type = type; - } - - - public ReportHeader itemViewType(@javax.annotation.Nullable ItemViewType itemViewType) { - this.itemViewType = itemViewType; - return this; - } - - /** - * Get itemViewType - * @return itemViewType - */ - @javax.annotation.Nullable - public ItemViewType getItemViewType() { - return itemViewType; - } - - public void setItemViewType(@javax.annotation.Nullable ItemViewType itemViewType) { - this.itemViewType = itemViewType; - } - - - public ReportHeader visible(@javax.annotation.Nullable Boolean visible) { - this.visible = visible; - return this; - } - - /** - * Get visible - * @return visible - */ - @javax.annotation.Nullable - public Boolean getVisible() { - return visible; - } - - public void setVisible(@javax.annotation.Nullable Boolean visible) { - this.visible = visible; - } - - - public ReportHeader displayType(@javax.annotation.Nullable ReportDisplayType displayType) { - this.displayType = displayType; - return this; - } - - /** - * Get displayType - * @return displayType - */ - @javax.annotation.Nullable - public ReportDisplayType getDisplayType() { - return displayType; - } - - public void setDisplayType(@javax.annotation.Nullable ReportDisplayType displayType) { - this.displayType = displayType; - } - - - public ReportHeader showHeaderLabel(@javax.annotation.Nullable Boolean showHeaderLabel) { - this.showHeaderLabel = showHeaderLabel; - return this; - } - - /** - * Get showHeaderLabel - * @return showHeaderLabel - */ - @javax.annotation.Nullable - public Boolean getShowHeaderLabel() { - return showHeaderLabel; - } - - public void setShowHeaderLabel(@javax.annotation.Nullable Boolean showHeaderLabel) { - this.showHeaderLabel = showHeaderLabel; - } - - - public ReportHeader canGroup(@javax.annotation.Nullable Boolean canGroup) { - this.canGroup = canGroup; - return this; - } - - /** - * Get canGroup - * @return canGroup - */ - @javax.annotation.Nullable - public Boolean getCanGroup() { - return canGroup; - } - - public void setCanGroup(@javax.annotation.Nullable Boolean canGroup) { - this.canGroup = canGroup; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ReportHeader reportHeader = (ReportHeader) o; - return Objects.equals(this.headerFieldType, reportHeader.headerFieldType) && - Objects.equals(this.name, reportHeader.name) && - Objects.equals(this.fieldName, reportHeader.fieldName) && - Objects.equals(this.sortField, reportHeader.sortField) && - Objects.equals(this.type, reportHeader.type) && - Objects.equals(this.itemViewType, reportHeader.itemViewType) && - Objects.equals(this.visible, reportHeader.visible) && - Objects.equals(this.displayType, reportHeader.displayType) && - Objects.equals(this.showHeaderLabel, reportHeader.showHeaderLabel) && - Objects.equals(this.canGroup, reportHeader.canGroup); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(headerFieldType, name, fieldName, sortField, type, itemViewType, visible, displayType, showHeaderLabel, canGroup); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ReportHeader {\n"); - sb.append(" headerFieldType: ").append(toIndentedString(headerFieldType)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" fieldName: ").append(toIndentedString(fieldName)).append("\n"); - sb.append(" sortField: ").append(toIndentedString(sortField)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" itemViewType: ").append(toIndentedString(itemViewType)).append("\n"); - sb.append(" visible: ").append(toIndentedString(visible)).append("\n"); - sb.append(" displayType: ").append(toIndentedString(displayType)).append("\n"); - sb.append(" showHeaderLabel: ").append(toIndentedString(showHeaderLabel)).append("\n"); - sb.append(" canGroup: ").append(toIndentedString(canGroup)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("HeaderFieldType"); - openapiFields.add("Name"); - openapiFields.add("FieldName"); - openapiFields.add("SortField"); - openapiFields.add("Type"); - openapiFields.add("ItemViewType"); - openapiFields.add("Visible"); - openapiFields.add("DisplayType"); - openapiFields.add("ShowHeaderLabel"); - openapiFields.add("CanGroup"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ReportHeader - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ReportHeader.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ReportHeader is not found in the empty JSON string", ReportHeader.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ReportHeader.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ReportHeader` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `HeaderFieldType` - if (jsonObj.get("HeaderFieldType") != null && !jsonObj.get("HeaderFieldType").isJsonNull()) { - ReportFieldType.validateJsonElement(jsonObj.get("HeaderFieldType")); - } - if ((jsonObj.get("Name") != null && !jsonObj.get("Name").isJsonNull()) && !jsonObj.get("Name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Name").toString())); - } - // validate the optional field `FieldName` - if (jsonObj.get("FieldName") != null && !jsonObj.get("FieldName").isJsonNull()) { - HeaderMetadata.validateJsonElement(jsonObj.get("FieldName")); - } - if ((jsonObj.get("SortField") != null && !jsonObj.get("SortField").isJsonNull()) && !jsonObj.get("SortField").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `SortField` to be a primitive type in the JSON string but got `%s`", jsonObj.get("SortField").toString())); - } - if ((jsonObj.get("Type") != null && !jsonObj.get("Type").isJsonNull()) && !jsonObj.get("Type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Type").toString())); - } - // validate the optional field `ItemViewType` - if (jsonObj.get("ItemViewType") != null && !jsonObj.get("ItemViewType").isJsonNull()) { - ItemViewType.validateJsonElement(jsonObj.get("ItemViewType")); - } - // validate the optional field `DisplayType` - if (jsonObj.get("DisplayType") != null && !jsonObj.get("DisplayType").isJsonNull()) { - ReportDisplayType.validateJsonElement(jsonObj.get("DisplayType")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ReportHeader.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ReportHeader' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ReportHeader.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ReportHeader value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ReportHeader read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ReportHeader given an JSON string - * - * @param jsonString JSON string - * @return An instance of ReportHeader - * @throws IOException if the JSON string is invalid with respect to ReportHeader - */ - public static ReportHeader fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ReportHeader.class); - } - - /** - * Convert an instance of ReportHeader to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportIncludeItemTypes.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportIncludeItemTypes.java deleted file mode 100644 index 1345a0a29a8..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportIncludeItemTypes.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.annotations.SerializedName; - -import java.io.IOException; -import com.google.gson.TypeAdapter; -import com.google.gson.JsonElement; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; - -/** - * Gets or Sets ReportIncludeItemTypes - */ -@JsonAdapter(ReportIncludeItemTypes.Adapter.class) -public enum ReportIncludeItemTypes { - - MUSIC_ARTIST("MusicArtist"), - - MUSIC_ALBUM("MusicAlbum"), - - BOOK("Book"), - - BOX_SET("BoxSet"), - - EPISODE("Episode"), - - VIDEO("Video"), - - MOVIE("Movie"), - - MUSIC_VIDEO("MusicVideo"), - - TRAILER("Trailer"), - - SEASON("Season"), - - SERIES("Series"), - - AUDIO("Audio"), - - BASE_ITEM("BaseItem"), - - ARTIST("Artist"); - - private String value; - - ReportIncludeItemTypes(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static ReportIncludeItemTypes fromValue(String value) { - for (ReportIncludeItemTypes b : ReportIncludeItemTypes.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final ReportIncludeItemTypes enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public ReportIncludeItemTypes read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return ReportIncludeItemTypes.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - ReportIncludeItemTypes.fromValue(value); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportItem.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportItem.java deleted file mode 100644 index ca406ab3999..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportItem.java +++ /dev/null @@ -1,308 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * ReportItem - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class ReportItem { - public static final String SERIALIZED_NAME_ID = "Id"; - @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private String id; - - public static final String SERIALIZED_NAME_NAME = "Name"; - @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; - - public static final String SERIALIZED_NAME_IMAGE = "Image"; - @SerializedName(SERIALIZED_NAME_IMAGE) - @javax.annotation.Nullable - private String image; - - public static final String SERIALIZED_NAME_CUSTOM_TAG = "CustomTag"; - @SerializedName(SERIALIZED_NAME_CUSTOM_TAG) - @javax.annotation.Nullable - private String customTag; - - public ReportItem() { - } - - public ReportItem id(@javax.annotation.Nullable String id) { - this.id = id; - return this; - } - - /** - * Get id - * @return id - */ - @javax.annotation.Nullable - public String getId() { - return id; - } - - public void setId(@javax.annotation.Nullable String id) { - this.id = id; - } - - - public ReportItem name(@javax.annotation.Nullable String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - */ - @javax.annotation.Nullable - public String getName() { - return name; - } - - public void setName(@javax.annotation.Nullable String name) { - this.name = name; - } - - - public ReportItem image(@javax.annotation.Nullable String image) { - this.image = image; - return this; - } - - /** - * Get image - * @return image - */ - @javax.annotation.Nullable - public String getImage() { - return image; - } - - public void setImage(@javax.annotation.Nullable String image) { - this.image = image; - } - - - public ReportItem customTag(@javax.annotation.Nullable String customTag) { - this.customTag = customTag; - return this; - } - - /** - * Get customTag - * @return customTag - */ - @javax.annotation.Nullable - public String getCustomTag() { - return customTag; - } - - public void setCustomTag(@javax.annotation.Nullable String customTag) { - this.customTag = customTag; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ReportItem reportItem = (ReportItem) o; - return Objects.equals(this.id, reportItem.id) && - Objects.equals(this.name, reportItem.name) && - Objects.equals(this.image, reportItem.image) && - Objects.equals(this.customTag, reportItem.customTag); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(id, name, image, customTag); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ReportItem {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" image: ").append(toIndentedString(image)).append("\n"); - sb.append(" customTag: ").append(toIndentedString(customTag)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Id"); - openapiFields.add("Name"); - openapiFields.add("Image"); - openapiFields.add("CustomTag"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ReportItem - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ReportItem.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ReportItem is not found in the empty JSON string", ReportItem.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ReportItem.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ReportItem` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Id") != null && !jsonObj.get("Id").isJsonNull()) && !jsonObj.get("Id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Id").toString())); - } - if ((jsonObj.get("Name") != null && !jsonObj.get("Name").isJsonNull()) && !jsonObj.get("Name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Name").toString())); - } - if ((jsonObj.get("Image") != null && !jsonObj.get("Image").isJsonNull()) && !jsonObj.get("Image").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Image` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Image").toString())); - } - if ((jsonObj.get("CustomTag") != null && !jsonObj.get("CustomTag").isJsonNull()) && !jsonObj.get("CustomTag").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `CustomTag` to be a primitive type in the JSON string but got `%s`", jsonObj.get("CustomTag").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ReportItem.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ReportItem' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ReportItem.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ReportItem value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ReportItem read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ReportItem given an JSON string - * - * @param jsonString JSON string - * @return An instance of ReportItem - * @throws IOException if the JSON string is invalid with respect to ReportItem - */ - public static ReportItem fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ReportItem.class); - } - - /** - * Convert an instance of ReportItem to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportResult.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportResult.java deleted file mode 100644 index 786cd918e1b..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportResult.java +++ /dev/null @@ -1,394 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.openapitools.client.model.ReportGroup; -import org.openapitools.client.model.ReportHeader; -import org.openapitools.client.model.ReportRow; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * ReportResult - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class ReportResult { - public static final String SERIALIZED_NAME_ROWS = "Rows"; - @SerializedName(SERIALIZED_NAME_ROWS) - @javax.annotation.Nullable - private List rows; - - public static final String SERIALIZED_NAME_HEADERS = "Headers"; - @SerializedName(SERIALIZED_NAME_HEADERS) - @javax.annotation.Nullable - private List headers; - - public static final String SERIALIZED_NAME_GROUPS = "Groups"; - @SerializedName(SERIALIZED_NAME_GROUPS) - @javax.annotation.Nullable - private List groups; - - public static final String SERIALIZED_NAME_TOTAL_RECORD_COUNT = "TotalRecordCount"; - @SerializedName(SERIALIZED_NAME_TOTAL_RECORD_COUNT) - @javax.annotation.Nullable - private Integer totalRecordCount; - - public static final String SERIALIZED_NAME_IS_GROUPED = "IsGrouped"; - @SerializedName(SERIALIZED_NAME_IS_GROUPED) - @javax.annotation.Nullable - private Boolean isGrouped; - - public ReportResult() { - } - - public ReportResult rows(@javax.annotation.Nullable List rows) { - this.rows = rows; - return this; - } - - public ReportResult addRowsItem(ReportRow rowsItem) { - if (this.rows == null) { - this.rows = new ArrayList<>(); - } - this.rows.add(rowsItem); - return this; - } - - /** - * Get rows - * @return rows - */ - @javax.annotation.Nullable - public List getRows() { - return rows; - } - - public void setRows(@javax.annotation.Nullable List rows) { - this.rows = rows; - } - - - public ReportResult headers(@javax.annotation.Nullable List headers) { - this.headers = headers; - return this; - } - - public ReportResult addHeadersItem(ReportHeader headersItem) { - if (this.headers == null) { - this.headers = new ArrayList<>(); - } - this.headers.add(headersItem); - return this; - } - - /** - * Get headers - * @return headers - */ - @javax.annotation.Nullable - public List getHeaders() { - return headers; - } - - public void setHeaders(@javax.annotation.Nullable List headers) { - this.headers = headers; - } - - - public ReportResult groups(@javax.annotation.Nullable List groups) { - this.groups = groups; - return this; - } - - public ReportResult addGroupsItem(ReportGroup groupsItem) { - if (this.groups == null) { - this.groups = new ArrayList<>(); - } - this.groups.add(groupsItem); - return this; - } - - /** - * Get groups - * @return groups - */ - @javax.annotation.Nullable - public List getGroups() { - return groups; - } - - public void setGroups(@javax.annotation.Nullable List groups) { - this.groups = groups; - } - - - public ReportResult totalRecordCount(@javax.annotation.Nullable Integer totalRecordCount) { - this.totalRecordCount = totalRecordCount; - return this; - } - - /** - * Get totalRecordCount - * @return totalRecordCount - */ - @javax.annotation.Nullable - public Integer getTotalRecordCount() { - return totalRecordCount; - } - - public void setTotalRecordCount(@javax.annotation.Nullable Integer totalRecordCount) { - this.totalRecordCount = totalRecordCount; - } - - - public ReportResult isGrouped(@javax.annotation.Nullable Boolean isGrouped) { - this.isGrouped = isGrouped; - return this; - } - - /** - * Get isGrouped - * @return isGrouped - */ - @javax.annotation.Nullable - public Boolean getIsGrouped() { - return isGrouped; - } - - public void setIsGrouped(@javax.annotation.Nullable Boolean isGrouped) { - this.isGrouped = isGrouped; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ReportResult reportResult = (ReportResult) o; - return Objects.equals(this.rows, reportResult.rows) && - Objects.equals(this.headers, reportResult.headers) && - Objects.equals(this.groups, reportResult.groups) && - Objects.equals(this.totalRecordCount, reportResult.totalRecordCount) && - Objects.equals(this.isGrouped, reportResult.isGrouped); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(rows, headers, groups, totalRecordCount, isGrouped); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ReportResult {\n"); - sb.append(" rows: ").append(toIndentedString(rows)).append("\n"); - sb.append(" headers: ").append(toIndentedString(headers)).append("\n"); - sb.append(" groups: ").append(toIndentedString(groups)).append("\n"); - sb.append(" totalRecordCount: ").append(toIndentedString(totalRecordCount)).append("\n"); - sb.append(" isGrouped: ").append(toIndentedString(isGrouped)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Rows"); - openapiFields.add("Headers"); - openapiFields.add("Groups"); - openapiFields.add("TotalRecordCount"); - openapiFields.add("IsGrouped"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ReportResult - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ReportResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ReportResult is not found in the empty JSON string", ReportResult.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ReportResult.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ReportResult` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (jsonObj.get("Rows") != null && !jsonObj.get("Rows").isJsonNull()) { - JsonArray jsonArrayrows = jsonObj.getAsJsonArray("Rows"); - if (jsonArrayrows != null) { - // ensure the json data is an array - if (!jsonObj.get("Rows").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `Rows` to be an array in the JSON string but got `%s`", jsonObj.get("Rows").toString())); - } - - // validate the optional field `Rows` (array) - for (int i = 0; i < jsonArrayrows.size(); i++) { - ReportRow.validateJsonElement(jsonArrayrows.get(i)); - }; - } - } - if (jsonObj.get("Headers") != null && !jsonObj.get("Headers").isJsonNull()) { - JsonArray jsonArrayheaders = jsonObj.getAsJsonArray("Headers"); - if (jsonArrayheaders != null) { - // ensure the json data is an array - if (!jsonObj.get("Headers").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `Headers` to be an array in the JSON string but got `%s`", jsonObj.get("Headers").toString())); - } - - // validate the optional field `Headers` (array) - for (int i = 0; i < jsonArrayheaders.size(); i++) { - ReportHeader.validateJsonElement(jsonArrayheaders.get(i)); - }; - } - } - if (jsonObj.get("Groups") != null && !jsonObj.get("Groups").isJsonNull()) { - JsonArray jsonArraygroups = jsonObj.getAsJsonArray("Groups"); - if (jsonArraygroups != null) { - // ensure the json data is an array - if (!jsonObj.get("Groups").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `Groups` to be an array in the JSON string but got `%s`", jsonObj.get("Groups").toString())); - } - - // validate the optional field `Groups` (array) - for (int i = 0; i < jsonArraygroups.size(); i++) { - ReportGroup.validateJsonElement(jsonArraygroups.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ReportResult.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ReportResult' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ReportResult.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ReportResult value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ReportResult read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ReportResult given an JSON string - * - * @param jsonString JSON string - * @return An instance of ReportResult - * @throws IOException if the JSON string is invalid with respect to ReportResult - */ - public static ReportResult fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ReportResult.class); - } - - /** - * Convert an instance of ReportResult to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportRow.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportRow.java deleted file mode 100644 index 786ac558254..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.10.3/src/main/java/org/openapitools/client/model/ReportRow.java +++ /dev/null @@ -1,549 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.UUID; -import org.openapitools.client.model.ReportIncludeItemTypes; -import org.openapitools.client.model.ReportItem; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * ReportRow - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:33:44.988406688+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class ReportRow { - public static final String SERIALIZED_NAME_ID = "Id"; - @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private String id; - - public static final String SERIALIZED_NAME_HAS_IMAGE_TAGS_BACKDROP = "HasImageTagsBackdrop"; - @SerializedName(SERIALIZED_NAME_HAS_IMAGE_TAGS_BACKDROP) - @javax.annotation.Nullable - private Boolean hasImageTagsBackdrop; - - public static final String SERIALIZED_NAME_HAS_IMAGE_TAGS_PRIMARY = "HasImageTagsPrimary"; - @SerializedName(SERIALIZED_NAME_HAS_IMAGE_TAGS_PRIMARY) - @javax.annotation.Nullable - private Boolean hasImageTagsPrimary; - - public static final String SERIALIZED_NAME_HAS_IMAGE_TAGS_LOGO = "HasImageTagsLogo"; - @SerializedName(SERIALIZED_NAME_HAS_IMAGE_TAGS_LOGO) - @javax.annotation.Nullable - private Boolean hasImageTagsLogo; - - public static final String SERIALIZED_NAME_HAS_LOCAL_TRAILER = "HasLocalTrailer"; - @SerializedName(SERIALIZED_NAME_HAS_LOCAL_TRAILER) - @javax.annotation.Nullable - private Boolean hasLocalTrailer; - - public static final String SERIALIZED_NAME_HAS_LOCK_DATA = "HasLockData"; - @SerializedName(SERIALIZED_NAME_HAS_LOCK_DATA) - @javax.annotation.Nullable - private Boolean hasLockData; - - public static final String SERIALIZED_NAME_HAS_EMBEDDED_IMAGE = "HasEmbeddedImage"; - @SerializedName(SERIALIZED_NAME_HAS_EMBEDDED_IMAGE) - @javax.annotation.Nullable - private Boolean hasEmbeddedImage; - - public static final String SERIALIZED_NAME_HAS_SUBTITLES = "HasSubtitles"; - @SerializedName(SERIALIZED_NAME_HAS_SUBTITLES) - @javax.annotation.Nullable - private Boolean hasSubtitles; - - public static final String SERIALIZED_NAME_HAS_SPECIALS = "HasSpecials"; - @SerializedName(SERIALIZED_NAME_HAS_SPECIALS) - @javax.annotation.Nullable - private Boolean hasSpecials; - - public static final String SERIALIZED_NAME_COLUMNS = "Columns"; - @SerializedName(SERIALIZED_NAME_COLUMNS) - @javax.annotation.Nullable - private List columns; - - public static final String SERIALIZED_NAME_ROW_TYPE = "RowType"; - @SerializedName(SERIALIZED_NAME_ROW_TYPE) - @javax.annotation.Nullable - private ReportIncludeItemTypes rowType; - - public static final String SERIALIZED_NAME_USER_ID = "UserId"; - @SerializedName(SERIALIZED_NAME_USER_ID) - @javax.annotation.Nullable - private UUID userId; - - public ReportRow() { - } - - public ReportRow id(@javax.annotation.Nullable String id) { - this.id = id; - return this; - } - - /** - * Get id - * @return id - */ - @javax.annotation.Nullable - public String getId() { - return id; - } - - public void setId(@javax.annotation.Nullable String id) { - this.id = id; - } - - - public ReportRow hasImageTagsBackdrop(@javax.annotation.Nullable Boolean hasImageTagsBackdrop) { - this.hasImageTagsBackdrop = hasImageTagsBackdrop; - return this; - } - - /** - * Get hasImageTagsBackdrop - * @return hasImageTagsBackdrop - */ - @javax.annotation.Nullable - public Boolean getHasImageTagsBackdrop() { - return hasImageTagsBackdrop; - } - - public void setHasImageTagsBackdrop(@javax.annotation.Nullable Boolean hasImageTagsBackdrop) { - this.hasImageTagsBackdrop = hasImageTagsBackdrop; - } - - - public ReportRow hasImageTagsPrimary(@javax.annotation.Nullable Boolean hasImageTagsPrimary) { - this.hasImageTagsPrimary = hasImageTagsPrimary; - return this; - } - - /** - * Get hasImageTagsPrimary - * @return hasImageTagsPrimary - */ - @javax.annotation.Nullable - public Boolean getHasImageTagsPrimary() { - return hasImageTagsPrimary; - } - - public void setHasImageTagsPrimary(@javax.annotation.Nullable Boolean hasImageTagsPrimary) { - this.hasImageTagsPrimary = hasImageTagsPrimary; - } - - - public ReportRow hasImageTagsLogo(@javax.annotation.Nullable Boolean hasImageTagsLogo) { - this.hasImageTagsLogo = hasImageTagsLogo; - return this; - } - - /** - * Get hasImageTagsLogo - * @return hasImageTagsLogo - */ - @javax.annotation.Nullable - public Boolean getHasImageTagsLogo() { - return hasImageTagsLogo; - } - - public void setHasImageTagsLogo(@javax.annotation.Nullable Boolean hasImageTagsLogo) { - this.hasImageTagsLogo = hasImageTagsLogo; - } - - - public ReportRow hasLocalTrailer(@javax.annotation.Nullable Boolean hasLocalTrailer) { - this.hasLocalTrailer = hasLocalTrailer; - return this; - } - - /** - * Get hasLocalTrailer - * @return hasLocalTrailer - */ - @javax.annotation.Nullable - public Boolean getHasLocalTrailer() { - return hasLocalTrailer; - } - - public void setHasLocalTrailer(@javax.annotation.Nullable Boolean hasLocalTrailer) { - this.hasLocalTrailer = hasLocalTrailer; - } - - - public ReportRow hasLockData(@javax.annotation.Nullable Boolean hasLockData) { - this.hasLockData = hasLockData; - return this; - } - - /** - * Get hasLockData - * @return hasLockData - */ - @javax.annotation.Nullable - public Boolean getHasLockData() { - return hasLockData; - } - - public void setHasLockData(@javax.annotation.Nullable Boolean hasLockData) { - this.hasLockData = hasLockData; - } - - - public ReportRow hasEmbeddedImage(@javax.annotation.Nullable Boolean hasEmbeddedImage) { - this.hasEmbeddedImage = hasEmbeddedImage; - return this; - } - - /** - * Get hasEmbeddedImage - * @return hasEmbeddedImage - */ - @javax.annotation.Nullable - public Boolean getHasEmbeddedImage() { - return hasEmbeddedImage; - } - - public void setHasEmbeddedImage(@javax.annotation.Nullable Boolean hasEmbeddedImage) { - this.hasEmbeddedImage = hasEmbeddedImage; - } - - - public ReportRow hasSubtitles(@javax.annotation.Nullable Boolean hasSubtitles) { - this.hasSubtitles = hasSubtitles; - return this; - } - - /** - * Get hasSubtitles - * @return hasSubtitles - */ - @javax.annotation.Nullable - public Boolean getHasSubtitles() { - return hasSubtitles; - } - - public void setHasSubtitles(@javax.annotation.Nullable Boolean hasSubtitles) { - this.hasSubtitles = hasSubtitles; - } - - - public ReportRow hasSpecials(@javax.annotation.Nullable Boolean hasSpecials) { - this.hasSpecials = hasSpecials; - return this; - } - - /** - * Get hasSpecials - * @return hasSpecials - */ - @javax.annotation.Nullable - public Boolean getHasSpecials() { - return hasSpecials; - } - - public void setHasSpecials(@javax.annotation.Nullable Boolean hasSpecials) { - this.hasSpecials = hasSpecials; - } - - - public ReportRow columns(@javax.annotation.Nullable List columns) { - this.columns = columns; - return this; - } - - public ReportRow addColumnsItem(ReportItem columnsItem) { - if (this.columns == null) { - this.columns = new ArrayList<>(); - } - this.columns.add(columnsItem); - return this; - } - - /** - * Get columns - * @return columns - */ - @javax.annotation.Nullable - public List getColumns() { - return columns; - } - - public void setColumns(@javax.annotation.Nullable List columns) { - this.columns = columns; - } - - - public ReportRow rowType(@javax.annotation.Nullable ReportIncludeItemTypes rowType) { - this.rowType = rowType; - return this; - } - - /** - * Get rowType - * @return rowType - */ - @javax.annotation.Nullable - public ReportIncludeItemTypes getRowType() { - return rowType; - } - - public void setRowType(@javax.annotation.Nullable ReportIncludeItemTypes rowType) { - this.rowType = rowType; - } - - - public ReportRow userId(@javax.annotation.Nullable UUID userId) { - this.userId = userId; - return this; - } - - /** - * Get userId - * @return userId - */ - @javax.annotation.Nullable - public UUID getUserId() { - return userId; - } - - public void setUserId(@javax.annotation.Nullable UUID userId) { - this.userId = userId; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ReportRow reportRow = (ReportRow) o; - return Objects.equals(this.id, reportRow.id) && - Objects.equals(this.hasImageTagsBackdrop, reportRow.hasImageTagsBackdrop) && - Objects.equals(this.hasImageTagsPrimary, reportRow.hasImageTagsPrimary) && - Objects.equals(this.hasImageTagsLogo, reportRow.hasImageTagsLogo) && - Objects.equals(this.hasLocalTrailer, reportRow.hasLocalTrailer) && - Objects.equals(this.hasLockData, reportRow.hasLockData) && - Objects.equals(this.hasEmbeddedImage, reportRow.hasEmbeddedImage) && - Objects.equals(this.hasSubtitles, reportRow.hasSubtitles) && - Objects.equals(this.hasSpecials, reportRow.hasSpecials) && - Objects.equals(this.columns, reportRow.columns) && - Objects.equals(this.rowType, reportRow.rowType) && - Objects.equals(this.userId, reportRow.userId); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(id, hasImageTagsBackdrop, hasImageTagsPrimary, hasImageTagsLogo, hasLocalTrailer, hasLockData, hasEmbeddedImage, hasSubtitles, hasSpecials, columns, rowType, userId); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ReportRow {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" hasImageTagsBackdrop: ").append(toIndentedString(hasImageTagsBackdrop)).append("\n"); - sb.append(" hasImageTagsPrimary: ").append(toIndentedString(hasImageTagsPrimary)).append("\n"); - sb.append(" hasImageTagsLogo: ").append(toIndentedString(hasImageTagsLogo)).append("\n"); - sb.append(" hasLocalTrailer: ").append(toIndentedString(hasLocalTrailer)).append("\n"); - sb.append(" hasLockData: ").append(toIndentedString(hasLockData)).append("\n"); - sb.append(" hasEmbeddedImage: ").append(toIndentedString(hasEmbeddedImage)).append("\n"); - sb.append(" hasSubtitles: ").append(toIndentedString(hasSubtitles)).append("\n"); - sb.append(" hasSpecials: ").append(toIndentedString(hasSpecials)).append("\n"); - sb.append(" columns: ").append(toIndentedString(columns)).append("\n"); - sb.append(" rowType: ").append(toIndentedString(rowType)).append("\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Id"); - openapiFields.add("HasImageTagsBackdrop"); - openapiFields.add("HasImageTagsPrimary"); - openapiFields.add("HasImageTagsLogo"); - openapiFields.add("HasLocalTrailer"); - openapiFields.add("HasLockData"); - openapiFields.add("HasEmbeddedImage"); - openapiFields.add("HasSubtitles"); - openapiFields.add("HasSpecials"); - openapiFields.add("Columns"); - openapiFields.add("RowType"); - openapiFields.add("UserId"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ReportRow - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ReportRow.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ReportRow is not found in the empty JSON string", ReportRow.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ReportRow.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ReportRow` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Id") != null && !jsonObj.get("Id").isJsonNull()) && !jsonObj.get("Id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Id").toString())); - } - if (jsonObj.get("Columns") != null && !jsonObj.get("Columns").isJsonNull()) { - JsonArray jsonArraycolumns = jsonObj.getAsJsonArray("Columns"); - if (jsonArraycolumns != null) { - // ensure the json data is an array - if (!jsonObj.get("Columns").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `Columns` to be an array in the JSON string but got `%s`", jsonObj.get("Columns").toString())); - } - - // validate the optional field `Columns` (array) - for (int i = 0; i < jsonArraycolumns.size(); i++) { - ReportItem.validateJsonElement(jsonArraycolumns.get(i)); - }; - } - } - // validate the optional field `RowType` - if (jsonObj.get("RowType") != null && !jsonObj.get("RowType").isJsonNull()) { - ReportIncludeItemTypes.validateJsonElement(jsonObj.get("RowType")); - } - if ((jsonObj.get("UserId") != null && !jsonObj.get("UserId").isJsonNull()) && !jsonObj.get("UserId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `UserId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("UserId").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ReportRow.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ReportRow' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ReportRow.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ReportRow value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ReportRow read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ReportRow given an JSON string - * - * @param jsonString JSON string - * @return An instance of ReportRow - * @throws IOException if the JSON string is invalid with respect to ReportRow - */ - public static ReportRow fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ReportRow.class); - } - - /** - * Convert an instance of ReportRow to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AdminNotificationDto.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AdminNotificationDto.md deleted file mode 100644 index 2c1d230f5f5..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AdminNotificationDto.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# AdminNotificationDto - -The admin notification dto. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**name** | **String** | Gets or sets the notification name. | [optional] | -|**description** | **String** | Gets or sets the notification description. | [optional] | -|**notificationLevel** | **NotificationLevel** | Gets or sets the notification level. | [optional] | -|**url** | **String** | Gets or sets the notification url. | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/Architecture.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/Architecture.md deleted file mode 100644 index 02793b4706c..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/Architecture.md +++ /dev/null @@ -1,21 +0,0 @@ - - -# Architecture - -## Enum - - -* `X86` (value: `"X86"`) - -* `X64` (value: `"X64"`) - -* `ARM` (value: `"Arm"`) - -* `ARM64` (value: `"Arm64"`) - -* `WASM` (value: `"Wasm"`) - -* `S390X` (value: `"S390x"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AuthenticationResult.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AuthenticationResult.md deleted file mode 100644 index 1cb99fa060d..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/AuthenticationResult.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# AuthenticationResult - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**user** | [**UserDto**](UserDto.md) | Class UserDto. | [optional] | -|**sessionInfo** | [**SessionInfo**](SessionInfo.md) | Class SessionInfo. | [optional] | -|**accessToken** | **String** | | [optional] | -|**serverId** | **String** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BaseItem.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BaseItem.md deleted file mode 100644 index e0c9a715e7e..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/BaseItem.md +++ /dev/null @@ -1,24 +0,0 @@ - - -# BaseItem - -Class BaseItem. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**size** | **Long** | | [optional] | -|**container** | **String** | | [optional] | -|**isHD** | **Boolean** | | [optional] [readonly] | -|**isShortcut** | **Boolean** | | [optional] | -|**shortcutPath** | **String** | | [optional] | -|**width** | **Integer** | | [optional] | -|**height** | **Integer** | | [optional] | -|**extraIds** | **List<UUID>** | | [optional] | -|**dateLastSaved** | **OffsetDateTime** | | [optional] | -|**remoteTrailers** | [**List<MediaUrl>**](MediaUrl.md) | Gets or sets the remote trailers. | [optional] | -|**supportsExternalTransfer** | **Boolean** | | [optional] [readonly] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ClientCapabilities.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ClientCapabilities.md deleted file mode 100644 index f25369136c1..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ClientCapabilities.md +++ /dev/null @@ -1,22 +0,0 @@ - - -# ClientCapabilities - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**playableMediaTypes** | **List<String>** | | [optional] | -|**supportedCommands** | **List<GeneralCommandType>** | | [optional] | -|**supportsMediaControl** | **Boolean** | | [optional] | -|**supportsContentUploading** | **Boolean** | | [optional] | -|**messageCallbackUrl** | **String** | | [optional] | -|**supportsPersistentIdentifier** | **Boolean** | | [optional] | -|**supportsSync** | **Boolean** | | [optional] | -|**deviceProfile** | [**DeviceProfile**](DeviceProfile.md) | A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play. <br /> Specifically, it defines the supported <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles\">containers</see> and <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles\">codecs</see> (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles\">containers/codecs to transcode to</see> in case it isn't. | [optional] | -|**appStoreUrl** | **String** | | [optional] | -|**iconUrl** | **String** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CodecProfile.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CodecProfile.md deleted file mode 100644 index 490501bd234..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CodecProfile.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# CodecProfile - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**type** | **CodecType** | | [optional] | -|**conditions** | [**List<ProfileCondition>**](ProfileCondition.md) | | [optional] | -|**applyConditions** | [**List<ProfileCondition>**](ProfileCondition.md) | | [optional] | -|**codec** | **String** | | [optional] | -|**container** | **String** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CollectionTypeOptions.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CollectionTypeOptions.md deleted file mode 100644 index 05dedeb16d3..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CollectionTypeOptions.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# CollectionTypeOptions - -## Enum - - -* `MOVIES` (value: `"Movies"`) - -* `TV_SHOWS` (value: `"TvShows"`) - -* `MUSIC` (value: `"Music"`) - -* `MUSIC_VIDEOS` (value: `"MusicVideos"`) - -* `HOME_VIDEOS` (value: `"HomeVideos"`) - -* `BOX_SETS` (value: `"BoxSets"`) - -* `BOOKS` (value: `"Books"`) - -* `MIXED` (value: `"Mixed"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ContainerProfile.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ContainerProfile.md deleted file mode 100644 index ed6b75dc6c7..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ContainerProfile.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# ContainerProfile - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**type** | **DlnaProfileType** | | [optional] | -|**conditions** | [**List<ProfileCondition>**](ProfileCondition.md) | | [optional] | -|**container** | **String** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ControlResponse.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ControlResponse.md deleted file mode 100644 index 92bcb437ab8..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ControlResponse.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# ControlResponse - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**headers** | **Map<String, String>** | | [optional] [readonly] | -|**xml** | **String** | | [optional] | -|**isSuccessful** | **Boolean** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CustomQueryData.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CustomQueryData.md deleted file mode 100644 index 5998f12e0fd..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/CustomQueryData.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# CustomQueryData - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**customQueryString** | **String** | | [optional] | -|**replaceUserId** | **Boolean** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceIdentification.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceIdentification.md deleted file mode 100644 index e9ccb2465f4..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceIdentification.md +++ /dev/null @@ -1,21 +0,0 @@ - - -# DeviceIdentification - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**friendlyName** | **String** | Gets or sets the name of the friendly. | [optional] | -|**modelNumber** | **String** | Gets or sets the model number. | [optional] | -|**serialNumber** | **String** | Gets or sets the serial number. | [optional] | -|**modelName** | **String** | Gets or sets the name of the model. | [optional] | -|**modelDescription** | **String** | Gets or sets the model description. | [optional] | -|**modelUrl** | **String** | Gets or sets the model URL. | [optional] | -|**manufacturer** | **String** | Gets or sets the manufacturer. | [optional] | -|**manufacturerUrl** | **String** | Gets or sets the manufacturer URL. | [optional] | -|**headers** | [**List<HttpHeaderInfo>**](HttpHeaderInfo.md) | Gets or sets the headers. | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceOptions.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceOptions.md deleted file mode 100644 index 0654ae63ff1..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceOptions.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# DeviceOptions - -An entity representing custom options for a device. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**id** | **Integer** | Gets the id. | [optional] [readonly] | -|**deviceId** | **String** | Gets the device id. | [optional] | -|**customName** | **String** | Gets or sets the custom name. | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceProfile.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceProfile.md deleted file mode 100644 index d040bb974f5..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceProfile.md +++ /dev/null @@ -1,52 +0,0 @@ - - -# DeviceProfile - -A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.
Specifically, it defines the supported containers and codecs (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which containers/codecs to transcode to in case it isn't. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**name** | **String** | Gets or sets the name of this device profile. | [optional] | -|**id** | **String** | Gets or sets the Id. | [optional] | -|**identification** | [**DeviceIdentification**](DeviceIdentification.md) | Gets or sets the Identification. | [optional] | -|**friendlyName** | **String** | Gets or sets the friendly name of the device profile, which can be shown to users. | [optional] | -|**manufacturer** | **String** | Gets or sets the manufacturer of the device which this profile represents. | [optional] | -|**manufacturerUrl** | **String** | Gets or sets an url for the manufacturer of the device which this profile represents. | [optional] | -|**modelName** | **String** | Gets or sets the model name of the device which this profile represents. | [optional] | -|**modelDescription** | **String** | Gets or sets the model description of the device which this profile represents. | [optional] | -|**modelNumber** | **String** | Gets or sets the model number of the device which this profile represents. | [optional] | -|**modelUrl** | **String** | Gets or sets the ModelUrl. | [optional] | -|**serialNumber** | **String** | Gets or sets the serial number of the device which this profile represents. | [optional] | -|**enableAlbumArtInDidl** | **Boolean** | Gets or sets a value indicating whether EnableAlbumArtInDidl. | [optional] | -|**enableSingleAlbumArtLimit** | **Boolean** | Gets or sets a value indicating whether EnableSingleAlbumArtLimit. | [optional] | -|**enableSingleSubtitleLimit** | **Boolean** | Gets or sets a value indicating whether EnableSingleSubtitleLimit. | [optional] | -|**supportedMediaTypes** | **String** | Gets or sets the SupportedMediaTypes. | [optional] | -|**userId** | **String** | Gets or sets the UserId. | [optional] | -|**albumArtPn** | **String** | Gets or sets the AlbumArtPn. | [optional] | -|**maxAlbumArtWidth** | **Integer** | Gets or sets the MaxAlbumArtWidth. | [optional] | -|**maxAlbumArtHeight** | **Integer** | Gets or sets the MaxAlbumArtHeight. | [optional] | -|**maxIconWidth** | **Integer** | Gets or sets the maximum allowed width of embedded icons. | [optional] | -|**maxIconHeight** | **Integer** | Gets or sets the maximum allowed height of embedded icons. | [optional] | -|**maxStreamingBitrate** | **Integer** | Gets or sets the maximum allowed bitrate for all streamed content. | [optional] | -|**maxStaticBitrate** | **Integer** | Gets or sets the maximum allowed bitrate for statically streamed content (= direct played files). | [optional] | -|**musicStreamingTranscodingBitrate** | **Integer** | Gets or sets the maximum allowed bitrate for transcoded music streams. | [optional] | -|**maxStaticMusicBitrate** | **Integer** | Gets or sets the maximum allowed bitrate for statically streamed (= direct played) music files. | [optional] | -|**sonyAggregationFlags** | **String** | Gets or sets the content of the aggregationFlags element in the urn:schemas-sonycom:av namespace. | [optional] | -|**protocolInfo** | **String** | Gets or sets the ProtocolInfo. | [optional] | -|**timelineOffsetSeconds** | **Integer** | Gets or sets the TimelineOffsetSeconds. | [optional] | -|**requiresPlainVideoItems** | **Boolean** | Gets or sets a value indicating whether RequiresPlainVideoItems. | [optional] | -|**requiresPlainFolders** | **Boolean** | Gets or sets a value indicating whether RequiresPlainFolders. | [optional] | -|**enableMSMediaReceiverRegistrar** | **Boolean** | Gets or sets a value indicating whether EnableMSMediaReceiverRegistrar. | [optional] | -|**ignoreTranscodeByteRangeRequests** | **Boolean** | Gets or sets a value indicating whether IgnoreTranscodeByteRangeRequests. | [optional] | -|**xmlRootAttributes** | [**List<XmlAttribute>**](XmlAttribute.md) | Gets or sets the XmlRootAttributes. | [optional] | -|**directPlayProfiles** | [**List<DirectPlayProfile>**](DirectPlayProfile.md) | Gets or sets the direct play profiles. | [optional] | -|**transcodingProfiles** | [**List<TranscodingProfile>**](TranscodingProfile.md) | Gets or sets the transcoding profiles. | [optional] | -|**containerProfiles** | [**List<ContainerProfile>**](ContainerProfile.md) | Gets or sets the container profiles. | [optional] | -|**codecProfiles** | [**List<CodecProfile>**](CodecProfile.md) | Gets or sets the codec profiles. | [optional] | -|**responseProfiles** | [**List<ResponseProfile>**](ResponseProfile.md) | Gets or sets the ResponseProfiles. | [optional] | -|**subtitleProfiles** | [**List<SubtitleProfile>**](SubtitleProfile.md) | Gets or sets the subtitle profiles. | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceProfileInfo.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceProfileInfo.md deleted file mode 100644 index 02a4c7918eb..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceProfileInfo.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# DeviceProfileInfo - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**id** | **String** | Gets or sets the identifier. | [optional] | -|**name** | **String** | Gets or sets the name. | [optional] | -|**type** | **DeviceProfileType** | Gets or sets the type. | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceProfileType.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceProfileType.md deleted file mode 100644 index 93db8fe3247..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DeviceProfileType.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# DeviceProfileType - -## Enum - - -* `SYSTEM` (value: `"System"`) - -* `USER` (value: `"User"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DirectPlayProfile.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DirectPlayProfile.md deleted file mode 100644 index b4133088a56..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DirectPlayProfile.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# DirectPlayProfile - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**container** | **String** | | [optional] | -|**audioCodec** | **String** | | [optional] | -|**videoCodec** | **String** | | [optional] | -|**type** | **DlnaProfileType** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DlnaOptions.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DlnaOptions.md deleted file mode 100644 index 3a3361849e0..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/DlnaOptions.md +++ /dev/null @@ -1,24 +0,0 @@ - - -# DlnaOptions - -The DlnaOptions class contains the user definable parameters for the dlna subsystems. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**enablePlayTo** | **Boolean** | Gets or sets a value indicating whether gets or sets a value to indicate the status of the dlna playTo subsystem. | [optional] | -|**enableServer** | **Boolean** | Gets or sets a value indicating whether gets or sets a value to indicate the status of the dlna server subsystem. | [optional] | -|**enableDebugLog** | **Boolean** | Gets or sets a value indicating whether detailed dlna server logs are sent to the console/log. If the setting \"Emby.Dlna\": \"Debug\" msut be set in logging.default.json for this property to work. | [optional] | -|**enablePlayToTracing** | **Boolean** | Gets or sets a value indicating whether whether detailed playTo debug logs are sent to the console/log. If the setting \"Emby.Dlna.PlayTo\": \"Debug\" msut be set in logging.default.json for this property to work. | [optional] | -|**clientDiscoveryIntervalSeconds** | **Integer** | Gets or sets the ssdp client discovery interval time (in seconds). This is the time after which the server will send a ssdp search request. | [optional] | -|**aliveMessageIntervalSeconds** | **Integer** | Gets or sets the frequency at which ssdp alive notifications are transmitted. | [optional] | -|**blastAliveMessageIntervalSeconds** | **Integer** | Gets or sets the frequency at which ssdp alive notifications are transmitted. MIGRATING - TO BE REMOVED ONCE WEB HAS BEEN ALTERED. | [optional] | -|**defaultUserId** | **String** | Gets or sets the default user account that the dlna server uses. | [optional] | -|**autoCreatePlayToProfiles** | **Boolean** | Gets or sets a value indicating whether playTo device profiles should be created. | [optional] | -|**blastAliveMessages** | **Boolean** | Gets or sets a value indicating whether to blast alive messages. | [optional] | -|**sendOnlyMatchedHost** | **Boolean** | gets or sets a value indicating whether to send only matched host. | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/EncodingOptions.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/EncodingOptions.md deleted file mode 100644 index cf3e9e27eeb..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/EncodingOptions.md +++ /dev/null @@ -1,50 +0,0 @@ - - -# EncodingOptions - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**encodingThreadCount** | **Integer** | | [optional] | -|**transcodingTempPath** | **String** | | [optional] | -|**fallbackFontPath** | **String** | | [optional] | -|**enableFallbackFont** | **Boolean** | | [optional] | -|**downMixAudioBoost** | **Double** | | [optional] | -|**maxMuxingQueueSize** | **Integer** | | [optional] | -|**enableThrottling** | **Boolean** | | [optional] | -|**throttleDelaySeconds** | **Integer** | | [optional] | -|**hardwareAccelerationType** | **String** | | [optional] | -|**encoderAppPath** | **String** | Gets or sets the FFmpeg path as set by the user via the UI. | [optional] | -|**encoderAppPathDisplay** | **String** | Gets or sets the current FFmpeg path being used by the system and displayed on the transcode page. | [optional] | -|**vaapiDevice** | **String** | | [optional] | -|**enableTonemapping** | **Boolean** | | [optional] | -|**enableVppTonemapping** | **Boolean** | | [optional] | -|**tonemappingAlgorithm** | **String** | | [optional] | -|**tonemappingMode** | **String** | | [optional] | -|**tonemappingRange** | **String** | | [optional] | -|**tonemappingDesat** | **Double** | | [optional] | -|**tonemappingPeak** | **Double** | | [optional] | -|**tonemappingParam** | **Double** | | [optional] | -|**vppTonemappingBrightness** | **Double** | | [optional] | -|**vppTonemappingContrast** | **Double** | | [optional] | -|**h264Crf** | **Integer** | | [optional] | -|**h265Crf** | **Integer** | | [optional] | -|**encoderPreset** | **String** | | [optional] | -|**deinterlaceDoubleRate** | **Boolean** | | [optional] | -|**deinterlaceMethod** | **String** | | [optional] | -|**enableDecodingColorDepth10Hevc** | **Boolean** | | [optional] | -|**enableDecodingColorDepth10Vp9** | **Boolean** | | [optional] | -|**enableEnhancedNvdecDecoder** | **Boolean** | | [optional] | -|**preferSystemNativeHwDecoder** | **Boolean** | | [optional] | -|**enableIntelLowPowerH264HwEncoder** | **Boolean** | | [optional] | -|**enableIntelLowPowerHevcHwEncoder** | **Boolean** | | [optional] | -|**enableHardwareEncoding** | **Boolean** | | [optional] | -|**allowHevcEncoding** | **Boolean** | | [optional] | -|**enableSubtitleExtraction** | **Boolean** | | [optional] | -|**hardwareDecodingCodecs** | **List<String>** | | [optional] | -|**allowOnDemandMetadataBasedKeyframeExtractionForExtensions** | **List<String>** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/FFmpegLocation.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/FFmpegLocation.md deleted file mode 100644 index e7800c9f077..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/FFmpegLocation.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# FFmpegLocation - -## Enum - - -* `NOT_FOUND` (value: `"NotFound"`) - -* `SET_BY_ARGUMENT` (value: `"SetByArgument"`) - -* `CUSTOM` (value: `"Custom"`) - -* `SYSTEM` (value: `"System"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/HardwareEncodingType.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/HardwareEncodingType.md deleted file mode 100644 index e67dddfbb80..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/HardwareEncodingType.md +++ /dev/null @@ -1,21 +0,0 @@ - - -# HardwareEncodingType - -## Enum - - -* `AMF` (value: `"AMF"`) - -* `QSV` (value: `"QSV"`) - -* `NVENC` (value: `"NVENC"`) - -* `V4_L2_M2_M` (value: `"V4L2M2M"`) - -* `VAAPI` (value: `"VAAPI"`) - -* `VIDEO_TOOL_BOX` (value: `"VideoToolBox"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/HeaderMatchType.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/HeaderMatchType.md deleted file mode 100644 index 65c95d0fd76..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/HeaderMatchType.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# HeaderMatchType - -## Enum - - -* `EQUALS` (value: `"Equals"`) - -* `REGEX` (value: `"Regex"`) - -* `SUBSTRING` (value: `"Substring"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/HeaderMetadata.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/HeaderMetadata.md deleted file mode 100644 index 0bfa0921398..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/HeaderMetadata.md +++ /dev/null @@ -1,129 +0,0 @@ - - -# HeaderMetadata - -## Enum - - -* `NONE` (value: `"None"`) - -* `PATH` (value: `"Path"`) - -* `NAME` (value: `"Name"`) - -* `PREMIERE_DATE` (value: `"PremiereDate"`) - -* `DATE_ADDED` (value: `"DateAdded"`) - -* `RELEASE_DATE` (value: `"ReleaseDate"`) - -* `RUNTIME` (value: `"Runtime"`) - -* `PLAY_COUNT` (value: `"PlayCount"`) - -* `SEASON` (value: `"Season"`) - -* `SEASON_NUMBER` (value: `"SeasonNumber"`) - -* `SERIES` (value: `"Series"`) - -* `NETWORK` (value: `"Network"`) - -* `YEAR` (value: `"Year"`) - -* `PARENTAL_RATING` (value: `"ParentalRating"`) - -* `COMMUNITY_RATING` (value: `"CommunityRating"`) - -* `TRAILERS` (value: `"Trailers"`) - -* `SPECIALS` (value: `"Specials"`) - -* `ALBUM_ARTIST` (value: `"AlbumArtist"`) - -* `ALBUM` (value: `"Album"`) - -* `DISC` (value: `"Disc"`) - -* `TRACK` (value: `"Track"`) - -* `AUDIO` (value: `"Audio"`) - -* `EMBEDDED_IMAGE` (value: `"EmbeddedImage"`) - -* `VIDEO` (value: `"Video"`) - -* `RESOLUTION` (value: `"Resolution"`) - -* `SUBTITLES` (value: `"Subtitles"`) - -* `GENRES` (value: `"Genres"`) - -* `COUNTRIES` (value: `"Countries"`) - -* `STATUS` (value: `"Status"`) - -* `TRACKS` (value: `"Tracks"`) - -* `EPISODE_SERIES` (value: `"EpisodeSeries"`) - -* `EPISODE_SEASON` (value: `"EpisodeSeason"`) - -* `EPISODE_NUMBER` (value: `"EpisodeNumber"`) - -* `AUDIO_ALBUM_ARTIST` (value: `"AudioAlbumArtist"`) - -* `MUSIC_ARTIST` (value: `"MusicArtist"`) - -* `AUDIO_ALBUM` (value: `"AudioAlbum"`) - -* `LOCKED` (value: `"Locked"`) - -* `IMAGE_PRIMARY` (value: `"ImagePrimary"`) - -* `IMAGE_BACKDROP` (value: `"ImageBackdrop"`) - -* `IMAGE_LOGO` (value: `"ImageLogo"`) - -* `ACTOR` (value: `"Actor"`) - -* `STUDIOS` (value: `"Studios"`) - -* `COMPOSER` (value: `"Composer"`) - -* `DIRECTOR` (value: `"Director"`) - -* `GUEST_STAR` (value: `"GuestStar"`) - -* `PRODUCER` (value: `"Producer"`) - -* `WRITER` (value: `"Writer"`) - -* `ARTIST` (value: `"Artist"`) - -* `YEARS` (value: `"Years"`) - -* `PARENTAL_RATINGS` (value: `"ParentalRatings"`) - -* `COMMUNITY_RATINGS` (value: `"CommunityRatings"`) - -* `OVERVIEW` (value: `"Overview"`) - -* `SHORT_OVERVIEW` (value: `"ShortOverview"`) - -* `TYPE` (value: `"Type"`) - -* `DATE` (value: `"Date"`) - -* `USER_PRIMARY_IMAGE` (value: `"UserPrimaryImage"`) - -* `SEVERITY` (value: `"Severity"`) - -* `ITEM` (value: `"Item"`) - -* `USER` (value: `"User"`) - -* `USER_ID` (value: `"UserId"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/HttpHeaderInfo.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/HttpHeaderInfo.md deleted file mode 100644 index 0fa1ccb3614..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/HttpHeaderInfo.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# HttpHeaderInfo - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**name** | **String** | | [optional] | -|**value** | **String** | | [optional] | -|**match** | **HeaderMatchType** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageByNameApi.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageByNameApi.md deleted file mode 100644 index ed387f6c8e6..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageByNameApi.md +++ /dev/null @@ -1,398 +0,0 @@ -# ImageByNameApi - -All URIs are relative to *http://nuc.ehrendingen:8096* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**getGeneralImage**](ImageByNameApi.md#getGeneralImage) | **GET** /Images/General/{name}/{type} | Get General Image. | -| [**getGeneralImages**](ImageByNameApi.md#getGeneralImages) | **GET** /Images/General | Get all general images. | -| [**getMediaInfoImage**](ImageByNameApi.md#getMediaInfoImage) | **GET** /Images/MediaInfo/{theme}/{name} | Get media info image. | -| [**getMediaInfoImages**](ImageByNameApi.md#getMediaInfoImages) | **GET** /Images/MediaInfo | Get all media info images. | -| [**getRatingImage**](ImageByNameApi.md#getRatingImage) | **GET** /Images/Ratings/{theme}/{name} | Get rating image. | -| [**getRatingImages**](ImageByNameApi.md#getRatingImages) | **GET** /Images/Ratings | Get all general images. | - - - -# **getGeneralImage** -> File getGeneralImage(name, type) - -Get General Image. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ImageByNameApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - ImageByNameApi apiInstance = new ImageByNameApi(defaultClient); - String name = "name_example"; // String | The name of the image. - String type = "type_example"; // String | Image Type (primary, backdrop, logo, etc). - try { - File result = apiInstance.getGeneralImage(name, type); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ImageByNameApi#getGeneralImage"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| The name of the image. | | -| **type** | **String**| Image Type (primary, backdrop, logo, etc). | | - -### Return type - -[**File**](File.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: image/*, application/octet-stream, application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Image stream retrieved. | - | -| **404** | Image not found. | - | - - -# **getGeneralImages** -> List<ImageByNameInfo> getGeneralImages() - -Get all general images. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ImageByNameApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - ImageByNameApi apiInstance = new ImageByNameApi(defaultClient); - try { - List result = apiInstance.getGeneralImages(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ImageByNameApi#getGeneralImages"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**List<ImageByNameInfo>**](ImageByNameInfo.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Retrieved list of images. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getMediaInfoImage** -> File getMediaInfoImage(theme, name) - -Get media info image. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ImageByNameApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - ImageByNameApi apiInstance = new ImageByNameApi(defaultClient); - String theme = "theme_example"; // String | The theme to get the image from. - String name = "name_example"; // String | The name of the image. - try { - File result = apiInstance.getMediaInfoImage(theme, name); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ImageByNameApi#getMediaInfoImage"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **theme** | **String**| The theme to get the image from. | | -| **name** | **String**| The name of the image. | | - -### Return type - -[**File**](File.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: image/*, application/octet-stream, application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Image stream retrieved. | - | -| **404** | Image not found. | - | - - -# **getMediaInfoImages** -> List<ImageByNameInfo> getMediaInfoImages() - -Get all media info images. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ImageByNameApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - ImageByNameApi apiInstance = new ImageByNameApi(defaultClient); - try { - List result = apiInstance.getMediaInfoImages(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ImageByNameApi#getMediaInfoImages"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**List<ImageByNameInfo>**](ImageByNameInfo.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Image list retrieved. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getRatingImage** -> File getRatingImage(theme, name) - -Get rating image. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ImageByNameApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - ImageByNameApi apiInstance = new ImageByNameApi(defaultClient); - String theme = "theme_example"; // String | The theme to get the image from. - String name = "name_example"; // String | The name of the image. - try { - File result = apiInstance.getRatingImage(theme, name); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ImageByNameApi#getRatingImage"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **theme** | **String**| The theme to get the image from. | | -| **name** | **String**| The name of the image. | | - -### Return type - -[**File**](File.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: image/*, application/octet-stream, application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Image stream retrieved. | - | -| **404** | Image not found. | - | - - -# **getRatingImages** -> List<ImageByNameInfo> getRatingImages() - -Get all general images. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ImageByNameApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - ImageByNameApi apiInstance = new ImageByNameApi(defaultClient); - try { - List result = apiInstance.getRatingImages(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ImageByNameApi#getRatingImages"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**List<ImageByNameInfo>**](ImageByNameInfo.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Retrieved list of images. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageByNameInfo.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageByNameInfo.md deleted file mode 100644 index 3fec7cbf0b1..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ImageByNameInfo.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# ImageByNameInfo - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**name** | **String** | Gets or sets the name. | [optional] | -|**theme** | **String** | Gets or sets the theme. | [optional] | -|**context** | **String** | Gets or sets the context. | [optional] | -|**fileLength** | **Long** | Gets or sets the length of the file. | [optional] | -|**format** | **String** | Gets or sets the format. | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemViewType.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemViewType.md deleted file mode 100644 index 9b1cbbaad39..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ItemViewType.md +++ /dev/null @@ -1,39 +0,0 @@ - - -# ItemViewType - -## Enum - - -* `NONE` (value: `"None"`) - -* `DETAIL` (value: `"Detail"`) - -* `EDIT` (value: `"Edit"`) - -* `LIST` (value: `"List"`) - -* `ITEM_BY_NAME_DETAILS` (value: `"ItemByNameDetails"`) - -* `STATUS_IMAGE` (value: `"StatusImage"`) - -* `EMBEDDED_IMAGE` (value: `"EmbeddedImage"`) - -* `SUBTITLE_IMAGE` (value: `"SubtitleImage"`) - -* `TRAILERS_IMAGE` (value: `"TrailersImage"`) - -* `SPECIALS_IMAGE` (value: `"SpecialsImage"`) - -* `LOCK_DATA_IMAGE` (value: `"LockDataImage"`) - -* `TAGS_PRIMARY_IMAGE` (value: `"TagsPrimaryImage"`) - -* `TAGS_BACKDROP_IMAGE` (value: `"TagsBackdropImage"`) - -* `TAGS_LOGO_IMAGE` (value: `"TagsLogoImage"`) - -* `USER_PRIMARY_IMAGE` (value: `"UserPrimaryImage"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LastFMUser.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LastFMUser.md deleted file mode 100644 index a1c45dba98e..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LastFMUser.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# LastFMUser - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**username** | **String** | | [optional] | -|**password** | **String** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LoginInfoInput.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LoginInfoInput.md deleted file mode 100644 index ff8cdfe5f88..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/LoginInfoInput.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# LoginInfoInput - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**username** | **String** | | | -|**password** | **String** | | | -|**customApiKey** | **String** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaEncoderPathDto.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaEncoderPathDto.md deleted file mode 100644 index 9839c25ec51..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/MediaEncoderPathDto.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# MediaEncoderPathDto - -Media Encoder Path Dto. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**path** | **String** | Gets or sets media encoder path. | [optional] | -|**pathType** | **String** | Gets or sets media encoder path type. | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NetworkConfiguration.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NetworkConfiguration.md deleted file mode 100644 index 1d28709ae38..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NetworkConfiguration.md +++ /dev/null @@ -1,47 +0,0 @@ - - -# NetworkConfiguration - -Defines the Jellyfin.Networking.Configuration.NetworkConfiguration. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**requireHttps** | **Boolean** | Gets or sets a value indicating whether the server should force connections over HTTPS. | [optional] | -|**certificatePath** | **String** | Gets or sets the filesystem path of an X.509 certificate to use for SSL. | [optional] | -|**certificatePassword** | **String** | Gets or sets the password required to access the X.509 certificate data in the file specified by Jellyfin.Networking.Configuration.NetworkConfiguration.CertificatePath. | [optional] | -|**baseUrl** | **String** | Gets or sets a value used to specify the URL prefix that your Jellyfin instance can be accessed at. | [optional] | -|**publicHttpsPort** | **Integer** | Gets or sets the public HTTPS port. | [optional] | -|**httpServerPortNumber** | **Integer** | Gets or sets the HTTP server port number. | [optional] | -|**httpsPortNumber** | **Integer** | Gets or sets the HTTPS server port number. | [optional] | -|**enableHttps** | **Boolean** | Gets or sets a value indicating whether to use HTTPS. | [optional] | -|**publicPort** | **Integer** | Gets or sets the public mapped port. | [optional] | -|**upnPCreateHttpPortMap** | **Boolean** | Gets or sets a value indicating whether the http port should be mapped as part of UPnP automatic port forwarding. | [optional] | -|**udPPortRange** | **String** | Gets or sets the UDPPortRange. | [optional] | -|**enableIPV6** | **Boolean** | Gets or sets a value indicating whether gets or sets IPV6 capability. | [optional] | -|**enableIPV4** | **Boolean** | Gets or sets a value indicating whether gets or sets IPV4 capability. | [optional] | -|**enableSSDPTracing** | **Boolean** | Gets or sets a value indicating whether detailed SSDP logs are sent to the console/log. \"Emby.Dlna\": \"Debug\" must be set in logging.default.json for this property to have any effect. | [optional] | -|**ssDPTracingFilter** | **String** | Gets or sets the SSDPTracingFilter Gets or sets a value indicating whether an IP address is to be used to filter the detailed ssdp logs that are being sent to the console/log. If the setting \"Emby.Dlna\": \"Debug\" msut be set in logging.default.json for this property to work. | [optional] | -|**udPSendCount** | **Integer** | Gets or sets the number of times SSDP UDP messages are sent. | [optional] | -|**udPSendDelay** | **Integer** | Gets or sets the delay between each groups of SSDP messages (in ms). | [optional] | -|**ignoreVirtualInterfaces** | **Boolean** | Gets or sets a value indicating whether address names that match Jellyfin.Networking.Configuration.NetworkConfiguration.VirtualInterfaceNames should be Ignore for the purposes of binding. | [optional] | -|**virtualInterfaceNames** | **String** | Gets or sets a value indicating the interfaces that should be ignored. The list can be comma separated. <seealso cref=\"P:Jellyfin.Networking.Configuration.NetworkConfiguration.IgnoreVirtualInterfaces\" />. | [optional] | -|**gatewayMonitorPeriod** | **Integer** | Gets or sets the time (in seconds) between the pings of SSDP gateway monitor. | [optional] | -|**enableMultiSocketBinding** | **Boolean** | Gets a value indicating whether multi-socket binding is available. | [optional] [readonly] | -|**trustAllIP6Interfaces** | **Boolean** | Gets or sets a value indicating whether all IPv6 interfaces should be treated as on the internal network. Depending on the address range implemented ULA ranges might not be used. | [optional] | -|**hdHomerunPortRange** | **String** | Gets or sets the ports that HDHomerun uses. | [optional] | -|**publishedServerUriBySubnet** | **List<String>** | Gets or sets the PublishedServerUriBySubnet Gets or sets PublishedServerUri to advertise for specific subnets. | [optional] | -|**autoDiscoveryTracing** | **Boolean** | Gets or sets a value indicating whether Autodiscovery tracing is enabled. | [optional] | -|**autoDiscovery** | **Boolean** | Gets or sets a value indicating whether Autodiscovery is enabled. | [optional] | -|**remoteIPFilter** | **List<String>** | Gets or sets the filter for remote IP connectivity. Used in conjuntion with <seealso cref=\"P:Jellyfin.Networking.Configuration.NetworkConfiguration.IsRemoteIPFilterBlacklist\" />. | [optional] | -|**isRemoteIPFilterBlacklist** | **Boolean** | Gets or sets a value indicating whether <seealso cref=\"P:Jellyfin.Networking.Configuration.NetworkConfiguration.RemoteIPFilter\" /> contains a blacklist or a whitelist. Default is a whitelist. | [optional] | -|**enableUPnP** | **Boolean** | Gets or sets a value indicating whether to enable automatic port forwarding. | [optional] | -|**enableRemoteAccess** | **Boolean** | Gets or sets a value indicating whether access outside of the LAN is permitted. | [optional] | -|**localNetworkSubnets** | **List<String>** | Gets or sets the subnets that are deemed to make up the LAN. | [optional] | -|**localNetworkAddresses** | **List<String>** | Gets or sets the interface addresses which Jellyfin will bind to. If empty, all interfaces will be used. | [optional] | -|**knownProxies** | **List<String>** | Gets or sets the known proxies. If the proxy is a network, it's added to the KnownNetworks. | [optional] | -|**enablePublishedServerUriByRequest** | **Boolean** | Gets or sets a value indicating whether the published server uri is based on information in HTTP requests. | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationDto.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationDto.md deleted file mode 100644 index 9591366dfeb..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationDto.md +++ /dev/null @@ -1,21 +0,0 @@ - - -# NotificationDto - -The notification DTO. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**id** | **String** | Gets or sets the notification ID. Defaults to an empty string. | [optional] | -|**userId** | **String** | Gets or sets the notification's user ID. Defaults to an empty string. | [optional] | -|**date** | **OffsetDateTime** | Gets or sets the notification date. | [optional] | -|**isRead** | **Boolean** | Gets or sets a value indicating whether the notification has been read. Defaults to false. | [optional] | -|**name** | **String** | Gets or sets the notification's name. Defaults to an empty string. | [optional] | -|**description** | **String** | Gets or sets the notification's description. Defaults to an empty string. | [optional] | -|**url** | **String** | Gets or sets the notification's URL. Defaults to an empty string. | [optional] | -|**level** | **NotificationLevel** | Gets or sets the notification level. | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationLevel.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationLevel.md deleted file mode 100644 index d7e9e51ea89..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationLevel.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# NotificationLevel - -## Enum - - -* `NORMAL` (value: `"Normal"`) - -* `WARNING` (value: `"Warning"`) - -* `ERROR` (value: `"Error"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationOption.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationOption.md deleted file mode 100644 index fbfa5bae2e5..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationOption.md +++ /dev/null @@ -1,18 +0,0 @@ - - -# NotificationOption - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**type** | **String** | | [optional] | -|**disabledMonitorUsers** | **List<String>** | Gets or sets user Ids to not monitor (it's opt out). | [optional] | -|**sendToUsers** | **List<String>** | Gets or sets user Ids to send to (if SendToUserMode == Custom). | [optional] | -|**enabled** | **Boolean** | Gets or sets a value indicating whether this MediaBrowser.Model.Notifications.NotificationOption is enabled. | [optional] | -|**disabledServices** | **List<String>** | Gets or sets the disabled services. | [optional] | -|**sendToUserMode** | **SendToUserType** | Gets or sets the send to user mode. | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationOptions.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationOptions.md deleted file mode 100644 index 25de52fa66d..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationOptions.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# NotificationOptions - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**options** | [**List<NotificationOption>**](NotificationOption.md) | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationResultDto.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationResultDto.md deleted file mode 100644 index 47f5787991a..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationResultDto.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# NotificationResultDto - -A list of notifications with the total record count for pagination. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**notifications** | [**List<NotificationDto>**](NotificationDto.md) | Gets or sets the current page of notifications. | [optional] | -|**totalRecordCount** | **Integer** | Gets or sets the total number of notifications. | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationTypeInfo.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationTypeInfo.md deleted file mode 100644 index 3fd55fddc0c..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationTypeInfo.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# NotificationTypeInfo - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**type** | **String** | | [optional] | -|**name** | **String** | | [optional] | -|**enabled** | **Boolean** | | [optional] | -|**category** | **String** | | [optional] | -|**isBasedOnUserEvent** | **Boolean** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationsSummaryDto.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationsSummaryDto.md deleted file mode 100644 index 570b6aa1941..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/NotificationsSummaryDto.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# NotificationsSummaryDto - -The notification summary DTO. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**unreadCount** | **Integer** | Gets or sets the number of unread notifications. | [optional] | -|**maxUnreadNotificationLevel** | **NotificationLevel** | Gets or sets the maximum unread notification level. | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/OpenSubtitlesApi.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/OpenSubtitlesApi.md deleted file mode 100644 index 19dcd97cc51..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/OpenSubtitlesApi.md +++ /dev/null @@ -1,78 +0,0 @@ -# OpenSubtitlesApi - -All URIs are relative to *http://nuc.ehrendingen:8096* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**validateLoginInfo**](OpenSubtitlesApi.md#validateLoginInfo) | **POST** /Jellyfin.Plugin.OpenSubtitles/ValidateLoginInfo | | - - - -# **validateLoginInfo** -> validateLoginInfo(loginInfoInput) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.OpenSubtitlesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - OpenSubtitlesApi apiInstance = new OpenSubtitlesApi(defaultClient); - LoginInfoInput loginInfoInput = new LoginInfoInput(); // LoginInfoInput | - try { - apiInstance.validateLoginInfo(loginInfoInput); - } catch (ApiException e) { - System.err.println("Exception when calling OpenSubtitlesApi#validateLoginInfo"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **loginInfoInput** | [**LoginInfoInput**](LoginInfoInput.md)| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: application/json, text/json, application/*+json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **400** | Bad Request | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaybackReportingActivityApi.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaybackReportingActivityApi.md deleted file mode 100644 index 5b6bfadf064..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaybackReportingActivityApi.md +++ /dev/null @@ -1,1144 +0,0 @@ -# PlaybackReportingActivityApi - -All URIs are relative to *http://nuc.ehrendingen:8096* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**customQuery**](PlaybackReportingActivityApi.md#customQuery) | **POST** /user_usage_stats/submit_custom_query | | -| [**getBreakdownReport**](PlaybackReportingActivityApi.md#getBreakdownReport) | **GET** /user_usage_stats/{breakdownType}/BreakdownReport | | -| [**getDurationHistogramReport**](PlaybackReportingActivityApi.md#getDurationHistogramReport) | **GET** /user_usage_stats/DurationHistogramReport | | -| [**getHourlyReport**](PlaybackReportingActivityApi.md#getHourlyReport) | **GET** /user_usage_stats/HourlyReport | | -| [**getJellyfinUsers**](PlaybackReportingActivityApi.md#getJellyfinUsers) | **GET** /user_usage_stats/user_list | | -| [**getMovieReport**](PlaybackReportingActivityApi.md#getMovieReport) | **GET** /user_usage_stats/MoviesReport | | -| [**getTvShowsReport**](PlaybackReportingActivityApi.md#getTvShowsReport) | **GET** /user_usage_stats/GetTvShowsReport | | -| [**getTypeFilterList**](PlaybackReportingActivityApi.md#getTypeFilterList) | **GET** /user_usage_stats/type_filter_list | | -| [**getUsageStats**](PlaybackReportingActivityApi.md#getUsageStats) | **GET** /user_usage_stats/PlayActivity | | -| [**getUserReport**](PlaybackReportingActivityApi.md#getUserReport) | **GET** /user_usage_stats/user_activity | | -| [**getUserReportData**](PlaybackReportingActivityApi.md#getUserReportData) | **GET** /user_usage_stats/{userId}/{date}/GetItems | | -| [**ignoreListAdd**](PlaybackReportingActivityApi.md#ignoreListAdd) | **GET** /user_usage_stats/user_manage/add | | -| [**ignoreListRemove**](PlaybackReportingActivityApi.md#ignoreListRemove) | **GET** /user_usage_stats/user_manage/remove | | -| [**loadBackup**](PlaybackReportingActivityApi.md#loadBackup) | **GET** /user_usage_stats/load_backup | | -| [**pruneUnknownUsers**](PlaybackReportingActivityApi.md#pruneUnknownUsers) | **GET** /user_usage_stats/user_manage/prune | | -| [**saveBackup**](PlaybackReportingActivityApi.md#saveBackup) | **GET** /user_usage_stats/save_backup | | - - - -# **customQuery** -> Map<String, Object> customQuery(customQueryData) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - CustomQueryData customQueryData = new CustomQueryData(); // CustomQueryData | - try { - Map result = apiInstance.customQuery(customQueryData); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#customQuery"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **customQueryData** | [**CustomQueryData**](CustomQueryData.md)| | [optional] | - -### Return type - -**Map<String, Object>** - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: application/json, text/json, application/*+json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getBreakdownReport** -> getBreakdownReport(breakdownType, days, endDate, timezoneOffset) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - String breakdownType = "breakdownType_example"; // String | - Integer days = 56; // Integer | - OffsetDateTime endDate = OffsetDateTime.now(); // OffsetDateTime | - Float timezoneOffset = 3.4F; // Float | - try { - apiInstance.getBreakdownReport(breakdownType, days, endDate, timezoneOffset); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getBreakdownReport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **breakdownType** | **String**| | | -| **days** | **Integer**| | [optional] | -| **endDate** | **OffsetDateTime**| | [optional] | -| **timezoneOffset** | **Float**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getDurationHistogramReport** -> getDurationHistogramReport(days, endDate, filter) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - Integer days = 56; // Integer | - OffsetDateTime endDate = OffsetDateTime.now(); // OffsetDateTime | - String filter = "filter_example"; // String | - try { - apiInstance.getDurationHistogramReport(days, endDate, filter); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getDurationHistogramReport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **days** | **Integer**| | [optional] | -| **endDate** | **OffsetDateTime**| | [optional] | -| **filter** | **String**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getHourlyReport** -> getHourlyReport(days, endDate, filter, timezoneOffset) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - Integer days = 56; // Integer | - OffsetDateTime endDate = OffsetDateTime.now(); // OffsetDateTime | - String filter = "filter_example"; // String | - Float timezoneOffset = 3.4F; // Float | - try { - apiInstance.getHourlyReport(days, endDate, filter, timezoneOffset); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getHourlyReport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **days** | **Integer**| | [optional] | -| **endDate** | **OffsetDateTime**| | [optional] | -| **filter** | **String**| | [optional] | -| **timezoneOffset** | **Float**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getJellyfinUsers** -> getJellyfinUsers() - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - try { - apiInstance.getJellyfinUsers(); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getJellyfinUsers"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getMovieReport** -> getMovieReport(days, endDate, timezoneOffset) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - Integer days = 56; // Integer | - OffsetDateTime endDate = OffsetDateTime.now(); // OffsetDateTime | - Float timezoneOffset = 3.4F; // Float | - try { - apiInstance.getMovieReport(days, endDate, timezoneOffset); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getMovieReport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **days** | **Integer**| | [optional] | -| **endDate** | **OffsetDateTime**| | [optional] | -| **timezoneOffset** | **Float**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getTvShowsReport** -> getTvShowsReport(days, endDate, timezoneOffset) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - Integer days = 56; // Integer | - OffsetDateTime endDate = OffsetDateTime.now(); // OffsetDateTime | - Float timezoneOffset = 3.4F; // Float | - try { - apiInstance.getTvShowsReport(days, endDate, timezoneOffset); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getTvShowsReport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **days** | **Integer**| | [optional] | -| **endDate** | **OffsetDateTime**| | [optional] | -| **timezoneOffset** | **Float**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getTypeFilterList** -> getTypeFilterList() - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - try { - apiInstance.getTypeFilterList(); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getTypeFilterList"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getUsageStats** -> getUsageStats(days, endDate, filter, dataType, timezoneOffset) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - Integer days = 56; // Integer | - OffsetDateTime endDate = OffsetDateTime.now(); // OffsetDateTime | - String filter = "filter_example"; // String | - String dataType = "dataType_example"; // String | - Float timezoneOffset = 3.4F; // Float | - try { - apiInstance.getUsageStats(days, endDate, filter, dataType, timezoneOffset); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getUsageStats"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **days** | **Integer**| | [optional] | -| **endDate** | **OffsetDateTime**| | [optional] | -| **filter** | **String**| | [optional] | -| **dataType** | **String**| | [optional] | -| **timezoneOffset** | **Float**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getUserReport** -> getUserReport(days, endDate, timezoneOffset) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - Integer days = 56; // Integer | - OffsetDateTime endDate = OffsetDateTime.now(); // OffsetDateTime | - Float timezoneOffset = 3.4F; // Float | - try { - apiInstance.getUserReport(days, endDate, timezoneOffset); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getUserReport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **days** | **Integer**| | [optional] | -| **endDate** | **OffsetDateTime**| | [optional] | -| **timezoneOffset** | **Float**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getUserReportData** -> getUserReportData(userId, date, filter, timezoneOffset) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - String userId = "userId_example"; // String | - String date = "date_example"; // String | - String filter = "filter_example"; // String | - Float timezoneOffset = 3.4F; // Float | - try { - apiInstance.getUserReportData(userId, date, filter, timezoneOffset); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#getUserReportData"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **userId** | **String**| | | -| **date** | **String**| | | -| **filter** | **String**| | [optional] | -| **timezoneOffset** | **Float**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **ignoreListAdd** -> Boolean ignoreListAdd(id) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - String id = "id_example"; // String | - try { - Boolean result = apiInstance.ignoreListAdd(id); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#ignoreListAdd"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **id** | **String**| | [optional] | - -### Return type - -**Boolean** - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **ignoreListRemove** -> Boolean ignoreListRemove(id) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - String id = "id_example"; // String | - try { - Boolean result = apiInstance.ignoreListRemove(id); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#ignoreListRemove"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **id** | **String**| | [optional] | - -### Return type - -**Boolean** - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **loadBackup** -> List<String> loadBackup(backupFilePath) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - String backupFilePath = "backupFilePath_example"; // String | - try { - List result = apiInstance.loadBackup(backupFilePath); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#loadBackup"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **backupFilePath** | **String**| | [optional] | - -### Return type - -**List<String>** - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **pruneUnknownUsers** -> Boolean pruneUnknownUsers() - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - try { - Boolean result = apiInstance.pruneUnknownUsers(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#pruneUnknownUsers"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -**Boolean** - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **saveBackup** -> List<String> saveBackup() - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaybackReportingActivityApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaybackReportingActivityApi apiInstance = new PlaybackReportingActivityApi(defaultClient); - try { - List result = apiInstance.saveBackup(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PlaybackReportingActivityApi#saveBackup"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -**List<String>** - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaylistsApi.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaylistsApi.md deleted file mode 100644 index 75d745f0b54..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/PlaylistsApi.md +++ /dev/null @@ -1,392 +0,0 @@ -# PlaylistsApi - -All URIs are relative to *http://nuc.ehrendingen:8096* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**addToPlaylist**](PlaylistsApi.md#addToPlaylist) | **POST** /Playlists/{playlistId}/Items | Adds items to a playlist. | -| [**createPlaylist**](PlaylistsApi.md#createPlaylist) | **POST** /Playlists | Creates a new playlist. | -| [**getPlaylistItems**](PlaylistsApi.md#getPlaylistItems) | **GET** /Playlists/{playlistId}/Items | Gets the original items of a playlist. | -| [**moveItem**](PlaylistsApi.md#moveItem) | **POST** /Playlists/{playlistId}/Items/{itemId}/Move/{newIndex} | Moves a playlist item. | -| [**removeFromPlaylist**](PlaylistsApi.md#removeFromPlaylist) | **DELETE** /Playlists/{playlistId}/Items | Removes items from a playlist. | - - - -# **addToPlaylist** -> addToPlaylist(playlistId, ids, userId) - -Adds items to a playlist. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaylistsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaylistsApi apiInstance = new PlaylistsApi(defaultClient); - UUID playlistId = UUID.randomUUID(); // UUID | The playlist id. - List ids = Arrays.asList(); // List | Item id, comma delimited. - UUID userId = UUID.randomUUID(); // UUID | The userId. - try { - apiInstance.addToPlaylist(playlistId, ids, userId); - } catch (ApiException e) { - System.err.println("Exception when calling PlaylistsApi#addToPlaylist"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **playlistId** | **UUID**| The playlist id. | | -| **ids** | [**List<UUID>**](UUID.md)| Item id, comma delimited. | [optional] | -| **userId** | **UUID**| The userId. | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **204** | Items added to playlist. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **createPlaylist** -> PlaylistCreationResult createPlaylist(name, ids, userId, mediaType, createPlaylistDto) - -Creates a new playlist. - -For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. Query parameters are obsolete. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaylistsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaylistsApi apiInstance = new PlaylistsApi(defaultClient); - String name = "name_example"; // String | The playlist name. - List ids = Arrays.asList(); // List | The item ids. - UUID userId = UUID.randomUUID(); // UUID | The user id. - String mediaType = "mediaType_example"; // String | The media type. - CreatePlaylistDto createPlaylistDto = new CreatePlaylistDto(); // CreatePlaylistDto | The create playlist payload. - try { - PlaylistCreationResult result = apiInstance.createPlaylist(name, ids, userId, mediaType, createPlaylistDto); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PlaylistsApi#createPlaylist"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **name** | **String**| The playlist name. | [optional] | -| **ids** | [**List<UUID>**](UUID.md)| The item ids. | [optional] | -| **userId** | **UUID**| The user id. | [optional] | -| **mediaType** | **String**| The media type. | [optional] | -| **createPlaylistDto** | [**CreatePlaylistDto**](CreatePlaylistDto.md)| The create playlist payload. | [optional] | - -### Return type - -[**PlaylistCreationResult**](PlaylistCreationResult.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: application/json, text/json, application/*+json - - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getPlaylistItems** -> BaseItemDtoQueryResult getPlaylistItems(playlistId, userId, startIndex, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes) - -Gets the original items of a playlist. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaylistsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaylistsApi apiInstance = new PlaylistsApi(defaultClient); - UUID playlistId = UUID.randomUUID(); // UUID | The playlist id. - UUID userId = UUID.randomUUID(); // UUID | User id. - Integer startIndex = 56; // Integer | Optional. The record index to start at. All items with a lower index will be dropped from the results. - Integer limit = 56; // Integer | Optional. The maximum number of records to return. - List fields = Arrays.asList(); // List | Optional. Specify additional fields of information to return in the output. - Boolean enableImages = true; // Boolean | Optional. Include image information in output. - Boolean enableUserData = true; // Boolean | Optional. Include user data. - Integer imageTypeLimit = 56; // Integer | Optional. The max number of images to return, per image type. - List enableImageTypes = Arrays.asList(); // List | Optional. The image types to include in the output. - try { - BaseItemDtoQueryResult result = apiInstance.getPlaylistItems(playlistId, userId, startIndex, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PlaylistsApi#getPlaylistItems"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **playlistId** | **UUID**| The playlist id. | | -| **userId** | **UUID**| User id. | | -| **startIndex** | **Integer**| Optional. The record index to start at. All items with a lower index will be dropped from the results. | [optional] | -| **limit** | **Integer**| Optional. The maximum number of records to return. | [optional] | -| **fields** | [**List<ItemFields>**](ItemFields.md)| Optional. Specify additional fields of information to return in the output. | [optional] | -| **enableImages** | **Boolean**| Optional. Include image information in output. | [optional] | -| **enableUserData** | **Boolean**| Optional. Include user data. | [optional] | -| **imageTypeLimit** | **Integer**| Optional. The max number of images to return, per image type. | [optional] | -| **enableImageTypes** | [**List<ImageType>**](ImageType.md)| Optional. The image types to include in the output. | [optional] | - -### Return type - -[**BaseItemDtoQueryResult**](BaseItemDtoQueryResult.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/json; profile=CamelCase, application/json; profile=PascalCase - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Original playlist returned. | - | -| **404** | Playlist not found. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **moveItem** -> moveItem(playlistId, itemId, newIndex) - -Moves a playlist item. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaylistsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaylistsApi apiInstance = new PlaylistsApi(defaultClient); - String playlistId = "playlistId_example"; // String | The playlist id. - String itemId = "itemId_example"; // String | The item id. - Integer newIndex = 56; // Integer | The new index. - try { - apiInstance.moveItem(playlistId, itemId, newIndex); - } catch (ApiException e) { - System.err.println("Exception when calling PlaylistsApi#moveItem"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **playlistId** | **String**| The playlist id. | | -| **itemId** | **String**| The item id. | | -| **newIndex** | **Integer**| The new index. | | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **204** | Item moved to new index. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **removeFromPlaylist** -> removeFromPlaylist(playlistId, entryIds) - -Removes items from a playlist. - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.PlaylistsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - PlaylistsApi apiInstance = new PlaylistsApi(defaultClient); - String playlistId = "playlistId_example"; // String | The playlist id. - List entryIds = Arrays.asList(); // List | The item ids, comma delimited. - try { - apiInstance.removeFromPlaylist(playlistId, entryIds); - } catch (ApiException e) { - System.err.println("Exception when calling PlaylistsApi#removeFromPlaylist"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **playlistId** | **String**| The playlist id. | | -| **entryIds** | [**List<String>**](String.md)| The item ids, comma delimited. | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **204** | Items removed. | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportDisplayType.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportDisplayType.md deleted file mode 100644 index bb5b7e60dec..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportDisplayType.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# ReportDisplayType - -## Enum - - -* `NONE` (value: `"None"`) - -* `SCREEN` (value: `"Screen"`) - -* `EXPORT` (value: `"Export"`) - -* `SCREEN_EXPORT` (value: `"ScreenExport"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportExportType.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportExportType.md deleted file mode 100644 index 10d04e04152..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportExportType.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# ReportExportType - -## Enum - - -* `CSV` (value: `"CSV"`) - -* `EXCEL` (value: `"Excel"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportFieldType.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportFieldType.md deleted file mode 100644 index 4ed113ce714..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportFieldType.md +++ /dev/null @@ -1,27 +0,0 @@ - - -# ReportFieldType - -## Enum - - -* `STRING` (value: `"String"`) - -* `BOOLEAN` (value: `"Boolean"`) - -* `DATE` (value: `"Date"`) - -* `TIME` (value: `"Time"`) - -* `DATE_TIME` (value: `"DateTime"`) - -* `INT` (value: `"Int"`) - -* `IMAGE` (value: `"Image"`) - -* `OBJECT` (value: `"Object"`) - -* `MINUTES` (value: `"Minutes"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportGroup.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportGroup.md deleted file mode 100644 index 881cbb74e7f..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportGroup.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# ReportGroup - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**name** | **String** | | [optional] | -|**rows** | [**List<ReportRow>**](ReportRow.md) | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportHeader.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportHeader.md deleted file mode 100644 index cbbdd886fa6..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportHeader.md +++ /dev/null @@ -1,22 +0,0 @@ - - -# ReportHeader - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**headerFieldType** | **ReportFieldType** | | [optional] | -|**name** | **String** | | [optional] | -|**fieldName** | **HeaderMetadata** | | [optional] | -|**sortField** | **String** | | [optional] | -|**type** | **String** | | [optional] | -|**itemViewType** | **ItemViewType** | | [optional] | -|**visible** | **Boolean** | | [optional] | -|**displayType** | **ReportDisplayType** | | [optional] | -|**showHeaderLabel** | **Boolean** | | [optional] | -|**canGroup** | **Boolean** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportIncludeItemTypes.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportIncludeItemTypes.md deleted file mode 100644 index 75304cee265..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportIncludeItemTypes.md +++ /dev/null @@ -1,37 +0,0 @@ - - -# ReportIncludeItemTypes - -## Enum - - -* `MUSIC_ARTIST` (value: `"MusicArtist"`) - -* `MUSIC_ALBUM` (value: `"MusicAlbum"`) - -* `BOOK` (value: `"Book"`) - -* `BOX_SET` (value: `"BoxSet"`) - -* `EPISODE` (value: `"Episode"`) - -* `VIDEO` (value: `"Video"`) - -* `MOVIE` (value: `"Movie"`) - -* `MUSIC_VIDEO` (value: `"MusicVideo"`) - -* `TRAILER` (value: `"Trailer"`) - -* `SEASON` (value: `"Season"`) - -* `SERIES` (value: `"Series"`) - -* `AUDIO` (value: `"Audio"`) - -* `BASE_ITEM` (value: `"BaseItem"`) - -* `ARTIST` (value: `"Artist"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportItem.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportItem.md deleted file mode 100644 index d7d885ee802..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportItem.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# ReportItem - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**id** | **String** | | [optional] | -|**name** | **String** | | [optional] | -|**image** | **String** | | [optional] | -|**customTag** | **String** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportPlaybackOptions.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportPlaybackOptions.md deleted file mode 100644 index 8011beedbe7..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportPlaybackOptions.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# ReportPlaybackOptions - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**maxDataAge** | **Integer** | | [optional] | -|**backupPath** | **String** | | [optional] | -|**maxBackupFiles** | **Integer** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportResult.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportResult.md deleted file mode 100644 index 5ee1b726bce..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportResult.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# ReportResult - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**rows** | [**List<ReportRow>**](ReportRow.md) | | [optional] | -|**headers** | [**List<ReportHeader>**](ReportHeader.md) | | [optional] | -|**groups** | [**List<ReportGroup>**](ReportGroup.md) | | [optional] | -|**totalRecordCount** | **Integer** | | [optional] | -|**isGrouped** | **Boolean** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportRow.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportRow.md deleted file mode 100644 index 69aece31351..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportRow.md +++ /dev/null @@ -1,24 +0,0 @@ - - -# ReportRow - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**id** | **String** | | [optional] | -|**hasImageTagsBackdrop** | **Boolean** | | [optional] | -|**hasImageTagsPrimary** | **Boolean** | | [optional] | -|**hasImageTagsLogo** | **Boolean** | | [optional] | -|**hasLocalTrailer** | **Boolean** | | [optional] | -|**hasLockData** | **Boolean** | | [optional] | -|**hasEmbeddedImage** | **Boolean** | | [optional] | -|**hasSubtitles** | **Boolean** | | [optional] | -|**hasSpecials** | **Boolean** | | [optional] | -|**columns** | [**List<ReportItem>**](ReportItem.md) | | [optional] | -|**rowType** | **ReportIncludeItemTypes** | | [optional] | -|**userId** | **UUID** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportsApi.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportsApi.md deleted file mode 100644 index 3c460302391..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ReportsApi.md +++ /dev/null @@ -1,624 +0,0 @@ -# ReportsApi - -All URIs are relative to *http://nuc.ehrendingen:8096* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**getActivityLogs**](ReportsApi.md#getActivityLogs) | **GET** /Reports/Activities | | -| [**getItemReport**](ReportsApi.md#getItemReport) | **GET** /Reports/Items | | -| [**getReportDownload**](ReportsApi.md#getReportDownload) | **GET** /Reports/Items/Download | | -| [**getReportHeaders**](ReportsApi.md#getReportHeaders) | **GET** /Reports/Headers | | - - - -# **getActivityLogs** -> getActivityLogs(reportView, displayType, hasQueryLimit, groupBy, reportColumns, startIndex, limit, minDate, includeItemTypes) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ReportsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - ReportsApi apiInstance = new ReportsApi(defaultClient); - String reportView = "reportView_example"; // String | - String displayType = "displayType_example"; // String | - Boolean hasQueryLimit = true; // Boolean | - String groupBy = "groupBy_example"; // String | - String reportColumns = "reportColumns_example"; // String | - Integer startIndex = 56; // Integer | - Integer limit = 56; // Integer | - String minDate = "minDate_example"; // String | - String includeItemTypes = "includeItemTypes_example"; // String | - try { - apiInstance.getActivityLogs(reportView, displayType, hasQueryLimit, groupBy, reportColumns, startIndex, limit, minDate, includeItemTypes); - } catch (ApiException e) { - System.err.println("Exception when calling ReportsApi#getActivityLogs"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **reportView** | **String**| | [optional] | -| **displayType** | **String**| | [optional] | -| **hasQueryLimit** | **Boolean**| | [optional] | -| **groupBy** | **String**| | [optional] | -| **reportColumns** | **String**| | [optional] | -| **startIndex** | **Integer**| | [optional] | -| **limit** | **Integer**| | [optional] | -| **minDate** | **String**| | [optional] | -| **includeItemTypes** | **String**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getItemReport** -> ReportResult getItemReport(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, enableImages) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ReportsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - ReportsApi apiInstance = new ReportsApi(defaultClient); - Boolean hasThemeSong = true; // Boolean | - Boolean hasThemeVideo = true; // Boolean | - Boolean hasSubtitles = true; // Boolean | - Boolean hasSpecialFeature = true; // Boolean | - Boolean hasTrailer = true; // Boolean | - String adjacentTo = "adjacentTo_example"; // String | - Integer minIndexNumber = 56; // Integer | - Integer parentIndexNumber = 56; // Integer | - Boolean hasParentalRating = true; // Boolean | - Boolean isHd = true; // Boolean | - String locationTypes = "locationTypes_example"; // String | - String excludeLocationTypes = "excludeLocationTypes_example"; // String | - Boolean isMissing = true; // Boolean | - Boolean isUnaried = true; // Boolean | - Double minCommunityRating = 3.4D; // Double | - Double minCriticRating = 3.4D; // Double | - Integer airedDuringSeason = 56; // Integer | - String minPremiereDate = "minPremiereDate_example"; // String | - String minDateLastSaved = "minDateLastSaved_example"; // String | - String minDateLastSavedForUser = "minDateLastSavedForUser_example"; // String | - String maxPremiereDate = "maxPremiereDate_example"; // String | - Boolean hasOverview = true; // Boolean | - Boolean hasImdbId = true; // Boolean | - Boolean hasTmdbId = true; // Boolean | - Boolean hasTvdbId = true; // Boolean | - Boolean isInBoxSet = true; // Boolean | - String excludeItemIds = "excludeItemIds_example"; // String | - Boolean enableTotalRecordCount = true; // Boolean | - Integer startIndex = 56; // Integer | - Integer limit = 56; // Integer | - Boolean recursive = true; // Boolean | - String sortOrder = "sortOrder_example"; // String | - String parentId = "parentId_example"; // String | - String fields = "fields_example"; // String | - String excludeItemTypes = "excludeItemTypes_example"; // String | - String includeItemTypes = "includeItemTypes_example"; // String | - String filters = "filters_example"; // String | - Boolean isFavorite = true; // Boolean | - Boolean isNotFavorite = true; // Boolean | - String mediaTypes = "mediaTypes_example"; // String | - String imageTypes = "imageTypes_example"; // String | - String sortBy = "sortBy_example"; // String | - Boolean isPlayed = true; // Boolean | - String genres = "genres_example"; // String | - String genreIds = "genreIds_example"; // String | - String officialRatings = "officialRatings_example"; // String | - String tags = "tags_example"; // String | - String years = "years_example"; // String | - Boolean enableUserData = true; // Boolean | - Integer imageTypeLimit = 56; // Integer | - String enableImageTypes = "enableImageTypes_example"; // String | - String person = "person_example"; // String | - String personIds = "personIds_example"; // String | - String personTypes = "personTypes_example"; // String | - String studios = "studios_example"; // String | - String studioIds = "studioIds_example"; // String | - String artists = "artists_example"; // String | - String excludeArtistIds = "excludeArtistIds_example"; // String | - String artistIds = "artistIds_example"; // String | - String albums = "albums_example"; // String | - String albumIds = "albumIds_example"; // String | - String ids = "ids_example"; // String | - String videoTypes = "videoTypes_example"; // String | - String userId = "userId_example"; // String | - String minOfficialRating = "minOfficialRating_example"; // String | - Boolean isLocked = true; // Boolean | - Boolean isPlaceHolder = true; // Boolean | - Boolean hasOfficialRating = true; // Boolean | - Boolean collapseBoxSetItems = true; // Boolean | - Boolean is3D = true; // Boolean | - String seriesStatus = "seriesStatus_example"; // String | - String nameStartsWithOrGreater = "nameStartsWithOrGreater_example"; // String | - String nameStartsWith = "nameStartsWith_example"; // String | - String nameLessThan = "nameLessThan_example"; // String | - String reportView = "reportView_example"; // String | - String displayType = "displayType_example"; // String | - Boolean hasQueryLimit = true; // Boolean | - String groupBy = "groupBy_example"; // String | - String reportColumns = "reportColumns_example"; // String | - Boolean enableImages = true; // Boolean | - try { - ReportResult result = apiInstance.getItemReport(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, enableImages); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ReportsApi#getItemReport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **hasThemeSong** | **Boolean**| | [optional] | -| **hasThemeVideo** | **Boolean**| | [optional] | -| **hasSubtitles** | **Boolean**| | [optional] | -| **hasSpecialFeature** | **Boolean**| | [optional] | -| **hasTrailer** | **Boolean**| | [optional] | -| **adjacentTo** | **String**| | [optional] | -| **minIndexNumber** | **Integer**| | [optional] | -| **parentIndexNumber** | **Integer**| | [optional] | -| **hasParentalRating** | **Boolean**| | [optional] | -| **isHd** | **Boolean**| | [optional] | -| **locationTypes** | **String**| | [optional] | -| **excludeLocationTypes** | **String**| | [optional] | -| **isMissing** | **Boolean**| | [optional] | -| **isUnaried** | **Boolean**| | [optional] | -| **minCommunityRating** | **Double**| | [optional] | -| **minCriticRating** | **Double**| | [optional] | -| **airedDuringSeason** | **Integer**| | [optional] | -| **minPremiereDate** | **String**| | [optional] | -| **minDateLastSaved** | **String**| | [optional] | -| **minDateLastSavedForUser** | **String**| | [optional] | -| **maxPremiereDate** | **String**| | [optional] | -| **hasOverview** | **Boolean**| | [optional] | -| **hasImdbId** | **Boolean**| | [optional] | -| **hasTmdbId** | **Boolean**| | [optional] | -| **hasTvdbId** | **Boolean**| | [optional] | -| **isInBoxSet** | **Boolean**| | [optional] | -| **excludeItemIds** | **String**| | [optional] | -| **enableTotalRecordCount** | **Boolean**| | [optional] | -| **startIndex** | **Integer**| | [optional] | -| **limit** | **Integer**| | [optional] | -| **recursive** | **Boolean**| | [optional] | -| **sortOrder** | **String**| | [optional] | -| **parentId** | **String**| | [optional] | -| **fields** | **String**| | [optional] | -| **excludeItemTypes** | **String**| | [optional] | -| **includeItemTypes** | **String**| | [optional] | -| **filters** | **String**| | [optional] | -| **isFavorite** | **Boolean**| | [optional] | -| **isNotFavorite** | **Boolean**| | [optional] | -| **mediaTypes** | **String**| | [optional] | -| **imageTypes** | **String**| | [optional] | -| **sortBy** | **String**| | [optional] | -| **isPlayed** | **Boolean**| | [optional] | -| **genres** | **String**| | [optional] | -| **genreIds** | **String**| | [optional] | -| **officialRatings** | **String**| | [optional] | -| **tags** | **String**| | [optional] | -| **years** | **String**| | [optional] | -| **enableUserData** | **Boolean**| | [optional] | -| **imageTypeLimit** | **Integer**| | [optional] | -| **enableImageTypes** | **String**| | [optional] | -| **person** | **String**| | [optional] | -| **personIds** | **String**| | [optional] | -| **personTypes** | **String**| | [optional] | -| **studios** | **String**| | [optional] | -| **studioIds** | **String**| | [optional] | -| **artists** | **String**| | [optional] | -| **excludeArtistIds** | **String**| | [optional] | -| **artistIds** | **String**| | [optional] | -| **albums** | **String**| | [optional] | -| **albumIds** | **String**| | [optional] | -| **ids** | **String**| | [optional] | -| **videoTypes** | **String**| | [optional] | -| **userId** | **String**| | [optional] | -| **minOfficialRating** | **String**| | [optional] | -| **isLocked** | **Boolean**| | [optional] | -| **isPlaceHolder** | **Boolean**| | [optional] | -| **hasOfficialRating** | **Boolean**| | [optional] | -| **collapseBoxSetItems** | **Boolean**| | [optional] | -| **is3D** | **Boolean**| | [optional] | -| **seriesStatus** | **String**| | [optional] | -| **nameStartsWithOrGreater** | **String**| | [optional] | -| **nameStartsWith** | **String**| | [optional] | -| **nameLessThan** | **String**| | [optional] | -| **reportView** | **String**| | [optional] | -| **displayType** | **String**| | [optional] | -| **hasQueryLimit** | **Boolean**| | [optional] | -| **groupBy** | **String**| | [optional] | -| **reportColumns** | **String**| | [optional] | -| **enableImages** | **Boolean**| | [optional] [default to true] | - -### Return type - -[**ReportResult**](ReportResult.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getReportDownload** -> ReportResult getReportDownload(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, minDate, exportType, enableImages) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ReportsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - ReportsApi apiInstance = new ReportsApi(defaultClient); - Boolean hasThemeSong = true; // Boolean | - Boolean hasThemeVideo = true; // Boolean | - Boolean hasSubtitles = true; // Boolean | - Boolean hasSpecialFeature = true; // Boolean | - Boolean hasTrailer = true; // Boolean | - String adjacentTo = "adjacentTo_example"; // String | - Integer minIndexNumber = 56; // Integer | - Integer parentIndexNumber = 56; // Integer | - Boolean hasParentalRating = true; // Boolean | - Boolean isHd = true; // Boolean | - String locationTypes = "locationTypes_example"; // String | - String excludeLocationTypes = "excludeLocationTypes_example"; // String | - Boolean isMissing = true; // Boolean | - Boolean isUnaried = true; // Boolean | - Double minCommunityRating = 3.4D; // Double | - Double minCriticRating = 3.4D; // Double | - Integer airedDuringSeason = 56; // Integer | - String minPremiereDate = "minPremiereDate_example"; // String | - String minDateLastSaved = "minDateLastSaved_example"; // String | - String minDateLastSavedForUser = "minDateLastSavedForUser_example"; // String | - String maxPremiereDate = "maxPremiereDate_example"; // String | - Boolean hasOverview = true; // Boolean | - Boolean hasImdbId = true; // Boolean | - Boolean hasTmdbId = true; // Boolean | - Boolean hasTvdbId = true; // Boolean | - Boolean isInBoxSet = true; // Boolean | - String excludeItemIds = "excludeItemIds_example"; // String | - Boolean enableTotalRecordCount = true; // Boolean | - Integer startIndex = 56; // Integer | - Integer limit = 56; // Integer | - Boolean recursive = true; // Boolean | - String sortOrder = "sortOrder_example"; // String | - String parentId = "parentId_example"; // String | - String fields = "fields_example"; // String | - String excludeItemTypes = "excludeItemTypes_example"; // String | - String includeItemTypes = "includeItemTypes_example"; // String | - String filters = "filters_example"; // String | - Boolean isFavorite = true; // Boolean | - Boolean isNotFavorite = true; // Boolean | - String mediaTypes = "mediaTypes_example"; // String | - String imageTypes = "imageTypes_example"; // String | - String sortBy = "sortBy_example"; // String | - Boolean isPlayed = true; // Boolean | - String genres = "genres_example"; // String | - String genreIds = "genreIds_example"; // String | - String officialRatings = "officialRatings_example"; // String | - String tags = "tags_example"; // String | - String years = "years_example"; // String | - Boolean enableUserData = true; // Boolean | - Integer imageTypeLimit = 56; // Integer | - String enableImageTypes = "enableImageTypes_example"; // String | - String person = "person_example"; // String | - String personIds = "personIds_example"; // String | - String personTypes = "personTypes_example"; // String | - String studios = "studios_example"; // String | - String studioIds = "studioIds_example"; // String | - String artists = "artists_example"; // String | - String excludeArtistIds = "excludeArtistIds_example"; // String | - String artistIds = "artistIds_example"; // String | - String albums = "albums_example"; // String | - String albumIds = "albumIds_example"; // String | - String ids = "ids_example"; // String | - String videoTypes = "videoTypes_example"; // String | - String userId = "userId_example"; // String | - String minOfficialRating = "minOfficialRating_example"; // String | - Boolean isLocked = true; // Boolean | - Boolean isPlaceHolder = true; // Boolean | - Boolean hasOfficialRating = true; // Boolean | - Boolean collapseBoxSetItems = true; // Boolean | - Boolean is3D = true; // Boolean | - String seriesStatus = "seriesStatus_example"; // String | - String nameStartsWithOrGreater = "nameStartsWithOrGreater_example"; // String | - String nameStartsWith = "nameStartsWith_example"; // String | - String nameLessThan = "nameLessThan_example"; // String | - String reportView = "reportView_example"; // String | - String displayType = "displayType_example"; // String | - Boolean hasQueryLimit = true; // Boolean | - String groupBy = "groupBy_example"; // String | - String reportColumns = "reportColumns_example"; // String | - String minDate = "minDate_example"; // String | - ReportExportType exportType = ReportExportType.fromValue("CSV"); // ReportExportType | - Boolean enableImages = true; // Boolean | - try { - ReportResult result = apiInstance.getReportDownload(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, minDate, exportType, enableImages); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ReportsApi#getReportDownload"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **hasThemeSong** | **Boolean**| | [optional] | -| **hasThemeVideo** | **Boolean**| | [optional] | -| **hasSubtitles** | **Boolean**| | [optional] | -| **hasSpecialFeature** | **Boolean**| | [optional] | -| **hasTrailer** | **Boolean**| | [optional] | -| **adjacentTo** | **String**| | [optional] | -| **minIndexNumber** | **Integer**| | [optional] | -| **parentIndexNumber** | **Integer**| | [optional] | -| **hasParentalRating** | **Boolean**| | [optional] | -| **isHd** | **Boolean**| | [optional] | -| **locationTypes** | **String**| | [optional] | -| **excludeLocationTypes** | **String**| | [optional] | -| **isMissing** | **Boolean**| | [optional] | -| **isUnaried** | **Boolean**| | [optional] | -| **minCommunityRating** | **Double**| | [optional] | -| **minCriticRating** | **Double**| | [optional] | -| **airedDuringSeason** | **Integer**| | [optional] | -| **minPremiereDate** | **String**| | [optional] | -| **minDateLastSaved** | **String**| | [optional] | -| **minDateLastSavedForUser** | **String**| | [optional] | -| **maxPremiereDate** | **String**| | [optional] | -| **hasOverview** | **Boolean**| | [optional] | -| **hasImdbId** | **Boolean**| | [optional] | -| **hasTmdbId** | **Boolean**| | [optional] | -| **hasTvdbId** | **Boolean**| | [optional] | -| **isInBoxSet** | **Boolean**| | [optional] | -| **excludeItemIds** | **String**| | [optional] | -| **enableTotalRecordCount** | **Boolean**| | [optional] | -| **startIndex** | **Integer**| | [optional] | -| **limit** | **Integer**| | [optional] | -| **recursive** | **Boolean**| | [optional] | -| **sortOrder** | **String**| | [optional] | -| **parentId** | **String**| | [optional] | -| **fields** | **String**| | [optional] | -| **excludeItemTypes** | **String**| | [optional] | -| **includeItemTypes** | **String**| | [optional] | -| **filters** | **String**| | [optional] | -| **isFavorite** | **Boolean**| | [optional] | -| **isNotFavorite** | **Boolean**| | [optional] | -| **mediaTypes** | **String**| | [optional] | -| **imageTypes** | **String**| | [optional] | -| **sortBy** | **String**| | [optional] | -| **isPlayed** | **Boolean**| | [optional] | -| **genres** | **String**| | [optional] | -| **genreIds** | **String**| | [optional] | -| **officialRatings** | **String**| | [optional] | -| **tags** | **String**| | [optional] | -| **years** | **String**| | [optional] | -| **enableUserData** | **Boolean**| | [optional] | -| **imageTypeLimit** | **Integer**| | [optional] | -| **enableImageTypes** | **String**| | [optional] | -| **person** | **String**| | [optional] | -| **personIds** | **String**| | [optional] | -| **personTypes** | **String**| | [optional] | -| **studios** | **String**| | [optional] | -| **studioIds** | **String**| | [optional] | -| **artists** | **String**| | [optional] | -| **excludeArtistIds** | **String**| | [optional] | -| **artistIds** | **String**| | [optional] | -| **albums** | **String**| | [optional] | -| **albumIds** | **String**| | [optional] | -| **ids** | **String**| | [optional] | -| **videoTypes** | **String**| | [optional] | -| **userId** | **String**| | [optional] | -| **minOfficialRating** | **String**| | [optional] | -| **isLocked** | **Boolean**| | [optional] | -| **isPlaceHolder** | **Boolean**| | [optional] | -| **hasOfficialRating** | **Boolean**| | [optional] | -| **collapseBoxSetItems** | **Boolean**| | [optional] | -| **is3D** | **Boolean**| | [optional] | -| **seriesStatus** | **String**| | [optional] | -| **nameStartsWithOrGreater** | **String**| | [optional] | -| **nameStartsWith** | **String**| | [optional] | -| **nameLessThan** | **String**| | [optional] | -| **reportView** | **String**| | [optional] | -| **displayType** | **String**| | [optional] | -| **hasQueryLimit** | **Boolean**| | [optional] | -| **groupBy** | **String**| | [optional] | -| **reportColumns** | **String**| | [optional] | -| **minDate** | **String**| | [optional] | -| **exportType** | [**ReportExportType**](.md)| | [optional] [default to CSV] [enum: CSV, Excel] | -| **enableImages** | **Boolean**| | [optional] [default to true] | - -### Return type - -[**ReportResult**](ReportResult.md) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - - -# **getReportHeaders** -> getReportHeaders(reportView, includeItemTypes) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.auth.*; -import org.openapitools.client.models.*; -import org.openapitools.client.api.ReportsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - // Configure API key authorization: CustomAuthentication - ApiKeyAuth CustomAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("CustomAuthentication"); - CustomAuthentication.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //CustomAuthentication.setApiKeyPrefix("Token"); - - ReportsApi apiInstance = new ReportsApi(defaultClient); - String reportView = "reportView_example"; // String | - String includeItemTypes = "includeItemTypes_example"; // String | - try { - apiInstance.getReportHeaders(reportView, includeItemTypes); - } catch (ApiException e) { - System.err.println("Exception when calling ReportsApi#getReportHeaders"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **reportView** | **String**| | [optional] | -| **includeItemTypes** | **String**| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -[CustomAuthentication](../README.md#CustomAuthentication) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | -| **401** | Unauthorized | - | -| **403** | Forbidden | - | - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ResponseProfile.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ResponseProfile.md deleted file mode 100644 index 5b98b72cb35..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/ResponseProfile.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# ResponseProfile - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**container** | **String** | | [optional] | -|**audioCodec** | **String** | | [optional] | -|**videoCodec** | **String** | | [optional] | -|**type** | **DlnaProfileType** | | [optional] | -|**orgPn** | **String** | | [optional] | -|**mimeType** | **String** | | [optional] | -|**conditions** | [**List<ProfileCondition>**](ProfileCondition.md) | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RestApiApi.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RestApiApi.md deleted file mode 100644 index b3c3a35378c..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/RestApiApi.md +++ /dev/null @@ -1,68 +0,0 @@ -# RestApiApi - -All URIs are relative to *http://nuc.ehrendingen:8096* - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**createMobileSession**](RestApiApi.md#createMobileSession) | **POST** /Lastfm/Login | | - - - -# **createMobileSession** -> createMobileSession(lastFMUser) - - - -### Example -```java -// Import classes: -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.Configuration; -import org.openapitools.client.models.*; -import org.openapitools.client.api.RestApiApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://nuc.ehrendingen:8096"); - - RestApiApi apiInstance = new RestApiApi(defaultClient); - LastFMUser lastFMUser = new LastFMUser(); // LastFMUser | - try { - apiInstance.createMobileSession(lastFMUser); - } catch (ApiException e) { - System.err.println("Exception when calling RestApiApi#createMobileSession"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **lastFMUser** | [**LastFMUser**](LastFMUser.md)| | [optional] | - -### Return type - -null (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | Success | - | - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SendToUserType.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SendToUserType.md deleted file mode 100644 index 03cb60357d6..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SendToUserType.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# SendToUserType - -## Enum - - -* `ALL` (value: `"All"`) - -* `ADMINS` (value: `"Admins"`) - -* `CUSTOM` (value: `"Custom"`) - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SessionInfo.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SessionInfo.md deleted file mode 100644 index e89bbc30bb3..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SessionInfo.md +++ /dev/null @@ -1,42 +0,0 @@ - - -# SessionInfo - -Class SessionInfo. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**playState** | [**PlayerStateInfo**](PlayerStateInfo.md) | | [optional] | -|**additionalUsers** | [**List<SessionUserInfo>**](SessionUserInfo.md) | | [optional] | -|**capabilities** | [**ClientCapabilities**](ClientCapabilities.md) | | [optional] | -|**remoteEndPoint** | **String** | Gets or sets the remote end point. | [optional] | -|**playableMediaTypes** | **List<String>** | Gets the playable media types. | [optional] [readonly] | -|**id** | **String** | Gets or sets the id. | [optional] | -|**userId** | **UUID** | Gets or sets the user id. | [optional] | -|**userName** | **String** | Gets or sets the username. | [optional] | -|**client** | **String** | Gets or sets the type of the client. | [optional] | -|**lastActivityDate** | **OffsetDateTime** | Gets or sets the last activity date. | [optional] | -|**lastPlaybackCheckIn** | **OffsetDateTime** | Gets or sets the last playback check in. | [optional] | -|**deviceName** | **String** | Gets or sets the name of the device. | [optional] | -|**deviceType** | **String** | Gets or sets the type of the device. | [optional] | -|**nowPlayingItem** | [**BaseItemDto**](BaseItemDto.md) | This is strictly used as a data transfer object from the api layer. This holds information about a BaseItem in a format that is convenient for the client. | [optional] | -|**fullNowPlayingItem** | [**BaseItem**](BaseItem.md) | Class BaseItem. | [optional] | -|**nowViewingItem** | [**BaseItemDto**](BaseItemDto.md) | This is strictly used as a data transfer object from the api layer. This holds information about a BaseItem in a format that is convenient for the client. | [optional] | -|**deviceId** | **String** | Gets or sets the device id. | [optional] | -|**applicationVersion** | **String** | Gets or sets the application version. | [optional] | -|**transcodingInfo** | [**TranscodingInfo**](TranscodingInfo.md) | | [optional] | -|**isActive** | **Boolean** | Gets a value indicating whether this instance is active. | [optional] [readonly] | -|**supportsMediaControl** | **Boolean** | | [optional] [readonly] | -|**supportsRemoteControl** | **Boolean** | | [optional] [readonly] | -|**nowPlayingQueue** | [**List<QueueItem>**](QueueItem.md) | | [optional] | -|**nowPlayingQueueFullItems** | [**List<BaseItemDto>**](BaseItemDto.md) | | [optional] | -|**hasCustomDeviceName** | **Boolean** | | [optional] | -|**playlistItemId** | **String** | | [optional] | -|**serverId** | **String** | | [optional] | -|**userPrimaryImageTag** | **String** | | [optional] | -|**supportedCommands** | **List<GeneralCommandType>** | Gets the supported commands. | [optional] [readonly] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SubtitleProfile.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SubtitleProfile.md deleted file mode 100644 index 7f7b2d08827..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/SubtitleProfile.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# SubtitleProfile - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**format** | **String** | | [optional] | -|**method** | **SubtitleDeliveryMethod** | Delivery method to use during playback of a specific subtitle format. | [optional] | -|**didlMode** | **String** | | [optional] | -|**language** | **String** | | [optional] | -|**container** | **String** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TranscodingInfo.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TranscodingInfo.md deleted file mode 100644 index f4619051afe..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TranscodingInfo.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# TranscodingInfo - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**audioCodec** | **String** | | [optional] | -|**videoCodec** | **String** | | [optional] | -|**container** | **String** | | [optional] | -|**isVideoDirect** | **Boolean** | | [optional] | -|**isAudioDirect** | **Boolean** | | [optional] | -|**bitrate** | **Integer** | | [optional] | -|**framerate** | **Float** | | [optional] | -|**completionPercentage** | **Double** | | [optional] | -|**width** | **Integer** | | [optional] | -|**height** | **Integer** | | [optional] | -|**audioChannels** | **Integer** | | [optional] | -|**hardwareAccelerationType** | **HardwareEncodingType** | | [optional] | -|**transcodeReasons** | **List<TranscodeReason>** | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TranscodingProfile.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TranscodingProfile.md deleted file mode 100644 index fd68e83fc78..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/TranscodingProfile.md +++ /dev/null @@ -1,28 +0,0 @@ - - -# TranscodingProfile - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**container** | **String** | | [optional] | -|**type** | **DlnaProfileType** | | [optional] | -|**videoCodec** | **String** | | [optional] | -|**audioCodec** | **String** | | [optional] | -|**protocol** | **String** | | [optional] | -|**estimateContentLength** | **Boolean** | | [optional] | -|**enableMpegtsM2TsMode** | **Boolean** | | [optional] | -|**transcodeSeekInfo** | **TranscodeSeekInfo** | | [optional] | -|**copyTimestamps** | **Boolean** | | [optional] | -|**context** | **EncodingContext** | | [optional] | -|**enableSubtitlesInManifest** | **Boolean** | | [optional] | -|**maxAudioChannels** | **String** | | [optional] | -|**minSegments** | **Integer** | | [optional] | -|**segmentLength** | **Integer** | | [optional] | -|**breakOnNonKeyFrames** | **Boolean** | | [optional] | -|**conditions** | [**List<ProfileCondition>**](ProfileCondition.md) | | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UpdateUserEasyPassword.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UpdateUserEasyPassword.md deleted file mode 100644 index 62de60fadca..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/UpdateUserEasyPassword.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# UpdateUserEasyPassword - -The update user easy password request body. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**newPassword** | **String** | Gets or sets the new sha1-hashed password. | [optional] | -|**newPw** | **String** | Gets or sets the new password. | [optional] | -|**resetPassword** | **Boolean** | Gets or sets a value indicating whether to reset the password. | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/XmlAttribute.md b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/XmlAttribute.md deleted file mode 100644 index 4b59b93546e..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/docs/XmlAttribute.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# XmlAttribute - -Defines the MediaBrowser.Model.Dlna.XmlAttribute. - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**name** | **String** | Gets or sets the name of the attribute. | [optional] | -|**value** | **String** | Gets or sets the value of the attribute. | [optional] | - - - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/DlnaServerApi.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/DlnaServerApi.java deleted file mode 100644 index 514b2e4c5c6..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/DlnaServerApi.java +++ /dev/null @@ -1,2324 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.api; - -import org.openapitools.client.ApiCallback; -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.ApiResponse; -import org.openapitools.client.Configuration; -import org.openapitools.client.Pair; -import org.openapitools.client.ProgressRequestBody; -import org.openapitools.client.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import java.io.File; -import org.openapitools.client.model.ProblemDetails; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class DlnaServerApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public DlnaServerApi() { - this(Configuration.getDefaultApiClient()); - } - - public DlnaServerApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for getConnectionManager - * @param serverId Server UUID. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getConnectionManagerCall(String serverId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Dlna/{serverId}/ConnectionManager" - .replace("{" + "serverId" + "}", localVarApiClient.escapeString(serverId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "text/xml" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getConnectionManagerValidateBeforeCall(String serverId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'serverId' is set - if (serverId == null) { - throw new ApiException("Missing the required parameter 'serverId' when calling getConnectionManager(Async)"); - } - - return getConnectionManagerCall(serverId, _callback); - - } - - /** - * Gets Dlna media receiver registrar xml. - * - * @param serverId Server UUID. (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public File getConnectionManager(String serverId) throws ApiException { - ApiResponse localVarResp = getConnectionManagerWithHttpInfo(serverId); - return localVarResp.getData(); - } - - /** - * Gets Dlna media receiver registrar xml. - * - * @param serverId Server UUID. (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getConnectionManagerWithHttpInfo(String serverId) throws ApiException { - okhttp3.Call localVarCall = getConnectionManagerValidateBeforeCall(serverId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets Dlna media receiver registrar xml. (asynchronously) - * - * @param serverId Server UUID. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getConnectionManagerAsync(String serverId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getConnectionManagerValidateBeforeCall(serverId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getConnectionManager2 - * @param serverId Server UUID. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getConnectionManager2Call(String serverId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Dlna/{serverId}/ConnectionManager/ConnectionManager" - .replace("{" + "serverId" + "}", localVarApiClient.escapeString(serverId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "text/xml" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getConnectionManager2ValidateBeforeCall(String serverId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'serverId' is set - if (serverId == null) { - throw new ApiException("Missing the required parameter 'serverId' when calling getConnectionManager2(Async)"); - } - - return getConnectionManager2Call(serverId, _callback); - - } - - /** - * Gets Dlna media receiver registrar xml. - * - * @param serverId Server UUID. (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public File getConnectionManager2(String serverId) throws ApiException { - ApiResponse localVarResp = getConnectionManager2WithHttpInfo(serverId); - return localVarResp.getData(); - } - - /** - * Gets Dlna media receiver registrar xml. - * - * @param serverId Server UUID. (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getConnectionManager2WithHttpInfo(String serverId) throws ApiException { - okhttp3.Call localVarCall = getConnectionManager2ValidateBeforeCall(serverId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets Dlna media receiver registrar xml. (asynchronously) - * - * @param serverId Server UUID. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getConnectionManager2Async(String serverId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getConnectionManager2ValidateBeforeCall(serverId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getConnectionManager3 - * @param serverId Server UUID. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getConnectionManager3Call(String serverId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Dlna/{serverId}/ConnectionManager/ConnectionManager.xml" - .replace("{" + "serverId" + "}", localVarApiClient.escapeString(serverId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "text/xml" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getConnectionManager3ValidateBeforeCall(String serverId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'serverId' is set - if (serverId == null) { - throw new ApiException("Missing the required parameter 'serverId' when calling getConnectionManager3(Async)"); - } - - return getConnectionManager3Call(serverId, _callback); - - } - - /** - * Gets Dlna media receiver registrar xml. - * - * @param serverId Server UUID. (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public File getConnectionManager3(String serverId) throws ApiException { - ApiResponse localVarResp = getConnectionManager3WithHttpInfo(serverId); - return localVarResp.getData(); - } - - /** - * Gets Dlna media receiver registrar xml. - * - * @param serverId Server UUID. (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getConnectionManager3WithHttpInfo(String serverId) throws ApiException { - okhttp3.Call localVarCall = getConnectionManager3ValidateBeforeCall(serverId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets Dlna media receiver registrar xml. (asynchronously) - * - * @param serverId Server UUID. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getConnectionManager3Async(String serverId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getConnectionManager3ValidateBeforeCall(serverId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getContentDirectory - * @param serverId Server UUID. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna content directory returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getContentDirectoryCall(String serverId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Dlna/{serverId}/ContentDirectory" - .replace("{" + "serverId" + "}", localVarApiClient.escapeString(serverId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "text/xml" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getContentDirectoryValidateBeforeCall(String serverId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'serverId' is set - if (serverId == null) { - throw new ApiException("Missing the required parameter 'serverId' when calling getContentDirectory(Async)"); - } - - return getContentDirectoryCall(serverId, _callback); - - } - - /** - * Gets Dlna content directory xml. - * - * @param serverId Server UUID. (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna content directory returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public File getContentDirectory(String serverId) throws ApiException { - ApiResponse localVarResp = getContentDirectoryWithHttpInfo(serverId); - return localVarResp.getData(); - } - - /** - * Gets Dlna content directory xml. - * - * @param serverId Server UUID. (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna content directory returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getContentDirectoryWithHttpInfo(String serverId) throws ApiException { - okhttp3.Call localVarCall = getContentDirectoryValidateBeforeCall(serverId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets Dlna content directory xml. (asynchronously) - * - * @param serverId Server UUID. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna content directory returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getContentDirectoryAsync(String serverId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getContentDirectoryValidateBeforeCall(serverId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getContentDirectory2 - * @param serverId Server UUID. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna content directory returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getContentDirectory2Call(String serverId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Dlna/{serverId}/ContentDirectory/ContentDirectory" - .replace("{" + "serverId" + "}", localVarApiClient.escapeString(serverId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "text/xml" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getContentDirectory2ValidateBeforeCall(String serverId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'serverId' is set - if (serverId == null) { - throw new ApiException("Missing the required parameter 'serverId' when calling getContentDirectory2(Async)"); - } - - return getContentDirectory2Call(serverId, _callback); - - } - - /** - * Gets Dlna content directory xml. - * - * @param serverId Server UUID. (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna content directory returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public File getContentDirectory2(String serverId) throws ApiException { - ApiResponse localVarResp = getContentDirectory2WithHttpInfo(serverId); - return localVarResp.getData(); - } - - /** - * Gets Dlna content directory xml. - * - * @param serverId Server UUID. (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna content directory returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getContentDirectory2WithHttpInfo(String serverId) throws ApiException { - okhttp3.Call localVarCall = getContentDirectory2ValidateBeforeCall(serverId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets Dlna content directory xml. (asynchronously) - * - * @param serverId Server UUID. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna content directory returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getContentDirectory2Async(String serverId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getContentDirectory2ValidateBeforeCall(serverId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getContentDirectory3 - * @param serverId Server UUID. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna content directory returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getContentDirectory3Call(String serverId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Dlna/{serverId}/ContentDirectory/ContentDirectory.xml" - .replace("{" + "serverId" + "}", localVarApiClient.escapeString(serverId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "text/xml" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getContentDirectory3ValidateBeforeCall(String serverId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'serverId' is set - if (serverId == null) { - throw new ApiException("Missing the required parameter 'serverId' when calling getContentDirectory3(Async)"); - } - - return getContentDirectory3Call(serverId, _callback); - - } - - /** - * Gets Dlna content directory xml. - * - * @param serverId Server UUID. (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna content directory returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public File getContentDirectory3(String serverId) throws ApiException { - ApiResponse localVarResp = getContentDirectory3WithHttpInfo(serverId); - return localVarResp.getData(); - } - - /** - * Gets Dlna content directory xml. - * - * @param serverId Server UUID. (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna content directory returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getContentDirectory3WithHttpInfo(String serverId) throws ApiException { - okhttp3.Call localVarCall = getContentDirectory3ValidateBeforeCall(serverId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets Dlna content directory xml. (asynchronously) - * - * @param serverId Server UUID. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna content directory returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getContentDirectory3Async(String serverId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getContentDirectory3ValidateBeforeCall(serverId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getDescriptionXml - * @param serverId Server UUID. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Description xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getDescriptionXmlCall(String serverId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Dlna/{serverId}/description" - .replace("{" + "serverId" + "}", localVarApiClient.escapeString(serverId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "text/xml" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getDescriptionXmlValidateBeforeCall(String serverId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'serverId' is set - if (serverId == null) { - throw new ApiException("Missing the required parameter 'serverId' when calling getDescriptionXml(Async)"); - } - - return getDescriptionXmlCall(serverId, _callback); - - } - - /** - * Get Description Xml. - * - * @param serverId Server UUID. (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Description xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public File getDescriptionXml(String serverId) throws ApiException { - ApiResponse localVarResp = getDescriptionXmlWithHttpInfo(serverId); - return localVarResp.getData(); - } - - /** - * Get Description Xml. - * - * @param serverId Server UUID. (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Description xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getDescriptionXmlWithHttpInfo(String serverId) throws ApiException { - okhttp3.Call localVarCall = getDescriptionXmlValidateBeforeCall(serverId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get Description Xml. (asynchronously) - * - * @param serverId Server UUID. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Description xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getDescriptionXmlAsync(String serverId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getDescriptionXmlValidateBeforeCall(serverId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getDescriptionXml2 - * @param serverId Server UUID. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Description xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getDescriptionXml2Call(String serverId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Dlna/{serverId}/description.xml" - .replace("{" + "serverId" + "}", localVarApiClient.escapeString(serverId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "text/xml" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getDescriptionXml2ValidateBeforeCall(String serverId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'serverId' is set - if (serverId == null) { - throw new ApiException("Missing the required parameter 'serverId' when calling getDescriptionXml2(Async)"); - } - - return getDescriptionXml2Call(serverId, _callback); - - } - - /** - * Get Description Xml. - * - * @param serverId Server UUID. (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Description xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public File getDescriptionXml2(String serverId) throws ApiException { - ApiResponse localVarResp = getDescriptionXml2WithHttpInfo(serverId); - return localVarResp.getData(); - } - - /** - * Get Description Xml. - * - * @param serverId Server UUID. (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Description xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getDescriptionXml2WithHttpInfo(String serverId) throws ApiException { - okhttp3.Call localVarCall = getDescriptionXml2ValidateBeforeCall(serverId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get Description Xml. (asynchronously) - * - * @param serverId Server UUID. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Description xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getDescriptionXml2Async(String serverId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getDescriptionXml2ValidateBeforeCall(serverId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getIcon - * @param fileName The icon filename. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
404 Not Found. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getIconCall(String fileName, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Dlna/icons/{fileName}" - .replace("{" + "fileName" + "}", localVarApiClient.escapeString(fileName.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "image/*", - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getIconValidateBeforeCall(String fileName, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'fileName' is set - if (fileName == null) { - throw new ApiException("Missing the required parameter 'fileName' when calling getIcon(Async)"); - } - - return getIconCall(fileName, _callback); - - } - - /** - * Gets a server icon. - * - * @param fileName The icon filename. (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
404 Not Found. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public File getIcon(String fileName) throws ApiException { - ApiResponse localVarResp = getIconWithHttpInfo(fileName); - return localVarResp.getData(); - } - - /** - * Gets a server icon. - * - * @param fileName The icon filename. (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
404 Not Found. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getIconWithHttpInfo(String fileName) throws ApiException { - okhttp3.Call localVarCall = getIconValidateBeforeCall(fileName, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets a server icon. (asynchronously) - * - * @param fileName The icon filename. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
404 Not Found. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getIconAsync(String fileName, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getIconValidateBeforeCall(fileName, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getIconId - * @param serverId Server UUID. (required) - * @param fileName The icon filename. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
404 Not Found. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getIconIdCall(String serverId, String fileName, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Dlna/{serverId}/icons/{fileName}" - .replace("{" + "serverId" + "}", localVarApiClient.escapeString(serverId.toString())) - .replace("{" + "fileName" + "}", localVarApiClient.escapeString(fileName.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "image/*", - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getIconIdValidateBeforeCall(String serverId, String fileName, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'serverId' is set - if (serverId == null) { - throw new ApiException("Missing the required parameter 'serverId' when calling getIconId(Async)"); - } - - // verify the required parameter 'fileName' is set - if (fileName == null) { - throw new ApiException("Missing the required parameter 'fileName' when calling getIconId(Async)"); - } - - return getIconIdCall(serverId, fileName, _callback); - - } - - /** - * Gets a server icon. - * - * @param serverId Server UUID. (required) - * @param fileName The icon filename. (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
404 Not Found. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public File getIconId(String serverId, String fileName) throws ApiException { - ApiResponse localVarResp = getIconIdWithHttpInfo(serverId, fileName); - return localVarResp.getData(); - } - - /** - * Gets a server icon. - * - * @param serverId Server UUID. (required) - * @param fileName The icon filename. (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
404 Not Found. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getIconIdWithHttpInfo(String serverId, String fileName) throws ApiException { - okhttp3.Call localVarCall = getIconIdValidateBeforeCall(serverId, fileName, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets a server icon. (asynchronously) - * - * @param serverId Server UUID. (required) - * @param fileName The icon filename. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
404 Not Found. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getIconIdAsync(String serverId, String fileName, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getIconIdValidateBeforeCall(serverId, fileName, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getMediaReceiverRegistrar - * @param serverId Server UUID. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getMediaReceiverRegistrarCall(String serverId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Dlna/{serverId}/MediaReceiverRegistrar" - .replace("{" + "serverId" + "}", localVarApiClient.escapeString(serverId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "text/xml" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getMediaReceiverRegistrarValidateBeforeCall(String serverId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'serverId' is set - if (serverId == null) { - throw new ApiException("Missing the required parameter 'serverId' when calling getMediaReceiverRegistrar(Async)"); - } - - return getMediaReceiverRegistrarCall(serverId, _callback); - - } - - /** - * Gets Dlna media receiver registrar xml. - * - * @param serverId Server UUID. (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public File getMediaReceiverRegistrar(String serverId) throws ApiException { - ApiResponse localVarResp = getMediaReceiverRegistrarWithHttpInfo(serverId); - return localVarResp.getData(); - } - - /** - * Gets Dlna media receiver registrar xml. - * - * @param serverId Server UUID. (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getMediaReceiverRegistrarWithHttpInfo(String serverId) throws ApiException { - okhttp3.Call localVarCall = getMediaReceiverRegistrarValidateBeforeCall(serverId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets Dlna media receiver registrar xml. (asynchronously) - * - * @param serverId Server UUID. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getMediaReceiverRegistrarAsync(String serverId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getMediaReceiverRegistrarValidateBeforeCall(serverId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getMediaReceiverRegistrar2 - * @param serverId Server UUID. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getMediaReceiverRegistrar2Call(String serverId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Dlna/{serverId}/MediaReceiverRegistrar/MediaReceiverRegistrar" - .replace("{" + "serverId" + "}", localVarApiClient.escapeString(serverId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "text/xml" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getMediaReceiverRegistrar2ValidateBeforeCall(String serverId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'serverId' is set - if (serverId == null) { - throw new ApiException("Missing the required parameter 'serverId' when calling getMediaReceiverRegistrar2(Async)"); - } - - return getMediaReceiverRegistrar2Call(serverId, _callback); - - } - - /** - * Gets Dlna media receiver registrar xml. - * - * @param serverId Server UUID. (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public File getMediaReceiverRegistrar2(String serverId) throws ApiException { - ApiResponse localVarResp = getMediaReceiverRegistrar2WithHttpInfo(serverId); - return localVarResp.getData(); - } - - /** - * Gets Dlna media receiver registrar xml. - * - * @param serverId Server UUID. (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getMediaReceiverRegistrar2WithHttpInfo(String serverId) throws ApiException { - okhttp3.Call localVarCall = getMediaReceiverRegistrar2ValidateBeforeCall(serverId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets Dlna media receiver registrar xml. (asynchronously) - * - * @param serverId Server UUID. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getMediaReceiverRegistrar2Async(String serverId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getMediaReceiverRegistrar2ValidateBeforeCall(serverId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getMediaReceiverRegistrar3 - * @param serverId Server UUID. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getMediaReceiverRegistrar3Call(String serverId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Dlna/{serverId}/MediaReceiverRegistrar/MediaReceiverRegistrar.xml" - .replace("{" + "serverId" + "}", localVarApiClient.escapeString(serverId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "text/xml" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getMediaReceiverRegistrar3ValidateBeforeCall(String serverId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'serverId' is set - if (serverId == null) { - throw new ApiException("Missing the required parameter 'serverId' when calling getMediaReceiverRegistrar3(Async)"); - } - - return getMediaReceiverRegistrar3Call(serverId, _callback); - - } - - /** - * Gets Dlna media receiver registrar xml. - * - * @param serverId Server UUID. (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public File getMediaReceiverRegistrar3(String serverId) throws ApiException { - ApiResponse localVarResp = getMediaReceiverRegistrar3WithHttpInfo(serverId); - return localVarResp.getData(); - } - - /** - * Gets Dlna media receiver registrar xml. - * - * @param serverId Server UUID. (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getMediaReceiverRegistrar3WithHttpInfo(String serverId) throws ApiException { - okhttp3.Call localVarCall = getMediaReceiverRegistrar3ValidateBeforeCall(serverId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets Dlna media receiver registrar xml. (asynchronously) - * - * @param serverId Server UUID. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Dlna media receiver registrar xml returned. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getMediaReceiverRegistrar3Async(String serverId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getMediaReceiverRegistrar3ValidateBeforeCall(serverId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for processConnectionManagerControlRequest - * @param serverId Server UUID. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call processConnectionManagerControlRequestCall(String serverId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Dlna/{serverId}/ConnectionManager/Control" - .replace("{" + "serverId" + "}", localVarApiClient.escapeString(serverId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "text/xml" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call processConnectionManagerControlRequestValidateBeforeCall(String serverId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'serverId' is set - if (serverId == null) { - throw new ApiException("Missing the required parameter 'serverId' when calling processConnectionManagerControlRequest(Async)"); - } - - return processConnectionManagerControlRequestCall(serverId, _callback); - - } - - /** - * Process a connection manager control request. - * - * @param serverId Server UUID. (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public File processConnectionManagerControlRequest(String serverId) throws ApiException { - ApiResponse localVarResp = processConnectionManagerControlRequestWithHttpInfo(serverId); - return localVarResp.getData(); - } - - /** - * Process a connection manager control request. - * - * @param serverId Server UUID. (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse processConnectionManagerControlRequestWithHttpInfo(String serverId) throws ApiException { - okhttp3.Call localVarCall = processConnectionManagerControlRequestValidateBeforeCall(serverId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Process a connection manager control request. (asynchronously) - * - * @param serverId Server UUID. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call processConnectionManagerControlRequestAsync(String serverId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = processConnectionManagerControlRequestValidateBeforeCall(serverId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for processContentDirectoryControlRequest - * @param serverId Server UUID. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call processContentDirectoryControlRequestCall(String serverId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Dlna/{serverId}/ContentDirectory/Control" - .replace("{" + "serverId" + "}", localVarApiClient.escapeString(serverId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "text/xml" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call processContentDirectoryControlRequestValidateBeforeCall(String serverId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'serverId' is set - if (serverId == null) { - throw new ApiException("Missing the required parameter 'serverId' when calling processContentDirectoryControlRequest(Async)"); - } - - return processContentDirectoryControlRequestCall(serverId, _callback); - - } - - /** - * Process a content directory control request. - * - * @param serverId Server UUID. (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public File processContentDirectoryControlRequest(String serverId) throws ApiException { - ApiResponse localVarResp = processContentDirectoryControlRequestWithHttpInfo(serverId); - return localVarResp.getData(); - } - - /** - * Process a content directory control request. - * - * @param serverId Server UUID. (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse processContentDirectoryControlRequestWithHttpInfo(String serverId) throws ApiException { - okhttp3.Call localVarCall = processContentDirectoryControlRequestValidateBeforeCall(serverId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Process a content directory control request. (asynchronously) - * - * @param serverId Server UUID. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call processContentDirectoryControlRequestAsync(String serverId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = processContentDirectoryControlRequestValidateBeforeCall(serverId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for processMediaReceiverRegistrarControlRequest - * @param serverId Server UUID. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call processMediaReceiverRegistrarControlRequestCall(String serverId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Dlna/{serverId}/MediaReceiverRegistrar/Control" - .replace("{" + "serverId" + "}", localVarApiClient.escapeString(serverId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "text/xml" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call processMediaReceiverRegistrarControlRequestValidateBeforeCall(String serverId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'serverId' is set - if (serverId == null) { - throw new ApiException("Missing the required parameter 'serverId' when calling processMediaReceiverRegistrarControlRequest(Async)"); - } - - return processMediaReceiverRegistrarControlRequestCall(serverId, _callback); - - } - - /** - * Process a media receiver registrar control request. - * - * @param serverId Server UUID. (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public File processMediaReceiverRegistrarControlRequest(String serverId) throws ApiException { - ApiResponse localVarResp = processMediaReceiverRegistrarControlRequestWithHttpInfo(serverId); - return localVarResp.getData(); - } - - /** - * Process a media receiver registrar control request. - * - * @param serverId Server UUID. (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse processMediaReceiverRegistrarControlRequestWithHttpInfo(String serverId) throws ApiException { - okhttp3.Call localVarCall = processMediaReceiverRegistrarControlRequestValidateBeforeCall(serverId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Process a media receiver registrar control request. (asynchronously) - * - * @param serverId Server UUID. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Request processed. -
503 DLNA is disabled. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call processMediaReceiverRegistrarControlRequestAsync(String serverId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = processMediaReceiverRegistrarControlRequestValidateBeforeCall(serverId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ImageByNameApi.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ImageByNameApi.java deleted file mode 100644 index a86f435e401..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ImageByNameApi.java +++ /dev/null @@ -1,893 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.api; - -import org.openapitools.client.ApiCallback; -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.ApiResponse; -import org.openapitools.client.Configuration; -import org.openapitools.client.Pair; -import org.openapitools.client.ProgressRequestBody; -import org.openapitools.client.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import java.io.File; -import org.openapitools.client.model.ImageByNameInfo; -import org.openapitools.client.model.ProblemDetails; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class ImageByNameApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public ImageByNameApi() { - this(Configuration.getDefaultApiClient()); - } - - public ImageByNameApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for getGeneralImage - * @param name The name of the image. (required) - * @param type Image Type (primary, backdrop, logo, etc). (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream retrieved. -
404 Image not found. -
- */ - public okhttp3.Call getGeneralImageCall(String name, String type, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Images/General/{name}/{type}" - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())) - .replace("{" + "type" + "}", localVarApiClient.escapeString(type.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "image/*", - "application/octet-stream", - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getGeneralImageValidateBeforeCall(String name, String type, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getGeneralImage(Async)"); - } - - // verify the required parameter 'type' is set - if (type == null) { - throw new ApiException("Missing the required parameter 'type' when calling getGeneralImage(Async)"); - } - - return getGeneralImageCall(name, type, _callback); - - } - - /** - * Get General Image. - * - * @param name The name of the image. (required) - * @param type Image Type (primary, backdrop, logo, etc). (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream retrieved. -
404 Image not found. -
- */ - public File getGeneralImage(String name, String type) throws ApiException { - ApiResponse localVarResp = getGeneralImageWithHttpInfo(name, type); - return localVarResp.getData(); - } - - /** - * Get General Image. - * - * @param name The name of the image. (required) - * @param type Image Type (primary, backdrop, logo, etc). (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream retrieved. -
404 Image not found. -
- */ - public ApiResponse getGeneralImageWithHttpInfo(String name, String type) throws ApiException { - okhttp3.Call localVarCall = getGeneralImageValidateBeforeCall(name, type, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get General Image. (asynchronously) - * - * @param name The name of the image. (required) - * @param type Image Type (primary, backdrop, logo, etc). (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream retrieved. -
404 Image not found. -
- */ - public okhttp3.Call getGeneralImageAsync(String name, String type, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getGeneralImageValidateBeforeCall(name, type, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getGeneralImages - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Retrieved list of images. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getGeneralImagesCall(final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Images/General"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getGeneralImagesValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return getGeneralImagesCall(_callback); - - } - - /** - * Get all general images. - * - * @return List<ImageByNameInfo> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Retrieved list of images. -
401 Unauthorized -
403 Forbidden -
- */ - public List getGeneralImages() throws ApiException { - ApiResponse> localVarResp = getGeneralImagesWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * Get all general images. - * - * @return ApiResponse<List<ImageByNameInfo>> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Retrieved list of images. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse> getGeneralImagesWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getGeneralImagesValidateBeforeCall(null); - Type localVarReturnType = new TypeToken>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get all general images. (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Retrieved list of images. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getGeneralImagesAsync(final ApiCallback> _callback) throws ApiException { - - okhttp3.Call localVarCall = getGeneralImagesValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getMediaInfoImage - * @param theme The theme to get the image from. (required) - * @param name The name of the image. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream retrieved. -
404 Image not found. -
- */ - public okhttp3.Call getMediaInfoImageCall(String theme, String name, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Images/MediaInfo/{theme}/{name}" - .replace("{" + "theme" + "}", localVarApiClient.escapeString(theme.toString())) - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "image/*", - "application/octet-stream", - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getMediaInfoImageValidateBeforeCall(String theme, String name, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'theme' is set - if (theme == null) { - throw new ApiException("Missing the required parameter 'theme' when calling getMediaInfoImage(Async)"); - } - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getMediaInfoImage(Async)"); - } - - return getMediaInfoImageCall(theme, name, _callback); - - } - - /** - * Get media info image. - * - * @param theme The theme to get the image from. (required) - * @param name The name of the image. (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream retrieved. -
404 Image not found. -
- */ - public File getMediaInfoImage(String theme, String name) throws ApiException { - ApiResponse localVarResp = getMediaInfoImageWithHttpInfo(theme, name); - return localVarResp.getData(); - } - - /** - * Get media info image. - * - * @param theme The theme to get the image from. (required) - * @param name The name of the image. (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream retrieved. -
404 Image not found. -
- */ - public ApiResponse getMediaInfoImageWithHttpInfo(String theme, String name) throws ApiException { - okhttp3.Call localVarCall = getMediaInfoImageValidateBeforeCall(theme, name, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get media info image. (asynchronously) - * - * @param theme The theme to get the image from. (required) - * @param name The name of the image. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream retrieved. -
404 Image not found. -
- */ - public okhttp3.Call getMediaInfoImageAsync(String theme, String name, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getMediaInfoImageValidateBeforeCall(theme, name, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getMediaInfoImages - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Image list retrieved. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getMediaInfoImagesCall(final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Images/MediaInfo"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getMediaInfoImagesValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return getMediaInfoImagesCall(_callback); - - } - - /** - * Get all media info images. - * - * @return List<ImageByNameInfo> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Image list retrieved. -
401 Unauthorized -
403 Forbidden -
- */ - public List getMediaInfoImages() throws ApiException { - ApiResponse> localVarResp = getMediaInfoImagesWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * Get all media info images. - * - * @return ApiResponse<List<ImageByNameInfo>> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Image list retrieved. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse> getMediaInfoImagesWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getMediaInfoImagesValidateBeforeCall(null); - Type localVarReturnType = new TypeToken>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get all media info images. (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Image list retrieved. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getMediaInfoImagesAsync(final ApiCallback> _callback) throws ApiException { - - okhttp3.Call localVarCall = getMediaInfoImagesValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getRatingImage - * @param theme The theme to get the image from. (required) - * @param name The name of the image. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream retrieved. -
404 Image not found. -
- */ - public okhttp3.Call getRatingImageCall(String theme, String name, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Images/Ratings/{theme}/{name}" - .replace("{" + "theme" + "}", localVarApiClient.escapeString(theme.toString())) - .replace("{" + "name" + "}", localVarApiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "image/*", - "application/octet-stream", - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getRatingImageValidateBeforeCall(String theme, String name, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'theme' is set - if (theme == null) { - throw new ApiException("Missing the required parameter 'theme' when calling getRatingImage(Async)"); - } - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getRatingImage(Async)"); - } - - return getRatingImageCall(theme, name, _callback); - - } - - /** - * Get rating image. - * - * @param theme The theme to get the image from. (required) - * @param name The name of the image. (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream retrieved. -
404 Image not found. -
- */ - public File getRatingImage(String theme, String name) throws ApiException { - ApiResponse localVarResp = getRatingImageWithHttpInfo(theme, name); - return localVarResp.getData(); - } - - /** - * Get rating image. - * - * @param theme The theme to get the image from. (required) - * @param name The name of the image. (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream retrieved. -
404 Image not found. -
- */ - public ApiResponse getRatingImageWithHttpInfo(String theme, String name) throws ApiException { - okhttp3.Call localVarCall = getRatingImageValidateBeforeCall(theme, name, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get rating image. (asynchronously) - * - * @param theme The theme to get the image from. (required) - * @param name The name of the image. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Response Details
Status Code Description Response Headers
200 Image stream retrieved. -
404 Image not found. -
- */ - public okhttp3.Call getRatingImageAsync(String theme, String name, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getRatingImageValidateBeforeCall(theme, name, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getRatingImages - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Retrieved list of images. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getRatingImagesCall(final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Images/Ratings"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getRatingImagesValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return getRatingImagesCall(_callback); - - } - - /** - * Get all general images. - * - * @return List<ImageByNameInfo> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Retrieved list of images. -
401 Unauthorized -
403 Forbidden -
- */ - public List getRatingImages() throws ApiException { - ApiResponse> localVarResp = getRatingImagesWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * Get all general images. - * - * @return ApiResponse<List<ImageByNameInfo>> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Retrieved list of images. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse> getRatingImagesWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getRatingImagesValidateBeforeCall(null); - Type localVarReturnType = new TypeToken>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get all general images. (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Retrieved list of images. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getRatingImagesAsync(final ApiCallback> _callback) throws ApiException { - - okhttp3.Call localVarCall = getRatingImagesValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ItemsApi.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ItemsApi.java deleted file mode 100644 index e2ecc6a3565..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ItemsApi.java +++ /dev/null @@ -1,1950 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.api; - -import org.openapitools.client.ApiCallback; -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.ApiResponse; -import org.openapitools.client.Configuration; -import org.openapitools.client.Pair; -import org.openapitools.client.ProgressRequestBody; -import org.openapitools.client.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import org.openapitools.client.model.BaseItemDtoQueryResult; -import org.openapitools.client.model.BaseItemKind; -import org.openapitools.client.model.ImageType; -import org.openapitools.client.model.ItemFields; -import org.openapitools.client.model.ItemFilter; -import org.openapitools.client.model.LocationType; -import java.time.OffsetDateTime; -import org.openapitools.client.model.SeriesStatus; -import org.openapitools.client.model.SortOrder; -import java.util.UUID; -import org.openapitools.client.model.VideoType; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class ItemsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public ItemsApi() { - this(Configuration.getDefaultApiClient()); - } - - public ItemsApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for getItems - * @param userId The user id supplied as query parameter. (optional) - * @param maxOfficialRating Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). (optional) - * @param hasThemeSong Optional filter by items with theme songs. (optional) - * @param hasThemeVideo Optional filter by items with theme videos. (optional) - * @param hasSubtitles Optional filter by items with subtitles. (optional) - * @param hasSpecialFeature Optional filter by items with special features. (optional) - * @param hasTrailer Optional filter by items with trailers. (optional) - * @param adjacentTo Optional. Return items that are siblings of a supplied item. (optional) - * @param parentIndexNumber Optional filter by parent index number. (optional) - * @param hasParentalRating Optional filter by items that have or do not have a parental rating. (optional) - * @param isHd Optional filter by items that are HD or not. (optional) - * @param is4K Optional filter by items that are 4K or not. (optional) - * @param locationTypes Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. (optional) - * @param excludeLocationTypes Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. (optional) - * @param isMissing Optional filter by items that are missing episodes or not. (optional) - * @param isUnaired Optional filter by items that are unaired episodes or not. (optional) - * @param minCommunityRating Optional filter by minimum community rating. (optional) - * @param minCriticRating Optional filter by minimum critic rating. (optional) - * @param minPremiereDate Optional. The minimum premiere date. Format = ISO. (optional) - * @param minDateLastSaved Optional. The minimum last saved date. Format = ISO. (optional) - * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. Format = ISO. (optional) - * @param maxPremiereDate Optional. The maximum premiere date. Format = ISO. (optional) - * @param hasOverview Optional filter by items that have an overview or not. (optional) - * @param hasImdbId Optional filter by items that have an imdb id or not. (optional) - * @param hasTmdbId Optional filter by items that have a tmdb id or not. (optional) - * @param hasTvdbId Optional filter by items that have a tvdb id or not. (optional) - * @param isMovie Optional filter for live tv movies. (optional) - * @param isSeries Optional filter for live tv series. (optional) - * @param isNews Optional filter for live tv news. (optional) - * @param isKids Optional filter for live tv kids. (optional) - * @param isSports Optional filter for live tv sports. (optional) - * @param excludeItemIds Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. (optional) - * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) - * @param limit Optional. The maximum number of records to return. (optional) - * @param recursive When searching within folders, this determines whether or not the search will be recursive. true/false. (optional) - * @param searchTerm Optional. Filter based on a search term. (optional) - * @param sortOrder Sort Order - Ascending,Descending. (optional) - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) - * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) - * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) - * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) - * @param filters Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. (optional) - * @param isFavorite Optional filter by items that are marked as favorite, or not. (optional) - * @param mediaTypes Optional filter by MediaType. Allows multiple, comma delimited. (optional) - * @param imageTypes Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. (optional) - * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) - * @param isPlayed Optional filter by items that are played, or not. (optional) - * @param genres Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. (optional) - * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. (optional) - * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. (optional) - * @param years Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. (optional) - * @param enableUserData Optional, include user data. (optional) - * @param imageTypeLimit Optional, the max number of images to return, per image type. (optional) - * @param enableImageTypes Optional. The image types to include in the output. (optional) - * @param person Optional. If specified, results will be filtered to include only those containing the specified person. (optional) - * @param personIds Optional. If specified, results will be filtered to include only those containing the specified person id. (optional) - * @param personTypes Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. (optional) - * @param studios Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. (optional) - * @param artists Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. (optional) - * @param excludeArtistIds Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. (optional) - * @param artistIds Optional. If specified, results will be filtered to include only those containing the specified artist id. (optional) - * @param albumArtistIds Optional. If specified, results will be filtered to include only those containing the specified album artist id. (optional) - * @param contributingArtistIds Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. (optional) - * @param albums Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. (optional) - * @param albumIds Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. (optional) - * @param ids Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. (optional) - * @param videoTypes Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. (optional) - * @param minOfficialRating Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). (optional) - * @param isLocked Optional filter by items that are locked. (optional) - * @param isPlaceHolder Optional filter by items that are placeholders. (optional) - * @param hasOfficialRating Optional filter by items that have official ratings. (optional) - * @param collapseBoxSetItems Whether or not to hide items behind their boxsets. (optional) - * @param minWidth Optional. Filter by the minimum width of the item. (optional) - * @param minHeight Optional. Filter by the minimum height of the item. (optional) - * @param maxWidth Optional. Filter by the maximum width of the item. (optional) - * @param maxHeight Optional. Filter by the maximum height of the item. (optional) - * @param is3D Optional filter by items that are 3D, or not. (optional) - * @param seriesStatus Optional filter by Series Status. Allows multiple, comma delimited. (optional) - * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater than a given input string. (optional) - * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input string. (optional) - * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input string. (optional) - * @param studioIds Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. (optional) - * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. (optional) - * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) - * @param enableImages Optional, include image information in output. (optional, default to true) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getItemsCall(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Items"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (userId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); - } - - if (maxOfficialRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxOfficialRating", maxOfficialRating)); - } - - if (hasThemeSong != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasThemeSong", hasThemeSong)); - } - - if (hasThemeVideo != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasThemeVideo", hasThemeVideo)); - } - - if (hasSubtitles != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasSubtitles", hasSubtitles)); - } - - if (hasSpecialFeature != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasSpecialFeature", hasSpecialFeature)); - } - - if (hasTrailer != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTrailer", hasTrailer)); - } - - if (adjacentTo != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("adjacentTo", adjacentTo)); - } - - if (parentIndexNumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("parentIndexNumber", parentIndexNumber)); - } - - if (hasParentalRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasParentalRating", hasParentalRating)); - } - - if (isHd != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isHd", isHd)); - } - - if (is4K != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("is4K", is4K)); - } - - if (locationTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "locationTypes", locationTypes)); - } - - if (excludeLocationTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "excludeLocationTypes", excludeLocationTypes)); - } - - if (isMissing != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isMissing", isMissing)); - } - - if (isUnaired != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isUnaired", isUnaired)); - } - - if (minCommunityRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minCommunityRating", minCommunityRating)); - } - - if (minCriticRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minCriticRating", minCriticRating)); - } - - if (minPremiereDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minPremiereDate", minPremiereDate)); - } - - if (minDateLastSaved != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minDateLastSaved", minDateLastSaved)); - } - - if (minDateLastSavedForUser != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minDateLastSavedForUser", minDateLastSavedForUser)); - } - - if (maxPremiereDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxPremiereDate", maxPremiereDate)); - } - - if (hasOverview != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasOverview", hasOverview)); - } - - if (hasImdbId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasImdbId", hasImdbId)); - } - - if (hasTmdbId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTmdbId", hasTmdbId)); - } - - if (hasTvdbId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTvdbId", hasTvdbId)); - } - - if (isMovie != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isMovie", isMovie)); - } - - if (isSeries != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isSeries", isSeries)); - } - - if (isNews != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isNews", isNews)); - } - - if (isKids != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isKids", isKids)); - } - - if (isSports != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isSports", isSports)); - } - - if (excludeItemIds != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "excludeItemIds", excludeItemIds)); - } - - if (startIndex != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("startIndex", startIndex)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (recursive != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("recursive", recursive)); - } - - if (searchTerm != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchTerm", searchTerm)); - } - - if (sortOrder != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "sortOrder", sortOrder)); - } - - if (parentId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("parentId", parentId)); - } - - if (fields != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "fields", fields)); - } - - if (excludeItemTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "excludeItemTypes", excludeItemTypes)); - } - - if (includeItemTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "includeItemTypes", includeItemTypes)); - } - - if (filters != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "filters", filters)); - } - - if (isFavorite != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isFavorite", isFavorite)); - } - - if (mediaTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "mediaTypes", mediaTypes)); - } - - if (imageTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "imageTypes", imageTypes)); - } - - if (sortBy != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "sortBy", sortBy)); - } - - if (isPlayed != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isPlayed", isPlayed)); - } - - if (genres != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "genres", genres)); - } - - if (officialRatings != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "officialRatings", officialRatings)); - } - - if (tags != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "tags", tags)); - } - - if (years != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "years", years)); - } - - if (enableUserData != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableUserData", enableUserData)); - } - - if (imageTypeLimit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("imageTypeLimit", imageTypeLimit)); - } - - if (enableImageTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "enableImageTypes", enableImageTypes)); - } - - if (person != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("person", person)); - } - - if (personIds != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "personIds", personIds)); - } - - if (personTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "personTypes", personTypes)); - } - - if (studios != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "studios", studios)); - } - - if (artists != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "artists", artists)); - } - - if (excludeArtistIds != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "excludeArtistIds", excludeArtistIds)); - } - - if (artistIds != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "artistIds", artistIds)); - } - - if (albumArtistIds != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "albumArtistIds", albumArtistIds)); - } - - if (contributingArtistIds != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "contributingArtistIds", contributingArtistIds)); - } - - if (albums != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "albums", albums)); - } - - if (albumIds != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "albumIds", albumIds)); - } - - if (ids != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "ids", ids)); - } - - if (videoTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "videoTypes", videoTypes)); - } - - if (minOfficialRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minOfficialRating", minOfficialRating)); - } - - if (isLocked != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isLocked", isLocked)); - } - - if (isPlaceHolder != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isPlaceHolder", isPlaceHolder)); - } - - if (hasOfficialRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasOfficialRating", hasOfficialRating)); - } - - if (collapseBoxSetItems != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("collapseBoxSetItems", collapseBoxSetItems)); - } - - if (minWidth != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minWidth", minWidth)); - } - - if (minHeight != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minHeight", minHeight)); - } - - if (maxWidth != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxWidth", maxWidth)); - } - - if (maxHeight != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxHeight", maxHeight)); - } - - if (is3D != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("is3D", is3D)); - } - - if (seriesStatus != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "seriesStatus", seriesStatus)); - } - - if (nameStartsWithOrGreater != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameStartsWithOrGreater", nameStartsWithOrGreater)); - } - - if (nameStartsWith != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameStartsWith", nameStartsWith)); - } - - if (nameLessThan != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameLessThan", nameLessThan)); - } - - if (studioIds != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "studioIds", studioIds)); - } - - if (genreIds != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "genreIds", genreIds)); - } - - if (enableTotalRecordCount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableTotalRecordCount", enableTotalRecordCount)); - } - - if (enableImages != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableImages", enableImages)); - } - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getItemsValidateBeforeCall(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages, final ApiCallback _callback) throws ApiException { - return getItemsCall(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, _callback); - - } - - /** - * Gets items based on a query. - * - * @param userId The user id supplied as query parameter. (optional) - * @param maxOfficialRating Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). (optional) - * @param hasThemeSong Optional filter by items with theme songs. (optional) - * @param hasThemeVideo Optional filter by items with theme videos. (optional) - * @param hasSubtitles Optional filter by items with subtitles. (optional) - * @param hasSpecialFeature Optional filter by items with special features. (optional) - * @param hasTrailer Optional filter by items with trailers. (optional) - * @param adjacentTo Optional. Return items that are siblings of a supplied item. (optional) - * @param parentIndexNumber Optional filter by parent index number. (optional) - * @param hasParentalRating Optional filter by items that have or do not have a parental rating. (optional) - * @param isHd Optional filter by items that are HD or not. (optional) - * @param is4K Optional filter by items that are 4K or not. (optional) - * @param locationTypes Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. (optional) - * @param excludeLocationTypes Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. (optional) - * @param isMissing Optional filter by items that are missing episodes or not. (optional) - * @param isUnaired Optional filter by items that are unaired episodes or not. (optional) - * @param minCommunityRating Optional filter by minimum community rating. (optional) - * @param minCriticRating Optional filter by minimum critic rating. (optional) - * @param minPremiereDate Optional. The minimum premiere date. Format = ISO. (optional) - * @param minDateLastSaved Optional. The minimum last saved date. Format = ISO. (optional) - * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. Format = ISO. (optional) - * @param maxPremiereDate Optional. The maximum premiere date. Format = ISO. (optional) - * @param hasOverview Optional filter by items that have an overview or not. (optional) - * @param hasImdbId Optional filter by items that have an imdb id or not. (optional) - * @param hasTmdbId Optional filter by items that have a tmdb id or not. (optional) - * @param hasTvdbId Optional filter by items that have a tvdb id or not. (optional) - * @param isMovie Optional filter for live tv movies. (optional) - * @param isSeries Optional filter for live tv series. (optional) - * @param isNews Optional filter for live tv news. (optional) - * @param isKids Optional filter for live tv kids. (optional) - * @param isSports Optional filter for live tv sports. (optional) - * @param excludeItemIds Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. (optional) - * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) - * @param limit Optional. The maximum number of records to return. (optional) - * @param recursive When searching within folders, this determines whether or not the search will be recursive. true/false. (optional) - * @param searchTerm Optional. Filter based on a search term. (optional) - * @param sortOrder Sort Order - Ascending,Descending. (optional) - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) - * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) - * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) - * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) - * @param filters Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. (optional) - * @param isFavorite Optional filter by items that are marked as favorite, or not. (optional) - * @param mediaTypes Optional filter by MediaType. Allows multiple, comma delimited. (optional) - * @param imageTypes Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. (optional) - * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) - * @param isPlayed Optional filter by items that are played, or not. (optional) - * @param genres Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. (optional) - * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. (optional) - * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. (optional) - * @param years Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. (optional) - * @param enableUserData Optional, include user data. (optional) - * @param imageTypeLimit Optional, the max number of images to return, per image type. (optional) - * @param enableImageTypes Optional. The image types to include in the output. (optional) - * @param person Optional. If specified, results will be filtered to include only those containing the specified person. (optional) - * @param personIds Optional. If specified, results will be filtered to include only those containing the specified person id. (optional) - * @param personTypes Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. (optional) - * @param studios Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. (optional) - * @param artists Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. (optional) - * @param excludeArtistIds Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. (optional) - * @param artistIds Optional. If specified, results will be filtered to include only those containing the specified artist id. (optional) - * @param albumArtistIds Optional. If specified, results will be filtered to include only those containing the specified album artist id. (optional) - * @param contributingArtistIds Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. (optional) - * @param albums Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. (optional) - * @param albumIds Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. (optional) - * @param ids Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. (optional) - * @param videoTypes Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. (optional) - * @param minOfficialRating Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). (optional) - * @param isLocked Optional filter by items that are locked. (optional) - * @param isPlaceHolder Optional filter by items that are placeholders. (optional) - * @param hasOfficialRating Optional filter by items that have official ratings. (optional) - * @param collapseBoxSetItems Whether or not to hide items behind their boxsets. (optional) - * @param minWidth Optional. Filter by the minimum width of the item. (optional) - * @param minHeight Optional. Filter by the minimum height of the item. (optional) - * @param maxWidth Optional. Filter by the maximum width of the item. (optional) - * @param maxHeight Optional. Filter by the maximum height of the item. (optional) - * @param is3D Optional filter by items that are 3D, or not. (optional) - * @param seriesStatus Optional filter by Series Status. Allows multiple, comma delimited. (optional) - * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater than a given input string. (optional) - * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input string. (optional) - * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input string. (optional) - * @param studioIds Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. (optional) - * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. (optional) - * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) - * @param enableImages Optional, include image information in output. (optional, default to true) - * @return BaseItemDtoQueryResult - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public BaseItemDtoQueryResult getItems(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages) throws ApiException { - ApiResponse localVarResp = getItemsWithHttpInfo(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages); - return localVarResp.getData(); - } - - /** - * Gets items based on a query. - * - * @param userId The user id supplied as query parameter. (optional) - * @param maxOfficialRating Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). (optional) - * @param hasThemeSong Optional filter by items with theme songs. (optional) - * @param hasThemeVideo Optional filter by items with theme videos. (optional) - * @param hasSubtitles Optional filter by items with subtitles. (optional) - * @param hasSpecialFeature Optional filter by items with special features. (optional) - * @param hasTrailer Optional filter by items with trailers. (optional) - * @param adjacentTo Optional. Return items that are siblings of a supplied item. (optional) - * @param parentIndexNumber Optional filter by parent index number. (optional) - * @param hasParentalRating Optional filter by items that have or do not have a parental rating. (optional) - * @param isHd Optional filter by items that are HD or not. (optional) - * @param is4K Optional filter by items that are 4K or not. (optional) - * @param locationTypes Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. (optional) - * @param excludeLocationTypes Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. (optional) - * @param isMissing Optional filter by items that are missing episodes or not. (optional) - * @param isUnaired Optional filter by items that are unaired episodes or not. (optional) - * @param minCommunityRating Optional filter by minimum community rating. (optional) - * @param minCriticRating Optional filter by minimum critic rating. (optional) - * @param minPremiereDate Optional. The minimum premiere date. Format = ISO. (optional) - * @param minDateLastSaved Optional. The minimum last saved date. Format = ISO. (optional) - * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. Format = ISO. (optional) - * @param maxPremiereDate Optional. The maximum premiere date. Format = ISO. (optional) - * @param hasOverview Optional filter by items that have an overview or not. (optional) - * @param hasImdbId Optional filter by items that have an imdb id or not. (optional) - * @param hasTmdbId Optional filter by items that have a tmdb id or not. (optional) - * @param hasTvdbId Optional filter by items that have a tvdb id or not. (optional) - * @param isMovie Optional filter for live tv movies. (optional) - * @param isSeries Optional filter for live tv series. (optional) - * @param isNews Optional filter for live tv news. (optional) - * @param isKids Optional filter for live tv kids. (optional) - * @param isSports Optional filter for live tv sports. (optional) - * @param excludeItemIds Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. (optional) - * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) - * @param limit Optional. The maximum number of records to return. (optional) - * @param recursive When searching within folders, this determines whether or not the search will be recursive. true/false. (optional) - * @param searchTerm Optional. Filter based on a search term. (optional) - * @param sortOrder Sort Order - Ascending,Descending. (optional) - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) - * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) - * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) - * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) - * @param filters Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. (optional) - * @param isFavorite Optional filter by items that are marked as favorite, or not. (optional) - * @param mediaTypes Optional filter by MediaType. Allows multiple, comma delimited. (optional) - * @param imageTypes Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. (optional) - * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) - * @param isPlayed Optional filter by items that are played, or not. (optional) - * @param genres Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. (optional) - * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. (optional) - * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. (optional) - * @param years Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. (optional) - * @param enableUserData Optional, include user data. (optional) - * @param imageTypeLimit Optional, the max number of images to return, per image type. (optional) - * @param enableImageTypes Optional. The image types to include in the output. (optional) - * @param person Optional. If specified, results will be filtered to include only those containing the specified person. (optional) - * @param personIds Optional. If specified, results will be filtered to include only those containing the specified person id. (optional) - * @param personTypes Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. (optional) - * @param studios Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. (optional) - * @param artists Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. (optional) - * @param excludeArtistIds Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. (optional) - * @param artistIds Optional. If specified, results will be filtered to include only those containing the specified artist id. (optional) - * @param albumArtistIds Optional. If specified, results will be filtered to include only those containing the specified album artist id. (optional) - * @param contributingArtistIds Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. (optional) - * @param albums Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. (optional) - * @param albumIds Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. (optional) - * @param ids Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. (optional) - * @param videoTypes Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. (optional) - * @param minOfficialRating Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). (optional) - * @param isLocked Optional filter by items that are locked. (optional) - * @param isPlaceHolder Optional filter by items that are placeholders. (optional) - * @param hasOfficialRating Optional filter by items that have official ratings. (optional) - * @param collapseBoxSetItems Whether or not to hide items behind their boxsets. (optional) - * @param minWidth Optional. Filter by the minimum width of the item. (optional) - * @param minHeight Optional. Filter by the minimum height of the item. (optional) - * @param maxWidth Optional. Filter by the maximum width of the item. (optional) - * @param maxHeight Optional. Filter by the maximum height of the item. (optional) - * @param is3D Optional filter by items that are 3D, or not. (optional) - * @param seriesStatus Optional filter by Series Status. Allows multiple, comma delimited. (optional) - * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater than a given input string. (optional) - * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input string. (optional) - * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input string. (optional) - * @param studioIds Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. (optional) - * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. (optional) - * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) - * @param enableImages Optional, include image information in output. (optional, default to true) - * @return ApiResponse<BaseItemDtoQueryResult> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getItemsWithHttpInfo(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages) throws ApiException { - okhttp3.Call localVarCall = getItemsValidateBeforeCall(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets items based on a query. (asynchronously) - * - * @param userId The user id supplied as query parameter. (optional) - * @param maxOfficialRating Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). (optional) - * @param hasThemeSong Optional filter by items with theme songs. (optional) - * @param hasThemeVideo Optional filter by items with theme videos. (optional) - * @param hasSubtitles Optional filter by items with subtitles. (optional) - * @param hasSpecialFeature Optional filter by items with special features. (optional) - * @param hasTrailer Optional filter by items with trailers. (optional) - * @param adjacentTo Optional. Return items that are siblings of a supplied item. (optional) - * @param parentIndexNumber Optional filter by parent index number. (optional) - * @param hasParentalRating Optional filter by items that have or do not have a parental rating. (optional) - * @param isHd Optional filter by items that are HD or not. (optional) - * @param is4K Optional filter by items that are 4K or not. (optional) - * @param locationTypes Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. (optional) - * @param excludeLocationTypes Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. (optional) - * @param isMissing Optional filter by items that are missing episodes or not. (optional) - * @param isUnaired Optional filter by items that are unaired episodes or not. (optional) - * @param minCommunityRating Optional filter by minimum community rating. (optional) - * @param minCriticRating Optional filter by minimum critic rating. (optional) - * @param minPremiereDate Optional. The minimum premiere date. Format = ISO. (optional) - * @param minDateLastSaved Optional. The minimum last saved date. Format = ISO. (optional) - * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. Format = ISO. (optional) - * @param maxPremiereDate Optional. The maximum premiere date. Format = ISO. (optional) - * @param hasOverview Optional filter by items that have an overview or not. (optional) - * @param hasImdbId Optional filter by items that have an imdb id or not. (optional) - * @param hasTmdbId Optional filter by items that have a tmdb id or not. (optional) - * @param hasTvdbId Optional filter by items that have a tvdb id or not. (optional) - * @param isMovie Optional filter for live tv movies. (optional) - * @param isSeries Optional filter for live tv series. (optional) - * @param isNews Optional filter for live tv news. (optional) - * @param isKids Optional filter for live tv kids. (optional) - * @param isSports Optional filter for live tv sports. (optional) - * @param excludeItemIds Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. (optional) - * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) - * @param limit Optional. The maximum number of records to return. (optional) - * @param recursive When searching within folders, this determines whether or not the search will be recursive. true/false. (optional) - * @param searchTerm Optional. Filter based on a search term. (optional) - * @param sortOrder Sort Order - Ascending,Descending. (optional) - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) - * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) - * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) - * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) - * @param filters Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. (optional) - * @param isFavorite Optional filter by items that are marked as favorite, or not. (optional) - * @param mediaTypes Optional filter by MediaType. Allows multiple, comma delimited. (optional) - * @param imageTypes Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. (optional) - * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) - * @param isPlayed Optional filter by items that are played, or not. (optional) - * @param genres Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. (optional) - * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. (optional) - * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. (optional) - * @param years Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. (optional) - * @param enableUserData Optional, include user data. (optional) - * @param imageTypeLimit Optional, the max number of images to return, per image type. (optional) - * @param enableImageTypes Optional. The image types to include in the output. (optional) - * @param person Optional. If specified, results will be filtered to include only those containing the specified person. (optional) - * @param personIds Optional. If specified, results will be filtered to include only those containing the specified person id. (optional) - * @param personTypes Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. (optional) - * @param studios Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. (optional) - * @param artists Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. (optional) - * @param excludeArtistIds Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. (optional) - * @param artistIds Optional. If specified, results will be filtered to include only those containing the specified artist id. (optional) - * @param albumArtistIds Optional. If specified, results will be filtered to include only those containing the specified album artist id. (optional) - * @param contributingArtistIds Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. (optional) - * @param albums Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. (optional) - * @param albumIds Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. (optional) - * @param ids Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. (optional) - * @param videoTypes Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. (optional) - * @param minOfficialRating Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). (optional) - * @param isLocked Optional filter by items that are locked. (optional) - * @param isPlaceHolder Optional filter by items that are placeholders. (optional) - * @param hasOfficialRating Optional filter by items that have official ratings. (optional) - * @param collapseBoxSetItems Whether or not to hide items behind their boxsets. (optional) - * @param minWidth Optional. Filter by the minimum width of the item. (optional) - * @param minHeight Optional. Filter by the minimum height of the item. (optional) - * @param maxWidth Optional. Filter by the maximum width of the item. (optional) - * @param maxHeight Optional. Filter by the maximum height of the item. (optional) - * @param is3D Optional filter by items that are 3D, or not. (optional) - * @param seriesStatus Optional filter by Series Status. Allows multiple, comma delimited. (optional) - * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater than a given input string. (optional) - * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input string. (optional) - * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input string. (optional) - * @param studioIds Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. (optional) - * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. (optional) - * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) - * @param enableImages Optional, include image information in output. (optional, default to true) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getItemsAsync(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getItemsValidateBeforeCall(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getItemsByUserId - * @param userId The user id supplied as query parameter. (required) - * @param maxOfficialRating Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). (optional) - * @param hasThemeSong Optional filter by items with theme songs. (optional) - * @param hasThemeVideo Optional filter by items with theme videos. (optional) - * @param hasSubtitles Optional filter by items with subtitles. (optional) - * @param hasSpecialFeature Optional filter by items with special features. (optional) - * @param hasTrailer Optional filter by items with trailers. (optional) - * @param adjacentTo Optional. Return items that are siblings of a supplied item. (optional) - * @param parentIndexNumber Optional filter by parent index number. (optional) - * @param hasParentalRating Optional filter by items that have or do not have a parental rating. (optional) - * @param isHd Optional filter by items that are HD or not. (optional) - * @param is4K Optional filter by items that are 4K or not. (optional) - * @param locationTypes Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. (optional) - * @param excludeLocationTypes Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. (optional) - * @param isMissing Optional filter by items that are missing episodes or not. (optional) - * @param isUnaired Optional filter by items that are unaired episodes or not. (optional) - * @param minCommunityRating Optional filter by minimum community rating. (optional) - * @param minCriticRating Optional filter by minimum critic rating. (optional) - * @param minPremiereDate Optional. The minimum premiere date. Format = ISO. (optional) - * @param minDateLastSaved Optional. The minimum last saved date. Format = ISO. (optional) - * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. Format = ISO. (optional) - * @param maxPremiereDate Optional. The maximum premiere date. Format = ISO. (optional) - * @param hasOverview Optional filter by items that have an overview or not. (optional) - * @param hasImdbId Optional filter by items that have an imdb id or not. (optional) - * @param hasTmdbId Optional filter by items that have a tmdb id or not. (optional) - * @param hasTvdbId Optional filter by items that have a tvdb id or not. (optional) - * @param isMovie Optional filter for live tv movies. (optional) - * @param isSeries Optional filter for live tv series. (optional) - * @param isNews Optional filter for live tv news. (optional) - * @param isKids Optional filter for live tv kids. (optional) - * @param isSports Optional filter for live tv sports. (optional) - * @param excludeItemIds Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. (optional) - * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) - * @param limit Optional. The maximum number of records to return. (optional) - * @param recursive When searching within folders, this determines whether or not the search will be recursive. true/false. (optional) - * @param searchTerm Optional. Filter based on a search term. (optional) - * @param sortOrder Sort Order - Ascending,Descending. (optional) - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) - * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) - * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) - * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) - * @param filters Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. (optional) - * @param isFavorite Optional filter by items that are marked as favorite, or not. (optional) - * @param mediaTypes Optional filter by MediaType. Allows multiple, comma delimited. (optional) - * @param imageTypes Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. (optional) - * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) - * @param isPlayed Optional filter by items that are played, or not. (optional) - * @param genres Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. (optional) - * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. (optional) - * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. (optional) - * @param years Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. (optional) - * @param enableUserData Optional, include user data. (optional) - * @param imageTypeLimit Optional, the max number of images to return, per image type. (optional) - * @param enableImageTypes Optional. The image types to include in the output. (optional) - * @param person Optional. If specified, results will be filtered to include only those containing the specified person. (optional) - * @param personIds Optional. If specified, results will be filtered to include only those containing the specified person id. (optional) - * @param personTypes Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. (optional) - * @param studios Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. (optional) - * @param artists Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. (optional) - * @param excludeArtistIds Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. (optional) - * @param artistIds Optional. If specified, results will be filtered to include only those containing the specified artist id. (optional) - * @param albumArtistIds Optional. If specified, results will be filtered to include only those containing the specified album artist id. (optional) - * @param contributingArtistIds Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. (optional) - * @param albums Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. (optional) - * @param albumIds Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. (optional) - * @param ids Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. (optional) - * @param videoTypes Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. (optional) - * @param minOfficialRating Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). (optional) - * @param isLocked Optional filter by items that are locked. (optional) - * @param isPlaceHolder Optional filter by items that are placeholders. (optional) - * @param hasOfficialRating Optional filter by items that have official ratings. (optional) - * @param collapseBoxSetItems Whether or not to hide items behind their boxsets. (optional) - * @param minWidth Optional. Filter by the minimum width of the item. (optional) - * @param minHeight Optional. Filter by the minimum height of the item. (optional) - * @param maxWidth Optional. Filter by the maximum width of the item. (optional) - * @param maxHeight Optional. Filter by the maximum height of the item. (optional) - * @param is3D Optional filter by items that are 3D, or not. (optional) - * @param seriesStatus Optional filter by Series Status. Allows multiple, comma delimited. (optional) - * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater than a given input string. (optional) - * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input string. (optional) - * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input string. (optional) - * @param studioIds Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. (optional) - * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. (optional) - * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) - * @param enableImages Optional, include image information in output. (optional, default to true) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getItemsByUserIdCall(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Users/{userId}/Items" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (maxOfficialRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxOfficialRating", maxOfficialRating)); - } - - if (hasThemeSong != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasThemeSong", hasThemeSong)); - } - - if (hasThemeVideo != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasThemeVideo", hasThemeVideo)); - } - - if (hasSubtitles != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasSubtitles", hasSubtitles)); - } - - if (hasSpecialFeature != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasSpecialFeature", hasSpecialFeature)); - } - - if (hasTrailer != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTrailer", hasTrailer)); - } - - if (adjacentTo != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("adjacentTo", adjacentTo)); - } - - if (parentIndexNumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("parentIndexNumber", parentIndexNumber)); - } - - if (hasParentalRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasParentalRating", hasParentalRating)); - } - - if (isHd != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isHd", isHd)); - } - - if (is4K != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("is4K", is4K)); - } - - if (locationTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "locationTypes", locationTypes)); - } - - if (excludeLocationTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "excludeLocationTypes", excludeLocationTypes)); - } - - if (isMissing != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isMissing", isMissing)); - } - - if (isUnaired != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isUnaired", isUnaired)); - } - - if (minCommunityRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minCommunityRating", minCommunityRating)); - } - - if (minCriticRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minCriticRating", minCriticRating)); - } - - if (minPremiereDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minPremiereDate", minPremiereDate)); - } - - if (minDateLastSaved != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minDateLastSaved", minDateLastSaved)); - } - - if (minDateLastSavedForUser != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minDateLastSavedForUser", minDateLastSavedForUser)); - } - - if (maxPremiereDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxPremiereDate", maxPremiereDate)); - } - - if (hasOverview != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasOverview", hasOverview)); - } - - if (hasImdbId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasImdbId", hasImdbId)); - } - - if (hasTmdbId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTmdbId", hasTmdbId)); - } - - if (hasTvdbId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTvdbId", hasTvdbId)); - } - - if (isMovie != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isMovie", isMovie)); - } - - if (isSeries != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isSeries", isSeries)); - } - - if (isNews != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isNews", isNews)); - } - - if (isKids != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isKids", isKids)); - } - - if (isSports != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isSports", isSports)); - } - - if (excludeItemIds != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "excludeItemIds", excludeItemIds)); - } - - if (startIndex != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("startIndex", startIndex)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (recursive != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("recursive", recursive)); - } - - if (searchTerm != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchTerm", searchTerm)); - } - - if (sortOrder != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "sortOrder", sortOrder)); - } - - if (parentId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("parentId", parentId)); - } - - if (fields != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "fields", fields)); - } - - if (excludeItemTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "excludeItemTypes", excludeItemTypes)); - } - - if (includeItemTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "includeItemTypes", includeItemTypes)); - } - - if (filters != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "filters", filters)); - } - - if (isFavorite != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isFavorite", isFavorite)); - } - - if (mediaTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "mediaTypes", mediaTypes)); - } - - if (imageTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "imageTypes", imageTypes)); - } - - if (sortBy != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "sortBy", sortBy)); - } - - if (isPlayed != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isPlayed", isPlayed)); - } - - if (genres != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "genres", genres)); - } - - if (officialRatings != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "officialRatings", officialRatings)); - } - - if (tags != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "tags", tags)); - } - - if (years != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "years", years)); - } - - if (enableUserData != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableUserData", enableUserData)); - } - - if (imageTypeLimit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("imageTypeLimit", imageTypeLimit)); - } - - if (enableImageTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "enableImageTypes", enableImageTypes)); - } - - if (person != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("person", person)); - } - - if (personIds != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "personIds", personIds)); - } - - if (personTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "personTypes", personTypes)); - } - - if (studios != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "studios", studios)); - } - - if (artists != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "artists", artists)); - } - - if (excludeArtistIds != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "excludeArtistIds", excludeArtistIds)); - } - - if (artistIds != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "artistIds", artistIds)); - } - - if (albumArtistIds != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "albumArtistIds", albumArtistIds)); - } - - if (contributingArtistIds != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "contributingArtistIds", contributingArtistIds)); - } - - if (albums != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "albums", albums)); - } - - if (albumIds != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "albumIds", albumIds)); - } - - if (ids != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "ids", ids)); - } - - if (videoTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "videoTypes", videoTypes)); - } - - if (minOfficialRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minOfficialRating", minOfficialRating)); - } - - if (isLocked != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isLocked", isLocked)); - } - - if (isPlaceHolder != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isPlaceHolder", isPlaceHolder)); - } - - if (hasOfficialRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasOfficialRating", hasOfficialRating)); - } - - if (collapseBoxSetItems != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("collapseBoxSetItems", collapseBoxSetItems)); - } - - if (minWidth != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minWidth", minWidth)); - } - - if (minHeight != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minHeight", minHeight)); - } - - if (maxWidth != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxWidth", maxWidth)); - } - - if (maxHeight != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxHeight", maxHeight)); - } - - if (is3D != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("is3D", is3D)); - } - - if (seriesStatus != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "seriesStatus", seriesStatus)); - } - - if (nameStartsWithOrGreater != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameStartsWithOrGreater", nameStartsWithOrGreater)); - } - - if (nameStartsWith != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameStartsWith", nameStartsWith)); - } - - if (nameLessThan != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameLessThan", nameLessThan)); - } - - if (studioIds != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "studioIds", studioIds)); - } - - if (genreIds != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "genreIds", genreIds)); - } - - if (enableTotalRecordCount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableTotalRecordCount", enableTotalRecordCount)); - } - - if (enableImages != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableImages", enableImages)); - } - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getItemsByUserIdValidateBeforeCall(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getItemsByUserId(Async)"); - } - - return getItemsByUserIdCall(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, _callback); - - } - - /** - * Gets items based on a query. - * - * @param userId The user id supplied as query parameter. (required) - * @param maxOfficialRating Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). (optional) - * @param hasThemeSong Optional filter by items with theme songs. (optional) - * @param hasThemeVideo Optional filter by items with theme videos. (optional) - * @param hasSubtitles Optional filter by items with subtitles. (optional) - * @param hasSpecialFeature Optional filter by items with special features. (optional) - * @param hasTrailer Optional filter by items with trailers. (optional) - * @param adjacentTo Optional. Return items that are siblings of a supplied item. (optional) - * @param parentIndexNumber Optional filter by parent index number. (optional) - * @param hasParentalRating Optional filter by items that have or do not have a parental rating. (optional) - * @param isHd Optional filter by items that are HD or not. (optional) - * @param is4K Optional filter by items that are 4K or not. (optional) - * @param locationTypes Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. (optional) - * @param excludeLocationTypes Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. (optional) - * @param isMissing Optional filter by items that are missing episodes or not. (optional) - * @param isUnaired Optional filter by items that are unaired episodes or not. (optional) - * @param minCommunityRating Optional filter by minimum community rating. (optional) - * @param minCriticRating Optional filter by minimum critic rating. (optional) - * @param minPremiereDate Optional. The minimum premiere date. Format = ISO. (optional) - * @param minDateLastSaved Optional. The minimum last saved date. Format = ISO. (optional) - * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. Format = ISO. (optional) - * @param maxPremiereDate Optional. The maximum premiere date. Format = ISO. (optional) - * @param hasOverview Optional filter by items that have an overview or not. (optional) - * @param hasImdbId Optional filter by items that have an imdb id or not. (optional) - * @param hasTmdbId Optional filter by items that have a tmdb id or not. (optional) - * @param hasTvdbId Optional filter by items that have a tvdb id or not. (optional) - * @param isMovie Optional filter for live tv movies. (optional) - * @param isSeries Optional filter for live tv series. (optional) - * @param isNews Optional filter for live tv news. (optional) - * @param isKids Optional filter for live tv kids. (optional) - * @param isSports Optional filter for live tv sports. (optional) - * @param excludeItemIds Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. (optional) - * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) - * @param limit Optional. The maximum number of records to return. (optional) - * @param recursive When searching within folders, this determines whether or not the search will be recursive. true/false. (optional) - * @param searchTerm Optional. Filter based on a search term. (optional) - * @param sortOrder Sort Order - Ascending,Descending. (optional) - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) - * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) - * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) - * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) - * @param filters Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. (optional) - * @param isFavorite Optional filter by items that are marked as favorite, or not. (optional) - * @param mediaTypes Optional filter by MediaType. Allows multiple, comma delimited. (optional) - * @param imageTypes Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. (optional) - * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) - * @param isPlayed Optional filter by items that are played, or not. (optional) - * @param genres Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. (optional) - * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. (optional) - * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. (optional) - * @param years Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. (optional) - * @param enableUserData Optional, include user data. (optional) - * @param imageTypeLimit Optional, the max number of images to return, per image type. (optional) - * @param enableImageTypes Optional. The image types to include in the output. (optional) - * @param person Optional. If specified, results will be filtered to include only those containing the specified person. (optional) - * @param personIds Optional. If specified, results will be filtered to include only those containing the specified person id. (optional) - * @param personTypes Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. (optional) - * @param studios Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. (optional) - * @param artists Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. (optional) - * @param excludeArtistIds Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. (optional) - * @param artistIds Optional. If specified, results will be filtered to include only those containing the specified artist id. (optional) - * @param albumArtistIds Optional. If specified, results will be filtered to include only those containing the specified album artist id. (optional) - * @param contributingArtistIds Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. (optional) - * @param albums Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. (optional) - * @param albumIds Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. (optional) - * @param ids Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. (optional) - * @param videoTypes Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. (optional) - * @param minOfficialRating Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). (optional) - * @param isLocked Optional filter by items that are locked. (optional) - * @param isPlaceHolder Optional filter by items that are placeholders. (optional) - * @param hasOfficialRating Optional filter by items that have official ratings. (optional) - * @param collapseBoxSetItems Whether or not to hide items behind their boxsets. (optional) - * @param minWidth Optional. Filter by the minimum width of the item. (optional) - * @param minHeight Optional. Filter by the minimum height of the item. (optional) - * @param maxWidth Optional. Filter by the maximum width of the item. (optional) - * @param maxHeight Optional. Filter by the maximum height of the item. (optional) - * @param is3D Optional filter by items that are 3D, or not. (optional) - * @param seriesStatus Optional filter by Series Status. Allows multiple, comma delimited. (optional) - * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater than a given input string. (optional) - * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input string. (optional) - * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input string. (optional) - * @param studioIds Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. (optional) - * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. (optional) - * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) - * @param enableImages Optional, include image information in output. (optional, default to true) - * @return BaseItemDtoQueryResult - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public BaseItemDtoQueryResult getItemsByUserId(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages) throws ApiException { - ApiResponse localVarResp = getItemsByUserIdWithHttpInfo(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages); - return localVarResp.getData(); - } - - /** - * Gets items based on a query. - * - * @param userId The user id supplied as query parameter. (required) - * @param maxOfficialRating Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). (optional) - * @param hasThemeSong Optional filter by items with theme songs. (optional) - * @param hasThemeVideo Optional filter by items with theme videos. (optional) - * @param hasSubtitles Optional filter by items with subtitles. (optional) - * @param hasSpecialFeature Optional filter by items with special features. (optional) - * @param hasTrailer Optional filter by items with trailers. (optional) - * @param adjacentTo Optional. Return items that are siblings of a supplied item. (optional) - * @param parentIndexNumber Optional filter by parent index number. (optional) - * @param hasParentalRating Optional filter by items that have or do not have a parental rating. (optional) - * @param isHd Optional filter by items that are HD or not. (optional) - * @param is4K Optional filter by items that are 4K or not. (optional) - * @param locationTypes Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. (optional) - * @param excludeLocationTypes Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. (optional) - * @param isMissing Optional filter by items that are missing episodes or not. (optional) - * @param isUnaired Optional filter by items that are unaired episodes or not. (optional) - * @param minCommunityRating Optional filter by minimum community rating. (optional) - * @param minCriticRating Optional filter by minimum critic rating. (optional) - * @param minPremiereDate Optional. The minimum premiere date. Format = ISO. (optional) - * @param minDateLastSaved Optional. The minimum last saved date. Format = ISO. (optional) - * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. Format = ISO. (optional) - * @param maxPremiereDate Optional. The maximum premiere date. Format = ISO. (optional) - * @param hasOverview Optional filter by items that have an overview or not. (optional) - * @param hasImdbId Optional filter by items that have an imdb id or not. (optional) - * @param hasTmdbId Optional filter by items that have a tmdb id or not. (optional) - * @param hasTvdbId Optional filter by items that have a tvdb id or not. (optional) - * @param isMovie Optional filter for live tv movies. (optional) - * @param isSeries Optional filter for live tv series. (optional) - * @param isNews Optional filter for live tv news. (optional) - * @param isKids Optional filter for live tv kids. (optional) - * @param isSports Optional filter for live tv sports. (optional) - * @param excludeItemIds Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. (optional) - * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) - * @param limit Optional. The maximum number of records to return. (optional) - * @param recursive When searching within folders, this determines whether or not the search will be recursive. true/false. (optional) - * @param searchTerm Optional. Filter based on a search term. (optional) - * @param sortOrder Sort Order - Ascending,Descending. (optional) - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) - * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) - * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) - * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) - * @param filters Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. (optional) - * @param isFavorite Optional filter by items that are marked as favorite, or not. (optional) - * @param mediaTypes Optional filter by MediaType. Allows multiple, comma delimited. (optional) - * @param imageTypes Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. (optional) - * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) - * @param isPlayed Optional filter by items that are played, or not. (optional) - * @param genres Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. (optional) - * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. (optional) - * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. (optional) - * @param years Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. (optional) - * @param enableUserData Optional, include user data. (optional) - * @param imageTypeLimit Optional, the max number of images to return, per image type. (optional) - * @param enableImageTypes Optional. The image types to include in the output. (optional) - * @param person Optional. If specified, results will be filtered to include only those containing the specified person. (optional) - * @param personIds Optional. If specified, results will be filtered to include only those containing the specified person id. (optional) - * @param personTypes Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. (optional) - * @param studios Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. (optional) - * @param artists Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. (optional) - * @param excludeArtistIds Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. (optional) - * @param artistIds Optional. If specified, results will be filtered to include only those containing the specified artist id. (optional) - * @param albumArtistIds Optional. If specified, results will be filtered to include only those containing the specified album artist id. (optional) - * @param contributingArtistIds Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. (optional) - * @param albums Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. (optional) - * @param albumIds Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. (optional) - * @param ids Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. (optional) - * @param videoTypes Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. (optional) - * @param minOfficialRating Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). (optional) - * @param isLocked Optional filter by items that are locked. (optional) - * @param isPlaceHolder Optional filter by items that are placeholders. (optional) - * @param hasOfficialRating Optional filter by items that have official ratings. (optional) - * @param collapseBoxSetItems Whether or not to hide items behind their boxsets. (optional) - * @param minWidth Optional. Filter by the minimum width of the item. (optional) - * @param minHeight Optional. Filter by the minimum height of the item. (optional) - * @param maxWidth Optional. Filter by the maximum width of the item. (optional) - * @param maxHeight Optional. Filter by the maximum height of the item. (optional) - * @param is3D Optional filter by items that are 3D, or not. (optional) - * @param seriesStatus Optional filter by Series Status. Allows multiple, comma delimited. (optional) - * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater than a given input string. (optional) - * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input string. (optional) - * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input string. (optional) - * @param studioIds Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. (optional) - * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. (optional) - * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) - * @param enableImages Optional, include image information in output. (optional, default to true) - * @return ApiResponse<BaseItemDtoQueryResult> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getItemsByUserIdWithHttpInfo(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages) throws ApiException { - okhttp3.Call localVarCall = getItemsByUserIdValidateBeforeCall(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets items based on a query. (asynchronously) - * - * @param userId The user id supplied as query parameter. (required) - * @param maxOfficialRating Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). (optional) - * @param hasThemeSong Optional filter by items with theme songs. (optional) - * @param hasThemeVideo Optional filter by items with theme videos. (optional) - * @param hasSubtitles Optional filter by items with subtitles. (optional) - * @param hasSpecialFeature Optional filter by items with special features. (optional) - * @param hasTrailer Optional filter by items with trailers. (optional) - * @param adjacentTo Optional. Return items that are siblings of a supplied item. (optional) - * @param parentIndexNumber Optional filter by parent index number. (optional) - * @param hasParentalRating Optional filter by items that have or do not have a parental rating. (optional) - * @param isHd Optional filter by items that are HD or not. (optional) - * @param is4K Optional filter by items that are 4K or not. (optional) - * @param locationTypes Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. (optional) - * @param excludeLocationTypes Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. (optional) - * @param isMissing Optional filter by items that are missing episodes or not. (optional) - * @param isUnaired Optional filter by items that are unaired episodes or not. (optional) - * @param minCommunityRating Optional filter by minimum community rating. (optional) - * @param minCriticRating Optional filter by minimum critic rating. (optional) - * @param minPremiereDate Optional. The minimum premiere date. Format = ISO. (optional) - * @param minDateLastSaved Optional. The minimum last saved date. Format = ISO. (optional) - * @param minDateLastSavedForUser Optional. The minimum last saved date for the current user. Format = ISO. (optional) - * @param maxPremiereDate Optional. The maximum premiere date. Format = ISO. (optional) - * @param hasOverview Optional filter by items that have an overview or not. (optional) - * @param hasImdbId Optional filter by items that have an imdb id or not. (optional) - * @param hasTmdbId Optional filter by items that have a tmdb id or not. (optional) - * @param hasTvdbId Optional filter by items that have a tvdb id or not. (optional) - * @param isMovie Optional filter for live tv movies. (optional) - * @param isSeries Optional filter for live tv series. (optional) - * @param isNews Optional filter for live tv news. (optional) - * @param isKids Optional filter for live tv kids. (optional) - * @param isSports Optional filter for live tv sports. (optional) - * @param excludeItemIds Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. (optional) - * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) - * @param limit Optional. The maximum number of records to return. (optional) - * @param recursive When searching within folders, this determines whether or not the search will be recursive. true/false. (optional) - * @param searchTerm Optional. Filter based on a search term. (optional) - * @param sortOrder Sort Order - Ascending,Descending. (optional) - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) - * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) - * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) - * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) - * @param filters Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. (optional) - * @param isFavorite Optional filter by items that are marked as favorite, or not. (optional) - * @param mediaTypes Optional filter by MediaType. Allows multiple, comma delimited. (optional) - * @param imageTypes Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. (optional) - * @param sortBy Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. (optional) - * @param isPlayed Optional filter by items that are played, or not. (optional) - * @param genres Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. (optional) - * @param officialRatings Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. (optional) - * @param tags Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. (optional) - * @param years Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. (optional) - * @param enableUserData Optional, include user data. (optional) - * @param imageTypeLimit Optional, the max number of images to return, per image type. (optional) - * @param enableImageTypes Optional. The image types to include in the output. (optional) - * @param person Optional. If specified, results will be filtered to include only those containing the specified person. (optional) - * @param personIds Optional. If specified, results will be filtered to include only those containing the specified person id. (optional) - * @param personTypes Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. (optional) - * @param studios Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. (optional) - * @param artists Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. (optional) - * @param excludeArtistIds Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. (optional) - * @param artistIds Optional. If specified, results will be filtered to include only those containing the specified artist id. (optional) - * @param albumArtistIds Optional. If specified, results will be filtered to include only those containing the specified album artist id. (optional) - * @param contributingArtistIds Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. (optional) - * @param albums Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. (optional) - * @param albumIds Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. (optional) - * @param ids Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. (optional) - * @param videoTypes Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. (optional) - * @param minOfficialRating Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). (optional) - * @param isLocked Optional filter by items that are locked. (optional) - * @param isPlaceHolder Optional filter by items that are placeholders. (optional) - * @param hasOfficialRating Optional filter by items that have official ratings. (optional) - * @param collapseBoxSetItems Whether or not to hide items behind their boxsets. (optional) - * @param minWidth Optional. Filter by the minimum width of the item. (optional) - * @param minHeight Optional. Filter by the minimum height of the item. (optional) - * @param maxWidth Optional. Filter by the maximum width of the item. (optional) - * @param maxHeight Optional. Filter by the maximum height of the item. (optional) - * @param is3D Optional filter by items that are 3D, or not. (optional) - * @param seriesStatus Optional filter by Series Status. Allows multiple, comma delimited. (optional) - * @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater than a given input string. (optional) - * @param nameStartsWith Optional filter by items whose name is sorted equally than a given input string. (optional) - * @param nameLessThan Optional filter by items whose name is equally or lesser than a given input string. (optional) - * @param studioIds Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. (optional) - * @param genreIds Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. (optional) - * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) - * @param enableImages Optional, include image information in output. (optional, default to true) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getItemsByUserIdAsync(UUID userId, String maxOfficialRating, Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, Boolean is4K, List locationTypes, List excludeLocationTypes, Boolean isMissing, Boolean isUnaired, Double minCommunityRating, Double minCriticRating, OffsetDateTime minPremiereDate, OffsetDateTime minDateLastSaved, OffsetDateTime minDateLastSavedForUser, OffsetDateTime maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isMovie, Boolean isSeries, Boolean isNews, Boolean isKids, Boolean isSports, List excludeItemIds, Integer startIndex, Integer limit, Boolean recursive, String searchTerm, List sortOrder, UUID parentId, List fields, List excludeItemTypes, List includeItemTypes, List filters, Boolean isFavorite, List mediaTypes, List imageTypes, List sortBy, Boolean isPlayed, List genres, List officialRatings, List tags, List years, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, String person, List personIds, List personTypes, List studios, List artists, List excludeArtistIds, List artistIds, List albumArtistIds, List contributingArtistIds, List albums, List albumIds, List ids, List videoTypes, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight, Boolean is3D, List seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, List studioIds, List genreIds, Boolean enableTotalRecordCount, Boolean enableImages, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getItemsByUserIdValidateBeforeCall(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getResumeItems - * @param userId The user id. (required) - * @param startIndex The start index. (optional) - * @param limit The item limit. (optional) - * @param searchTerm The search term. (optional) - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) - * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) - * @param mediaTypes Optional. Filter by MediaType. Allows multiple, comma delimited. (optional) - * @param enableUserData Optional. Include user data. (optional) - * @param imageTypeLimit Optional. The max number of images to return, per image type. (optional) - * @param enableImageTypes Optional. The image types to include in the output. (optional) - * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) - * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) - * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) - * @param enableImages Optional. Include image information in output. (optional, default to true) - * @param excludeActiveSessions Optional. Whether to exclude the currently active sessions. (optional, default to false) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Items returned. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getResumeItemsCall(UUID userId, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List mediaTypes, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, List excludeItemTypes, List includeItemTypes, Boolean enableTotalRecordCount, Boolean enableImages, Boolean excludeActiveSessions, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Users/{userId}/Items/Resume" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (startIndex != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("startIndex", startIndex)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (searchTerm != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("searchTerm", searchTerm)); - } - - if (parentId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("parentId", parentId)); - } - - if (fields != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "fields", fields)); - } - - if (mediaTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "mediaTypes", mediaTypes)); - } - - if (enableUserData != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableUserData", enableUserData)); - } - - if (imageTypeLimit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("imageTypeLimit", imageTypeLimit)); - } - - if (enableImageTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "enableImageTypes", enableImageTypes)); - } - - if (excludeItemTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "excludeItemTypes", excludeItemTypes)); - } - - if (includeItemTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "includeItemTypes", includeItemTypes)); - } - - if (enableTotalRecordCount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableTotalRecordCount", enableTotalRecordCount)); - } - - if (enableImages != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableImages", enableImages)); - } - - if (excludeActiveSessions != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludeActiveSessions", excludeActiveSessions)); - } - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getResumeItemsValidateBeforeCall(UUID userId, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List mediaTypes, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, List excludeItemTypes, List includeItemTypes, Boolean enableTotalRecordCount, Boolean enableImages, Boolean excludeActiveSessions, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getResumeItems(Async)"); - } - - return getResumeItemsCall(userId, startIndex, limit, searchTerm, parentId, fields, mediaTypes, enableUserData, imageTypeLimit, enableImageTypes, excludeItemTypes, includeItemTypes, enableTotalRecordCount, enableImages, excludeActiveSessions, _callback); - - } - - /** - * Gets items based on a query. - * - * @param userId The user id. (required) - * @param startIndex The start index. (optional) - * @param limit The item limit. (optional) - * @param searchTerm The search term. (optional) - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) - * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) - * @param mediaTypes Optional. Filter by MediaType. Allows multiple, comma delimited. (optional) - * @param enableUserData Optional. Include user data. (optional) - * @param imageTypeLimit Optional. The max number of images to return, per image type. (optional) - * @param enableImageTypes Optional. The image types to include in the output. (optional) - * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) - * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) - * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) - * @param enableImages Optional. Include image information in output. (optional, default to true) - * @param excludeActiveSessions Optional. Whether to exclude the currently active sessions. (optional, default to false) - * @return BaseItemDtoQueryResult - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Items returned. -
401 Unauthorized -
403 Forbidden -
- */ - public BaseItemDtoQueryResult getResumeItems(UUID userId, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List mediaTypes, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, List excludeItemTypes, List includeItemTypes, Boolean enableTotalRecordCount, Boolean enableImages, Boolean excludeActiveSessions) throws ApiException { - ApiResponse localVarResp = getResumeItemsWithHttpInfo(userId, startIndex, limit, searchTerm, parentId, fields, mediaTypes, enableUserData, imageTypeLimit, enableImageTypes, excludeItemTypes, includeItemTypes, enableTotalRecordCount, enableImages, excludeActiveSessions); - return localVarResp.getData(); - } - - /** - * Gets items based on a query. - * - * @param userId The user id. (required) - * @param startIndex The start index. (optional) - * @param limit The item limit. (optional) - * @param searchTerm The search term. (optional) - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) - * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) - * @param mediaTypes Optional. Filter by MediaType. Allows multiple, comma delimited. (optional) - * @param enableUserData Optional. Include user data. (optional) - * @param imageTypeLimit Optional. The max number of images to return, per image type. (optional) - * @param enableImageTypes Optional. The image types to include in the output. (optional) - * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) - * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) - * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) - * @param enableImages Optional. Include image information in output. (optional, default to true) - * @param excludeActiveSessions Optional. Whether to exclude the currently active sessions. (optional, default to false) - * @return ApiResponse<BaseItemDtoQueryResult> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Items returned. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getResumeItemsWithHttpInfo(UUID userId, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List mediaTypes, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, List excludeItemTypes, List includeItemTypes, Boolean enableTotalRecordCount, Boolean enableImages, Boolean excludeActiveSessions) throws ApiException { - okhttp3.Call localVarCall = getResumeItemsValidateBeforeCall(userId, startIndex, limit, searchTerm, parentId, fields, mediaTypes, enableUserData, imageTypeLimit, enableImageTypes, excludeItemTypes, includeItemTypes, enableTotalRecordCount, enableImages, excludeActiveSessions, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets items based on a query. (asynchronously) - * - * @param userId The user id. (required) - * @param startIndex The start index. (optional) - * @param limit The item limit. (optional) - * @param searchTerm The search term. (optional) - * @param parentId Specify this to localize the search to a specific item or folder. Omit to use the root. (optional) - * @param fields Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. (optional) - * @param mediaTypes Optional. Filter by MediaType. Allows multiple, comma delimited. (optional) - * @param enableUserData Optional. Include user data. (optional) - * @param imageTypeLimit Optional. The max number of images to return, per image type. (optional) - * @param enableImageTypes Optional. The image types to include in the output. (optional) - * @param excludeItemTypes Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. (optional) - * @param includeItemTypes Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. (optional) - * @param enableTotalRecordCount Optional. Enable the total record count. (optional, default to true) - * @param enableImages Optional. Include image information in output. (optional, default to true) - * @param excludeActiveSessions Optional. Whether to exclude the currently active sessions. (optional, default to false) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Items returned. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getResumeItemsAsync(UUID userId, Integer startIndex, Integer limit, String searchTerm, UUID parentId, List fields, List mediaTypes, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, List excludeItemTypes, List includeItemTypes, Boolean enableTotalRecordCount, Boolean enableImages, Boolean excludeActiveSessions, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getResumeItemsValidateBeforeCall(userId, startIndex, limit, searchTerm, parentId, fields, mediaTypes, enableUserData, imageTypeLimit, enableImageTypes, excludeItemTypes, includeItemTypes, enableTotalRecordCount, enableImages, excludeActiveSessions, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/NotificationsApi.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/NotificationsApi.java deleted file mode 100644 index d8df8d3d519..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/NotificationsApi.java +++ /dev/null @@ -1,999 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.api; - -import org.openapitools.client.ApiCallback; -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.ApiResponse; -import org.openapitools.client.Configuration; -import org.openapitools.client.Pair; -import org.openapitools.client.ProgressRequestBody; -import org.openapitools.client.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import org.openapitools.client.model.AdminNotificationDto; -import org.openapitools.client.model.NameIdPair; -import org.openapitools.client.model.NotificationResultDto; -import org.openapitools.client.model.NotificationTypeInfo; -import org.openapitools.client.model.NotificationsSummaryDto; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class NotificationsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public NotificationsApi() { - this(Configuration.getDefaultApiClient()); - } - - public NotificationsApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for createAdminNotification - * @param adminNotificationDto The notification request. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Notification sent. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call createAdminNotificationCall(AdminNotificationDto adminNotificationDto, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = adminNotificationDto; - - // create path and map variables - String localVarPath = "/Notifications/Admin"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json", - "text/json", - "application/*+json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createAdminNotificationValidateBeforeCall(AdminNotificationDto adminNotificationDto, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'adminNotificationDto' is set - if (adminNotificationDto == null) { - throw new ApiException("Missing the required parameter 'adminNotificationDto' when calling createAdminNotification(Async)"); - } - - return createAdminNotificationCall(adminNotificationDto, _callback); - - } - - /** - * Sends a notification to all admins. - * - * @param adminNotificationDto The notification request. (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Notification sent. -
401 Unauthorized -
403 Forbidden -
- */ - public void createAdminNotification(AdminNotificationDto adminNotificationDto) throws ApiException { - createAdminNotificationWithHttpInfo(adminNotificationDto); - } - - /** - * Sends a notification to all admins. - * - * @param adminNotificationDto The notification request. (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Notification sent. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse createAdminNotificationWithHttpInfo(AdminNotificationDto adminNotificationDto) throws ApiException { - okhttp3.Call localVarCall = createAdminNotificationValidateBeforeCall(adminNotificationDto, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * Sends a notification to all admins. (asynchronously) - * - * @param adminNotificationDto The notification request. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Notification sent. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call createAdminNotificationAsync(AdminNotificationDto adminNotificationDto, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createAdminNotificationValidateBeforeCall(adminNotificationDto, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getNotificationServices - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 All notification services returned. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getNotificationServicesCall(final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Notifications/Services"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getNotificationServicesValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return getNotificationServicesCall(_callback); - - } - - /** - * Gets notification services. - * - * @return List<NameIdPair> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 All notification services returned. -
401 Unauthorized -
403 Forbidden -
- */ - public List getNotificationServices() throws ApiException { - ApiResponse> localVarResp = getNotificationServicesWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * Gets notification services. - * - * @return ApiResponse<List<NameIdPair>> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 All notification services returned. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse> getNotificationServicesWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getNotificationServicesValidateBeforeCall(null); - Type localVarReturnType = new TypeToken>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets notification services. (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 All notification services returned. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getNotificationServicesAsync(final ApiCallback> _callback) throws ApiException { - - okhttp3.Call localVarCall = getNotificationServicesValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getNotificationTypes - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 All notification types returned. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getNotificationTypesCall(final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Notifications/Types"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getNotificationTypesValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return getNotificationTypesCall(_callback); - - } - - /** - * Gets notification types. - * - * @return List<NotificationTypeInfo> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 All notification types returned. -
401 Unauthorized -
403 Forbidden -
- */ - public List getNotificationTypes() throws ApiException { - ApiResponse> localVarResp = getNotificationTypesWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * Gets notification types. - * - * @return ApiResponse<List<NotificationTypeInfo>> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 All notification types returned. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse> getNotificationTypesWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getNotificationTypesValidateBeforeCall(null); - Type localVarReturnType = new TypeToken>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets notification types. (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 All notification types returned. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getNotificationTypesAsync(final ApiCallback> _callback) throws ApiException { - - okhttp3.Call localVarCall = getNotificationTypesValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getNotifications - * @param userId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Notifications returned. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getNotificationsCall(String userId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Notifications/{userId}" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getNotificationsValidateBeforeCall(String userId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getNotifications(Async)"); - } - - return getNotificationsCall(userId, _callback); - - } - - /** - * Gets a user's notifications. - * - * @param userId (required) - * @return NotificationResultDto - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Notifications returned. -
401 Unauthorized -
403 Forbidden -
- */ - public NotificationResultDto getNotifications(String userId) throws ApiException { - ApiResponse localVarResp = getNotificationsWithHttpInfo(userId); - return localVarResp.getData(); - } - - /** - * Gets a user's notifications. - * - * @param userId (required) - * @return ApiResponse<NotificationResultDto> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Notifications returned. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getNotificationsWithHttpInfo(String userId) throws ApiException { - okhttp3.Call localVarCall = getNotificationsValidateBeforeCall(userId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets a user's notifications. (asynchronously) - * - * @param userId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Notifications returned. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getNotificationsAsync(String userId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getNotificationsValidateBeforeCall(userId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getNotificationsSummary - * @param userId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Summary of user's notifications returned. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getNotificationsSummaryCall(String userId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Notifications/{userId}/Summary" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getNotificationsSummaryValidateBeforeCall(String userId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getNotificationsSummary(Async)"); - } - - return getNotificationsSummaryCall(userId, _callback); - - } - - /** - * Gets a user's notification summary. - * - * @param userId (required) - * @return NotificationsSummaryDto - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Summary of user's notifications returned. -
401 Unauthorized -
403 Forbidden -
- */ - public NotificationsSummaryDto getNotificationsSummary(String userId) throws ApiException { - ApiResponse localVarResp = getNotificationsSummaryWithHttpInfo(userId); - return localVarResp.getData(); - } - - /** - * Gets a user's notification summary. - * - * @param userId (required) - * @return ApiResponse<NotificationsSummaryDto> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Summary of user's notifications returned. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getNotificationsSummaryWithHttpInfo(String userId) throws ApiException { - okhttp3.Call localVarCall = getNotificationsSummaryValidateBeforeCall(userId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets a user's notification summary. (asynchronously) - * - * @param userId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Summary of user's notifications returned. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getNotificationsSummaryAsync(String userId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getNotificationsSummaryValidateBeforeCall(userId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for setRead - * @param userId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Notifications set as read. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call setReadCall(String userId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Notifications/{userId}/Read" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call setReadValidateBeforeCall(String userId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling setRead(Async)"); - } - - return setReadCall(userId, _callback); - - } - - /** - * Sets notifications as read. - * - * @param userId (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Notifications set as read. -
401 Unauthorized -
403 Forbidden -
- */ - public void setRead(String userId) throws ApiException { - setReadWithHttpInfo(userId); - } - - /** - * Sets notifications as read. - * - * @param userId (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Notifications set as read. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse setReadWithHttpInfo(String userId) throws ApiException { - okhttp3.Call localVarCall = setReadValidateBeforeCall(userId, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * Sets notifications as read. (asynchronously) - * - * @param userId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Notifications set as read. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call setReadAsync(String userId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = setReadValidateBeforeCall(userId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for setUnread - * @param userId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Notifications set as unread. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call setUnreadCall(String userId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Notifications/{userId}/Unread" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call setUnreadValidateBeforeCall(String userId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling setUnread(Async)"); - } - - return setUnreadCall(userId, _callback); - - } - - /** - * Sets notifications as unread. - * - * @param userId (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Notifications set as unread. -
401 Unauthorized -
403 Forbidden -
- */ - public void setUnread(String userId) throws ApiException { - setUnreadWithHttpInfo(userId); - } - - /** - * Sets notifications as unread. - * - * @param userId (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Notifications set as unread. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse setUnreadWithHttpInfo(String userId) throws ApiException { - okhttp3.Call localVarCall = setUnreadValidateBeforeCall(userId, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * Sets notifications as unread. (asynchronously) - * - * @param userId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Notifications set as unread. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call setUnreadAsync(String userId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = setUnreadValidateBeforeCall(userId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } -} diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/PlaybackReportingActivityApi.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/PlaybackReportingActivityApi.java deleted file mode 100644 index bc535b6f27d..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/PlaybackReportingActivityApi.java +++ /dev/null @@ -1,2295 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.api; - -import org.openapitools.client.ApiCallback; -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.ApiResponse; -import org.openapitools.client.Configuration; -import org.openapitools.client.Pair; -import org.openapitools.client.ProgressRequestBody; -import org.openapitools.client.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import org.openapitools.client.model.CustomQueryData; -import java.time.OffsetDateTime; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class PlaybackReportingActivityApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public PlaybackReportingActivityApi() { - this(Configuration.getDefaultApiClient()); - } - - public PlaybackReportingActivityApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for customQuery - * @param customQueryData (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call customQueryCall(CustomQueryData customQueryData, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = customQueryData; - - // create path and map variables - String localVarPath = "/user_usage_stats/submit_custom_query"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json", - "text/json", - "application/*+json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call customQueryValidateBeforeCall(CustomQueryData customQueryData, final ApiCallback _callback) throws ApiException { - return customQueryCall(customQueryData, _callback); - - } - - /** - * - * - * @param customQueryData (optional) - * @return Map<String, Object> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public Map customQuery(CustomQueryData customQueryData) throws ApiException { - ApiResponse> localVarResp = customQueryWithHttpInfo(customQueryData); - return localVarResp.getData(); - } - - /** - * - * - * @param customQueryData (optional) - * @return ApiResponse<Map<String, Object>> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse> customQueryWithHttpInfo(CustomQueryData customQueryData) throws ApiException { - okhttp3.Call localVarCall = customQueryValidateBeforeCall(customQueryData, null); - Type localVarReturnType = new TypeToken>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * - * @param customQueryData (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call customQueryAsync(CustomQueryData customQueryData, final ApiCallback> _callback) throws ApiException { - - okhttp3.Call localVarCall = customQueryValidateBeforeCall(customQueryData, _callback); - Type localVarReturnType = new TypeToken>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getBreakdownReport - * @param breakdownType (required) - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getBreakdownReportCall(String breakdownType, Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/{breakdownType}/BreakdownReport" - .replace("{" + "breakdownType" + "}", localVarApiClient.escapeString(breakdownType.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (days != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("days", days)); - } - - if (endDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endDate", endDate)); - } - - if (timezoneOffset != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timezoneOffset", timezoneOffset)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getBreakdownReportValidateBeforeCall(String breakdownType, Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'breakdownType' is set - if (breakdownType == null) { - throw new ApiException("Missing the required parameter 'breakdownType' when calling getBreakdownReport(Async)"); - } - - return getBreakdownReportCall(breakdownType, days, endDate, timezoneOffset, _callback); - - } - - /** - * - * - * @param breakdownType (required) - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getBreakdownReport(String breakdownType, Integer days, OffsetDateTime endDate, Float timezoneOffset) throws ApiException { - getBreakdownReportWithHttpInfo(breakdownType, days, endDate, timezoneOffset); - } - - /** - * - * - * @param breakdownType (required) - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getBreakdownReportWithHttpInfo(String breakdownType, Integer days, OffsetDateTime endDate, Float timezoneOffset) throws ApiException { - okhttp3.Call localVarCall = getBreakdownReportValidateBeforeCall(breakdownType, days, endDate, timezoneOffset, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param breakdownType (required) - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getBreakdownReportAsync(String breakdownType, Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getBreakdownReportValidateBeforeCall(breakdownType, days, endDate, timezoneOffset, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getDurationHistogramReport - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getDurationHistogramReportCall(Integer days, OffsetDateTime endDate, String filter, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/DurationHistogramReport"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (days != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("days", days)); - } - - if (endDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endDate", endDate)); - } - - if (filter != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter", filter)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getDurationHistogramReportValidateBeforeCall(Integer days, OffsetDateTime endDate, String filter, final ApiCallback _callback) throws ApiException { - return getDurationHistogramReportCall(days, endDate, filter, _callback); - - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getDurationHistogramReport(Integer days, OffsetDateTime endDate, String filter) throws ApiException { - getDurationHistogramReportWithHttpInfo(days, endDate, filter); - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getDurationHistogramReportWithHttpInfo(Integer days, OffsetDateTime endDate, String filter) throws ApiException { - okhttp3.Call localVarCall = getDurationHistogramReportValidateBeforeCall(days, endDate, filter, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getDurationHistogramReportAsync(Integer days, OffsetDateTime endDate, String filter, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getDurationHistogramReportValidateBeforeCall(days, endDate, filter, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getHourlyReport - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param timezoneOffset (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getHourlyReportCall(Integer days, OffsetDateTime endDate, String filter, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/HourlyReport"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (days != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("days", days)); - } - - if (endDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endDate", endDate)); - } - - if (filter != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter", filter)); - } - - if (timezoneOffset != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timezoneOffset", timezoneOffset)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getHourlyReportValidateBeforeCall(Integer days, OffsetDateTime endDate, String filter, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - return getHourlyReportCall(days, endDate, filter, timezoneOffset, _callback); - - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param timezoneOffset (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getHourlyReport(Integer days, OffsetDateTime endDate, String filter, Float timezoneOffset) throws ApiException { - getHourlyReportWithHttpInfo(days, endDate, filter, timezoneOffset); - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param timezoneOffset (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getHourlyReportWithHttpInfo(Integer days, OffsetDateTime endDate, String filter, Float timezoneOffset) throws ApiException { - okhttp3.Call localVarCall = getHourlyReportValidateBeforeCall(days, endDate, filter, timezoneOffset, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param timezoneOffset (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getHourlyReportAsync(Integer days, OffsetDateTime endDate, String filter, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getHourlyReportValidateBeforeCall(days, endDate, filter, timezoneOffset, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getJellyfinUsers - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getJellyfinUsersCall(final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/user_list"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getJellyfinUsersValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return getJellyfinUsersCall(_callback); - - } - - /** - * - * - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getJellyfinUsers() throws ApiException { - getJellyfinUsersWithHttpInfo(); - } - - /** - * - * - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getJellyfinUsersWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getJellyfinUsersValidateBeforeCall(null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getJellyfinUsersAsync(final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getJellyfinUsersValidateBeforeCall(_callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getMovieReport - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getMovieReportCall(Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/MoviesReport"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (days != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("days", days)); - } - - if (endDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endDate", endDate)); - } - - if (timezoneOffset != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timezoneOffset", timezoneOffset)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getMovieReportValidateBeforeCall(Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - return getMovieReportCall(days, endDate, timezoneOffset, _callback); - - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getMovieReport(Integer days, OffsetDateTime endDate, Float timezoneOffset) throws ApiException { - getMovieReportWithHttpInfo(days, endDate, timezoneOffset); - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getMovieReportWithHttpInfo(Integer days, OffsetDateTime endDate, Float timezoneOffset) throws ApiException { - okhttp3.Call localVarCall = getMovieReportValidateBeforeCall(days, endDate, timezoneOffset, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getMovieReportAsync(Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getMovieReportValidateBeforeCall(days, endDate, timezoneOffset, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getTvShowsReport - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getTvShowsReportCall(Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/GetTvShowsReport"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (days != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("days", days)); - } - - if (endDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endDate", endDate)); - } - - if (timezoneOffset != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timezoneOffset", timezoneOffset)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getTvShowsReportValidateBeforeCall(Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - return getTvShowsReportCall(days, endDate, timezoneOffset, _callback); - - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getTvShowsReport(Integer days, OffsetDateTime endDate, Float timezoneOffset) throws ApiException { - getTvShowsReportWithHttpInfo(days, endDate, timezoneOffset); - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getTvShowsReportWithHttpInfo(Integer days, OffsetDateTime endDate, Float timezoneOffset) throws ApiException { - okhttp3.Call localVarCall = getTvShowsReportValidateBeforeCall(days, endDate, timezoneOffset, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getTvShowsReportAsync(Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getTvShowsReportValidateBeforeCall(days, endDate, timezoneOffset, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getTypeFilterList - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getTypeFilterListCall(final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/type_filter_list"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getTypeFilterListValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return getTypeFilterListCall(_callback); - - } - - /** - * - * - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getTypeFilterList() throws ApiException { - getTypeFilterListWithHttpInfo(); - } - - /** - * - * - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getTypeFilterListWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getTypeFilterListValidateBeforeCall(null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getTypeFilterListAsync(final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getTypeFilterListValidateBeforeCall(_callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getUsageStats - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param dataType (optional) - * @param timezoneOffset (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getUsageStatsCall(Integer days, OffsetDateTime endDate, String filter, String dataType, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/PlayActivity"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (days != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("days", days)); - } - - if (endDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endDate", endDate)); - } - - if (filter != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter", filter)); - } - - if (dataType != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dataType", dataType)); - } - - if (timezoneOffset != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timezoneOffset", timezoneOffset)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getUsageStatsValidateBeforeCall(Integer days, OffsetDateTime endDate, String filter, String dataType, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - return getUsageStatsCall(days, endDate, filter, dataType, timezoneOffset, _callback); - - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param dataType (optional) - * @param timezoneOffset (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getUsageStats(Integer days, OffsetDateTime endDate, String filter, String dataType, Float timezoneOffset) throws ApiException { - getUsageStatsWithHttpInfo(days, endDate, filter, dataType, timezoneOffset); - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param dataType (optional) - * @param timezoneOffset (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getUsageStatsWithHttpInfo(Integer days, OffsetDateTime endDate, String filter, String dataType, Float timezoneOffset) throws ApiException { - okhttp3.Call localVarCall = getUsageStatsValidateBeforeCall(days, endDate, filter, dataType, timezoneOffset, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param days (optional) - * @param endDate (optional) - * @param filter (optional) - * @param dataType (optional) - * @param timezoneOffset (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getUsageStatsAsync(Integer days, OffsetDateTime endDate, String filter, String dataType, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getUsageStatsValidateBeforeCall(days, endDate, filter, dataType, timezoneOffset, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getUserReport - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getUserReportCall(Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/user_activity"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (days != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("days", days)); - } - - if (endDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("endDate", endDate)); - } - - if (timezoneOffset != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timezoneOffset", timezoneOffset)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getUserReportValidateBeforeCall(Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - return getUserReportCall(days, endDate, timezoneOffset, _callback); - - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getUserReport(Integer days, OffsetDateTime endDate, Float timezoneOffset) throws ApiException { - getUserReportWithHttpInfo(days, endDate, timezoneOffset); - } - - /** - * - * - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getUserReportWithHttpInfo(Integer days, OffsetDateTime endDate, Float timezoneOffset) throws ApiException { - okhttp3.Call localVarCall = getUserReportValidateBeforeCall(days, endDate, timezoneOffset, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param days (optional) - * @param endDate (optional) - * @param timezoneOffset (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getUserReportAsync(Integer days, OffsetDateTime endDate, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getUserReportValidateBeforeCall(days, endDate, timezoneOffset, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getUserReportData - * @param userId (required) - * @param date (required) - * @param filter (optional) - * @param timezoneOffset (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getUserReportDataCall(String userId, String date, String filter, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/{userId}/{date}/GetItems" - .replace("{" + "userId" + "}", localVarApiClient.escapeString(userId.toString())) - .replace("{" + "date" + "}", localVarApiClient.escapeString(date.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (filter != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filter", filter)); - } - - if (timezoneOffset != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("timezoneOffset", timezoneOffset)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getUserReportDataValidateBeforeCall(String userId, String date, String filter, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getUserReportData(Async)"); - } - - // verify the required parameter 'date' is set - if (date == null) { - throw new ApiException("Missing the required parameter 'date' when calling getUserReportData(Async)"); - } - - return getUserReportDataCall(userId, date, filter, timezoneOffset, _callback); - - } - - /** - * - * - * @param userId (required) - * @param date (required) - * @param filter (optional) - * @param timezoneOffset (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getUserReportData(String userId, String date, String filter, Float timezoneOffset) throws ApiException { - getUserReportDataWithHttpInfo(userId, date, filter, timezoneOffset); - } - - /** - * - * - * @param userId (required) - * @param date (required) - * @param filter (optional) - * @param timezoneOffset (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getUserReportDataWithHttpInfo(String userId, String date, String filter, Float timezoneOffset) throws ApiException { - okhttp3.Call localVarCall = getUserReportDataValidateBeforeCall(userId, date, filter, timezoneOffset, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param userId (required) - * @param date (required) - * @param filter (optional) - * @param timezoneOffset (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getUserReportDataAsync(String userId, String date, String filter, Float timezoneOffset, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getUserReportDataValidateBeforeCall(userId, date, filter, timezoneOffset, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for ignoreListAdd - * @param id (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call ignoreListAddCall(String id, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/user_manage/add"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (id != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("id", id)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call ignoreListAddValidateBeforeCall(String id, final ApiCallback _callback) throws ApiException { - return ignoreListAddCall(id, _callback); - - } - - /** - * - * - * @param id (optional) - * @return Boolean - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public Boolean ignoreListAdd(String id) throws ApiException { - ApiResponse localVarResp = ignoreListAddWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * - * @param id (optional) - * @return ApiResponse<Boolean> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse ignoreListAddWithHttpInfo(String id) throws ApiException { - okhttp3.Call localVarCall = ignoreListAddValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * - * @param id (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call ignoreListAddAsync(String id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = ignoreListAddValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for ignoreListRemove - * @param id (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call ignoreListRemoveCall(String id, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/user_manage/remove"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (id != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("id", id)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call ignoreListRemoveValidateBeforeCall(String id, final ApiCallback _callback) throws ApiException { - return ignoreListRemoveCall(id, _callback); - - } - - /** - * - * - * @param id (optional) - * @return Boolean - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public Boolean ignoreListRemove(String id) throws ApiException { - ApiResponse localVarResp = ignoreListRemoveWithHttpInfo(id); - return localVarResp.getData(); - } - - /** - * - * - * @param id (optional) - * @return ApiResponse<Boolean> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse ignoreListRemoveWithHttpInfo(String id) throws ApiException { - okhttp3.Call localVarCall = ignoreListRemoveValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * - * @param id (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call ignoreListRemoveAsync(String id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = ignoreListRemoveValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for loadBackup - * @param backupFilePath (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call loadBackupCall(String backupFilePath, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/load_backup"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (backupFilePath != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("backupFilePath", backupFilePath)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call loadBackupValidateBeforeCall(String backupFilePath, final ApiCallback _callback) throws ApiException { - return loadBackupCall(backupFilePath, _callback); - - } - - /** - * - * - * @param backupFilePath (optional) - * @return List<String> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public List loadBackup(String backupFilePath) throws ApiException { - ApiResponse> localVarResp = loadBackupWithHttpInfo(backupFilePath); - return localVarResp.getData(); - } - - /** - * - * - * @param backupFilePath (optional) - * @return ApiResponse<List<String>> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse> loadBackupWithHttpInfo(String backupFilePath) throws ApiException { - okhttp3.Call localVarCall = loadBackupValidateBeforeCall(backupFilePath, null); - Type localVarReturnType = new TypeToken>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * - * @param backupFilePath (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call loadBackupAsync(String backupFilePath, final ApiCallback> _callback) throws ApiException { - - okhttp3.Call localVarCall = loadBackupValidateBeforeCall(backupFilePath, _callback); - Type localVarReturnType = new TypeToken>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for pruneUnknownUsers - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call pruneUnknownUsersCall(final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/user_manage/prune"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call pruneUnknownUsersValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return pruneUnknownUsersCall(_callback); - - } - - /** - * - * - * @return Boolean - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public Boolean pruneUnknownUsers() throws ApiException { - ApiResponse localVarResp = pruneUnknownUsersWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * - * - * @return ApiResponse<Boolean> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse pruneUnknownUsersWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = pruneUnknownUsersValidateBeforeCall(null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call pruneUnknownUsersAsync(final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = pruneUnknownUsersValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for saveBackup - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call saveBackupCall(final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user_usage_stats/save_backup"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call saveBackupValidateBeforeCall(final ApiCallback _callback) throws ApiException { - return saveBackupCall(_callback); - - } - - /** - * - * - * @return List<String> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public List saveBackup() throws ApiException { - ApiResponse> localVarResp = saveBackupWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * - * - * @return ApiResponse<List<String>> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse> saveBackupWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = saveBackupValidateBeforeCall(null); - Type localVarReturnType = new TypeToken>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call saveBackupAsync(final ApiCallback> _callback) throws ApiException { - - okhttp3.Call localVarCall = saveBackupValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/PlaylistsApi.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/PlaylistsApi.java deleted file mode 100644 index 1a80f83f245..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/PlaylistsApi.java +++ /dev/null @@ -1,890 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.api; - -import org.openapitools.client.ApiCallback; -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.ApiResponse; -import org.openapitools.client.Configuration; -import org.openapitools.client.Pair; -import org.openapitools.client.ProgressRequestBody; -import org.openapitools.client.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import org.openapitools.client.model.BaseItemDtoQueryResult; -import org.openapitools.client.model.CreatePlaylistDto; -import org.openapitools.client.model.ImageType; -import org.openapitools.client.model.ItemFields; -import org.openapitools.client.model.PlaylistCreationResult; -import java.util.UUID; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class PlaylistsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public PlaylistsApi() { - this(Configuration.getDefaultApiClient()); - } - - public PlaylistsApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for addToPlaylist - * @param playlistId The playlist id. (required) - * @param ids Item id, comma delimited. (optional) - * @param userId The userId. (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Items added to playlist. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call addToPlaylistCall(UUID playlistId, List ids, UUID userId, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Playlists/{playlistId}/Items" - .replace("{" + "playlistId" + "}", localVarApiClient.escapeString(playlistId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (ids != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "ids", ids)); - } - - if (userId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call addToPlaylistValidateBeforeCall(UUID playlistId, List ids, UUID userId, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'playlistId' is set - if (playlistId == null) { - throw new ApiException("Missing the required parameter 'playlistId' when calling addToPlaylist(Async)"); - } - - return addToPlaylistCall(playlistId, ids, userId, _callback); - - } - - /** - * Adds items to a playlist. - * - * @param playlistId The playlist id. (required) - * @param ids Item id, comma delimited. (optional) - * @param userId The userId. (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Items added to playlist. -
401 Unauthorized -
403 Forbidden -
- */ - public void addToPlaylist(UUID playlistId, List ids, UUID userId) throws ApiException { - addToPlaylistWithHttpInfo(playlistId, ids, userId); - } - - /** - * Adds items to a playlist. - * - * @param playlistId The playlist id. (required) - * @param ids Item id, comma delimited. (optional) - * @param userId The userId. (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Items added to playlist. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse addToPlaylistWithHttpInfo(UUID playlistId, List ids, UUID userId) throws ApiException { - okhttp3.Call localVarCall = addToPlaylistValidateBeforeCall(playlistId, ids, userId, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * Adds items to a playlist. (asynchronously) - * - * @param playlistId The playlist id. (required) - * @param ids Item id, comma delimited. (optional) - * @param userId The userId. (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Items added to playlist. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call addToPlaylistAsync(UUID playlistId, List ids, UUID userId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = addToPlaylistValidateBeforeCall(playlistId, ids, userId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for createPlaylist - * @param name The playlist name. (optional) - * @param ids The item ids. (optional) - * @param userId The user id. (optional) - * @param mediaType The media type. (optional) - * @param createPlaylistDto The create playlist payload. (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call createPlaylistCall(String name, List ids, UUID userId, String mediaType, CreatePlaylistDto createPlaylistDto, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = createPlaylistDto; - - // create path and map variables - String localVarPath = "/Playlists"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (name != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("name", name)); - } - - if (ids != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "ids", ids)); - } - - if (userId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); - } - - if (mediaType != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("mediaType", mediaType)); - } - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json", - "text/json", - "application/*+json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createPlaylistValidateBeforeCall(String name, List ids, UUID userId, String mediaType, CreatePlaylistDto createPlaylistDto, final ApiCallback _callback) throws ApiException { - return createPlaylistCall(name, ids, userId, mediaType, createPlaylistDto, _callback); - - } - - /** - * Creates a new playlist. - * For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. Query parameters are obsolete. - * @param name The playlist name. (optional) - * @param ids The item ids. (optional) - * @param userId The user id. (optional) - * @param mediaType The media type. (optional) - * @param createPlaylistDto The create playlist payload. (optional) - * @return PlaylistCreationResult - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public PlaylistCreationResult createPlaylist(String name, List ids, UUID userId, String mediaType, CreatePlaylistDto createPlaylistDto) throws ApiException { - ApiResponse localVarResp = createPlaylistWithHttpInfo(name, ids, userId, mediaType, createPlaylistDto); - return localVarResp.getData(); - } - - /** - * Creates a new playlist. - * For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. Query parameters are obsolete. - * @param name The playlist name. (optional) - * @param ids The item ids. (optional) - * @param userId The user id. (optional) - * @param mediaType The media type. (optional) - * @param createPlaylistDto The create playlist payload. (optional) - * @return ApiResponse<PlaylistCreationResult> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse createPlaylistWithHttpInfo(String name, List ids, UUID userId, String mediaType, CreatePlaylistDto createPlaylistDto) throws ApiException { - okhttp3.Call localVarCall = createPlaylistValidateBeforeCall(name, ids, userId, mediaType, createPlaylistDto, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Creates a new playlist. (asynchronously) - * For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. Query parameters are obsolete. - * @param name The playlist name. (optional) - * @param ids The item ids. (optional) - * @param userId The user id. (optional) - * @param mediaType The media type. (optional) - * @param createPlaylistDto The create playlist payload. (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call createPlaylistAsync(String name, List ids, UUID userId, String mediaType, CreatePlaylistDto createPlaylistDto, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createPlaylistValidateBeforeCall(name, ids, userId, mediaType, createPlaylistDto, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getPlaylistItems - * @param playlistId The playlist id. (required) - * @param userId User id. (required) - * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) - * @param limit Optional. The maximum number of records to return. (optional) - * @param fields Optional. Specify additional fields of information to return in the output. (optional) - * @param enableImages Optional. Include image information in output. (optional) - * @param enableUserData Optional. Include user data. (optional) - * @param imageTypeLimit Optional. The max number of images to return, per image type. (optional) - * @param enableImageTypes Optional. The image types to include in the output. (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Original playlist returned. -
404 Playlist not found. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getPlaylistItemsCall(UUID playlistId, UUID userId, Integer startIndex, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Playlists/{playlistId}/Items" - .replace("{" + "playlistId" + "}", localVarApiClient.escapeString(playlistId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (userId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); - } - - if (startIndex != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("startIndex", startIndex)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (fields != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "fields", fields)); - } - - if (enableImages != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableImages", enableImages)); - } - - if (enableUserData != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableUserData", enableUserData)); - } - - if (imageTypeLimit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("imageTypeLimit", imageTypeLimit)); - } - - if (enableImageTypes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "enableImageTypes", enableImageTypes)); - } - - final String[] localVarAccepts = { - "application/json", - "application/json; profile=CamelCase", - "application/json; profile=PascalCase" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getPlaylistItemsValidateBeforeCall(UUID playlistId, UUID userId, Integer startIndex, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'playlistId' is set - if (playlistId == null) { - throw new ApiException("Missing the required parameter 'playlistId' when calling getPlaylistItems(Async)"); - } - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getPlaylistItems(Async)"); - } - - return getPlaylistItemsCall(playlistId, userId, startIndex, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); - - } - - /** - * Gets the original items of a playlist. - * - * @param playlistId The playlist id. (required) - * @param userId User id. (required) - * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) - * @param limit Optional. The maximum number of records to return. (optional) - * @param fields Optional. Specify additional fields of information to return in the output. (optional) - * @param enableImages Optional. Include image information in output. (optional) - * @param enableUserData Optional. Include user data. (optional) - * @param imageTypeLimit Optional. The max number of images to return, per image type. (optional) - * @param enableImageTypes Optional. The image types to include in the output. (optional) - * @return BaseItemDtoQueryResult - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Original playlist returned. -
404 Playlist not found. -
401 Unauthorized -
403 Forbidden -
- */ - public BaseItemDtoQueryResult getPlaylistItems(UUID playlistId, UUID userId, Integer startIndex, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { - ApiResponse localVarResp = getPlaylistItemsWithHttpInfo(playlistId, userId, startIndex, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes); - return localVarResp.getData(); - } - - /** - * Gets the original items of a playlist. - * - * @param playlistId The playlist id. (required) - * @param userId User id. (required) - * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) - * @param limit Optional. The maximum number of records to return. (optional) - * @param fields Optional. Specify additional fields of information to return in the output. (optional) - * @param enableImages Optional. Include image information in output. (optional) - * @param enableUserData Optional. Include user data. (optional) - * @param imageTypeLimit Optional. The max number of images to return, per image type. (optional) - * @param enableImageTypes Optional. The image types to include in the output. (optional) - * @return ApiResponse<BaseItemDtoQueryResult> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Original playlist returned. -
404 Playlist not found. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getPlaylistItemsWithHttpInfo(UUID playlistId, UUID userId, Integer startIndex, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes) throws ApiException { - okhttp3.Call localVarCall = getPlaylistItemsValidateBeforeCall(playlistId, userId, startIndex, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Gets the original items of a playlist. (asynchronously) - * - * @param playlistId The playlist id. (required) - * @param userId User id. (required) - * @param startIndex Optional. The record index to start at. All items with a lower index will be dropped from the results. (optional) - * @param limit Optional. The maximum number of records to return. (optional) - * @param fields Optional. Specify additional fields of information to return in the output. (optional) - * @param enableImages Optional. Include image information in output. (optional) - * @param enableUserData Optional. Include user data. (optional) - * @param imageTypeLimit Optional. The max number of images to return, per image type. (optional) - * @param enableImageTypes Optional. The image types to include in the output. (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Response Details
Status Code Description Response Headers
200 Original playlist returned. -
404 Playlist not found. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getPlaylistItemsAsync(UUID playlistId, UUID userId, Integer startIndex, Integer limit, List fields, Boolean enableImages, Boolean enableUserData, Integer imageTypeLimit, List enableImageTypes, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getPlaylistItemsValidateBeforeCall(playlistId, userId, startIndex, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for moveItem - * @param playlistId The playlist id. (required) - * @param itemId The item id. (required) - * @param newIndex The new index. (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Item moved to new index. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call moveItemCall(String playlistId, String itemId, Integer newIndex, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Playlists/{playlistId}/Items/{itemId}/Move/{newIndex}" - .replace("{" + "playlistId" + "}", localVarApiClient.escapeString(playlistId.toString())) - .replace("{" + "itemId" + "}", localVarApiClient.escapeString(itemId.toString())) - .replace("{" + "newIndex" + "}", localVarApiClient.escapeString(newIndex.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call moveItemValidateBeforeCall(String playlistId, String itemId, Integer newIndex, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'playlistId' is set - if (playlistId == null) { - throw new ApiException("Missing the required parameter 'playlistId' when calling moveItem(Async)"); - } - - // verify the required parameter 'itemId' is set - if (itemId == null) { - throw new ApiException("Missing the required parameter 'itemId' when calling moveItem(Async)"); - } - - // verify the required parameter 'newIndex' is set - if (newIndex == null) { - throw new ApiException("Missing the required parameter 'newIndex' when calling moveItem(Async)"); - } - - return moveItemCall(playlistId, itemId, newIndex, _callback); - - } - - /** - * Moves a playlist item. - * - * @param playlistId The playlist id. (required) - * @param itemId The item id. (required) - * @param newIndex The new index. (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Item moved to new index. -
401 Unauthorized -
403 Forbidden -
- */ - public void moveItem(String playlistId, String itemId, Integer newIndex) throws ApiException { - moveItemWithHttpInfo(playlistId, itemId, newIndex); - } - - /** - * Moves a playlist item. - * - * @param playlistId The playlist id. (required) - * @param itemId The item id. (required) - * @param newIndex The new index. (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Item moved to new index. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse moveItemWithHttpInfo(String playlistId, String itemId, Integer newIndex) throws ApiException { - okhttp3.Call localVarCall = moveItemValidateBeforeCall(playlistId, itemId, newIndex, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * Moves a playlist item. (asynchronously) - * - * @param playlistId The playlist id. (required) - * @param itemId The item id. (required) - * @param newIndex The new index. (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Item moved to new index. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call moveItemAsync(String playlistId, String itemId, Integer newIndex, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = moveItemValidateBeforeCall(playlistId, itemId, newIndex, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for removeFromPlaylist - * @param playlistId The playlist id. (required) - * @param entryIds The item ids, comma delimited. (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Items removed. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call removeFromPlaylistCall(String playlistId, List entryIds, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Playlists/{playlistId}/Items" - .replace("{" + "playlistId" + "}", localVarApiClient.escapeString(playlistId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (entryIds != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "entryIds", entryIds)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call removeFromPlaylistValidateBeforeCall(String playlistId, List entryIds, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'playlistId' is set - if (playlistId == null) { - throw new ApiException("Missing the required parameter 'playlistId' when calling removeFromPlaylist(Async)"); - } - - return removeFromPlaylistCall(playlistId, entryIds, _callback); - - } - - /** - * Removes items from a playlist. - * - * @param playlistId The playlist id. (required) - * @param entryIds The item ids, comma delimited. (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Items removed. -
401 Unauthorized -
403 Forbidden -
- */ - public void removeFromPlaylist(String playlistId, List entryIds) throws ApiException { - removeFromPlaylistWithHttpInfo(playlistId, entryIds); - } - - /** - * Removes items from a playlist. - * - * @param playlistId The playlist id. (required) - * @param entryIds The item ids, comma delimited. (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Items removed. -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse removeFromPlaylistWithHttpInfo(String playlistId, List entryIds) throws ApiException { - okhttp3.Call localVarCall = removeFromPlaylistValidateBeforeCall(playlistId, entryIds, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * Removes items from a playlist. (asynchronously) - * - * @param playlistId The playlist id. (required) - * @param entryIds The item ids, comma delimited. (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
204 Items removed. -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call removeFromPlaylistAsync(String playlistId, List entryIds, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = removeFromPlaylistValidateBeforeCall(playlistId, entryIds, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } -} diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ReportsApi.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ReportsApi.java deleted file mode 100644 index c4c7fa996b1..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/ReportsApi.java +++ /dev/null @@ -1,1950 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.api; - -import org.openapitools.client.ApiCallback; -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.ApiResponse; -import org.openapitools.client.Configuration; -import org.openapitools.client.Pair; -import org.openapitools.client.ProgressRequestBody; -import org.openapitools.client.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import org.openapitools.client.model.ReportExportType; -import org.openapitools.client.model.ReportResult; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class ReportsApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public ReportsApi() { - this(Configuration.getDefaultApiClient()); - } - - public ReportsApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for getActivityLogs - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param minDate (optional) - * @param includeItemTypes (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getActivityLogsCall(String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Integer startIndex, Integer limit, String minDate, String includeItemTypes, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Reports/Activities"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (reportView != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("reportView", reportView)); - } - - if (displayType != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("displayType", displayType)); - } - - if (hasQueryLimit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasQueryLimit", hasQueryLimit)); - } - - if (groupBy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("groupBy", groupBy)); - } - - if (reportColumns != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("reportColumns", reportColumns)); - } - - if (startIndex != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("startIndex", startIndex)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (minDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minDate", minDate)); - } - - if (includeItemTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("includeItemTypes", includeItemTypes)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getActivityLogsValidateBeforeCall(String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Integer startIndex, Integer limit, String minDate, String includeItemTypes, final ApiCallback _callback) throws ApiException { - return getActivityLogsCall(reportView, displayType, hasQueryLimit, groupBy, reportColumns, startIndex, limit, minDate, includeItemTypes, _callback); - - } - - /** - * - * - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param minDate (optional) - * @param includeItemTypes (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getActivityLogs(String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Integer startIndex, Integer limit, String minDate, String includeItemTypes) throws ApiException { - getActivityLogsWithHttpInfo(reportView, displayType, hasQueryLimit, groupBy, reportColumns, startIndex, limit, minDate, includeItemTypes); - } - - /** - * - * - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param minDate (optional) - * @param includeItemTypes (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getActivityLogsWithHttpInfo(String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Integer startIndex, Integer limit, String minDate, String includeItemTypes) throws ApiException { - okhttp3.Call localVarCall = getActivityLogsValidateBeforeCall(reportView, displayType, hasQueryLimit, groupBy, reportColumns, startIndex, limit, minDate, includeItemTypes, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param minDate (optional) - * @param includeItemTypes (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getActivityLogsAsync(String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Integer startIndex, Integer limit, String minDate, String includeItemTypes, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getActivityLogsValidateBeforeCall(reportView, displayType, hasQueryLimit, groupBy, reportColumns, startIndex, limit, minDate, includeItemTypes, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getItemReport - * @param hasThemeSong (optional) - * @param hasThemeVideo (optional) - * @param hasSubtitles (optional) - * @param hasSpecialFeature (optional) - * @param hasTrailer (optional) - * @param adjacentTo (optional) - * @param minIndexNumber (optional) - * @param parentIndexNumber (optional) - * @param hasParentalRating (optional) - * @param isHd (optional) - * @param locationTypes (optional) - * @param excludeLocationTypes (optional) - * @param isMissing (optional) - * @param isUnaried (optional) - * @param minCommunityRating (optional) - * @param minCriticRating (optional) - * @param airedDuringSeason (optional) - * @param minPremiereDate (optional) - * @param minDateLastSaved (optional) - * @param minDateLastSavedForUser (optional) - * @param maxPremiereDate (optional) - * @param hasOverview (optional) - * @param hasImdbId (optional) - * @param hasTmdbId (optional) - * @param hasTvdbId (optional) - * @param isInBoxSet (optional) - * @param excludeItemIds (optional) - * @param enableTotalRecordCount (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param recursive (optional) - * @param sortOrder (optional) - * @param parentId (optional) - * @param fields (optional) - * @param excludeItemTypes (optional) - * @param includeItemTypes (optional) - * @param filters (optional) - * @param isFavorite (optional) - * @param isNotFavorite (optional) - * @param mediaTypes (optional) - * @param imageTypes (optional) - * @param sortBy (optional) - * @param isPlayed (optional) - * @param genres (optional) - * @param genreIds (optional) - * @param officialRatings (optional) - * @param tags (optional) - * @param years (optional) - * @param enableUserData (optional) - * @param imageTypeLimit (optional) - * @param enableImageTypes (optional) - * @param person (optional) - * @param personIds (optional) - * @param personTypes (optional) - * @param studios (optional) - * @param studioIds (optional) - * @param artists (optional) - * @param excludeArtistIds (optional) - * @param artistIds (optional) - * @param albums (optional) - * @param albumIds (optional) - * @param ids (optional) - * @param videoTypes (optional) - * @param userId (optional) - * @param minOfficialRating (optional) - * @param isLocked (optional) - * @param isPlaceHolder (optional) - * @param hasOfficialRating (optional) - * @param collapseBoxSetItems (optional) - * @param is3D (optional) - * @param seriesStatus (optional) - * @param nameStartsWithOrGreater (optional) - * @param nameStartsWith (optional) - * @param nameLessThan (optional) - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param enableImages (optional, default to true) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getItemReportCall(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Boolean enableImages, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Reports/Items"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (hasThemeSong != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasThemeSong", hasThemeSong)); - } - - if (hasThemeVideo != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasThemeVideo", hasThemeVideo)); - } - - if (hasSubtitles != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasSubtitles", hasSubtitles)); - } - - if (hasSpecialFeature != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasSpecialFeature", hasSpecialFeature)); - } - - if (hasTrailer != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTrailer", hasTrailer)); - } - - if (adjacentTo != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("adjacentTo", adjacentTo)); - } - - if (minIndexNumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minIndexNumber", minIndexNumber)); - } - - if (parentIndexNumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("parentIndexNumber", parentIndexNumber)); - } - - if (hasParentalRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasParentalRating", hasParentalRating)); - } - - if (isHd != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isHd", isHd)); - } - - if (locationTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("locationTypes", locationTypes)); - } - - if (excludeLocationTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludeLocationTypes", excludeLocationTypes)); - } - - if (isMissing != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isMissing", isMissing)); - } - - if (isUnaried != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isUnaried", isUnaried)); - } - - if (minCommunityRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minCommunityRating", minCommunityRating)); - } - - if (minCriticRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minCriticRating", minCriticRating)); - } - - if (airedDuringSeason != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("airedDuringSeason", airedDuringSeason)); - } - - if (minPremiereDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minPremiereDate", minPremiereDate)); - } - - if (minDateLastSaved != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minDateLastSaved", minDateLastSaved)); - } - - if (minDateLastSavedForUser != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minDateLastSavedForUser", minDateLastSavedForUser)); - } - - if (maxPremiereDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxPremiereDate", maxPremiereDate)); - } - - if (hasOverview != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasOverview", hasOverview)); - } - - if (hasImdbId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasImdbId", hasImdbId)); - } - - if (hasTmdbId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTmdbId", hasTmdbId)); - } - - if (hasTvdbId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTvdbId", hasTvdbId)); - } - - if (isInBoxSet != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isInBoxSet", isInBoxSet)); - } - - if (excludeItemIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludeItemIds", excludeItemIds)); - } - - if (enableTotalRecordCount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableTotalRecordCount", enableTotalRecordCount)); - } - - if (startIndex != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("startIndex", startIndex)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (recursive != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("recursive", recursive)); - } - - if (sortOrder != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sortOrder", sortOrder)); - } - - if (parentId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("parentId", parentId)); - } - - if (fields != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fields", fields)); - } - - if (excludeItemTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludeItemTypes", excludeItemTypes)); - } - - if (includeItemTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("includeItemTypes", includeItemTypes)); - } - - if (filters != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filters", filters)); - } - - if (isFavorite != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isFavorite", isFavorite)); - } - - if (isNotFavorite != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isNotFavorite", isNotFavorite)); - } - - if (mediaTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("mediaTypes", mediaTypes)); - } - - if (imageTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("imageTypes", imageTypes)); - } - - if (sortBy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sortBy", sortBy)); - } - - if (isPlayed != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isPlayed", isPlayed)); - } - - if (genres != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("genres", genres)); - } - - if (genreIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("genreIds", genreIds)); - } - - if (officialRatings != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("officialRatings", officialRatings)); - } - - if (tags != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("tags", tags)); - } - - if (years != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("years", years)); - } - - if (enableUserData != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableUserData", enableUserData)); - } - - if (imageTypeLimit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("imageTypeLimit", imageTypeLimit)); - } - - if (enableImageTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableImageTypes", enableImageTypes)); - } - - if (person != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("person", person)); - } - - if (personIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("personIds", personIds)); - } - - if (personTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("personTypes", personTypes)); - } - - if (studios != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("studios", studios)); - } - - if (studioIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("studioIds", studioIds)); - } - - if (artists != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("artists", artists)); - } - - if (excludeArtistIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludeArtistIds", excludeArtistIds)); - } - - if (artistIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("artistIds", artistIds)); - } - - if (albums != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("albums", albums)); - } - - if (albumIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("albumIds", albumIds)); - } - - if (ids != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("ids", ids)); - } - - if (videoTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("videoTypes", videoTypes)); - } - - if (userId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); - } - - if (minOfficialRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minOfficialRating", minOfficialRating)); - } - - if (isLocked != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isLocked", isLocked)); - } - - if (isPlaceHolder != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isPlaceHolder", isPlaceHolder)); - } - - if (hasOfficialRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasOfficialRating", hasOfficialRating)); - } - - if (collapseBoxSetItems != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("collapseBoxSetItems", collapseBoxSetItems)); - } - - if (is3D != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("is3D", is3D)); - } - - if (seriesStatus != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("seriesStatus", seriesStatus)); - } - - if (nameStartsWithOrGreater != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameStartsWithOrGreater", nameStartsWithOrGreater)); - } - - if (nameStartsWith != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameStartsWith", nameStartsWith)); - } - - if (nameLessThan != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameLessThan", nameLessThan)); - } - - if (reportView != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("reportView", reportView)); - } - - if (displayType != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("displayType", displayType)); - } - - if (hasQueryLimit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasQueryLimit", hasQueryLimit)); - } - - if (groupBy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("groupBy", groupBy)); - } - - if (reportColumns != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("reportColumns", reportColumns)); - } - - if (enableImages != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableImages", enableImages)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getItemReportValidateBeforeCall(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Boolean enableImages, final ApiCallback _callback) throws ApiException { - return getItemReportCall(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, enableImages, _callback); - - } - - /** - * - * - * @param hasThemeSong (optional) - * @param hasThemeVideo (optional) - * @param hasSubtitles (optional) - * @param hasSpecialFeature (optional) - * @param hasTrailer (optional) - * @param adjacentTo (optional) - * @param minIndexNumber (optional) - * @param parentIndexNumber (optional) - * @param hasParentalRating (optional) - * @param isHd (optional) - * @param locationTypes (optional) - * @param excludeLocationTypes (optional) - * @param isMissing (optional) - * @param isUnaried (optional) - * @param minCommunityRating (optional) - * @param minCriticRating (optional) - * @param airedDuringSeason (optional) - * @param minPremiereDate (optional) - * @param minDateLastSaved (optional) - * @param minDateLastSavedForUser (optional) - * @param maxPremiereDate (optional) - * @param hasOverview (optional) - * @param hasImdbId (optional) - * @param hasTmdbId (optional) - * @param hasTvdbId (optional) - * @param isInBoxSet (optional) - * @param excludeItemIds (optional) - * @param enableTotalRecordCount (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param recursive (optional) - * @param sortOrder (optional) - * @param parentId (optional) - * @param fields (optional) - * @param excludeItemTypes (optional) - * @param includeItemTypes (optional) - * @param filters (optional) - * @param isFavorite (optional) - * @param isNotFavorite (optional) - * @param mediaTypes (optional) - * @param imageTypes (optional) - * @param sortBy (optional) - * @param isPlayed (optional) - * @param genres (optional) - * @param genreIds (optional) - * @param officialRatings (optional) - * @param tags (optional) - * @param years (optional) - * @param enableUserData (optional) - * @param imageTypeLimit (optional) - * @param enableImageTypes (optional) - * @param person (optional) - * @param personIds (optional) - * @param personTypes (optional) - * @param studios (optional) - * @param studioIds (optional) - * @param artists (optional) - * @param excludeArtistIds (optional) - * @param artistIds (optional) - * @param albums (optional) - * @param albumIds (optional) - * @param ids (optional) - * @param videoTypes (optional) - * @param userId (optional) - * @param minOfficialRating (optional) - * @param isLocked (optional) - * @param isPlaceHolder (optional) - * @param hasOfficialRating (optional) - * @param collapseBoxSetItems (optional) - * @param is3D (optional) - * @param seriesStatus (optional) - * @param nameStartsWithOrGreater (optional) - * @param nameStartsWith (optional) - * @param nameLessThan (optional) - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param enableImages (optional, default to true) - * @return ReportResult - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ReportResult getItemReport(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Boolean enableImages) throws ApiException { - ApiResponse localVarResp = getItemReportWithHttpInfo(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, enableImages); - return localVarResp.getData(); - } - - /** - * - * - * @param hasThemeSong (optional) - * @param hasThemeVideo (optional) - * @param hasSubtitles (optional) - * @param hasSpecialFeature (optional) - * @param hasTrailer (optional) - * @param adjacentTo (optional) - * @param minIndexNumber (optional) - * @param parentIndexNumber (optional) - * @param hasParentalRating (optional) - * @param isHd (optional) - * @param locationTypes (optional) - * @param excludeLocationTypes (optional) - * @param isMissing (optional) - * @param isUnaried (optional) - * @param minCommunityRating (optional) - * @param minCriticRating (optional) - * @param airedDuringSeason (optional) - * @param minPremiereDate (optional) - * @param minDateLastSaved (optional) - * @param minDateLastSavedForUser (optional) - * @param maxPremiereDate (optional) - * @param hasOverview (optional) - * @param hasImdbId (optional) - * @param hasTmdbId (optional) - * @param hasTvdbId (optional) - * @param isInBoxSet (optional) - * @param excludeItemIds (optional) - * @param enableTotalRecordCount (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param recursive (optional) - * @param sortOrder (optional) - * @param parentId (optional) - * @param fields (optional) - * @param excludeItemTypes (optional) - * @param includeItemTypes (optional) - * @param filters (optional) - * @param isFavorite (optional) - * @param isNotFavorite (optional) - * @param mediaTypes (optional) - * @param imageTypes (optional) - * @param sortBy (optional) - * @param isPlayed (optional) - * @param genres (optional) - * @param genreIds (optional) - * @param officialRatings (optional) - * @param tags (optional) - * @param years (optional) - * @param enableUserData (optional) - * @param imageTypeLimit (optional) - * @param enableImageTypes (optional) - * @param person (optional) - * @param personIds (optional) - * @param personTypes (optional) - * @param studios (optional) - * @param studioIds (optional) - * @param artists (optional) - * @param excludeArtistIds (optional) - * @param artistIds (optional) - * @param albums (optional) - * @param albumIds (optional) - * @param ids (optional) - * @param videoTypes (optional) - * @param userId (optional) - * @param minOfficialRating (optional) - * @param isLocked (optional) - * @param isPlaceHolder (optional) - * @param hasOfficialRating (optional) - * @param collapseBoxSetItems (optional) - * @param is3D (optional) - * @param seriesStatus (optional) - * @param nameStartsWithOrGreater (optional) - * @param nameStartsWith (optional) - * @param nameLessThan (optional) - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param enableImages (optional, default to true) - * @return ApiResponse<ReportResult> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getItemReportWithHttpInfo(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Boolean enableImages) throws ApiException { - okhttp3.Call localVarCall = getItemReportValidateBeforeCall(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, enableImages, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * - * @param hasThemeSong (optional) - * @param hasThemeVideo (optional) - * @param hasSubtitles (optional) - * @param hasSpecialFeature (optional) - * @param hasTrailer (optional) - * @param adjacentTo (optional) - * @param minIndexNumber (optional) - * @param parentIndexNumber (optional) - * @param hasParentalRating (optional) - * @param isHd (optional) - * @param locationTypes (optional) - * @param excludeLocationTypes (optional) - * @param isMissing (optional) - * @param isUnaried (optional) - * @param minCommunityRating (optional) - * @param minCriticRating (optional) - * @param airedDuringSeason (optional) - * @param minPremiereDate (optional) - * @param minDateLastSaved (optional) - * @param minDateLastSavedForUser (optional) - * @param maxPremiereDate (optional) - * @param hasOverview (optional) - * @param hasImdbId (optional) - * @param hasTmdbId (optional) - * @param hasTvdbId (optional) - * @param isInBoxSet (optional) - * @param excludeItemIds (optional) - * @param enableTotalRecordCount (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param recursive (optional) - * @param sortOrder (optional) - * @param parentId (optional) - * @param fields (optional) - * @param excludeItemTypes (optional) - * @param includeItemTypes (optional) - * @param filters (optional) - * @param isFavorite (optional) - * @param isNotFavorite (optional) - * @param mediaTypes (optional) - * @param imageTypes (optional) - * @param sortBy (optional) - * @param isPlayed (optional) - * @param genres (optional) - * @param genreIds (optional) - * @param officialRatings (optional) - * @param tags (optional) - * @param years (optional) - * @param enableUserData (optional) - * @param imageTypeLimit (optional) - * @param enableImageTypes (optional) - * @param person (optional) - * @param personIds (optional) - * @param personTypes (optional) - * @param studios (optional) - * @param studioIds (optional) - * @param artists (optional) - * @param excludeArtistIds (optional) - * @param artistIds (optional) - * @param albums (optional) - * @param albumIds (optional) - * @param ids (optional) - * @param videoTypes (optional) - * @param userId (optional) - * @param minOfficialRating (optional) - * @param isLocked (optional) - * @param isPlaceHolder (optional) - * @param hasOfficialRating (optional) - * @param collapseBoxSetItems (optional) - * @param is3D (optional) - * @param seriesStatus (optional) - * @param nameStartsWithOrGreater (optional) - * @param nameStartsWith (optional) - * @param nameLessThan (optional) - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param enableImages (optional, default to true) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getItemReportAsync(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, Boolean enableImages, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getItemReportValidateBeforeCall(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, enableImages, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getReportDownload - * @param hasThemeSong (optional) - * @param hasThemeVideo (optional) - * @param hasSubtitles (optional) - * @param hasSpecialFeature (optional) - * @param hasTrailer (optional) - * @param adjacentTo (optional) - * @param minIndexNumber (optional) - * @param parentIndexNumber (optional) - * @param hasParentalRating (optional) - * @param isHd (optional) - * @param locationTypes (optional) - * @param excludeLocationTypes (optional) - * @param isMissing (optional) - * @param isUnaried (optional) - * @param minCommunityRating (optional) - * @param minCriticRating (optional) - * @param airedDuringSeason (optional) - * @param minPremiereDate (optional) - * @param minDateLastSaved (optional) - * @param minDateLastSavedForUser (optional) - * @param maxPremiereDate (optional) - * @param hasOverview (optional) - * @param hasImdbId (optional) - * @param hasTmdbId (optional) - * @param hasTvdbId (optional) - * @param isInBoxSet (optional) - * @param excludeItemIds (optional) - * @param enableTotalRecordCount (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param recursive (optional) - * @param sortOrder (optional) - * @param parentId (optional) - * @param fields (optional) - * @param excludeItemTypes (optional) - * @param includeItemTypes (optional) - * @param filters (optional) - * @param isFavorite (optional) - * @param isNotFavorite (optional) - * @param mediaTypes (optional) - * @param imageTypes (optional) - * @param sortBy (optional) - * @param isPlayed (optional) - * @param genres (optional) - * @param genreIds (optional) - * @param officialRatings (optional) - * @param tags (optional) - * @param years (optional) - * @param enableUserData (optional) - * @param imageTypeLimit (optional) - * @param enableImageTypes (optional) - * @param person (optional) - * @param personIds (optional) - * @param personTypes (optional) - * @param studios (optional) - * @param studioIds (optional) - * @param artists (optional) - * @param excludeArtistIds (optional) - * @param artistIds (optional) - * @param albums (optional) - * @param albumIds (optional) - * @param ids (optional) - * @param videoTypes (optional) - * @param userId (optional) - * @param minOfficialRating (optional) - * @param isLocked (optional) - * @param isPlaceHolder (optional) - * @param hasOfficialRating (optional) - * @param collapseBoxSetItems (optional) - * @param is3D (optional) - * @param seriesStatus (optional) - * @param nameStartsWithOrGreater (optional) - * @param nameStartsWith (optional) - * @param nameLessThan (optional) - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param minDate (optional) - * @param exportType (optional, default to CSV) - * @param enableImages (optional, default to true) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getReportDownloadCall(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, String minDate, ReportExportType exportType, Boolean enableImages, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Reports/Items/Download"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (hasThemeSong != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasThemeSong", hasThemeSong)); - } - - if (hasThemeVideo != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasThemeVideo", hasThemeVideo)); - } - - if (hasSubtitles != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasSubtitles", hasSubtitles)); - } - - if (hasSpecialFeature != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasSpecialFeature", hasSpecialFeature)); - } - - if (hasTrailer != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTrailer", hasTrailer)); - } - - if (adjacentTo != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("adjacentTo", adjacentTo)); - } - - if (minIndexNumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minIndexNumber", minIndexNumber)); - } - - if (parentIndexNumber != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("parentIndexNumber", parentIndexNumber)); - } - - if (hasParentalRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasParentalRating", hasParentalRating)); - } - - if (isHd != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isHd", isHd)); - } - - if (locationTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("locationTypes", locationTypes)); - } - - if (excludeLocationTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludeLocationTypes", excludeLocationTypes)); - } - - if (isMissing != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isMissing", isMissing)); - } - - if (isUnaried != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isUnaried", isUnaried)); - } - - if (minCommunityRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minCommunityRating", minCommunityRating)); - } - - if (minCriticRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minCriticRating", minCriticRating)); - } - - if (airedDuringSeason != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("airedDuringSeason", airedDuringSeason)); - } - - if (minPremiereDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minPremiereDate", minPremiereDate)); - } - - if (minDateLastSaved != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minDateLastSaved", minDateLastSaved)); - } - - if (minDateLastSavedForUser != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minDateLastSavedForUser", minDateLastSavedForUser)); - } - - if (maxPremiereDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("maxPremiereDate", maxPremiereDate)); - } - - if (hasOverview != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasOverview", hasOverview)); - } - - if (hasImdbId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasImdbId", hasImdbId)); - } - - if (hasTmdbId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTmdbId", hasTmdbId)); - } - - if (hasTvdbId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasTvdbId", hasTvdbId)); - } - - if (isInBoxSet != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isInBoxSet", isInBoxSet)); - } - - if (excludeItemIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludeItemIds", excludeItemIds)); - } - - if (enableTotalRecordCount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableTotalRecordCount", enableTotalRecordCount)); - } - - if (startIndex != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("startIndex", startIndex)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (recursive != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("recursive", recursive)); - } - - if (sortOrder != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sortOrder", sortOrder)); - } - - if (parentId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("parentId", parentId)); - } - - if (fields != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("fields", fields)); - } - - if (excludeItemTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludeItemTypes", excludeItemTypes)); - } - - if (includeItemTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("includeItemTypes", includeItemTypes)); - } - - if (filters != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("filters", filters)); - } - - if (isFavorite != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isFavorite", isFavorite)); - } - - if (isNotFavorite != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isNotFavorite", isNotFavorite)); - } - - if (mediaTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("mediaTypes", mediaTypes)); - } - - if (imageTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("imageTypes", imageTypes)); - } - - if (sortBy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("sortBy", sortBy)); - } - - if (isPlayed != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isPlayed", isPlayed)); - } - - if (genres != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("genres", genres)); - } - - if (genreIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("genreIds", genreIds)); - } - - if (officialRatings != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("officialRatings", officialRatings)); - } - - if (tags != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("tags", tags)); - } - - if (years != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("years", years)); - } - - if (enableUserData != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableUserData", enableUserData)); - } - - if (imageTypeLimit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("imageTypeLimit", imageTypeLimit)); - } - - if (enableImageTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableImageTypes", enableImageTypes)); - } - - if (person != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("person", person)); - } - - if (personIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("personIds", personIds)); - } - - if (personTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("personTypes", personTypes)); - } - - if (studios != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("studios", studios)); - } - - if (studioIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("studioIds", studioIds)); - } - - if (artists != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("artists", artists)); - } - - if (excludeArtistIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("excludeArtistIds", excludeArtistIds)); - } - - if (artistIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("artistIds", artistIds)); - } - - if (albums != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("albums", albums)); - } - - if (albumIds != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("albumIds", albumIds)); - } - - if (ids != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("ids", ids)); - } - - if (videoTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("videoTypes", videoTypes)); - } - - if (userId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); - } - - if (minOfficialRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minOfficialRating", minOfficialRating)); - } - - if (isLocked != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isLocked", isLocked)); - } - - if (isPlaceHolder != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("isPlaceHolder", isPlaceHolder)); - } - - if (hasOfficialRating != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasOfficialRating", hasOfficialRating)); - } - - if (collapseBoxSetItems != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("collapseBoxSetItems", collapseBoxSetItems)); - } - - if (is3D != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("is3D", is3D)); - } - - if (seriesStatus != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("seriesStatus", seriesStatus)); - } - - if (nameStartsWithOrGreater != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameStartsWithOrGreater", nameStartsWithOrGreater)); - } - - if (nameStartsWith != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameStartsWith", nameStartsWith)); - } - - if (nameLessThan != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("nameLessThan", nameLessThan)); - } - - if (reportView != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("reportView", reportView)); - } - - if (displayType != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("displayType", displayType)); - } - - if (hasQueryLimit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("hasQueryLimit", hasQueryLimit)); - } - - if (groupBy != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("groupBy", groupBy)); - } - - if (reportColumns != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("reportColumns", reportColumns)); - } - - if (minDate != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("minDate", minDate)); - } - - if (exportType != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("exportType", exportType)); - } - - if (enableImages != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("enableImages", enableImages)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getReportDownloadValidateBeforeCall(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, String minDate, ReportExportType exportType, Boolean enableImages, final ApiCallback _callback) throws ApiException { - return getReportDownloadCall(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, minDate, exportType, enableImages, _callback); - - } - - /** - * - * - * @param hasThemeSong (optional) - * @param hasThemeVideo (optional) - * @param hasSubtitles (optional) - * @param hasSpecialFeature (optional) - * @param hasTrailer (optional) - * @param adjacentTo (optional) - * @param minIndexNumber (optional) - * @param parentIndexNumber (optional) - * @param hasParentalRating (optional) - * @param isHd (optional) - * @param locationTypes (optional) - * @param excludeLocationTypes (optional) - * @param isMissing (optional) - * @param isUnaried (optional) - * @param minCommunityRating (optional) - * @param minCriticRating (optional) - * @param airedDuringSeason (optional) - * @param minPremiereDate (optional) - * @param minDateLastSaved (optional) - * @param minDateLastSavedForUser (optional) - * @param maxPremiereDate (optional) - * @param hasOverview (optional) - * @param hasImdbId (optional) - * @param hasTmdbId (optional) - * @param hasTvdbId (optional) - * @param isInBoxSet (optional) - * @param excludeItemIds (optional) - * @param enableTotalRecordCount (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param recursive (optional) - * @param sortOrder (optional) - * @param parentId (optional) - * @param fields (optional) - * @param excludeItemTypes (optional) - * @param includeItemTypes (optional) - * @param filters (optional) - * @param isFavorite (optional) - * @param isNotFavorite (optional) - * @param mediaTypes (optional) - * @param imageTypes (optional) - * @param sortBy (optional) - * @param isPlayed (optional) - * @param genres (optional) - * @param genreIds (optional) - * @param officialRatings (optional) - * @param tags (optional) - * @param years (optional) - * @param enableUserData (optional) - * @param imageTypeLimit (optional) - * @param enableImageTypes (optional) - * @param person (optional) - * @param personIds (optional) - * @param personTypes (optional) - * @param studios (optional) - * @param studioIds (optional) - * @param artists (optional) - * @param excludeArtistIds (optional) - * @param artistIds (optional) - * @param albums (optional) - * @param albumIds (optional) - * @param ids (optional) - * @param videoTypes (optional) - * @param userId (optional) - * @param minOfficialRating (optional) - * @param isLocked (optional) - * @param isPlaceHolder (optional) - * @param hasOfficialRating (optional) - * @param collapseBoxSetItems (optional) - * @param is3D (optional) - * @param seriesStatus (optional) - * @param nameStartsWithOrGreater (optional) - * @param nameStartsWith (optional) - * @param nameLessThan (optional) - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param minDate (optional) - * @param exportType (optional, default to CSV) - * @param enableImages (optional, default to true) - * @return ReportResult - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ReportResult getReportDownload(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, String minDate, ReportExportType exportType, Boolean enableImages) throws ApiException { - ApiResponse localVarResp = getReportDownloadWithHttpInfo(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, minDate, exportType, enableImages); - return localVarResp.getData(); - } - - /** - * - * - * @param hasThemeSong (optional) - * @param hasThemeVideo (optional) - * @param hasSubtitles (optional) - * @param hasSpecialFeature (optional) - * @param hasTrailer (optional) - * @param adjacentTo (optional) - * @param minIndexNumber (optional) - * @param parentIndexNumber (optional) - * @param hasParentalRating (optional) - * @param isHd (optional) - * @param locationTypes (optional) - * @param excludeLocationTypes (optional) - * @param isMissing (optional) - * @param isUnaried (optional) - * @param minCommunityRating (optional) - * @param minCriticRating (optional) - * @param airedDuringSeason (optional) - * @param minPremiereDate (optional) - * @param minDateLastSaved (optional) - * @param minDateLastSavedForUser (optional) - * @param maxPremiereDate (optional) - * @param hasOverview (optional) - * @param hasImdbId (optional) - * @param hasTmdbId (optional) - * @param hasTvdbId (optional) - * @param isInBoxSet (optional) - * @param excludeItemIds (optional) - * @param enableTotalRecordCount (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param recursive (optional) - * @param sortOrder (optional) - * @param parentId (optional) - * @param fields (optional) - * @param excludeItemTypes (optional) - * @param includeItemTypes (optional) - * @param filters (optional) - * @param isFavorite (optional) - * @param isNotFavorite (optional) - * @param mediaTypes (optional) - * @param imageTypes (optional) - * @param sortBy (optional) - * @param isPlayed (optional) - * @param genres (optional) - * @param genreIds (optional) - * @param officialRatings (optional) - * @param tags (optional) - * @param years (optional) - * @param enableUserData (optional) - * @param imageTypeLimit (optional) - * @param enableImageTypes (optional) - * @param person (optional) - * @param personIds (optional) - * @param personTypes (optional) - * @param studios (optional) - * @param studioIds (optional) - * @param artists (optional) - * @param excludeArtistIds (optional) - * @param artistIds (optional) - * @param albums (optional) - * @param albumIds (optional) - * @param ids (optional) - * @param videoTypes (optional) - * @param userId (optional) - * @param minOfficialRating (optional) - * @param isLocked (optional) - * @param isPlaceHolder (optional) - * @param hasOfficialRating (optional) - * @param collapseBoxSetItems (optional) - * @param is3D (optional) - * @param seriesStatus (optional) - * @param nameStartsWithOrGreater (optional) - * @param nameStartsWith (optional) - * @param nameLessThan (optional) - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param minDate (optional) - * @param exportType (optional, default to CSV) - * @param enableImages (optional, default to true) - * @return ApiResponse<ReportResult> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getReportDownloadWithHttpInfo(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, String minDate, ReportExportType exportType, Boolean enableImages) throws ApiException { - okhttp3.Call localVarCall = getReportDownloadValidateBeforeCall(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, minDate, exportType, enableImages, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * - * @param hasThemeSong (optional) - * @param hasThemeVideo (optional) - * @param hasSubtitles (optional) - * @param hasSpecialFeature (optional) - * @param hasTrailer (optional) - * @param adjacentTo (optional) - * @param minIndexNumber (optional) - * @param parentIndexNumber (optional) - * @param hasParentalRating (optional) - * @param isHd (optional) - * @param locationTypes (optional) - * @param excludeLocationTypes (optional) - * @param isMissing (optional) - * @param isUnaried (optional) - * @param minCommunityRating (optional) - * @param minCriticRating (optional) - * @param airedDuringSeason (optional) - * @param minPremiereDate (optional) - * @param minDateLastSaved (optional) - * @param minDateLastSavedForUser (optional) - * @param maxPremiereDate (optional) - * @param hasOverview (optional) - * @param hasImdbId (optional) - * @param hasTmdbId (optional) - * @param hasTvdbId (optional) - * @param isInBoxSet (optional) - * @param excludeItemIds (optional) - * @param enableTotalRecordCount (optional) - * @param startIndex (optional) - * @param limit (optional) - * @param recursive (optional) - * @param sortOrder (optional) - * @param parentId (optional) - * @param fields (optional) - * @param excludeItemTypes (optional) - * @param includeItemTypes (optional) - * @param filters (optional) - * @param isFavorite (optional) - * @param isNotFavorite (optional) - * @param mediaTypes (optional) - * @param imageTypes (optional) - * @param sortBy (optional) - * @param isPlayed (optional) - * @param genres (optional) - * @param genreIds (optional) - * @param officialRatings (optional) - * @param tags (optional) - * @param years (optional) - * @param enableUserData (optional) - * @param imageTypeLimit (optional) - * @param enableImageTypes (optional) - * @param person (optional) - * @param personIds (optional) - * @param personTypes (optional) - * @param studios (optional) - * @param studioIds (optional) - * @param artists (optional) - * @param excludeArtistIds (optional) - * @param artistIds (optional) - * @param albums (optional) - * @param albumIds (optional) - * @param ids (optional) - * @param videoTypes (optional) - * @param userId (optional) - * @param minOfficialRating (optional) - * @param isLocked (optional) - * @param isPlaceHolder (optional) - * @param hasOfficialRating (optional) - * @param collapseBoxSetItems (optional) - * @param is3D (optional) - * @param seriesStatus (optional) - * @param nameStartsWithOrGreater (optional) - * @param nameStartsWith (optional) - * @param nameLessThan (optional) - * @param reportView (optional) - * @param displayType (optional) - * @param hasQueryLimit (optional) - * @param groupBy (optional) - * @param reportColumns (optional) - * @param minDate (optional) - * @param exportType (optional, default to CSV) - * @param enableImages (optional, default to true) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getReportDownloadAsync(Boolean hasThemeSong, Boolean hasThemeVideo, Boolean hasSubtitles, Boolean hasSpecialFeature, Boolean hasTrailer, String adjacentTo, Integer minIndexNumber, Integer parentIndexNumber, Boolean hasParentalRating, Boolean isHd, String locationTypes, String excludeLocationTypes, Boolean isMissing, Boolean isUnaried, Double minCommunityRating, Double minCriticRating, Integer airedDuringSeason, String minPremiereDate, String minDateLastSaved, String minDateLastSavedForUser, String maxPremiereDate, Boolean hasOverview, Boolean hasImdbId, Boolean hasTmdbId, Boolean hasTvdbId, Boolean isInBoxSet, String excludeItemIds, Boolean enableTotalRecordCount, Integer startIndex, Integer limit, Boolean recursive, String sortOrder, String parentId, String fields, String excludeItemTypes, String includeItemTypes, String filters, Boolean isFavorite, Boolean isNotFavorite, String mediaTypes, String imageTypes, String sortBy, Boolean isPlayed, String genres, String genreIds, String officialRatings, String tags, String years, Boolean enableUserData, Integer imageTypeLimit, String enableImageTypes, String person, String personIds, String personTypes, String studios, String studioIds, String artists, String excludeArtistIds, String artistIds, String albums, String albumIds, String ids, String videoTypes, String userId, String minOfficialRating, Boolean isLocked, Boolean isPlaceHolder, Boolean hasOfficialRating, Boolean collapseBoxSetItems, Boolean is3D, String seriesStatus, String nameStartsWithOrGreater, String nameStartsWith, String nameLessThan, String reportView, String displayType, Boolean hasQueryLimit, String groupBy, String reportColumns, String minDate, ReportExportType exportType, Boolean enableImages, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getReportDownloadValidateBeforeCall(hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, minIndexNumber, parentIndexNumber, hasParentalRating, isHd, locationTypes, excludeLocationTypes, isMissing, isUnaried, minCommunityRating, minCriticRating, airedDuringSeason, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isInBoxSet, excludeItemIds, enableTotalRecordCount, startIndex, limit, recursive, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, isNotFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, artists, excludeArtistIds, artistIds, albums, albumIds, ids, videoTypes, userId, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, reportView, displayType, hasQueryLimit, groupBy, reportColumns, minDate, exportType, enableImages, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getReportHeaders - * @param reportView (optional) - * @param includeItemTypes (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getReportHeadersCall(String reportView, String includeItemTypes, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/Reports/Headers"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (reportView != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("reportView", reportView)); - } - - if (includeItemTypes != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("includeItemTypes", includeItemTypes)); - } - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "CustomAuthentication" }; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getReportHeadersValidateBeforeCall(String reportView, String includeItemTypes, final ApiCallback _callback) throws ApiException { - return getReportHeadersCall(reportView, includeItemTypes, _callback); - - } - - /** - * - * - * @param reportView (optional) - * @param includeItemTypes (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public void getReportHeaders(String reportView, String includeItemTypes) throws ApiException { - getReportHeadersWithHttpInfo(reportView, includeItemTypes); - } - - /** - * - * - * @param reportView (optional) - * @param includeItemTypes (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public ApiResponse getReportHeadersWithHttpInfo(String reportView, String includeItemTypes) throws ApiException { - okhttp3.Call localVarCall = getReportHeadersValidateBeforeCall(reportView, includeItemTypes, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param reportView (optional) - * @param includeItemTypes (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Response Details
Status Code Description Response Headers
200 Success -
401 Unauthorized -
403 Forbidden -
- */ - public okhttp3.Call getReportHeadersAsync(String reportView, String includeItemTypes, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getReportHeadersValidateBeforeCall(reportView, includeItemTypes, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } -} diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/RestApiApi.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/RestApiApi.java deleted file mode 100644 index 282318f09d3..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/api/RestApiApi.java +++ /dev/null @@ -1,192 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.api; - -import org.openapitools.client.ApiCallback; -import org.openapitools.client.ApiClient; -import org.openapitools.client.ApiException; -import org.openapitools.client.ApiResponse; -import org.openapitools.client.Configuration; -import org.openapitools.client.Pair; -import org.openapitools.client.ProgressRequestBody; -import org.openapitools.client.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import org.openapitools.client.model.LastFMUser; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class RestApiApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public RestApiApi() { - this(Configuration.getDefaultApiClient()); - } - - public RestApiApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for createMobileSession - * @param lastFMUser (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - -
Response Details
Status Code Description Response Headers
200 Success -
- */ - public okhttp3.Call createMobileSessionCall(LastFMUser lastFMUser, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = lastFMUser; - - // create path and map variables - String localVarPath = "/Lastfm/Login"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createMobileSessionValidateBeforeCall(LastFMUser lastFMUser, final ApiCallback _callback) throws ApiException { - return createMobileSessionCall(lastFMUser, _callback); - - } - - /** - * - * - * @param lastFMUser (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - -
Response Details
Status Code Description Response Headers
200 Success -
- */ - public void createMobileSession(LastFMUser lastFMUser) throws ApiException { - createMobileSessionWithHttpInfo(lastFMUser); - } - - /** - * - * - * @param lastFMUser (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - -
Response Details
Status Code Description Response Headers
200 Success -
- */ - public ApiResponse createMobileSessionWithHttpInfo(LastFMUser lastFMUser) throws ApiException { - okhttp3.Call localVarCall = createMobileSessionValidateBeforeCall(lastFMUser, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param lastFMUser (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - -
Response Details
Status Code Description Response Headers
200 Success -
- */ - public okhttp3.Call createMobileSessionAsync(LastFMUser lastFMUser, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createMobileSessionValidateBeforeCall(lastFMUser, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } -} diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItem.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItem.java deleted file mode 100644 index ceab21080aa..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/BaseItem.java +++ /dev/null @@ -1,523 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.time.OffsetDateTime; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.UUID; -import org.openapitools.client.model.MediaUrl; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * Class BaseItem. - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class BaseItem { - public static final String SERIALIZED_NAME_SIZE = "Size"; - @SerializedName(SERIALIZED_NAME_SIZE) - @javax.annotation.Nullable - private Long size; - - public static final String SERIALIZED_NAME_CONTAINER = "Container"; - @SerializedName(SERIALIZED_NAME_CONTAINER) - @javax.annotation.Nullable - private String container; - - public static final String SERIALIZED_NAME_IS_H_D = "IsHD"; - @SerializedName(SERIALIZED_NAME_IS_H_D) - @javax.annotation.Nullable - private Boolean isHD; - - public static final String SERIALIZED_NAME_IS_SHORTCUT = "IsShortcut"; - @SerializedName(SERIALIZED_NAME_IS_SHORTCUT) - @javax.annotation.Nullable - private Boolean isShortcut; - - public static final String SERIALIZED_NAME_SHORTCUT_PATH = "ShortcutPath"; - @SerializedName(SERIALIZED_NAME_SHORTCUT_PATH) - @javax.annotation.Nullable - private String shortcutPath; - - public static final String SERIALIZED_NAME_WIDTH = "Width"; - @SerializedName(SERIALIZED_NAME_WIDTH) - @javax.annotation.Nullable - private Integer width; - - public static final String SERIALIZED_NAME_HEIGHT = "Height"; - @SerializedName(SERIALIZED_NAME_HEIGHT) - @javax.annotation.Nullable - private Integer height; - - public static final String SERIALIZED_NAME_EXTRA_IDS = "ExtraIds"; - @SerializedName(SERIALIZED_NAME_EXTRA_IDS) - @javax.annotation.Nullable - private List extraIds; - - public static final String SERIALIZED_NAME_DATE_LAST_SAVED = "DateLastSaved"; - @SerializedName(SERIALIZED_NAME_DATE_LAST_SAVED) - @javax.annotation.Nullable - private OffsetDateTime dateLastSaved; - - public static final String SERIALIZED_NAME_REMOTE_TRAILERS = "RemoteTrailers"; - @SerializedName(SERIALIZED_NAME_REMOTE_TRAILERS) - @javax.annotation.Nullable - private List remoteTrailers; - - public static final String SERIALIZED_NAME_SUPPORTS_EXTERNAL_TRANSFER = "SupportsExternalTransfer"; - @SerializedName(SERIALIZED_NAME_SUPPORTS_EXTERNAL_TRANSFER) - @javax.annotation.Nullable - private Boolean supportsExternalTransfer; - - public BaseItem() { - } - - public BaseItem( - Boolean isHD, - Boolean supportsExternalTransfer - ) { - this(); - this.isHD = isHD; - this.supportsExternalTransfer = supportsExternalTransfer; - } - - public BaseItem size(@javax.annotation.Nullable Long size) { - this.size = size; - return this; - } - - /** - * Get size - * @return size - */ - @javax.annotation.Nullable - public Long getSize() { - return size; - } - - public void setSize(@javax.annotation.Nullable Long size) { - this.size = size; - } - - - public BaseItem container(@javax.annotation.Nullable String container) { - this.container = container; - return this; - } - - /** - * Get container - * @return container - */ - @javax.annotation.Nullable - public String getContainer() { - return container; - } - - public void setContainer(@javax.annotation.Nullable String container) { - this.container = container; - } - - - /** - * Get isHD - * @return isHD - */ - @javax.annotation.Nullable - public Boolean getIsHD() { - return isHD; - } - - - - public BaseItem isShortcut(@javax.annotation.Nullable Boolean isShortcut) { - this.isShortcut = isShortcut; - return this; - } - - /** - * Get isShortcut - * @return isShortcut - */ - @javax.annotation.Nullable - public Boolean getIsShortcut() { - return isShortcut; - } - - public void setIsShortcut(@javax.annotation.Nullable Boolean isShortcut) { - this.isShortcut = isShortcut; - } - - - public BaseItem shortcutPath(@javax.annotation.Nullable String shortcutPath) { - this.shortcutPath = shortcutPath; - return this; - } - - /** - * Get shortcutPath - * @return shortcutPath - */ - @javax.annotation.Nullable - public String getShortcutPath() { - return shortcutPath; - } - - public void setShortcutPath(@javax.annotation.Nullable String shortcutPath) { - this.shortcutPath = shortcutPath; - } - - - public BaseItem width(@javax.annotation.Nullable Integer width) { - this.width = width; - return this; - } - - /** - * Get width - * @return width - */ - @javax.annotation.Nullable - public Integer getWidth() { - return width; - } - - public void setWidth(@javax.annotation.Nullable Integer width) { - this.width = width; - } - - - public BaseItem height(@javax.annotation.Nullable Integer height) { - this.height = height; - return this; - } - - /** - * Get height - * @return height - */ - @javax.annotation.Nullable - public Integer getHeight() { - return height; - } - - public void setHeight(@javax.annotation.Nullable Integer height) { - this.height = height; - } - - - public BaseItem extraIds(@javax.annotation.Nullable List extraIds) { - this.extraIds = extraIds; - return this; - } - - public BaseItem addExtraIdsItem(UUID extraIdsItem) { - if (this.extraIds == null) { - this.extraIds = new ArrayList<>(); - } - this.extraIds.add(extraIdsItem); - return this; - } - - /** - * Get extraIds - * @return extraIds - */ - @javax.annotation.Nullable - public List getExtraIds() { - return extraIds; - } - - public void setExtraIds(@javax.annotation.Nullable List extraIds) { - this.extraIds = extraIds; - } - - - public BaseItem dateLastSaved(@javax.annotation.Nullable OffsetDateTime dateLastSaved) { - this.dateLastSaved = dateLastSaved; - return this; - } - - /** - * Get dateLastSaved - * @return dateLastSaved - */ - @javax.annotation.Nullable - public OffsetDateTime getDateLastSaved() { - return dateLastSaved; - } - - public void setDateLastSaved(@javax.annotation.Nullable OffsetDateTime dateLastSaved) { - this.dateLastSaved = dateLastSaved; - } - - - public BaseItem remoteTrailers(@javax.annotation.Nullable List remoteTrailers) { - this.remoteTrailers = remoteTrailers; - return this; - } - - public BaseItem addRemoteTrailersItem(MediaUrl remoteTrailersItem) { - if (this.remoteTrailers == null) { - this.remoteTrailers = new ArrayList<>(); - } - this.remoteTrailers.add(remoteTrailersItem); - return this; - } - - /** - * Gets or sets the remote trailers. - * @return remoteTrailers - */ - @javax.annotation.Nullable - public List getRemoteTrailers() { - return remoteTrailers; - } - - public void setRemoteTrailers(@javax.annotation.Nullable List remoteTrailers) { - this.remoteTrailers = remoteTrailers; - } - - - /** - * Get supportsExternalTransfer - * @return supportsExternalTransfer - */ - @javax.annotation.Nullable - public Boolean getSupportsExternalTransfer() { - return supportsExternalTransfer; - } - - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - BaseItem baseItem = (BaseItem) o; - return Objects.equals(this.size, baseItem.size) && - Objects.equals(this.container, baseItem.container) && - Objects.equals(this.isHD, baseItem.isHD) && - Objects.equals(this.isShortcut, baseItem.isShortcut) && - Objects.equals(this.shortcutPath, baseItem.shortcutPath) && - Objects.equals(this.width, baseItem.width) && - Objects.equals(this.height, baseItem.height) && - Objects.equals(this.extraIds, baseItem.extraIds) && - Objects.equals(this.dateLastSaved, baseItem.dateLastSaved) && - Objects.equals(this.remoteTrailers, baseItem.remoteTrailers) && - Objects.equals(this.supportsExternalTransfer, baseItem.supportsExternalTransfer); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(size, container, isHD, isShortcut, shortcutPath, width, height, extraIds, dateLastSaved, remoteTrailers, supportsExternalTransfer); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class BaseItem {\n"); - sb.append(" size: ").append(toIndentedString(size)).append("\n"); - sb.append(" container: ").append(toIndentedString(container)).append("\n"); - sb.append(" isHD: ").append(toIndentedString(isHD)).append("\n"); - sb.append(" isShortcut: ").append(toIndentedString(isShortcut)).append("\n"); - sb.append(" shortcutPath: ").append(toIndentedString(shortcutPath)).append("\n"); - sb.append(" width: ").append(toIndentedString(width)).append("\n"); - sb.append(" height: ").append(toIndentedString(height)).append("\n"); - sb.append(" extraIds: ").append(toIndentedString(extraIds)).append("\n"); - sb.append(" dateLastSaved: ").append(toIndentedString(dateLastSaved)).append("\n"); - sb.append(" remoteTrailers: ").append(toIndentedString(remoteTrailers)).append("\n"); - sb.append(" supportsExternalTransfer: ").append(toIndentedString(supportsExternalTransfer)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Size"); - openapiFields.add("Container"); - openapiFields.add("IsHD"); - openapiFields.add("IsShortcut"); - openapiFields.add("ShortcutPath"); - openapiFields.add("Width"); - openapiFields.add("Height"); - openapiFields.add("ExtraIds"); - openapiFields.add("DateLastSaved"); - openapiFields.add("RemoteTrailers"); - openapiFields.add("SupportsExternalTransfer"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to BaseItem - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!BaseItem.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in BaseItem is not found in the empty JSON string", BaseItem.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!BaseItem.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `BaseItem` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Container") != null && !jsonObj.get("Container").isJsonNull()) && !jsonObj.get("Container").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Container` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Container").toString())); - } - if ((jsonObj.get("ShortcutPath") != null && !jsonObj.get("ShortcutPath").isJsonNull()) && !jsonObj.get("ShortcutPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ShortcutPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ShortcutPath").toString())); - } - // ensure the optional json data is an array if present - if (jsonObj.get("ExtraIds") != null && !jsonObj.get("ExtraIds").isJsonNull() && !jsonObj.get("ExtraIds").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `ExtraIds` to be an array in the JSON string but got `%s`", jsonObj.get("ExtraIds").toString())); - } - if (jsonObj.get("RemoteTrailers") != null && !jsonObj.get("RemoteTrailers").isJsonNull()) { - JsonArray jsonArrayremoteTrailers = jsonObj.getAsJsonArray("RemoteTrailers"); - if (jsonArrayremoteTrailers != null) { - // ensure the json data is an array - if (!jsonObj.get("RemoteTrailers").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `RemoteTrailers` to be an array in the JSON string but got `%s`", jsonObj.get("RemoteTrailers").toString())); - } - - // validate the optional field `RemoteTrailers` (array) - for (int i = 0; i < jsonArrayremoteTrailers.size(); i++) { - MediaUrl.validateJsonElement(jsonArrayremoteTrailers.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!BaseItem.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'BaseItem' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(BaseItem.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, BaseItem value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public BaseItem read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of BaseItem given an JSON string - * - * @param jsonString JSON string - * @return An instance of BaseItem - * @throws IOException if the JSON string is invalid with respect to BaseItem - */ - public static BaseItem fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, BaseItem.class); - } - - /** - * Convert an instance of BaseItem to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CustomQueryData.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CustomQueryData.java deleted file mode 100644 index 98f8fa5db52..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/CustomQueryData.java +++ /dev/null @@ -1,233 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * CustomQueryData - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class CustomQueryData { - public static final String SERIALIZED_NAME_CUSTOM_QUERY_STRING = "CustomQueryString"; - @SerializedName(SERIALIZED_NAME_CUSTOM_QUERY_STRING) - @javax.annotation.Nullable - private String customQueryString; - - public static final String SERIALIZED_NAME_REPLACE_USER_ID = "ReplaceUserId"; - @SerializedName(SERIALIZED_NAME_REPLACE_USER_ID) - @javax.annotation.Nullable - private Boolean replaceUserId; - - public CustomQueryData() { - } - - public CustomQueryData customQueryString(@javax.annotation.Nullable String customQueryString) { - this.customQueryString = customQueryString; - return this; - } - - /** - * Get customQueryString - * @return customQueryString - */ - @javax.annotation.Nullable - public String getCustomQueryString() { - return customQueryString; - } - - public void setCustomQueryString(@javax.annotation.Nullable String customQueryString) { - this.customQueryString = customQueryString; - } - - - public CustomQueryData replaceUserId(@javax.annotation.Nullable Boolean replaceUserId) { - this.replaceUserId = replaceUserId; - return this; - } - - /** - * Get replaceUserId - * @return replaceUserId - */ - @javax.annotation.Nullable - public Boolean getReplaceUserId() { - return replaceUserId; - } - - public void setReplaceUserId(@javax.annotation.Nullable Boolean replaceUserId) { - this.replaceUserId = replaceUserId; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CustomQueryData customQueryData = (CustomQueryData) o; - return Objects.equals(this.customQueryString, customQueryData.customQueryString) && - Objects.equals(this.replaceUserId, customQueryData.replaceUserId); - } - - @Override - public int hashCode() { - return Objects.hash(customQueryString, replaceUserId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CustomQueryData {\n"); - sb.append(" customQueryString: ").append(toIndentedString(customQueryString)).append("\n"); - sb.append(" replaceUserId: ").append(toIndentedString(replaceUserId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("CustomQueryString"); - openapiFields.add("ReplaceUserId"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to CustomQueryData - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!CustomQueryData.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in CustomQueryData is not found in the empty JSON string", CustomQueryData.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!CustomQueryData.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CustomQueryData` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("CustomQueryString") != null && !jsonObj.get("CustomQueryString").isJsonNull()) && !jsonObj.get("CustomQueryString").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `CustomQueryString` to be a primitive type in the JSON string but got `%s`", jsonObj.get("CustomQueryString").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!CustomQueryData.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'CustomQueryData' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(CustomQueryData.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, CustomQueryData value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public CustomQueryData read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of CustomQueryData given an JSON string - * - * @param jsonString JSON string - * @return An instance of CustomQueryData - * @throws IOException if the JSON string is invalid with respect to CustomQueryData - */ - public static CustomQueryData fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, CustomQueryData.class); - } - - /** - * Convert an instance of CustomQueryData to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceIdentification.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceIdentification.java deleted file mode 100644 index 4b871369042..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/DeviceIdentification.java +++ /dev/null @@ -1,468 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.openapitools.client.model.HttpHeaderInfo; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * DeviceIdentification - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class DeviceIdentification { - public static final String SERIALIZED_NAME_FRIENDLY_NAME = "FriendlyName"; - @SerializedName(SERIALIZED_NAME_FRIENDLY_NAME) - @javax.annotation.Nullable - private String friendlyName; - - public static final String SERIALIZED_NAME_MODEL_NUMBER = "ModelNumber"; - @SerializedName(SERIALIZED_NAME_MODEL_NUMBER) - @javax.annotation.Nullable - private String modelNumber; - - public static final String SERIALIZED_NAME_SERIAL_NUMBER = "SerialNumber"; - @SerializedName(SERIALIZED_NAME_SERIAL_NUMBER) - @javax.annotation.Nullable - private String serialNumber; - - public static final String SERIALIZED_NAME_MODEL_NAME = "ModelName"; - @SerializedName(SERIALIZED_NAME_MODEL_NAME) - @javax.annotation.Nullable - private String modelName; - - public static final String SERIALIZED_NAME_MODEL_DESCRIPTION = "ModelDescription"; - @SerializedName(SERIALIZED_NAME_MODEL_DESCRIPTION) - @javax.annotation.Nullable - private String modelDescription; - - public static final String SERIALIZED_NAME_MODEL_URL = "ModelUrl"; - @SerializedName(SERIALIZED_NAME_MODEL_URL) - @javax.annotation.Nullable - private String modelUrl; - - public static final String SERIALIZED_NAME_MANUFACTURER = "Manufacturer"; - @SerializedName(SERIALIZED_NAME_MANUFACTURER) - @javax.annotation.Nullable - private String manufacturer; - - public static final String SERIALIZED_NAME_MANUFACTURER_URL = "ManufacturerUrl"; - @SerializedName(SERIALIZED_NAME_MANUFACTURER_URL) - @javax.annotation.Nullable - private String manufacturerUrl; - - public static final String SERIALIZED_NAME_HEADERS = "Headers"; - @SerializedName(SERIALIZED_NAME_HEADERS) - @javax.annotation.Nullable - private List headers = new ArrayList<>(); - - public DeviceIdentification() { - } - - public DeviceIdentification friendlyName(@javax.annotation.Nullable String friendlyName) { - this.friendlyName = friendlyName; - return this; - } - - /** - * Gets or sets the name of the friendly. - * @return friendlyName - */ - @javax.annotation.Nullable - public String getFriendlyName() { - return friendlyName; - } - - public void setFriendlyName(@javax.annotation.Nullable String friendlyName) { - this.friendlyName = friendlyName; - } - - - public DeviceIdentification modelNumber(@javax.annotation.Nullable String modelNumber) { - this.modelNumber = modelNumber; - return this; - } - - /** - * Gets or sets the model number. - * @return modelNumber - */ - @javax.annotation.Nullable - public String getModelNumber() { - return modelNumber; - } - - public void setModelNumber(@javax.annotation.Nullable String modelNumber) { - this.modelNumber = modelNumber; - } - - - public DeviceIdentification serialNumber(@javax.annotation.Nullable String serialNumber) { - this.serialNumber = serialNumber; - return this; - } - - /** - * Gets or sets the serial number. - * @return serialNumber - */ - @javax.annotation.Nullable - public String getSerialNumber() { - return serialNumber; - } - - public void setSerialNumber(@javax.annotation.Nullable String serialNumber) { - this.serialNumber = serialNumber; - } - - - public DeviceIdentification modelName(@javax.annotation.Nullable String modelName) { - this.modelName = modelName; - return this; - } - - /** - * Gets or sets the name of the model. - * @return modelName - */ - @javax.annotation.Nullable - public String getModelName() { - return modelName; - } - - public void setModelName(@javax.annotation.Nullable String modelName) { - this.modelName = modelName; - } - - - public DeviceIdentification modelDescription(@javax.annotation.Nullable String modelDescription) { - this.modelDescription = modelDescription; - return this; - } - - /** - * Gets or sets the model description. - * @return modelDescription - */ - @javax.annotation.Nullable - public String getModelDescription() { - return modelDescription; - } - - public void setModelDescription(@javax.annotation.Nullable String modelDescription) { - this.modelDescription = modelDescription; - } - - - public DeviceIdentification modelUrl(@javax.annotation.Nullable String modelUrl) { - this.modelUrl = modelUrl; - return this; - } - - /** - * Gets or sets the model URL. - * @return modelUrl - */ - @javax.annotation.Nullable - public String getModelUrl() { - return modelUrl; - } - - public void setModelUrl(@javax.annotation.Nullable String modelUrl) { - this.modelUrl = modelUrl; - } - - - public DeviceIdentification manufacturer(@javax.annotation.Nullable String manufacturer) { - this.manufacturer = manufacturer; - return this; - } - - /** - * Gets or sets the manufacturer. - * @return manufacturer - */ - @javax.annotation.Nullable - public String getManufacturer() { - return manufacturer; - } - - public void setManufacturer(@javax.annotation.Nullable String manufacturer) { - this.manufacturer = manufacturer; - } - - - public DeviceIdentification manufacturerUrl(@javax.annotation.Nullable String manufacturerUrl) { - this.manufacturerUrl = manufacturerUrl; - return this; - } - - /** - * Gets or sets the manufacturer URL. - * @return manufacturerUrl - */ - @javax.annotation.Nullable - public String getManufacturerUrl() { - return manufacturerUrl; - } - - public void setManufacturerUrl(@javax.annotation.Nullable String manufacturerUrl) { - this.manufacturerUrl = manufacturerUrl; - } - - - public DeviceIdentification headers(@javax.annotation.Nullable List headers) { - this.headers = headers; - return this; - } - - public DeviceIdentification addHeadersItem(HttpHeaderInfo headersItem) { - if (this.headers == null) { - this.headers = new ArrayList<>(); - } - this.headers.add(headersItem); - return this; - } - - /** - * Gets or sets the headers. - * @return headers - */ - @javax.annotation.Nullable - public List getHeaders() { - return headers; - } - - public void setHeaders(@javax.annotation.Nullable List headers) { - this.headers = headers; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - DeviceIdentification deviceIdentification = (DeviceIdentification) o; - return Objects.equals(this.friendlyName, deviceIdentification.friendlyName) && - Objects.equals(this.modelNumber, deviceIdentification.modelNumber) && - Objects.equals(this.serialNumber, deviceIdentification.serialNumber) && - Objects.equals(this.modelName, deviceIdentification.modelName) && - Objects.equals(this.modelDescription, deviceIdentification.modelDescription) && - Objects.equals(this.modelUrl, deviceIdentification.modelUrl) && - Objects.equals(this.manufacturer, deviceIdentification.manufacturer) && - Objects.equals(this.manufacturerUrl, deviceIdentification.manufacturerUrl) && - Objects.equals(this.headers, deviceIdentification.headers); - } - - @Override - public int hashCode() { - return Objects.hash(friendlyName, modelNumber, serialNumber, modelName, modelDescription, modelUrl, manufacturer, manufacturerUrl, headers); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class DeviceIdentification {\n"); - sb.append(" friendlyName: ").append(toIndentedString(friendlyName)).append("\n"); - sb.append(" modelNumber: ").append(toIndentedString(modelNumber)).append("\n"); - sb.append(" serialNumber: ").append(toIndentedString(serialNumber)).append("\n"); - sb.append(" modelName: ").append(toIndentedString(modelName)).append("\n"); - sb.append(" modelDescription: ").append(toIndentedString(modelDescription)).append("\n"); - sb.append(" modelUrl: ").append(toIndentedString(modelUrl)).append("\n"); - sb.append(" manufacturer: ").append(toIndentedString(manufacturer)).append("\n"); - sb.append(" manufacturerUrl: ").append(toIndentedString(manufacturerUrl)).append("\n"); - sb.append(" headers: ").append(toIndentedString(headers)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("FriendlyName"); - openapiFields.add("ModelNumber"); - openapiFields.add("SerialNumber"); - openapiFields.add("ModelName"); - openapiFields.add("ModelDescription"); - openapiFields.add("ModelUrl"); - openapiFields.add("Manufacturer"); - openapiFields.add("ManufacturerUrl"); - openapiFields.add("Headers"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to DeviceIdentification - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!DeviceIdentification.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in DeviceIdentification is not found in the empty JSON string", DeviceIdentification.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!DeviceIdentification.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DeviceIdentification` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("FriendlyName") != null && !jsonObj.get("FriendlyName").isJsonNull()) && !jsonObj.get("FriendlyName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `FriendlyName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("FriendlyName").toString())); - } - if ((jsonObj.get("ModelNumber") != null && !jsonObj.get("ModelNumber").isJsonNull()) && !jsonObj.get("ModelNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ModelNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ModelNumber").toString())); - } - if ((jsonObj.get("SerialNumber") != null && !jsonObj.get("SerialNumber").isJsonNull()) && !jsonObj.get("SerialNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `SerialNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("SerialNumber").toString())); - } - if ((jsonObj.get("ModelName") != null && !jsonObj.get("ModelName").isJsonNull()) && !jsonObj.get("ModelName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ModelName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ModelName").toString())); - } - if ((jsonObj.get("ModelDescription") != null && !jsonObj.get("ModelDescription").isJsonNull()) && !jsonObj.get("ModelDescription").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ModelDescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ModelDescription").toString())); - } - if ((jsonObj.get("ModelUrl") != null && !jsonObj.get("ModelUrl").isJsonNull()) && !jsonObj.get("ModelUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ModelUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ModelUrl").toString())); - } - if ((jsonObj.get("Manufacturer") != null && !jsonObj.get("Manufacturer").isJsonNull()) && !jsonObj.get("Manufacturer").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Manufacturer` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Manufacturer").toString())); - } - if ((jsonObj.get("ManufacturerUrl") != null && !jsonObj.get("ManufacturerUrl").isJsonNull()) && !jsonObj.get("ManufacturerUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ManufacturerUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ManufacturerUrl").toString())); - } - if (jsonObj.get("Headers") != null && !jsonObj.get("Headers").isJsonNull()) { - JsonArray jsonArrayheaders = jsonObj.getAsJsonArray("Headers"); - if (jsonArrayheaders != null) { - // ensure the json data is an array - if (!jsonObj.get("Headers").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `Headers` to be an array in the JSON string but got `%s`", jsonObj.get("Headers").toString())); - } - - // validate the optional field `Headers` (array) - for (int i = 0; i < jsonArrayheaders.size(); i++) { - HttpHeaderInfo.validateJsonElement(jsonArrayheaders.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!DeviceIdentification.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'DeviceIdentification' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(DeviceIdentification.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, DeviceIdentification value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public DeviceIdentification read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of DeviceIdentification given an JSON string - * - * @param jsonString JSON string - * @return An instance of DeviceIdentification - * @throws IOException if the JSON string is invalid with respect to DeviceIdentification - */ - public static DeviceIdentification fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, DeviceIdentification.class); - } - - /** - * Convert an instance of DeviceIdentification to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/HeaderMetadata.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/HeaderMetadata.java deleted file mode 100644 index baab7d62574..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/HeaderMetadata.java +++ /dev/null @@ -1,194 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.annotations.SerializedName; - -import java.io.IOException; -import com.google.gson.TypeAdapter; -import com.google.gson.JsonElement; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; - -/** - * Gets or Sets HeaderMetadata - */ -@JsonAdapter(HeaderMetadata.Adapter.class) -public enum HeaderMetadata { - - NONE("None"), - - PATH("Path"), - - NAME("Name"), - - PREMIERE_DATE("PremiereDate"), - - DATE_ADDED("DateAdded"), - - RELEASE_DATE("ReleaseDate"), - - RUNTIME("Runtime"), - - PLAY_COUNT("PlayCount"), - - SEASON("Season"), - - SEASON_NUMBER("SeasonNumber"), - - SERIES("Series"), - - NETWORK("Network"), - - YEAR("Year"), - - PARENTAL_RATING("ParentalRating"), - - COMMUNITY_RATING("CommunityRating"), - - TRAILERS("Trailers"), - - SPECIALS("Specials"), - - ALBUM_ARTIST("AlbumArtist"), - - ALBUM("Album"), - - DISC("Disc"), - - TRACK("Track"), - - AUDIO("Audio"), - - EMBEDDED_IMAGE("EmbeddedImage"), - - VIDEO("Video"), - - RESOLUTION("Resolution"), - - SUBTITLES("Subtitles"), - - GENRES("Genres"), - - COUNTRIES("Countries"), - - STATUS("Status"), - - TRACKS("Tracks"), - - EPISODE_SERIES("EpisodeSeries"), - - EPISODE_SEASON("EpisodeSeason"), - - EPISODE_NUMBER("EpisodeNumber"), - - AUDIO_ALBUM_ARTIST("AudioAlbumArtist"), - - MUSIC_ARTIST("MusicArtist"), - - AUDIO_ALBUM("AudioAlbum"), - - LOCKED("Locked"), - - IMAGE_PRIMARY("ImagePrimary"), - - IMAGE_BACKDROP("ImageBackdrop"), - - IMAGE_LOGO("ImageLogo"), - - ACTOR("Actor"), - - STUDIOS("Studios"), - - COMPOSER("Composer"), - - DIRECTOR("Director"), - - GUEST_STAR("GuestStar"), - - PRODUCER("Producer"), - - WRITER("Writer"), - - ARTIST("Artist"), - - YEARS("Years"), - - PARENTAL_RATINGS("ParentalRatings"), - - COMMUNITY_RATINGS("CommunityRatings"), - - OVERVIEW("Overview"), - - SHORT_OVERVIEW("ShortOverview"), - - TYPE("Type"), - - DATE("Date"), - - USER_PRIMARY_IMAGE("UserPrimaryImage"), - - SEVERITY("Severity"), - - ITEM("Item"), - - USER("User"), - - USER_ID("UserId"); - - private String value; - - HeaderMetadata(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static HeaderMetadata fromValue(String value) { - for (HeaderMetadata b : HeaderMetadata.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final HeaderMetadata enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public HeaderMetadata read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return HeaderMetadata.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - HeaderMetadata.fromValue(value); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageByNameInfo.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageByNameInfo.java deleted file mode 100644 index 8956e9021b1..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ImageByNameInfo.java +++ /dev/null @@ -1,335 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * ImageByNameInfo - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class ImageByNameInfo { - public static final String SERIALIZED_NAME_NAME = "Name"; - @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; - - public static final String SERIALIZED_NAME_THEME = "Theme"; - @SerializedName(SERIALIZED_NAME_THEME) - @javax.annotation.Nullable - private String theme; - - public static final String SERIALIZED_NAME_CONTEXT = "Context"; - @SerializedName(SERIALIZED_NAME_CONTEXT) - @javax.annotation.Nullable - private String context; - - public static final String SERIALIZED_NAME_FILE_LENGTH = "FileLength"; - @SerializedName(SERIALIZED_NAME_FILE_LENGTH) - @javax.annotation.Nullable - private Long fileLength; - - public static final String SERIALIZED_NAME_FORMAT = "Format"; - @SerializedName(SERIALIZED_NAME_FORMAT) - @javax.annotation.Nullable - private String format; - - public ImageByNameInfo() { - } - - public ImageByNameInfo name(@javax.annotation.Nullable String name) { - this.name = name; - return this; - } - - /** - * Gets or sets the name. - * @return name - */ - @javax.annotation.Nullable - public String getName() { - return name; - } - - public void setName(@javax.annotation.Nullable String name) { - this.name = name; - } - - - public ImageByNameInfo theme(@javax.annotation.Nullable String theme) { - this.theme = theme; - return this; - } - - /** - * Gets or sets the theme. - * @return theme - */ - @javax.annotation.Nullable - public String getTheme() { - return theme; - } - - public void setTheme(@javax.annotation.Nullable String theme) { - this.theme = theme; - } - - - public ImageByNameInfo context(@javax.annotation.Nullable String context) { - this.context = context; - return this; - } - - /** - * Gets or sets the context. - * @return context - */ - @javax.annotation.Nullable - public String getContext() { - return context; - } - - public void setContext(@javax.annotation.Nullable String context) { - this.context = context; - } - - - public ImageByNameInfo fileLength(@javax.annotation.Nullable Long fileLength) { - this.fileLength = fileLength; - return this; - } - - /** - * Gets or sets the length of the file. - * @return fileLength - */ - @javax.annotation.Nullable - public Long getFileLength() { - return fileLength; - } - - public void setFileLength(@javax.annotation.Nullable Long fileLength) { - this.fileLength = fileLength; - } - - - public ImageByNameInfo format(@javax.annotation.Nullable String format) { - this.format = format; - return this; - } - - /** - * Gets or sets the format. - * @return format - */ - @javax.annotation.Nullable - public String getFormat() { - return format; - } - - public void setFormat(@javax.annotation.Nullable String format) { - this.format = format; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ImageByNameInfo imageByNameInfo = (ImageByNameInfo) o; - return Objects.equals(this.name, imageByNameInfo.name) && - Objects.equals(this.theme, imageByNameInfo.theme) && - Objects.equals(this.context, imageByNameInfo.context) && - Objects.equals(this.fileLength, imageByNameInfo.fileLength) && - Objects.equals(this.format, imageByNameInfo.format); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(name, theme, context, fileLength, format); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ImageByNameInfo {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" theme: ").append(toIndentedString(theme)).append("\n"); - sb.append(" context: ").append(toIndentedString(context)).append("\n"); - sb.append(" fileLength: ").append(toIndentedString(fileLength)).append("\n"); - sb.append(" format: ").append(toIndentedString(format)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Name"); - openapiFields.add("Theme"); - openapiFields.add("Context"); - openapiFields.add("FileLength"); - openapiFields.add("Format"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ImageByNameInfo - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ImageByNameInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ImageByNameInfo is not found in the empty JSON string", ImageByNameInfo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ImageByNameInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ImageByNameInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Name") != null && !jsonObj.get("Name").isJsonNull()) && !jsonObj.get("Name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Name").toString())); - } - if ((jsonObj.get("Theme") != null && !jsonObj.get("Theme").isJsonNull()) && !jsonObj.get("Theme").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Theme` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Theme").toString())); - } - if ((jsonObj.get("Context") != null && !jsonObj.get("Context").isJsonNull()) && !jsonObj.get("Context").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Context` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Context").toString())); - } - if ((jsonObj.get("Format") != null && !jsonObj.get("Format").isJsonNull()) && !jsonObj.get("Format").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Format` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Format").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ImageByNameInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ImageByNameInfo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ImageByNameInfo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ImageByNameInfo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ImageByNameInfo read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ImageByNameInfo given an JSON string - * - * @param jsonString JSON string - * @return An instance of ImageByNameInfo - * @throws IOException if the JSON string is invalid with respect to ImageByNameInfo - */ - public static ImageByNameInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ImageByNameInfo.class); - } - - /** - * Convert an instance of ImageByNameInfo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LastFMUser.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LastFMUser.java deleted file mode 100644 index af7b552af9b..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LastFMUser.java +++ /dev/null @@ -1,248 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * LastFMUser - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class LastFMUser { - public static final String SERIALIZED_NAME_USERNAME = "Username"; - @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable - private String username; - - public static final String SERIALIZED_NAME_PASSWORD = "Password"; - @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable - private String password; - - public LastFMUser() { - } - - public LastFMUser username(@javax.annotation.Nullable String username) { - this.username = username; - return this; - } - - /** - * Get username - * @return username - */ - @javax.annotation.Nullable - public String getUsername() { - return username; - } - - public void setUsername(@javax.annotation.Nullable String username) { - this.username = username; - } - - - public LastFMUser password(@javax.annotation.Nullable String password) { - this.password = password; - return this; - } - - /** - * Get password - * @return password - */ - @javax.annotation.Nullable - public String getPassword() { - return password; - } - - public void setPassword(@javax.annotation.Nullable String password) { - this.password = password; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LastFMUser lastFMUser = (LastFMUser) o; - return Objects.equals(this.username, lastFMUser.username) && - Objects.equals(this.password, lastFMUser.password); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(username, password); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class LastFMUser {\n"); - sb.append(" username: ").append(toIndentedString(username)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Username"); - openapiFields.add("Password"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to LastFMUser - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!LastFMUser.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in LastFMUser is not found in the empty JSON string", LastFMUser.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!LastFMUser.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `LastFMUser` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Username") != null && !jsonObj.get("Username").isJsonNull()) && !jsonObj.get("Username").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Username` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Username").toString())); - } - if ((jsonObj.get("Password") != null && !jsonObj.get("Password").isJsonNull()) && !jsonObj.get("Password").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Password` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Password").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!LastFMUser.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'LastFMUser' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(LastFMUser.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, LastFMUser value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public LastFMUser read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of LastFMUser given an JSON string - * - * @param jsonString JSON string - * @return An instance of LastFMUser - * @throws IOException if the JSON string is invalid with respect to LastFMUser - */ - public static LastFMUser fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, LastFMUser.class); - } - - /** - * Convert an instance of LastFMUser to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LoginInfoInput.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LoginInfoInput.java deleted file mode 100644 index 6a03b5882ee..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/LoginInfoInput.java +++ /dev/null @@ -1,275 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * LoginInfoInput - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class LoginInfoInput { - public static final String SERIALIZED_NAME_USERNAME = "Username"; - @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nonnull - private String username; - - public static final String SERIALIZED_NAME_PASSWORD = "Password"; - @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nonnull - private String password; - - public static final String SERIALIZED_NAME_CUSTOM_API_KEY = "CustomApiKey"; - @SerializedName(SERIALIZED_NAME_CUSTOM_API_KEY) - @javax.annotation.Nullable - private String customApiKey; - - public LoginInfoInput() { - } - - public LoginInfoInput username(@javax.annotation.Nonnull String username) { - this.username = username; - return this; - } - - /** - * Get username - * @return username - */ - @javax.annotation.Nonnull - public String getUsername() { - return username; - } - - public void setUsername(@javax.annotation.Nonnull String username) { - this.username = username; - } - - - public LoginInfoInput password(@javax.annotation.Nonnull String password) { - this.password = password; - return this; - } - - /** - * Get password - * @return password - */ - @javax.annotation.Nonnull - public String getPassword() { - return password; - } - - public void setPassword(@javax.annotation.Nonnull String password) { - this.password = password; - } - - - public LoginInfoInput customApiKey(@javax.annotation.Nullable String customApiKey) { - this.customApiKey = customApiKey; - return this; - } - - /** - * Get customApiKey - * @return customApiKey - */ - @javax.annotation.Nullable - public String getCustomApiKey() { - return customApiKey; - } - - public void setCustomApiKey(@javax.annotation.Nullable String customApiKey) { - this.customApiKey = customApiKey; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LoginInfoInput loginInfoInput = (LoginInfoInput) o; - return Objects.equals(this.username, loginInfoInput.username) && - Objects.equals(this.password, loginInfoInput.password) && - Objects.equals(this.customApiKey, loginInfoInput.customApiKey); - } - - @Override - public int hashCode() { - return Objects.hash(username, password, customApiKey); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class LoginInfoInput {\n"); - sb.append(" username: ").append(toIndentedString(username)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); - sb.append(" customApiKey: ").append(toIndentedString(customApiKey)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Username"); - openapiFields.add("Password"); - openapiFields.add("CustomApiKey"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("Username"); - openapiRequiredFields.add("Password"); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to LoginInfoInput - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!LoginInfoInput.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in LoginInfoInput is not found in the empty JSON string", LoginInfoInput.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!LoginInfoInput.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `LoginInfoInput` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : LoginInfoInput.openapiRequiredFields) { - if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("Username").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Username` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Username").toString())); - } - if (!jsonObj.get("Password").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Password` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Password").toString())); - } - if ((jsonObj.get("CustomApiKey") != null && !jsonObj.get("CustomApiKey").isJsonNull()) && !jsonObj.get("CustomApiKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `CustomApiKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("CustomApiKey").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!LoginInfoInput.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'LoginInfoInput' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(LoginInfoInput.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, LoginInfoInput value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public LoginInfoInput read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of LoginInfoInput given an JSON string - * - * @param jsonString JSON string - * @return An instance of LoginInfoInput - * @throws IOException if the JSON string is invalid with respect to LoginInfoInput - */ - public static LoginInfoInput fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, LoginInfoInput.class); - } - - /** - * Convert an instance of LoginInfoInput to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationLevel.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationLevel.java deleted file mode 100644 index 113bce57b7b..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationLevel.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.annotations.SerializedName; - -import java.io.IOException; -import com.google.gson.TypeAdapter; -import com.google.gson.JsonElement; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; - -/** - * Gets or Sets NotificationLevel - */ -@JsonAdapter(NotificationLevel.Adapter.class) -public enum NotificationLevel { - - NORMAL("Normal"), - - WARNING("Warning"), - - ERROR("Error"); - - private String value; - - NotificationLevel(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static NotificationLevel fromValue(String value) { - for (NotificationLevel b : NotificationLevel.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final NotificationLevel enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public NotificationLevel read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return NotificationLevel.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - NotificationLevel.fromValue(value); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationOption.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationOption.java deleted file mode 100644 index 42ad206be59..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationOption.java +++ /dev/null @@ -1,396 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.openapitools.client.model.SendToUserType; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * NotificationOption - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class NotificationOption { - public static final String SERIALIZED_NAME_TYPE = "Type"; - @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; - - public static final String SERIALIZED_NAME_DISABLED_MONITOR_USERS = "DisabledMonitorUsers"; - @SerializedName(SERIALIZED_NAME_DISABLED_MONITOR_USERS) - @javax.annotation.Nullable - private List disabledMonitorUsers = new ArrayList<>(); - - public static final String SERIALIZED_NAME_SEND_TO_USERS = "SendToUsers"; - @SerializedName(SERIALIZED_NAME_SEND_TO_USERS) - @javax.annotation.Nullable - private List sendToUsers = new ArrayList<>(); - - public static final String SERIALIZED_NAME_ENABLED = "Enabled"; - @SerializedName(SERIALIZED_NAME_ENABLED) - @javax.annotation.Nullable - private Boolean enabled; - - public static final String SERIALIZED_NAME_DISABLED_SERVICES = "DisabledServices"; - @SerializedName(SERIALIZED_NAME_DISABLED_SERVICES) - @javax.annotation.Nullable - private List disabledServices = new ArrayList<>(); - - public static final String SERIALIZED_NAME_SEND_TO_USER_MODE = "SendToUserMode"; - @SerializedName(SERIALIZED_NAME_SEND_TO_USER_MODE) - @javax.annotation.Nullable - private SendToUserType sendToUserMode; - - public NotificationOption() { - } - - public NotificationOption type(@javax.annotation.Nullable String type) { - this.type = type; - return this; - } - - /** - * Get type - * @return type - */ - @javax.annotation.Nullable - public String getType() { - return type; - } - - public void setType(@javax.annotation.Nullable String type) { - this.type = type; - } - - - public NotificationOption disabledMonitorUsers(@javax.annotation.Nullable List disabledMonitorUsers) { - this.disabledMonitorUsers = disabledMonitorUsers; - return this; - } - - public NotificationOption addDisabledMonitorUsersItem(String disabledMonitorUsersItem) { - if (this.disabledMonitorUsers == null) { - this.disabledMonitorUsers = new ArrayList<>(); - } - this.disabledMonitorUsers.add(disabledMonitorUsersItem); - return this; - } - - /** - * Gets or sets user Ids to not monitor (it's opt out). - * @return disabledMonitorUsers - */ - @javax.annotation.Nullable - public List getDisabledMonitorUsers() { - return disabledMonitorUsers; - } - - public void setDisabledMonitorUsers(@javax.annotation.Nullable List disabledMonitorUsers) { - this.disabledMonitorUsers = disabledMonitorUsers; - } - - - public NotificationOption sendToUsers(@javax.annotation.Nullable List sendToUsers) { - this.sendToUsers = sendToUsers; - return this; - } - - public NotificationOption addSendToUsersItem(String sendToUsersItem) { - if (this.sendToUsers == null) { - this.sendToUsers = new ArrayList<>(); - } - this.sendToUsers.add(sendToUsersItem); - return this; - } - - /** - * Gets or sets user Ids to send to (if SendToUserMode == Custom). - * @return sendToUsers - */ - @javax.annotation.Nullable - public List getSendToUsers() { - return sendToUsers; - } - - public void setSendToUsers(@javax.annotation.Nullable List sendToUsers) { - this.sendToUsers = sendToUsers; - } - - - public NotificationOption enabled(@javax.annotation.Nullable Boolean enabled) { - this.enabled = enabled; - return this; - } - - /** - * Gets or sets a value indicating whether this MediaBrowser.Model.Notifications.NotificationOption is enabled. - * @return enabled - */ - @javax.annotation.Nullable - public Boolean getEnabled() { - return enabled; - } - - public void setEnabled(@javax.annotation.Nullable Boolean enabled) { - this.enabled = enabled; - } - - - public NotificationOption disabledServices(@javax.annotation.Nullable List disabledServices) { - this.disabledServices = disabledServices; - return this; - } - - public NotificationOption addDisabledServicesItem(String disabledServicesItem) { - if (this.disabledServices == null) { - this.disabledServices = new ArrayList<>(); - } - this.disabledServices.add(disabledServicesItem); - return this; - } - - /** - * Gets or sets the disabled services. - * @return disabledServices - */ - @javax.annotation.Nullable - public List getDisabledServices() { - return disabledServices; - } - - public void setDisabledServices(@javax.annotation.Nullable List disabledServices) { - this.disabledServices = disabledServices; - } - - - public NotificationOption sendToUserMode(@javax.annotation.Nullable SendToUserType sendToUserMode) { - this.sendToUserMode = sendToUserMode; - return this; - } - - /** - * Gets or sets the send to user mode. - * @return sendToUserMode - */ - @javax.annotation.Nullable - public SendToUserType getSendToUserMode() { - return sendToUserMode; - } - - public void setSendToUserMode(@javax.annotation.Nullable SendToUserType sendToUserMode) { - this.sendToUserMode = sendToUserMode; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - NotificationOption notificationOption = (NotificationOption) o; - return Objects.equals(this.type, notificationOption.type) && - Objects.equals(this.disabledMonitorUsers, notificationOption.disabledMonitorUsers) && - Objects.equals(this.sendToUsers, notificationOption.sendToUsers) && - Objects.equals(this.enabled, notificationOption.enabled) && - Objects.equals(this.disabledServices, notificationOption.disabledServices) && - Objects.equals(this.sendToUserMode, notificationOption.sendToUserMode); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(type, disabledMonitorUsers, sendToUsers, enabled, disabledServices, sendToUserMode); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NotificationOption {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" disabledMonitorUsers: ").append(toIndentedString(disabledMonitorUsers)).append("\n"); - sb.append(" sendToUsers: ").append(toIndentedString(sendToUsers)).append("\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" disabledServices: ").append(toIndentedString(disabledServices)).append("\n"); - sb.append(" sendToUserMode: ").append(toIndentedString(sendToUserMode)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Type"); - openapiFields.add("DisabledMonitorUsers"); - openapiFields.add("SendToUsers"); - openapiFields.add("Enabled"); - openapiFields.add("DisabledServices"); - openapiFields.add("SendToUserMode"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to NotificationOption - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!NotificationOption.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in NotificationOption is not found in the empty JSON string", NotificationOption.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!NotificationOption.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `NotificationOption` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Type") != null && !jsonObj.get("Type").isJsonNull()) && !jsonObj.get("Type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Type").toString())); - } - // ensure the optional json data is an array if present - if (jsonObj.get("DisabledMonitorUsers") != null && !jsonObj.get("DisabledMonitorUsers").isJsonNull() && !jsonObj.get("DisabledMonitorUsers").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `DisabledMonitorUsers` to be an array in the JSON string but got `%s`", jsonObj.get("DisabledMonitorUsers").toString())); - } - // ensure the optional json data is an array if present - if (jsonObj.get("SendToUsers") != null && !jsonObj.get("SendToUsers").isJsonNull() && !jsonObj.get("SendToUsers").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `SendToUsers` to be an array in the JSON string but got `%s`", jsonObj.get("SendToUsers").toString())); - } - // ensure the optional json data is an array if present - if (jsonObj.get("DisabledServices") != null && !jsonObj.get("DisabledServices").isJsonNull() && !jsonObj.get("DisabledServices").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `DisabledServices` to be an array in the JSON string but got `%s`", jsonObj.get("DisabledServices").toString())); - } - // validate the optional field `SendToUserMode` - if (jsonObj.get("SendToUserMode") != null && !jsonObj.get("SendToUserMode").isJsonNull()) { - SendToUserType.validateJsonElement(jsonObj.get("SendToUserMode")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!NotificationOption.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'NotificationOption' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(NotificationOption.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, NotificationOption value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public NotificationOption read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of NotificationOption given an JSON string - * - * @param jsonString JSON string - * @return An instance of NotificationOption - * @throws IOException if the JSON string is invalid with respect to NotificationOption - */ - public static NotificationOption fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, NotificationOption.class); - } - - /** - * Convert an instance of NotificationOption to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationOptions.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationOptions.java deleted file mode 100644 index ec074559815..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationOptions.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.openapitools.client.model.NotificationOption; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * NotificationOptions - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class NotificationOptions { - public static final String SERIALIZED_NAME_OPTIONS = "Options"; - @SerializedName(SERIALIZED_NAME_OPTIONS) - @javax.annotation.Nullable - private List options; - - public NotificationOptions() { - } - - public NotificationOptions options(@javax.annotation.Nullable List options) { - this.options = options; - return this; - } - - public NotificationOptions addOptionsItem(NotificationOption optionsItem) { - if (this.options == null) { - this.options = new ArrayList<>(); - } - this.options.add(optionsItem); - return this; - } - - /** - * Get options - * @return options - */ - @javax.annotation.Nullable - public List getOptions() { - return options; - } - - public void setOptions(@javax.annotation.Nullable List options) { - this.options = options; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - NotificationOptions notificationOptions = (NotificationOptions) o; - return Objects.equals(this.options, notificationOptions.options); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(options); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NotificationOptions {\n"); - sb.append(" options: ").append(toIndentedString(options)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Options"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to NotificationOptions - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!NotificationOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in NotificationOptions is not found in the empty JSON string", NotificationOptions.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!NotificationOptions.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `NotificationOptions` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (jsonObj.get("Options") != null && !jsonObj.get("Options").isJsonNull()) { - JsonArray jsonArrayoptions = jsonObj.getAsJsonArray("Options"); - if (jsonArrayoptions != null) { - // ensure the json data is an array - if (!jsonObj.get("Options").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `Options` to be an array in the JSON string but got `%s`", jsonObj.get("Options").toString())); - } - - // validate the optional field `Options` (array) - for (int i = 0; i < jsonArrayoptions.size(); i++) { - NotificationOption.validateJsonElement(jsonArrayoptions.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!NotificationOptions.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'NotificationOptions' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(NotificationOptions.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, NotificationOptions value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public NotificationOptions read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of NotificationOptions given an JSON string - * - * @param jsonString JSON string - * @return An instance of NotificationOptions - * @throws IOException if the JSON string is invalid with respect to NotificationOptions - */ - public static NotificationOptions fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, NotificationOptions.class); - } - - /** - * Convert an instance of NotificationOptions to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationResultDto.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationResultDto.java deleted file mode 100644 index c065857cce9..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationResultDto.java +++ /dev/null @@ -1,255 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.openapitools.client.model.NotificationDto; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * A list of notifications with the total record count for pagination. - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class NotificationResultDto { - public static final String SERIALIZED_NAME_NOTIFICATIONS = "Notifications"; - @SerializedName(SERIALIZED_NAME_NOTIFICATIONS) - @javax.annotation.Nullable - private List notifications = new ArrayList<>(); - - public static final String SERIALIZED_NAME_TOTAL_RECORD_COUNT = "TotalRecordCount"; - @SerializedName(SERIALIZED_NAME_TOTAL_RECORD_COUNT) - @javax.annotation.Nullable - private Integer totalRecordCount; - - public NotificationResultDto() { - } - - public NotificationResultDto notifications(@javax.annotation.Nullable List notifications) { - this.notifications = notifications; - return this; - } - - public NotificationResultDto addNotificationsItem(NotificationDto notificationsItem) { - if (this.notifications == null) { - this.notifications = new ArrayList<>(); - } - this.notifications.add(notificationsItem); - return this; - } - - /** - * Gets or sets the current page of notifications. - * @return notifications - */ - @javax.annotation.Nullable - public List getNotifications() { - return notifications; - } - - public void setNotifications(@javax.annotation.Nullable List notifications) { - this.notifications = notifications; - } - - - public NotificationResultDto totalRecordCount(@javax.annotation.Nullable Integer totalRecordCount) { - this.totalRecordCount = totalRecordCount; - return this; - } - - /** - * Gets or sets the total number of notifications. - * @return totalRecordCount - */ - @javax.annotation.Nullable - public Integer getTotalRecordCount() { - return totalRecordCount; - } - - public void setTotalRecordCount(@javax.annotation.Nullable Integer totalRecordCount) { - this.totalRecordCount = totalRecordCount; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - NotificationResultDto notificationResultDto = (NotificationResultDto) o; - return Objects.equals(this.notifications, notificationResultDto.notifications) && - Objects.equals(this.totalRecordCount, notificationResultDto.totalRecordCount); - } - - @Override - public int hashCode() { - return Objects.hash(notifications, totalRecordCount); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NotificationResultDto {\n"); - sb.append(" notifications: ").append(toIndentedString(notifications)).append("\n"); - sb.append(" totalRecordCount: ").append(toIndentedString(totalRecordCount)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Notifications"); - openapiFields.add("TotalRecordCount"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to NotificationResultDto - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!NotificationResultDto.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in NotificationResultDto is not found in the empty JSON string", NotificationResultDto.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!NotificationResultDto.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `NotificationResultDto` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (jsonObj.get("Notifications") != null && !jsonObj.get("Notifications").isJsonNull()) { - JsonArray jsonArraynotifications = jsonObj.getAsJsonArray("Notifications"); - if (jsonArraynotifications != null) { - // ensure the json data is an array - if (!jsonObj.get("Notifications").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `Notifications` to be an array in the JSON string but got `%s`", jsonObj.get("Notifications").toString())); - } - - // validate the optional field `Notifications` (array) - for (int i = 0; i < jsonArraynotifications.size(); i++) { - NotificationDto.validateJsonElement(jsonArraynotifications.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!NotificationResultDto.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'NotificationResultDto' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(NotificationResultDto.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, NotificationResultDto value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public NotificationResultDto read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of NotificationResultDto given an JSON string - * - * @param jsonString JSON string - * @return An instance of NotificationResultDto - * @throws IOException if the JSON string is invalid with respect to NotificationResultDto - */ - public static NotificationResultDto fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, NotificationResultDto.class); - } - - /** - * Convert an instance of NotificationResultDto to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationTypeInfo.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationTypeInfo.java deleted file mode 100644 index 89649c8a903..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/NotificationTypeInfo.java +++ /dev/null @@ -1,332 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * NotificationTypeInfo - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class NotificationTypeInfo { - public static final String SERIALIZED_NAME_TYPE = "Type"; - @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; - - public static final String SERIALIZED_NAME_NAME = "Name"; - @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; - - public static final String SERIALIZED_NAME_ENABLED = "Enabled"; - @SerializedName(SERIALIZED_NAME_ENABLED) - @javax.annotation.Nullable - private Boolean enabled; - - public static final String SERIALIZED_NAME_CATEGORY = "Category"; - @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private String category; - - public static final String SERIALIZED_NAME_IS_BASED_ON_USER_EVENT = "IsBasedOnUserEvent"; - @SerializedName(SERIALIZED_NAME_IS_BASED_ON_USER_EVENT) - @javax.annotation.Nullable - private Boolean isBasedOnUserEvent; - - public NotificationTypeInfo() { - } - - public NotificationTypeInfo type(@javax.annotation.Nullable String type) { - this.type = type; - return this; - } - - /** - * Get type - * @return type - */ - @javax.annotation.Nullable - public String getType() { - return type; - } - - public void setType(@javax.annotation.Nullable String type) { - this.type = type; - } - - - public NotificationTypeInfo name(@javax.annotation.Nullable String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - */ - @javax.annotation.Nullable - public String getName() { - return name; - } - - public void setName(@javax.annotation.Nullable String name) { - this.name = name; - } - - - public NotificationTypeInfo enabled(@javax.annotation.Nullable Boolean enabled) { - this.enabled = enabled; - return this; - } - - /** - * Get enabled - * @return enabled - */ - @javax.annotation.Nullable - public Boolean getEnabled() { - return enabled; - } - - public void setEnabled(@javax.annotation.Nullable Boolean enabled) { - this.enabled = enabled; - } - - - public NotificationTypeInfo category(@javax.annotation.Nullable String category) { - this.category = category; - return this; - } - - /** - * Get category - * @return category - */ - @javax.annotation.Nullable - public String getCategory() { - return category; - } - - public void setCategory(@javax.annotation.Nullable String category) { - this.category = category; - } - - - public NotificationTypeInfo isBasedOnUserEvent(@javax.annotation.Nullable Boolean isBasedOnUserEvent) { - this.isBasedOnUserEvent = isBasedOnUserEvent; - return this; - } - - /** - * Get isBasedOnUserEvent - * @return isBasedOnUserEvent - */ - @javax.annotation.Nullable - public Boolean getIsBasedOnUserEvent() { - return isBasedOnUserEvent; - } - - public void setIsBasedOnUserEvent(@javax.annotation.Nullable Boolean isBasedOnUserEvent) { - this.isBasedOnUserEvent = isBasedOnUserEvent; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - NotificationTypeInfo notificationTypeInfo = (NotificationTypeInfo) o; - return Objects.equals(this.type, notificationTypeInfo.type) && - Objects.equals(this.name, notificationTypeInfo.name) && - Objects.equals(this.enabled, notificationTypeInfo.enabled) && - Objects.equals(this.category, notificationTypeInfo.category) && - Objects.equals(this.isBasedOnUserEvent, notificationTypeInfo.isBasedOnUserEvent); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(type, name, enabled, category, isBasedOnUserEvent); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class NotificationTypeInfo {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); - sb.append(" category: ").append(toIndentedString(category)).append("\n"); - sb.append(" isBasedOnUserEvent: ").append(toIndentedString(isBasedOnUserEvent)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Type"); - openapiFields.add("Name"); - openapiFields.add("Enabled"); - openapiFields.add("Category"); - openapiFields.add("IsBasedOnUserEvent"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to NotificationTypeInfo - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!NotificationTypeInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in NotificationTypeInfo is not found in the empty JSON string", NotificationTypeInfo.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!NotificationTypeInfo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `NotificationTypeInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Type") != null && !jsonObj.get("Type").isJsonNull()) && !jsonObj.get("Type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Type").toString())); - } - if ((jsonObj.get("Name") != null && !jsonObj.get("Name").isJsonNull()) && !jsonObj.get("Name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Name").toString())); - } - if ((jsonObj.get("Category") != null && !jsonObj.get("Category").isJsonNull()) && !jsonObj.get("Category").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Category` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Category").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!NotificationTypeInfo.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'NotificationTypeInfo' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(NotificationTypeInfo.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, NotificationTypeInfo value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public NotificationTypeInfo read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of NotificationTypeInfo given an JSON string - * - * @param jsonString JSON string - * @return An instance of NotificationTypeInfo - * @throws IOException if the JSON string is invalid with respect to NotificationTypeInfo - */ - public static NotificationTypeInfo fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, NotificationTypeInfo.class); - } - - /** - * Convert an instance of NotificationTypeInfo to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportHeader.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportHeader.java deleted file mode 100644 index acc56848c18..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportHeader.java +++ /dev/null @@ -1,487 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.openapitools.client.model.HeaderMetadata; -import org.openapitools.client.model.ItemViewType; -import org.openapitools.client.model.ReportDisplayType; -import org.openapitools.client.model.ReportFieldType; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * ReportHeader - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class ReportHeader { - public static final String SERIALIZED_NAME_HEADER_FIELD_TYPE = "HeaderFieldType"; - @SerializedName(SERIALIZED_NAME_HEADER_FIELD_TYPE) - @javax.annotation.Nullable - private ReportFieldType headerFieldType; - - public static final String SERIALIZED_NAME_NAME = "Name"; - @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; - - public static final String SERIALIZED_NAME_FIELD_NAME = "FieldName"; - @SerializedName(SERIALIZED_NAME_FIELD_NAME) - @javax.annotation.Nullable - private HeaderMetadata fieldName; - - public static final String SERIALIZED_NAME_SORT_FIELD = "SortField"; - @SerializedName(SERIALIZED_NAME_SORT_FIELD) - @javax.annotation.Nullable - private String sortField; - - public static final String SERIALIZED_NAME_TYPE = "Type"; - @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; - - public static final String SERIALIZED_NAME_ITEM_VIEW_TYPE = "ItemViewType"; - @SerializedName(SERIALIZED_NAME_ITEM_VIEW_TYPE) - @javax.annotation.Nullable - private ItemViewType itemViewType; - - public static final String SERIALIZED_NAME_VISIBLE = "Visible"; - @SerializedName(SERIALIZED_NAME_VISIBLE) - @javax.annotation.Nullable - private Boolean visible; - - public static final String SERIALIZED_NAME_DISPLAY_TYPE = "DisplayType"; - @SerializedName(SERIALIZED_NAME_DISPLAY_TYPE) - @javax.annotation.Nullable - private ReportDisplayType displayType; - - public static final String SERIALIZED_NAME_SHOW_HEADER_LABEL = "ShowHeaderLabel"; - @SerializedName(SERIALIZED_NAME_SHOW_HEADER_LABEL) - @javax.annotation.Nullable - private Boolean showHeaderLabel; - - public static final String SERIALIZED_NAME_CAN_GROUP = "CanGroup"; - @SerializedName(SERIALIZED_NAME_CAN_GROUP) - @javax.annotation.Nullable - private Boolean canGroup; - - public ReportHeader() { - } - - public ReportHeader headerFieldType(@javax.annotation.Nullable ReportFieldType headerFieldType) { - this.headerFieldType = headerFieldType; - return this; - } - - /** - * Get headerFieldType - * @return headerFieldType - */ - @javax.annotation.Nullable - public ReportFieldType getHeaderFieldType() { - return headerFieldType; - } - - public void setHeaderFieldType(@javax.annotation.Nullable ReportFieldType headerFieldType) { - this.headerFieldType = headerFieldType; - } - - - public ReportHeader name(@javax.annotation.Nullable String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - */ - @javax.annotation.Nullable - public String getName() { - return name; - } - - public void setName(@javax.annotation.Nullable String name) { - this.name = name; - } - - - public ReportHeader fieldName(@javax.annotation.Nullable HeaderMetadata fieldName) { - this.fieldName = fieldName; - return this; - } - - /** - * Get fieldName - * @return fieldName - */ - @javax.annotation.Nullable - public HeaderMetadata getFieldName() { - return fieldName; - } - - public void setFieldName(@javax.annotation.Nullable HeaderMetadata fieldName) { - this.fieldName = fieldName; - } - - - public ReportHeader sortField(@javax.annotation.Nullable String sortField) { - this.sortField = sortField; - return this; - } - - /** - * Get sortField - * @return sortField - */ - @javax.annotation.Nullable - public String getSortField() { - return sortField; - } - - public void setSortField(@javax.annotation.Nullable String sortField) { - this.sortField = sortField; - } - - - public ReportHeader type(@javax.annotation.Nullable String type) { - this.type = type; - return this; - } - - /** - * Get type - * @return type - */ - @javax.annotation.Nullable - public String getType() { - return type; - } - - public void setType(@javax.annotation.Nullable String type) { - this.type = type; - } - - - public ReportHeader itemViewType(@javax.annotation.Nullable ItemViewType itemViewType) { - this.itemViewType = itemViewType; - return this; - } - - /** - * Get itemViewType - * @return itemViewType - */ - @javax.annotation.Nullable - public ItemViewType getItemViewType() { - return itemViewType; - } - - public void setItemViewType(@javax.annotation.Nullable ItemViewType itemViewType) { - this.itemViewType = itemViewType; - } - - - public ReportHeader visible(@javax.annotation.Nullable Boolean visible) { - this.visible = visible; - return this; - } - - /** - * Get visible - * @return visible - */ - @javax.annotation.Nullable - public Boolean getVisible() { - return visible; - } - - public void setVisible(@javax.annotation.Nullable Boolean visible) { - this.visible = visible; - } - - - public ReportHeader displayType(@javax.annotation.Nullable ReportDisplayType displayType) { - this.displayType = displayType; - return this; - } - - /** - * Get displayType - * @return displayType - */ - @javax.annotation.Nullable - public ReportDisplayType getDisplayType() { - return displayType; - } - - public void setDisplayType(@javax.annotation.Nullable ReportDisplayType displayType) { - this.displayType = displayType; - } - - - public ReportHeader showHeaderLabel(@javax.annotation.Nullable Boolean showHeaderLabel) { - this.showHeaderLabel = showHeaderLabel; - return this; - } - - /** - * Get showHeaderLabel - * @return showHeaderLabel - */ - @javax.annotation.Nullable - public Boolean getShowHeaderLabel() { - return showHeaderLabel; - } - - public void setShowHeaderLabel(@javax.annotation.Nullable Boolean showHeaderLabel) { - this.showHeaderLabel = showHeaderLabel; - } - - - public ReportHeader canGroup(@javax.annotation.Nullable Boolean canGroup) { - this.canGroup = canGroup; - return this; - } - - /** - * Get canGroup - * @return canGroup - */ - @javax.annotation.Nullable - public Boolean getCanGroup() { - return canGroup; - } - - public void setCanGroup(@javax.annotation.Nullable Boolean canGroup) { - this.canGroup = canGroup; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ReportHeader reportHeader = (ReportHeader) o; - return Objects.equals(this.headerFieldType, reportHeader.headerFieldType) && - Objects.equals(this.name, reportHeader.name) && - Objects.equals(this.fieldName, reportHeader.fieldName) && - Objects.equals(this.sortField, reportHeader.sortField) && - Objects.equals(this.type, reportHeader.type) && - Objects.equals(this.itemViewType, reportHeader.itemViewType) && - Objects.equals(this.visible, reportHeader.visible) && - Objects.equals(this.displayType, reportHeader.displayType) && - Objects.equals(this.showHeaderLabel, reportHeader.showHeaderLabel) && - Objects.equals(this.canGroup, reportHeader.canGroup); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(headerFieldType, name, fieldName, sortField, type, itemViewType, visible, displayType, showHeaderLabel, canGroup); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ReportHeader {\n"); - sb.append(" headerFieldType: ").append(toIndentedString(headerFieldType)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" fieldName: ").append(toIndentedString(fieldName)).append("\n"); - sb.append(" sortField: ").append(toIndentedString(sortField)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" itemViewType: ").append(toIndentedString(itemViewType)).append("\n"); - sb.append(" visible: ").append(toIndentedString(visible)).append("\n"); - sb.append(" displayType: ").append(toIndentedString(displayType)).append("\n"); - sb.append(" showHeaderLabel: ").append(toIndentedString(showHeaderLabel)).append("\n"); - sb.append(" canGroup: ").append(toIndentedString(canGroup)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("HeaderFieldType"); - openapiFields.add("Name"); - openapiFields.add("FieldName"); - openapiFields.add("SortField"); - openapiFields.add("Type"); - openapiFields.add("ItemViewType"); - openapiFields.add("Visible"); - openapiFields.add("DisplayType"); - openapiFields.add("ShowHeaderLabel"); - openapiFields.add("CanGroup"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ReportHeader - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ReportHeader.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ReportHeader is not found in the empty JSON string", ReportHeader.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ReportHeader.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ReportHeader` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `HeaderFieldType` - if (jsonObj.get("HeaderFieldType") != null && !jsonObj.get("HeaderFieldType").isJsonNull()) { - ReportFieldType.validateJsonElement(jsonObj.get("HeaderFieldType")); - } - if ((jsonObj.get("Name") != null && !jsonObj.get("Name").isJsonNull()) && !jsonObj.get("Name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Name").toString())); - } - // validate the optional field `FieldName` - if (jsonObj.get("FieldName") != null && !jsonObj.get("FieldName").isJsonNull()) { - HeaderMetadata.validateJsonElement(jsonObj.get("FieldName")); - } - if ((jsonObj.get("SortField") != null && !jsonObj.get("SortField").isJsonNull()) && !jsonObj.get("SortField").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `SortField` to be a primitive type in the JSON string but got `%s`", jsonObj.get("SortField").toString())); - } - if ((jsonObj.get("Type") != null && !jsonObj.get("Type").isJsonNull()) && !jsonObj.get("Type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Type").toString())); - } - // validate the optional field `ItemViewType` - if (jsonObj.get("ItemViewType") != null && !jsonObj.get("ItemViewType").isJsonNull()) { - ItemViewType.validateJsonElement(jsonObj.get("ItemViewType")); - } - // validate the optional field `DisplayType` - if (jsonObj.get("DisplayType") != null && !jsonObj.get("DisplayType").isJsonNull()) { - ReportDisplayType.validateJsonElement(jsonObj.get("DisplayType")); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ReportHeader.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ReportHeader' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ReportHeader.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ReportHeader value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ReportHeader read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ReportHeader given an JSON string - * - * @param jsonString JSON string - * @return An instance of ReportHeader - * @throws IOException if the JSON string is invalid with respect to ReportHeader - */ - public static ReportHeader fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ReportHeader.class); - } - - /** - * Convert an instance of ReportHeader to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportIncludeItemTypes.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportIncludeItemTypes.java deleted file mode 100644 index 1345a0a29a8..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportIncludeItemTypes.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.annotations.SerializedName; - -import java.io.IOException; -import com.google.gson.TypeAdapter; -import com.google.gson.JsonElement; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; - -/** - * Gets or Sets ReportIncludeItemTypes - */ -@JsonAdapter(ReportIncludeItemTypes.Adapter.class) -public enum ReportIncludeItemTypes { - - MUSIC_ARTIST("MusicArtist"), - - MUSIC_ALBUM("MusicAlbum"), - - BOOK("Book"), - - BOX_SET("BoxSet"), - - EPISODE("Episode"), - - VIDEO("Video"), - - MOVIE("Movie"), - - MUSIC_VIDEO("MusicVideo"), - - TRAILER("Trailer"), - - SEASON("Season"), - - SERIES("Series"), - - AUDIO("Audio"), - - BASE_ITEM("BaseItem"), - - ARTIST("Artist"); - - private String value; - - ReportIncludeItemTypes(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static ReportIncludeItemTypes fromValue(String value) { - for (ReportIncludeItemTypes b : ReportIncludeItemTypes.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final ReportIncludeItemTypes enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public ReportIncludeItemTypes read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return ReportIncludeItemTypes.fromValue(value); - } - } - - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - String value = jsonElement.getAsString(); - ReportIncludeItemTypes.fromValue(value); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportItem.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportItem.java deleted file mode 100644 index e854f47580b..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportItem.java +++ /dev/null @@ -1,308 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * ReportItem - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class ReportItem { - public static final String SERIALIZED_NAME_ID = "Id"; - @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private String id; - - public static final String SERIALIZED_NAME_NAME = "Name"; - @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; - - public static final String SERIALIZED_NAME_IMAGE = "Image"; - @SerializedName(SERIALIZED_NAME_IMAGE) - @javax.annotation.Nullable - private String image; - - public static final String SERIALIZED_NAME_CUSTOM_TAG = "CustomTag"; - @SerializedName(SERIALIZED_NAME_CUSTOM_TAG) - @javax.annotation.Nullable - private String customTag; - - public ReportItem() { - } - - public ReportItem id(@javax.annotation.Nullable String id) { - this.id = id; - return this; - } - - /** - * Get id - * @return id - */ - @javax.annotation.Nullable - public String getId() { - return id; - } - - public void setId(@javax.annotation.Nullable String id) { - this.id = id; - } - - - public ReportItem name(@javax.annotation.Nullable String name) { - this.name = name; - return this; - } - - /** - * Get name - * @return name - */ - @javax.annotation.Nullable - public String getName() { - return name; - } - - public void setName(@javax.annotation.Nullable String name) { - this.name = name; - } - - - public ReportItem image(@javax.annotation.Nullable String image) { - this.image = image; - return this; - } - - /** - * Get image - * @return image - */ - @javax.annotation.Nullable - public String getImage() { - return image; - } - - public void setImage(@javax.annotation.Nullable String image) { - this.image = image; - } - - - public ReportItem customTag(@javax.annotation.Nullable String customTag) { - this.customTag = customTag; - return this; - } - - /** - * Get customTag - * @return customTag - */ - @javax.annotation.Nullable - public String getCustomTag() { - return customTag; - } - - public void setCustomTag(@javax.annotation.Nullable String customTag) { - this.customTag = customTag; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ReportItem reportItem = (ReportItem) o; - return Objects.equals(this.id, reportItem.id) && - Objects.equals(this.name, reportItem.name) && - Objects.equals(this.image, reportItem.image) && - Objects.equals(this.customTag, reportItem.customTag); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(id, name, image, customTag); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ReportItem {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" image: ").append(toIndentedString(image)).append("\n"); - sb.append(" customTag: ").append(toIndentedString(customTag)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Id"); - openapiFields.add("Name"); - openapiFields.add("Image"); - openapiFields.add("CustomTag"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ReportItem - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ReportItem.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ReportItem is not found in the empty JSON string", ReportItem.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ReportItem.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ReportItem` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Id") != null && !jsonObj.get("Id").isJsonNull()) && !jsonObj.get("Id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Id").toString())); - } - if ((jsonObj.get("Name") != null && !jsonObj.get("Name").isJsonNull()) && !jsonObj.get("Name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Name").toString())); - } - if ((jsonObj.get("Image") != null && !jsonObj.get("Image").isJsonNull()) && !jsonObj.get("Image").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Image` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Image").toString())); - } - if ((jsonObj.get("CustomTag") != null && !jsonObj.get("CustomTag").isJsonNull()) && !jsonObj.get("CustomTag").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `CustomTag` to be a primitive type in the JSON string but got `%s`", jsonObj.get("CustomTag").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ReportItem.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ReportItem' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ReportItem.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ReportItem value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ReportItem read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ReportItem given an JSON string - * - * @param jsonString JSON string - * @return An instance of ReportItem - * @throws IOException if the JSON string is invalid with respect to ReportItem - */ - public static ReportItem fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ReportItem.class); - } - - /** - * Convert an instance of ReportItem to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportPlaybackOptions.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportPlaybackOptions.java deleted file mode 100644 index 1f2a8401541..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportPlaybackOptions.java +++ /dev/null @@ -1,260 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * ReportPlaybackOptions - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class ReportPlaybackOptions { - public static final String SERIALIZED_NAME_MAX_DATA_AGE = "MaxDataAge"; - @SerializedName(SERIALIZED_NAME_MAX_DATA_AGE) - @javax.annotation.Nullable - private Integer maxDataAge; - - public static final String SERIALIZED_NAME_BACKUP_PATH = "BackupPath"; - @SerializedName(SERIALIZED_NAME_BACKUP_PATH) - @javax.annotation.Nullable - private String backupPath; - - public static final String SERIALIZED_NAME_MAX_BACKUP_FILES = "MaxBackupFiles"; - @SerializedName(SERIALIZED_NAME_MAX_BACKUP_FILES) - @javax.annotation.Nullable - private Integer maxBackupFiles; - - public ReportPlaybackOptions() { - } - - public ReportPlaybackOptions maxDataAge(@javax.annotation.Nullable Integer maxDataAge) { - this.maxDataAge = maxDataAge; - return this; - } - - /** - * Get maxDataAge - * @return maxDataAge - */ - @javax.annotation.Nullable - public Integer getMaxDataAge() { - return maxDataAge; - } - - public void setMaxDataAge(@javax.annotation.Nullable Integer maxDataAge) { - this.maxDataAge = maxDataAge; - } - - - public ReportPlaybackOptions backupPath(@javax.annotation.Nullable String backupPath) { - this.backupPath = backupPath; - return this; - } - - /** - * Get backupPath - * @return backupPath - */ - @javax.annotation.Nullable - public String getBackupPath() { - return backupPath; - } - - public void setBackupPath(@javax.annotation.Nullable String backupPath) { - this.backupPath = backupPath; - } - - - public ReportPlaybackOptions maxBackupFiles(@javax.annotation.Nullable Integer maxBackupFiles) { - this.maxBackupFiles = maxBackupFiles; - return this; - } - - /** - * Get maxBackupFiles - * @return maxBackupFiles - */ - @javax.annotation.Nullable - public Integer getMaxBackupFiles() { - return maxBackupFiles; - } - - public void setMaxBackupFiles(@javax.annotation.Nullable Integer maxBackupFiles) { - this.maxBackupFiles = maxBackupFiles; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ReportPlaybackOptions reportPlaybackOptions = (ReportPlaybackOptions) o; - return Objects.equals(this.maxDataAge, reportPlaybackOptions.maxDataAge) && - Objects.equals(this.backupPath, reportPlaybackOptions.backupPath) && - Objects.equals(this.maxBackupFiles, reportPlaybackOptions.maxBackupFiles); - } - - @Override - public int hashCode() { - return Objects.hash(maxDataAge, backupPath, maxBackupFiles); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ReportPlaybackOptions {\n"); - sb.append(" maxDataAge: ").append(toIndentedString(maxDataAge)).append("\n"); - sb.append(" backupPath: ").append(toIndentedString(backupPath)).append("\n"); - sb.append(" maxBackupFiles: ").append(toIndentedString(maxBackupFiles)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("MaxDataAge"); - openapiFields.add("BackupPath"); - openapiFields.add("MaxBackupFiles"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ReportPlaybackOptions - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ReportPlaybackOptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ReportPlaybackOptions is not found in the empty JSON string", ReportPlaybackOptions.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ReportPlaybackOptions.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ReportPlaybackOptions` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("BackupPath") != null && !jsonObj.get("BackupPath").isJsonNull()) && !jsonObj.get("BackupPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `BackupPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("BackupPath").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ReportPlaybackOptions.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ReportPlaybackOptions' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ReportPlaybackOptions.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ReportPlaybackOptions value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ReportPlaybackOptions read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ReportPlaybackOptions given an JSON string - * - * @param jsonString JSON string - * @return An instance of ReportPlaybackOptions - * @throws IOException if the JSON string is invalid with respect to ReportPlaybackOptions - */ - public static ReportPlaybackOptions fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ReportPlaybackOptions.class); - } - - /** - * Convert an instance of ReportPlaybackOptions to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportResult.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportResult.java deleted file mode 100644 index 8ae684a7f81..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportResult.java +++ /dev/null @@ -1,394 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.openapitools.client.model.ReportGroup; -import org.openapitools.client.model.ReportHeader; -import org.openapitools.client.model.ReportRow; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * ReportResult - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class ReportResult { - public static final String SERIALIZED_NAME_ROWS = "Rows"; - @SerializedName(SERIALIZED_NAME_ROWS) - @javax.annotation.Nullable - private List rows; - - public static final String SERIALIZED_NAME_HEADERS = "Headers"; - @SerializedName(SERIALIZED_NAME_HEADERS) - @javax.annotation.Nullable - private List headers; - - public static final String SERIALIZED_NAME_GROUPS = "Groups"; - @SerializedName(SERIALIZED_NAME_GROUPS) - @javax.annotation.Nullable - private List groups; - - public static final String SERIALIZED_NAME_TOTAL_RECORD_COUNT = "TotalRecordCount"; - @SerializedName(SERIALIZED_NAME_TOTAL_RECORD_COUNT) - @javax.annotation.Nullable - private Integer totalRecordCount; - - public static final String SERIALIZED_NAME_IS_GROUPED = "IsGrouped"; - @SerializedName(SERIALIZED_NAME_IS_GROUPED) - @javax.annotation.Nullable - private Boolean isGrouped; - - public ReportResult() { - } - - public ReportResult rows(@javax.annotation.Nullable List rows) { - this.rows = rows; - return this; - } - - public ReportResult addRowsItem(ReportRow rowsItem) { - if (this.rows == null) { - this.rows = new ArrayList<>(); - } - this.rows.add(rowsItem); - return this; - } - - /** - * Get rows - * @return rows - */ - @javax.annotation.Nullable - public List getRows() { - return rows; - } - - public void setRows(@javax.annotation.Nullable List rows) { - this.rows = rows; - } - - - public ReportResult headers(@javax.annotation.Nullable List headers) { - this.headers = headers; - return this; - } - - public ReportResult addHeadersItem(ReportHeader headersItem) { - if (this.headers == null) { - this.headers = new ArrayList<>(); - } - this.headers.add(headersItem); - return this; - } - - /** - * Get headers - * @return headers - */ - @javax.annotation.Nullable - public List getHeaders() { - return headers; - } - - public void setHeaders(@javax.annotation.Nullable List headers) { - this.headers = headers; - } - - - public ReportResult groups(@javax.annotation.Nullable List groups) { - this.groups = groups; - return this; - } - - public ReportResult addGroupsItem(ReportGroup groupsItem) { - if (this.groups == null) { - this.groups = new ArrayList<>(); - } - this.groups.add(groupsItem); - return this; - } - - /** - * Get groups - * @return groups - */ - @javax.annotation.Nullable - public List getGroups() { - return groups; - } - - public void setGroups(@javax.annotation.Nullable List groups) { - this.groups = groups; - } - - - public ReportResult totalRecordCount(@javax.annotation.Nullable Integer totalRecordCount) { - this.totalRecordCount = totalRecordCount; - return this; - } - - /** - * Get totalRecordCount - * @return totalRecordCount - */ - @javax.annotation.Nullable - public Integer getTotalRecordCount() { - return totalRecordCount; - } - - public void setTotalRecordCount(@javax.annotation.Nullable Integer totalRecordCount) { - this.totalRecordCount = totalRecordCount; - } - - - public ReportResult isGrouped(@javax.annotation.Nullable Boolean isGrouped) { - this.isGrouped = isGrouped; - return this; - } - - /** - * Get isGrouped - * @return isGrouped - */ - @javax.annotation.Nullable - public Boolean getIsGrouped() { - return isGrouped; - } - - public void setIsGrouped(@javax.annotation.Nullable Boolean isGrouped) { - this.isGrouped = isGrouped; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ReportResult reportResult = (ReportResult) o; - return Objects.equals(this.rows, reportResult.rows) && - Objects.equals(this.headers, reportResult.headers) && - Objects.equals(this.groups, reportResult.groups) && - Objects.equals(this.totalRecordCount, reportResult.totalRecordCount) && - Objects.equals(this.isGrouped, reportResult.isGrouped); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(rows, headers, groups, totalRecordCount, isGrouped); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ReportResult {\n"); - sb.append(" rows: ").append(toIndentedString(rows)).append("\n"); - sb.append(" headers: ").append(toIndentedString(headers)).append("\n"); - sb.append(" groups: ").append(toIndentedString(groups)).append("\n"); - sb.append(" totalRecordCount: ").append(toIndentedString(totalRecordCount)).append("\n"); - sb.append(" isGrouped: ").append(toIndentedString(isGrouped)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Rows"); - openapiFields.add("Headers"); - openapiFields.add("Groups"); - openapiFields.add("TotalRecordCount"); - openapiFields.add("IsGrouped"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ReportResult - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ReportResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ReportResult is not found in the empty JSON string", ReportResult.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ReportResult.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ReportResult` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (jsonObj.get("Rows") != null && !jsonObj.get("Rows").isJsonNull()) { - JsonArray jsonArrayrows = jsonObj.getAsJsonArray("Rows"); - if (jsonArrayrows != null) { - // ensure the json data is an array - if (!jsonObj.get("Rows").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `Rows` to be an array in the JSON string but got `%s`", jsonObj.get("Rows").toString())); - } - - // validate the optional field `Rows` (array) - for (int i = 0; i < jsonArrayrows.size(); i++) { - ReportRow.validateJsonElement(jsonArrayrows.get(i)); - }; - } - } - if (jsonObj.get("Headers") != null && !jsonObj.get("Headers").isJsonNull()) { - JsonArray jsonArrayheaders = jsonObj.getAsJsonArray("Headers"); - if (jsonArrayheaders != null) { - // ensure the json data is an array - if (!jsonObj.get("Headers").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `Headers` to be an array in the JSON string but got `%s`", jsonObj.get("Headers").toString())); - } - - // validate the optional field `Headers` (array) - for (int i = 0; i < jsonArrayheaders.size(); i++) { - ReportHeader.validateJsonElement(jsonArrayheaders.get(i)); - }; - } - } - if (jsonObj.get("Groups") != null && !jsonObj.get("Groups").isJsonNull()) { - JsonArray jsonArraygroups = jsonObj.getAsJsonArray("Groups"); - if (jsonArraygroups != null) { - // ensure the json data is an array - if (!jsonObj.get("Groups").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `Groups` to be an array in the JSON string but got `%s`", jsonObj.get("Groups").toString())); - } - - // validate the optional field `Groups` (array) - for (int i = 0; i < jsonArraygroups.size(); i++) { - ReportGroup.validateJsonElement(jsonArraygroups.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ReportResult.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ReportResult' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ReportResult.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ReportResult value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ReportResult read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ReportResult given an JSON string - * - * @param jsonString JSON string - * @return An instance of ReportResult - * @throws IOException if the JSON string is invalid with respect to ReportResult - */ - public static ReportResult fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ReportResult.class); - } - - /** - * Convert an instance of ReportResult to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportRow.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportRow.java deleted file mode 100644 index a29650205f9..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ReportRow.java +++ /dev/null @@ -1,549 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.UUID; -import org.openapitools.client.model.ReportIncludeItemTypes; -import org.openapitools.client.model.ReportItem; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * ReportRow - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class ReportRow { - public static final String SERIALIZED_NAME_ID = "Id"; - @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private String id; - - public static final String SERIALIZED_NAME_HAS_IMAGE_TAGS_BACKDROP = "HasImageTagsBackdrop"; - @SerializedName(SERIALIZED_NAME_HAS_IMAGE_TAGS_BACKDROP) - @javax.annotation.Nullable - private Boolean hasImageTagsBackdrop; - - public static final String SERIALIZED_NAME_HAS_IMAGE_TAGS_PRIMARY = "HasImageTagsPrimary"; - @SerializedName(SERIALIZED_NAME_HAS_IMAGE_TAGS_PRIMARY) - @javax.annotation.Nullable - private Boolean hasImageTagsPrimary; - - public static final String SERIALIZED_NAME_HAS_IMAGE_TAGS_LOGO = "HasImageTagsLogo"; - @SerializedName(SERIALIZED_NAME_HAS_IMAGE_TAGS_LOGO) - @javax.annotation.Nullable - private Boolean hasImageTagsLogo; - - public static final String SERIALIZED_NAME_HAS_LOCAL_TRAILER = "HasLocalTrailer"; - @SerializedName(SERIALIZED_NAME_HAS_LOCAL_TRAILER) - @javax.annotation.Nullable - private Boolean hasLocalTrailer; - - public static final String SERIALIZED_NAME_HAS_LOCK_DATA = "HasLockData"; - @SerializedName(SERIALIZED_NAME_HAS_LOCK_DATA) - @javax.annotation.Nullable - private Boolean hasLockData; - - public static final String SERIALIZED_NAME_HAS_EMBEDDED_IMAGE = "HasEmbeddedImage"; - @SerializedName(SERIALIZED_NAME_HAS_EMBEDDED_IMAGE) - @javax.annotation.Nullable - private Boolean hasEmbeddedImage; - - public static final String SERIALIZED_NAME_HAS_SUBTITLES = "HasSubtitles"; - @SerializedName(SERIALIZED_NAME_HAS_SUBTITLES) - @javax.annotation.Nullable - private Boolean hasSubtitles; - - public static final String SERIALIZED_NAME_HAS_SPECIALS = "HasSpecials"; - @SerializedName(SERIALIZED_NAME_HAS_SPECIALS) - @javax.annotation.Nullable - private Boolean hasSpecials; - - public static final String SERIALIZED_NAME_COLUMNS = "Columns"; - @SerializedName(SERIALIZED_NAME_COLUMNS) - @javax.annotation.Nullable - private List columns; - - public static final String SERIALIZED_NAME_ROW_TYPE = "RowType"; - @SerializedName(SERIALIZED_NAME_ROW_TYPE) - @javax.annotation.Nullable - private ReportIncludeItemTypes rowType; - - public static final String SERIALIZED_NAME_USER_ID = "UserId"; - @SerializedName(SERIALIZED_NAME_USER_ID) - @javax.annotation.Nullable - private UUID userId; - - public ReportRow() { - } - - public ReportRow id(@javax.annotation.Nullable String id) { - this.id = id; - return this; - } - - /** - * Get id - * @return id - */ - @javax.annotation.Nullable - public String getId() { - return id; - } - - public void setId(@javax.annotation.Nullable String id) { - this.id = id; - } - - - public ReportRow hasImageTagsBackdrop(@javax.annotation.Nullable Boolean hasImageTagsBackdrop) { - this.hasImageTagsBackdrop = hasImageTagsBackdrop; - return this; - } - - /** - * Get hasImageTagsBackdrop - * @return hasImageTagsBackdrop - */ - @javax.annotation.Nullable - public Boolean getHasImageTagsBackdrop() { - return hasImageTagsBackdrop; - } - - public void setHasImageTagsBackdrop(@javax.annotation.Nullable Boolean hasImageTagsBackdrop) { - this.hasImageTagsBackdrop = hasImageTagsBackdrop; - } - - - public ReportRow hasImageTagsPrimary(@javax.annotation.Nullable Boolean hasImageTagsPrimary) { - this.hasImageTagsPrimary = hasImageTagsPrimary; - return this; - } - - /** - * Get hasImageTagsPrimary - * @return hasImageTagsPrimary - */ - @javax.annotation.Nullable - public Boolean getHasImageTagsPrimary() { - return hasImageTagsPrimary; - } - - public void setHasImageTagsPrimary(@javax.annotation.Nullable Boolean hasImageTagsPrimary) { - this.hasImageTagsPrimary = hasImageTagsPrimary; - } - - - public ReportRow hasImageTagsLogo(@javax.annotation.Nullable Boolean hasImageTagsLogo) { - this.hasImageTagsLogo = hasImageTagsLogo; - return this; - } - - /** - * Get hasImageTagsLogo - * @return hasImageTagsLogo - */ - @javax.annotation.Nullable - public Boolean getHasImageTagsLogo() { - return hasImageTagsLogo; - } - - public void setHasImageTagsLogo(@javax.annotation.Nullable Boolean hasImageTagsLogo) { - this.hasImageTagsLogo = hasImageTagsLogo; - } - - - public ReportRow hasLocalTrailer(@javax.annotation.Nullable Boolean hasLocalTrailer) { - this.hasLocalTrailer = hasLocalTrailer; - return this; - } - - /** - * Get hasLocalTrailer - * @return hasLocalTrailer - */ - @javax.annotation.Nullable - public Boolean getHasLocalTrailer() { - return hasLocalTrailer; - } - - public void setHasLocalTrailer(@javax.annotation.Nullable Boolean hasLocalTrailer) { - this.hasLocalTrailer = hasLocalTrailer; - } - - - public ReportRow hasLockData(@javax.annotation.Nullable Boolean hasLockData) { - this.hasLockData = hasLockData; - return this; - } - - /** - * Get hasLockData - * @return hasLockData - */ - @javax.annotation.Nullable - public Boolean getHasLockData() { - return hasLockData; - } - - public void setHasLockData(@javax.annotation.Nullable Boolean hasLockData) { - this.hasLockData = hasLockData; - } - - - public ReportRow hasEmbeddedImage(@javax.annotation.Nullable Boolean hasEmbeddedImage) { - this.hasEmbeddedImage = hasEmbeddedImage; - return this; - } - - /** - * Get hasEmbeddedImage - * @return hasEmbeddedImage - */ - @javax.annotation.Nullable - public Boolean getHasEmbeddedImage() { - return hasEmbeddedImage; - } - - public void setHasEmbeddedImage(@javax.annotation.Nullable Boolean hasEmbeddedImage) { - this.hasEmbeddedImage = hasEmbeddedImage; - } - - - public ReportRow hasSubtitles(@javax.annotation.Nullable Boolean hasSubtitles) { - this.hasSubtitles = hasSubtitles; - return this; - } - - /** - * Get hasSubtitles - * @return hasSubtitles - */ - @javax.annotation.Nullable - public Boolean getHasSubtitles() { - return hasSubtitles; - } - - public void setHasSubtitles(@javax.annotation.Nullable Boolean hasSubtitles) { - this.hasSubtitles = hasSubtitles; - } - - - public ReportRow hasSpecials(@javax.annotation.Nullable Boolean hasSpecials) { - this.hasSpecials = hasSpecials; - return this; - } - - /** - * Get hasSpecials - * @return hasSpecials - */ - @javax.annotation.Nullable - public Boolean getHasSpecials() { - return hasSpecials; - } - - public void setHasSpecials(@javax.annotation.Nullable Boolean hasSpecials) { - this.hasSpecials = hasSpecials; - } - - - public ReportRow columns(@javax.annotation.Nullable List columns) { - this.columns = columns; - return this; - } - - public ReportRow addColumnsItem(ReportItem columnsItem) { - if (this.columns == null) { - this.columns = new ArrayList<>(); - } - this.columns.add(columnsItem); - return this; - } - - /** - * Get columns - * @return columns - */ - @javax.annotation.Nullable - public List getColumns() { - return columns; - } - - public void setColumns(@javax.annotation.Nullable List columns) { - this.columns = columns; - } - - - public ReportRow rowType(@javax.annotation.Nullable ReportIncludeItemTypes rowType) { - this.rowType = rowType; - return this; - } - - /** - * Get rowType - * @return rowType - */ - @javax.annotation.Nullable - public ReportIncludeItemTypes getRowType() { - return rowType; - } - - public void setRowType(@javax.annotation.Nullable ReportIncludeItemTypes rowType) { - this.rowType = rowType; - } - - - public ReportRow userId(@javax.annotation.Nullable UUID userId) { - this.userId = userId; - return this; - } - - /** - * Get userId - * @return userId - */ - @javax.annotation.Nullable - public UUID getUserId() { - return userId; - } - - public void setUserId(@javax.annotation.Nullable UUID userId) { - this.userId = userId; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ReportRow reportRow = (ReportRow) o; - return Objects.equals(this.id, reportRow.id) && - Objects.equals(this.hasImageTagsBackdrop, reportRow.hasImageTagsBackdrop) && - Objects.equals(this.hasImageTagsPrimary, reportRow.hasImageTagsPrimary) && - Objects.equals(this.hasImageTagsLogo, reportRow.hasImageTagsLogo) && - Objects.equals(this.hasLocalTrailer, reportRow.hasLocalTrailer) && - Objects.equals(this.hasLockData, reportRow.hasLockData) && - Objects.equals(this.hasEmbeddedImage, reportRow.hasEmbeddedImage) && - Objects.equals(this.hasSubtitles, reportRow.hasSubtitles) && - Objects.equals(this.hasSpecials, reportRow.hasSpecials) && - Objects.equals(this.columns, reportRow.columns) && - Objects.equals(this.rowType, reportRow.rowType) && - Objects.equals(this.userId, reportRow.userId); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(id, hasImageTagsBackdrop, hasImageTagsPrimary, hasImageTagsLogo, hasLocalTrailer, hasLockData, hasEmbeddedImage, hasSubtitles, hasSpecials, columns, rowType, userId); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ReportRow {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" hasImageTagsBackdrop: ").append(toIndentedString(hasImageTagsBackdrop)).append("\n"); - sb.append(" hasImageTagsPrimary: ").append(toIndentedString(hasImageTagsPrimary)).append("\n"); - sb.append(" hasImageTagsLogo: ").append(toIndentedString(hasImageTagsLogo)).append("\n"); - sb.append(" hasLocalTrailer: ").append(toIndentedString(hasLocalTrailer)).append("\n"); - sb.append(" hasLockData: ").append(toIndentedString(hasLockData)).append("\n"); - sb.append(" hasEmbeddedImage: ").append(toIndentedString(hasEmbeddedImage)).append("\n"); - sb.append(" hasSubtitles: ").append(toIndentedString(hasSubtitles)).append("\n"); - sb.append(" hasSpecials: ").append(toIndentedString(hasSpecials)).append("\n"); - sb.append(" columns: ").append(toIndentedString(columns)).append("\n"); - sb.append(" rowType: ").append(toIndentedString(rowType)).append("\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Id"); - openapiFields.add("HasImageTagsBackdrop"); - openapiFields.add("HasImageTagsPrimary"); - openapiFields.add("HasImageTagsLogo"); - openapiFields.add("HasLocalTrailer"); - openapiFields.add("HasLockData"); - openapiFields.add("HasEmbeddedImage"); - openapiFields.add("HasSubtitles"); - openapiFields.add("HasSpecials"); - openapiFields.add("Columns"); - openapiFields.add("RowType"); - openapiFields.add("UserId"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ReportRow - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ReportRow.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ReportRow is not found in the empty JSON string", ReportRow.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ReportRow.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ReportRow` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Id") != null && !jsonObj.get("Id").isJsonNull()) && !jsonObj.get("Id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Id").toString())); - } - if (jsonObj.get("Columns") != null && !jsonObj.get("Columns").isJsonNull()) { - JsonArray jsonArraycolumns = jsonObj.getAsJsonArray("Columns"); - if (jsonArraycolumns != null) { - // ensure the json data is an array - if (!jsonObj.get("Columns").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `Columns` to be an array in the JSON string but got `%s`", jsonObj.get("Columns").toString())); - } - - // validate the optional field `Columns` (array) - for (int i = 0; i < jsonArraycolumns.size(); i++) { - ReportItem.validateJsonElement(jsonArraycolumns.get(i)); - }; - } - } - // validate the optional field `RowType` - if (jsonObj.get("RowType") != null && !jsonObj.get("RowType").isJsonNull()) { - ReportIncludeItemTypes.validateJsonElement(jsonObj.get("RowType")); - } - if ((jsonObj.get("UserId") != null && !jsonObj.get("UserId").isJsonNull()) && !jsonObj.get("UserId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `UserId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("UserId").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ReportRow.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ReportRow' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ReportRow.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ReportRow value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ReportRow read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ReportRow given an JSON string - * - * @param jsonString JSON string - * @return An instance of ReportRow - * @throws IOException if the JSON string is invalid with respect to ReportRow - */ - public static ReportRow fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ReportRow.class); - } - - /** - * Convert an instance of ReportRow to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ResponseProfile.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ResponseProfile.java deleted file mode 100644 index 61ce7fd5aeb..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/ResponseProfile.java +++ /dev/null @@ -1,422 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.openapitools.client.model.DlnaProfileType; -import org.openapitools.client.model.ProfileCondition; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * ResponseProfile - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class ResponseProfile { - public static final String SERIALIZED_NAME_CONTAINER = "Container"; - @SerializedName(SERIALIZED_NAME_CONTAINER) - @javax.annotation.Nullable - private String container; - - public static final String SERIALIZED_NAME_AUDIO_CODEC = "AudioCodec"; - @SerializedName(SERIALIZED_NAME_AUDIO_CODEC) - @javax.annotation.Nullable - private String audioCodec; - - public static final String SERIALIZED_NAME_VIDEO_CODEC = "VideoCodec"; - @SerializedName(SERIALIZED_NAME_VIDEO_CODEC) - @javax.annotation.Nullable - private String videoCodec; - - public static final String SERIALIZED_NAME_TYPE = "Type"; - @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private DlnaProfileType type; - - public static final String SERIALIZED_NAME_ORG_PN = "OrgPn"; - @SerializedName(SERIALIZED_NAME_ORG_PN) - @javax.annotation.Nullable - private String orgPn; - - public static final String SERIALIZED_NAME_MIME_TYPE = "MimeType"; - @SerializedName(SERIALIZED_NAME_MIME_TYPE) - @javax.annotation.Nullable - private String mimeType; - - public static final String SERIALIZED_NAME_CONDITIONS = "Conditions"; - @SerializedName(SERIALIZED_NAME_CONDITIONS) - @javax.annotation.Nullable - private List conditions; - - public ResponseProfile() { - } - - public ResponseProfile container(@javax.annotation.Nullable String container) { - this.container = container; - return this; - } - - /** - * Get container - * @return container - */ - @javax.annotation.Nullable - public String getContainer() { - return container; - } - - public void setContainer(@javax.annotation.Nullable String container) { - this.container = container; - } - - - public ResponseProfile audioCodec(@javax.annotation.Nullable String audioCodec) { - this.audioCodec = audioCodec; - return this; - } - - /** - * Get audioCodec - * @return audioCodec - */ - @javax.annotation.Nullable - public String getAudioCodec() { - return audioCodec; - } - - public void setAudioCodec(@javax.annotation.Nullable String audioCodec) { - this.audioCodec = audioCodec; - } - - - public ResponseProfile videoCodec(@javax.annotation.Nullable String videoCodec) { - this.videoCodec = videoCodec; - return this; - } - - /** - * Get videoCodec - * @return videoCodec - */ - @javax.annotation.Nullable - public String getVideoCodec() { - return videoCodec; - } - - public void setVideoCodec(@javax.annotation.Nullable String videoCodec) { - this.videoCodec = videoCodec; - } - - - public ResponseProfile type(@javax.annotation.Nullable DlnaProfileType type) { - this.type = type; - return this; - } - - /** - * Get type - * @return type - */ - @javax.annotation.Nullable - public DlnaProfileType getType() { - return type; - } - - public void setType(@javax.annotation.Nullable DlnaProfileType type) { - this.type = type; - } - - - public ResponseProfile orgPn(@javax.annotation.Nullable String orgPn) { - this.orgPn = orgPn; - return this; - } - - /** - * Get orgPn - * @return orgPn - */ - @javax.annotation.Nullable - public String getOrgPn() { - return orgPn; - } - - public void setOrgPn(@javax.annotation.Nullable String orgPn) { - this.orgPn = orgPn; - } - - - public ResponseProfile mimeType(@javax.annotation.Nullable String mimeType) { - this.mimeType = mimeType; - return this; - } - - /** - * Get mimeType - * @return mimeType - */ - @javax.annotation.Nullable - public String getMimeType() { - return mimeType; - } - - public void setMimeType(@javax.annotation.Nullable String mimeType) { - this.mimeType = mimeType; - } - - - public ResponseProfile conditions(@javax.annotation.Nullable List conditions) { - this.conditions = conditions; - return this; - } - - public ResponseProfile addConditionsItem(ProfileCondition conditionsItem) { - if (this.conditions == null) { - this.conditions = new ArrayList<>(); - } - this.conditions.add(conditionsItem); - return this; - } - - /** - * Get conditions - * @return conditions - */ - @javax.annotation.Nullable - public List getConditions() { - return conditions; - } - - public void setConditions(@javax.annotation.Nullable List conditions) { - this.conditions = conditions; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ResponseProfile responseProfile = (ResponseProfile) o; - return Objects.equals(this.container, responseProfile.container) && - Objects.equals(this.audioCodec, responseProfile.audioCodec) && - Objects.equals(this.videoCodec, responseProfile.videoCodec) && - Objects.equals(this.type, responseProfile.type) && - Objects.equals(this.orgPn, responseProfile.orgPn) && - Objects.equals(this.mimeType, responseProfile.mimeType) && - Objects.equals(this.conditions, responseProfile.conditions); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(container, audioCodec, videoCodec, type, orgPn, mimeType, conditions); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ResponseProfile {\n"); - sb.append(" container: ").append(toIndentedString(container)).append("\n"); - sb.append(" audioCodec: ").append(toIndentedString(audioCodec)).append("\n"); - sb.append(" videoCodec: ").append(toIndentedString(videoCodec)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" orgPn: ").append(toIndentedString(orgPn)).append("\n"); - sb.append(" mimeType: ").append(toIndentedString(mimeType)).append("\n"); - sb.append(" conditions: ").append(toIndentedString(conditions)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Container"); - openapiFields.add("AudioCodec"); - openapiFields.add("VideoCodec"); - openapiFields.add("Type"); - openapiFields.add("OrgPn"); - openapiFields.add("MimeType"); - openapiFields.add("Conditions"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to ResponseProfile - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!ResponseProfile.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in ResponseProfile is not found in the empty JSON string", ResponseProfile.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!ResponseProfile.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ResponseProfile` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Container") != null && !jsonObj.get("Container").isJsonNull()) && !jsonObj.get("Container").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Container` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Container").toString())); - } - if ((jsonObj.get("AudioCodec") != null && !jsonObj.get("AudioCodec").isJsonNull()) && !jsonObj.get("AudioCodec").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `AudioCodec` to be a primitive type in the JSON string but got `%s`", jsonObj.get("AudioCodec").toString())); - } - if ((jsonObj.get("VideoCodec") != null && !jsonObj.get("VideoCodec").isJsonNull()) && !jsonObj.get("VideoCodec").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `VideoCodec` to be a primitive type in the JSON string but got `%s`", jsonObj.get("VideoCodec").toString())); - } - // validate the optional field `Type` - if (jsonObj.get("Type") != null && !jsonObj.get("Type").isJsonNull()) { - DlnaProfileType.validateJsonElement(jsonObj.get("Type")); - } - if ((jsonObj.get("OrgPn") != null && !jsonObj.get("OrgPn").isJsonNull()) && !jsonObj.get("OrgPn").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `OrgPn` to be a primitive type in the JSON string but got `%s`", jsonObj.get("OrgPn").toString())); - } - if ((jsonObj.get("MimeType") != null && !jsonObj.get("MimeType").isJsonNull()) && !jsonObj.get("MimeType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `MimeType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("MimeType").toString())); - } - if (jsonObj.get("Conditions") != null && !jsonObj.get("Conditions").isJsonNull()) { - JsonArray jsonArrayconditions = jsonObj.getAsJsonArray("Conditions"); - if (jsonArrayconditions != null) { - // ensure the json data is an array - if (!jsonObj.get("Conditions").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `Conditions` to be an array in the JSON string but got `%s`", jsonObj.get("Conditions").toString())); - } - - // validate the optional field `Conditions` (array) - for (int i = 0; i < jsonArrayconditions.size(); i++) { - ProfileCondition.validateJsonElement(jsonArrayconditions.get(i)); - }; - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!ResponseProfile.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'ResponseProfile' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(ResponseProfile.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, ResponseProfile value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public ResponseProfile read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of ResponseProfile given an JSON string - * - * @param jsonString JSON string - * @return An instance of ResponseProfile - * @throws IOException if the JSON string is invalid with respect to ResponseProfile - */ - public static ResponseProfile fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, ResponseProfile.class); - } - - /** - * Convert an instance of ResponseProfile to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/XmlAttribute.java b/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/XmlAttribute.java deleted file mode 100644 index 00fc1813aae..00000000000 --- a/bundles/org.openhab.binding.jellyfin/tools/openAPI/src/api/10.8.13/src/main/java/org/openapitools/client/model/XmlAttribute.java +++ /dev/null @@ -1,248 +0,0 @@ -/* - * Jellyfin API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 10.8.13 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package org.openapitools.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.openapitools.jackson.nullable.JsonNullable; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.TypeAdapter; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.openapitools.client.JSON; - -/** - * Defines the MediaBrowser.Model.Dlna.XmlAttribute. - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-26T23:32:08.795345870+01:00[Europe/Zurich]", comments = "Generator version: 7.10.0") -public class XmlAttribute { - public static final String SERIALIZED_NAME_NAME = "Name"; - @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; - - public static final String SERIALIZED_NAME_VALUE = "Value"; - @SerializedName(SERIALIZED_NAME_VALUE) - @javax.annotation.Nullable - private String value; - - public XmlAttribute() { - } - - public XmlAttribute name(@javax.annotation.Nullable String name) { - this.name = name; - return this; - } - - /** - * Gets or sets the name of the attribute. - * @return name - */ - @javax.annotation.Nullable - public String getName() { - return name; - } - - public void setName(@javax.annotation.Nullable String name) { - this.name = name; - } - - - public XmlAttribute value(@javax.annotation.Nullable String value) { - this.value = value; - return this; - } - - /** - * Gets or sets the value of the attribute. - * @return value - */ - @javax.annotation.Nullable - public String getValue() { - return value; - } - - public void setValue(@javax.annotation.Nullable String value) { - this.value = value; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - XmlAttribute xmlAttribute = (XmlAttribute) o; - return Objects.equals(this.name, xmlAttribute.name) && - Objects.equals(this.value, xmlAttribute.value); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(name, value); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class XmlAttribute {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" value: ").append(toIndentedString(value)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("Name"); - openapiFields.add("Value"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - } - - /** - * Validates the JSON Element and throws an exception if issues found - * - * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to XmlAttribute - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!XmlAttribute.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format("The required field(s) %s in XmlAttribute is not found in the empty JSON string", XmlAttribute.openapiRequiredFields.toString())); - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { - if (!XmlAttribute.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `XmlAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("Name") != null && !jsonObj.get("Name").isJsonNull()) && !jsonObj.get("Name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Name").toString())); - } - if ((jsonObj.get("Value") != null && !jsonObj.get("Value").isJsonNull()) && !jsonObj.get("Value").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `Value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Value").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!XmlAttribute.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'XmlAttribute' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(XmlAttribute.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, XmlAttribute value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override - public XmlAttribute read(JsonReader in) throws IOException { - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** - * Create an instance of XmlAttribute given an JSON string - * - * @param jsonString JSON string - * @return An instance of XmlAttribute - * @throws IOException if the JSON string is invalid with respect to XmlAttribute - */ - public static XmlAttribute fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, XmlAttribute.class); - } - - /** - * Convert an instance of XmlAttribute to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} -